Enum Class DebugFlags

java.lang.Object
java.lang.Enum<DebugFlags>
org.gnome.gtk.DebugFlags
All Implemented Interfaces:
Serializable, Comparable<DebugFlags>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum DebugFlags extends Enum<DebugFlags> implements Enumeration

Flags to use with gtk_set_debug_flags().

Settings these flags causes GTK to print out different types of debugging information. Some of these flags are only available when GTK has been configured with -Ddebug=true.

  • Enum Constant Details

    • TEXT

      public static final DebugFlags TEXT
      Information about GtkTextView
    • TREE

      public static final DebugFlags TREE
      Information about GtkTreeView
    • KEYBINDINGS

      public static final DebugFlags KEYBINDINGS
      Information about keyboard shortcuts
    • MODULES

      public static final DebugFlags MODULES
      Information about modules and extensions
    • GEOMETRY

      public static final DebugFlags GEOMETRY
      Information about size allocation
    • ICONTHEME

      public static final DebugFlags ICONTHEME
      Information about icon themes
    • PRINTING

      public static final DebugFlags PRINTING
      Information about printing
    • BUILDER_TRACE

      public static final DebugFlags BUILDER_TRACE
      Trace GtkBuilder operation
    • SIZE_REQUEST

      public static final DebugFlags SIZE_REQUEST
      Information about size requests
    • NO_CSS_CACHE

      public static final DebugFlags NO_CSS_CACHE
      Disable the style property cache
    • INTERACTIVE

      public static final DebugFlags INTERACTIVE
      Open the GTK inspector
    • TOUCHSCREEN

      public static final DebugFlags TOUCHSCREEN
      Show touch UI elements for pointer events.
      Since:
      4.20
    • ACTIONS

      public static final DebugFlags ACTIONS
      Information about actions and menu models
    • LAYOUT

      public static final DebugFlags LAYOUT
      Information from layout managers
    • SNAPSHOT

      public static final DebugFlags SNAPSHOT
      Include debug render nodes in the generated snapshots
    • CONSTRAINTS

      public static final DebugFlags CONSTRAINTS
      Information from the constraints solver
    • BUILDER_OBJECTS

      public static final DebugFlags BUILDER_OBJECTS
      Log unused GtkBuilder objects
    • A11Y

      public static final DebugFlags A11Y
      Information about accessibility state changes
    • ICONFALLBACK

      public static final DebugFlags ICONFALLBACK
      Information about icon fallback.
      Since:
      4.2
    • INVERT_TEXT_DIR

      public static final DebugFlags INVERT_TEXT_DIR
      Inverts the default text-direction.
      Since:
      4.8
    • CSS

      public static final DebugFlags CSS
      Information about deprecated CSS features.
      Since:
      4.16
    • BUILDER

      public static final DebugFlags BUILDER
      Information about deprecated GtkBuilder features.
      Since:
      4.18
    • SESSION

      public static final DebugFlags SESSION
      Information about session saving.
      Since:
      4.22
  • Method Details

    • values

      public static DebugFlags[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DebugFlags valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static Set<DebugFlags> of(int flags)
      Create a new EnumSet<DebugFlags> for the provided bitfield
      Parameters:
      flags - the DebugFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<DebugFlags> of(MemorySegment address)
      Create a new EnumSet<DebugFlags> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the DebugFlags class.
      Returns:
      the GType