Function Macro

GLibSTRUCT_OFFSET

Declaration [src]

#define G_STRUCT_OFFSET (
  struct_type,
  member
)

Description [src]

Returns the offset, in bytes, of a member of a struct.

Parameters

struct_type -
 

A structure type, e.g. GtkWidget.

member -
 

A field in the structure, e.g. window.