Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GParamSpecClass Struct Reference

#include <gparam.h>

Data Fields

GTypeClass g_type_class
 
GType value_type
 
void(* finalize )(GParamSpec *pspec)
 
void(* value_set_default )(GParamSpec *pspec, GValue *value)
 
gboolean(* value_validate )(GParamSpec *pspec, GValue *value)
 
gint(* values_cmp )(GParamSpec *pspec, const GValue *value1, const GValue *value2)
 
gboolean(* value_is_valid )(GParamSpec *pspec, const GValue *value)
 
gpointer dummy [3]
 

Detailed Description

GParamSpecClass: @g_type_class: the parent class @value_type: the GValue type for this parameter @finalize: The instance finalization function (optional), should chain up to the finalize method of the parent class. @value_set_default: Resets a @value to the default value for this type (recommended, the default is g_value_reset()), see g_param_value_set_default(). @value_validate: Ensures that the contents of @value comply with the specifications set out by this type (optional), see g_param_value_validate(). @values_cmp: Compares @value1 with @value2 according to this type (recommended, the default is memcmp()), see g_param_values_cmp(). @value_is_valid: Checks if contents of @value comply with the specifications set out by this type, without modifying the value. This vfunc is optional. If it isn't set, GObject will use @value_validate. Since 2.74

The class structure for the GParamSpec type. Normally, GParamSpec classes are filled by g_param_type_register_static().

Definition at line 245 of file gparam.h.

Field Documentation

◆ dummy

gpointer _GParamSpecClass::dummy[3]

Definition at line 266 of file gparam.h.

◆ finalize

void(* _GParamSpecClass::finalize) (GParamSpec *pspec)

Definition at line 251 of file gparam.h.

◆ g_type_class

GTypeClass _GParamSpecClass::g_type_class

Definition at line 247 of file gparam.h.

◆ value_is_valid

gboolean(* _GParamSpecClass::value_is_valid) (GParamSpec *pspec, const GValue *value)

Definition at line 262 of file gparam.h.

◆ value_set_default

void(* _GParamSpecClass::value_set_default) (GParamSpec *pspec, GValue *value)

Definition at line 254 of file gparam.h.

◆ value_type

GType _GParamSpecClass::value_type

Definition at line 249 of file gparam.h.

◆ value_validate

gboolean(* _GParamSpecClass::value_validate) (GParamSpec *pspec, GValue *value)

Definition at line 256 of file gparam.h.

◆ values_cmp

gint(* _GParamSpecClass::values_cmp) (GParamSpec *pspec, const GValue *value1, const GValue *value2)

Definition at line 258 of file gparam.h.


The documentation for this struct was generated from the following file: