coalispr.tk_gui.gui_widgets.base_app¶
Attributes¶
Classes¶
A class that wraps the tkinter.Tk class in order to provide a |
|
A class that wraps the tkinter.Toplevel class in order to |
Module Contents¶
- coalispr.tk_gui.gui_widgets.base_app.logger¶
- class coalispr.tk_gui.gui_widgets.base_app.Base_app(title)¶
Bases:
ttkbootstrap.WindowA class that wraps the tkinter.Tk class in order to provide a more convenient api with additional bells and whistles. For more information on how to use the inherited Tk methods, see the [tcl/tk documentation](https://tcl.tk/man/tcl8.6/TkCmd/wm.htm) and the [Python documentation](https://docs.python.org/3/library/tkinter.html#tkinter.Tk).

Examples:
`python app = Window(title="My Application", themename="superhero") app.mainloop() `- custom_theme¶
- set_fonts()¶
Set some specific font sizes. Only effective when called after an instance of this app has been created; calling from
__init__()has been tried, did not work.
- on_closing()¶
- on_escape()¶
- set_style()¶
- class coalispr.tk_gui.gui_widgets.base_app.Base_toplevel_window(title)¶
Bases:
ttkbootstrap.ToplevelA class that wraps the tkinter.Toplevel class in order to provide a more convenient api with additional bells and whistles. For more information on how to use the inherited Toplevel methods, see the [tcl/tk documentation](https://tcl.tk/man/tcl8.6/TkCmd/toplevel.htm) and the [Python documentation](https://docs.python.org/3/library/tkinter.html#tkinter.Toplevel).

Examples:
`python app = Toplevel(title="My Toplevel") app.mainloop() `- on_closing()¶
- on_escape()¶