Creates a new gtk.font_chooser_dialog.FontChooserDialog.
Gets the currently-selected font name.
Gets the currently-selected font.
Gets the pango.font_face.FontFace representing the selected font group details (i.e. family, slant, weight, width, etc).
Gets the pango.font_family.FontFamily representing the selected font family.
Gets the currently-selected font features.
Gets the custom font map of this font chooser widget, or null if it does not have one.
The selected font size.
Gets the language that is used for font features.
Returns the current level of granularity for selecting fonts.
Gets the text displayed in the preview area.
Returns whether the preview entry is shown or not.
Adds a filter function that decides which fonts to display in the font chooser.
Sets the currently-selected font.
Sets the currently-selected font from font_desc.
Sets a custom font map to use for this font chooser widget.
Sets the language to use for font features.
Sets the desired level of granularity for selecting fonts.
Sets the text displayed in the preview area.
Shows or hides the editable preview entry.
Connect to FontActivated signal.
Adds an activatable widget to the action area of a gtk.dialog.Dialog.
Adds a button with the given text.
Returns the content area of dialog.
Returns the header bar of dialog.
Gets the response id of a widget in the action area of a dialog.
Gets the widget button that uses the given response ID in the action area of a dialog.
Emits the ::response signal with the given response ID.
Sets the default widget for the dialog based on the response ID.
A convenient way to sensitize/desensitize dialog buttons.
Connect to Close signal.
Connect to Response signal.
Gets the currently-selected font name.
Gets the currently-selected font.
Gets the pango.font_face.FontFace representing the selected font group details (i.e. family, slant, weight, width, etc).
Gets the pango.font_family.FontFamily representing the selected font family.
Gets the currently-selected font features.
Gets the custom font map of this font chooser widget, or null if it does not have one.
The selected font size.
Gets the language that is used for font features.
Returns the current level of granularity for selecting fonts.
Gets the text displayed in the preview area.
Returns whether the preview entry is shown or not.
Adds a filter function that decides which fonts to display in the font chooser.
Sets the currently-selected font.
Sets the currently-selected font from font_desc.
Sets a custom font map to use for this font chooser widget.
Sets the language to use for font features.
Sets the desired level of granularity for selecting fonts.
Sets the text displayed in the preview area.
Shows or hides the editable preview entry.
Connect to FontActivated signal.
Deprecated: Use gtk.font_dialog.FontDialog instead
The gtk.font_chooser_dialog.FontChooserDialog widget is a dialog for selecting a font.
gtk.font_chooser_dialog.FontChooserDialog implements the gtk.font_chooser.FontChooser interface and does not provide much API of its own.
To create a gtk.font_chooser_dialog.FontChooserDialog, use gtk.font_chooser_dialog.FontChooserDialog.new_.
GtkFontChooserDialog as GtkBuildable
The gtk.font_chooser_dialog.FontChooserDialog implementation of the gtk.buildable.Buildable interface exposes the buttons with the names “select_button” and “cancel_button”.
CSS nodes
gtk.font_chooser_dialog.FontChooserDialog has a single CSS node with the name window and style class .fontchooser.