Class FontChooserDialog

All Implemented Interfaces:
Accessible, Buildable, ConstraintTarget, FontChooser, Native, Root, ShortcutManager, Proxy

@Generated("org.javagi.JavaGI") @Deprecated public class FontChooserDialog extends Dialog implements Accessible, Buildable, ConstraintTarget, FontChooser, Native, Root, ShortcutManager
Deprecated.
Use FontDialog instead

The GtkFontChooserDialog widget is a dialog for selecting a font.

An example GtkFontChooserDialog

GtkFontChooserDialog implements the FontChooser interface and does not provide much API of its own.

To create a GtkFontChooserDialog, use FontChooserDialog().

GtkFontChooserDialog as GtkBuildable

The GtkFontChooserDialog implementation of the GtkBuildable interface exposes the buttons with the names “select_button” and “cancel_button”.

CSS nodes

GtkFontChooserDialog has a single CSS node with the name window and style class .fontchooser.

  • Constructor Details

    • FontChooserDialog

      public FontChooserDialog(MemorySegment address)
      Deprecated.
      Create a FontChooserDialog instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • FontChooserDialog

      @Deprecated public FontChooserDialog(@Nullable String title, @Nullable Window parent)
      Deprecated.
      Use FontDialog instead
      Creates a new GtkFontChooserDialog.
      Parameters:
      title - Title of the dialog
      parent - Transient parent of the dialog
    • FontChooserDialog

      public FontChooserDialog()
      Deprecated.
      Create a new FontChooserDialog.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Deprecated.
      Get the GType of the FontChooserDialog class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      Deprecated.
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected FontChooserDialog asParent()
      Deprecated.
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class Dialog
      Returns:
      the instance as if it were its parent type
    • builder

      public static FontChooserDialog.Builder<? extends FontChooserDialog.Builder> builder()
      Deprecated.
      A FontChooserDialog.Builder object constructs a FontChooserDialog with the specified properties. Use the various set...() methods to set properties, and finish construction with FontChooserDialog.Builder.build().
      Returns:
      the builder object