Class EnumClass

All Implemented Interfaces:
PointerInterface

public class EnumClass extends Record
The class of an enumeration type holds information about its
possible values.

https://docs.gtk.org/gobject/struct.EnumClass.html

  • Field Details

  • Constructor Details

    • EnumClass

      public EnumClass(PointerContainer pointer)
    • EnumClass

      public EnumClass()
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldMinimum

      public void setFieldMinimum(int minimum)
      the smallest possible value.
    • getFieldMinimum

      public int getFieldMinimum()
      the smallest possible value.
    • setFieldMaximum

      public void setFieldMaximum(int maximum)
      the largest possible value.
    • getFieldMaximum

      public int getFieldMaximum()
      the largest possible value.
    • setFieldNValues

      public void setFieldNValues(int n_values)
      the number of possible values.
    • getFieldNValues

      public int getFieldNValues()
      the number of possible values.
    • setFieldValues

      public void setFieldValues(EnumValue values)
      an array of #GEnumValue structs describing the
      individual values.
    • getFieldValues

      public EnumValue getFieldValues()
      an array of #GEnumValue structs describing the
      individual values.