![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
#define VISU_TYPE #define VISU (obj) #define VISU_CLASS (klass) #define IS_VISU_TYPE (obj) #define IS_VISU_CLASS (klass) #define VISU_GET_CLASS (obj) VisuObjectClass; VisuObject; GObject* visuObjectGet_static (); #define VISU_INSTANCE gboolean visuObjectRedraw (gpointer data);
At the present time, the signals are global to all V_Sim, owned by a variable include in each parts called visu. This is wherre these signals are defined.
#define VISU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VISU_TYPE, VisuObject))
Cast the given obj
into VisuObject type.
|
a GObject to cast. |
#define VISU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VISU_TYPE, VisuObjectClass))
Cast the given klass
into VisuObjectClass.
|
a GClassObject to cast. |
#define IS_VISU_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VISU_TYPE))
Test if the given ogj
is of the type of VisuObject object.
|
a GObject to test. |
#define IS_VISU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VISU_TYPE))
Test if the given klass
is of the type of VisuObjectClass class.
|
a GClassObject to test. |
#define VISU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VISU_TYPE, VisuObjectClass))
It returns the class of the given obj
.
|
a GObject to get the class of. |
typedef struct { GObjectClass parent; guint signals[VISU_NB_SIGNAL]; } VisuObjectClass;
A short way to identify _VisuObjectClass structure.