NekUpload.frontend.style_guide module

NekUpload.frontend.style_guide.get_styles() Style[source]

Get all defined styling using ttkbootstrap.

Returns:

Bootstrap style object

Return type:

Style

NekUpload.frontend.style_guide.highlight_mandatory_entry_on_focus_in(entry: Entry)[source]

Changes ttk.Entry back to default settings.

Parameters:

entry (Entry) – Entry widget to be modified

NekUpload.frontend.style_guide.highlight_mandatory_entry_on_focus_out(entry: Entry)[source]

Highlights a ttk.Entry in red (DANGER) when clicking out of focus if field is empty.

Parameters:

entry (Entry) – Entry widget to be modified

NekUpload.frontend.style_guide.show_error_in_entry(entry: Entry)[source]

Changes ttk.Entry widget to highlight with Bootstrap DANGER style.

Parameters:

entry (Entry) – Entry widget to be modified