Function Macro

GLibSTRUCT_OFFSET

Declaration

#define G_STRUCT_OFFSET (
  struct_type,
  member
)

Description

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

This function is not directly available to language bindings

Parameters

struct_type -
 

A structure type, e.g. GtkWidget.

member -
 

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