![]() | ![]() | ![]() | xmlroff Reference Manual | ![]() |
---|
fo-enum —
struct FoEnum; struct FoEnumClass; FoDatatype* fo_enum_new (void); FoDatatype* fo_enum_new_with_value (constGEnumClass *enum_class, constguint value);GEnumClass * fo_enum_get_enum_class (FoDatatype *fo_enum);guint fo_enum_get_value (FoDatatype *fo_enum);
GObject +----FoObject +----FoDatatype +----FoEnum
"enum-class"gpointer : Read / Write / Construct Only "value"guint : Read / Write / Construct Only
FoDatatype* fo_enum_new (void);
Creates a new FoEnum initialized to default value.
Returns : | The new FoEnum. |
FoDatatype* fo_enum_new_with_value (constGEnumClass *enum_class, constguint value);
Creates a new FoEnum set to value and enum_class.
GEnumClass * fo_enum_get_enum_class (FoDatatype *fo_enum);
Get the enumeration class of fo_enum.
fo_enum : | FoEnum. |
Returns : | Enumeration class of fo_enum. |
guint fo_enum_get_value (FoDatatype *fo_enum);
Get the value of fo_enum.
fo_enum : | FoEnum. |
Returns : | Numeric value of fo_enum. |
<< fo-color | fo-error >> |