Creates a new #GtkFontChooserDialog.
Returns this, for use in with statements.
Get builder for gtk.font_chooser_dialog.FontChooserDialog
Get font property.
Set font property.
Get fontDesc property.
Set fontDesc property.
Get fontFeatures property.
Get language property.
Set language property.
Get level property.
Set level property.
Get previewText property.
Set previewText property.
Get showPreviewEntry property.
Set showPreviewEntry property.
Gets the currently-selected font name.
Gets the currently-selected font.
Gets the #PangoFontFace representing the selected font group details (i.e. family, slant, weight, width, etc).
Gets the #PangoFontFamily representing the selected font family. Font families are a collection of font faces.
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. A custom font map can be used to present application-specific fonts instead of or in addition to the normal system fonts.
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. The text is used to show how the selected font looks.
Shows or hides the editable preview entry.
Connect to FontActivated signal.
Returns this, for use in with statements.
Get builder for gtk.dialog.Dialog
Get useHeaderBar property.
Adds an activatable widget to the action area of a #GtkDialog, connecting a signal handler that will emit the #GtkDialog::response signal on the dialog when the widget is activated. The widget is appended to the end of the dialog’s action area. If you want to add a non-activatable widget, simply pack it into the action_area field of the #GtkDialog struct.
Adds a button with the given text and sets things up so that clicking the button will emit the #GtkDialog::response signal with the given response_id. The button is appended to the end of the dialog’s action area. The button widget is returned, but usually you don’t need it.
Returns the action area of dialog.
Returns the content area of dialog.
Returns the header bar of dialog. Note that the headerbar is only used by the dialog if the #GtkDialog:use-header-bar property is true.
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 #GtkDialog::response signal with the given response ID. Used to indicate that the user has responded to the dialog in some way; typically either you or gtk.dialog.Dialog.run will be monitoring the ::response signal and take appropriate action.
Blocks in a recursive main loop until the dialog either emits the #GtkDialog::response signal, or is destroyed. If the dialog is destroyed during the call to gtk.dialog.Dialog.run, gtk.dialog.Dialog.run returns #GTK_RESPONSE_NONE. Otherwise, it returns the response ID from the ::response signal emission.
Sets an alternative button order. If the #GtkSettings:gtk-alternative-button-order setting is set to true, the dialog buttons are reordered according to the order of the response ids in new_order.
Sets the last widget in the dialog’s action area with the given response_id as the default widget for the dialog. Pressing “Enter” normally activates the default widget.
Calls gtk_widget_set_sensitive (widget, setting) for each widget in the dialog’s action area with the given response_id. A convenient way to sensitize/desensitize dialog buttons.
Connect to Close signal.
Connect to Response signal.
Get font property.
Set font property.
Get fontDesc property.
Set fontDesc property.
Get fontFeatures property.
Get language property.
Set language property.
Get level property.
Set level property.
Get previewText property.
Set previewText property.
Get showPreviewEntry property.
Set showPreviewEntry property.
Gets the currently-selected font name.
Gets the currently-selected font.
Gets the #PangoFontFace representing the selected font group details (i.e. family, slant, weight, width, etc).
Gets the #PangoFontFamily representing the selected font family. Font families are a collection of font faces.
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. A custom font map can be used to present application-specific fonts instead of or in addition to the normal system fonts.
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. The text is used to show how the selected font looks.
Shows or hides the editable preview entry.
Connect to FontActivated signal.
The #GtkFontChooserDialog widget is a dialog for selecting a font. It implements the #GtkFontChooser interface.
GtkFontChooserDialog as GtkBuildable
The GtkFontChooserDialog implementation of the #GtkBuildable interface exposes the buttons with the names “select_button” and “cancel_button”.