ttkwidgets.font

Functions

ttkwidgets.font.askfont()[source]

Opens a FontChooser toplevel to allow the user to select a font

Returns:font tuple (family_name, size, *options), Font object

Classes

FontChooser A Toplevel to choose a Font from a list.
FontFamilyDropdown A dropdown menu to select a font family with callback support and selection property.
FontFamilyListbox ScrolledListbox listing all font families available on the system with a Scrollbar on the right with the option of a callback when double clicked and a property to get the font family name.
FontPropertiesFrame Simple frame with buttons for Bold, Italic and Underline font types.
FontSelectFrame A frame to use in your own application to let the user choose a font.
FontSizeDropdown A dropdown with default font sizes