Ardour  9.0-pre0-384-ga76afae0e9
gtkprivate.h File Reference
#include <gtk/gtkwidget.h>
Include dependency graph for gtkprivate.h:

Go to the source code of this file.

Macros

#define GTK_PRIVATE_FLAGS(wid)   (GTK_WIDGET (wid)->private_flags)
 
#define GTK_WIDGET_USER_STYLE(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_USER_STYLE) != 0)
 
#define GTK_CONTAINER_RESIZE_PENDING(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_RESIZE_PENDING) != 0)
 
#define GTK_WIDGET_HAS_POINTER(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_HAS_POINTER) != 0)
 
#define GTK_WIDGET_SHADOWED(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_SHADOWED) != 0)
 
#define GTK_WIDGET_HAS_SHAPE_MASK(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_HAS_SHAPE_MASK) != 0)
 
#define GTK_WIDGET_IN_REPARENT(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_IN_REPARENT) != 0)
 
#define GTK_WIDGET_DIRECTION_SET(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_DIRECTION_SET) != 0)
 
#define GTK_WIDGET_DIRECTION_LTR(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_DIRECTION_LTR) != 0)
 
#define GTK_WIDGET_ANCHORED(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_ANCHORED) != 0)
 
#define GTK_WIDGET_CHILD_VISIBLE(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_CHILD_VISIBLE) != 0)
 
#define GTK_WIDGET_REDRAW_ON_ALLOC(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_REDRAW_ON_ALLOC) != 0)
 
#define GTK_WIDGET_ALLOC_NEEDED(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_ALLOC_NEEDED) != 0)
 
#define GTK_WIDGET_REQUEST_NEEDED(obj)   ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_REQUEST_NEEDED) != 0)
 
#define GTK_PRIVATE_SET_FLAG(wid, flag)   G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) |= (PRIVATE_ ## flag)); }G_STMT_END
 
#define GTK_PRIVATE_UNSET_FLAG(wid, flag)   G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) &= ~(PRIVATE_ ## flag)); }G_STMT_END
 
#define GTK_PARAM_READABLE   G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB
 
#define GTK_PARAM_WRITABLE   G_PARAM_WRITABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB
 
#define GTK_PARAM_READWRITE   G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB
 
#define GTK_DEFAULT_ACCEL_MOD_MASK   GDK_CONTROL_MASK
 
#define GTK_DEFAULT_ACCEL_MOD_MASK_VIRTUAL   GDK_CONTROL_MASK
 
#define GTK_NO_TEXT_INPUT_MOD_MASK   (GDK_MOD1_MASK | GDK_CONTROL_MASK)
 
#define GTK_EXTEND_SELECTION_MOD_MASK   GDK_SHIFT_MASK
 
#define GTK_MODIFY_SELECTION_MOD_MASK   GDK_CONTROL_MASK
 
#define GTK_TOGGLE_GROUP_MOD_MASK   0
 

Enumerations

enum  GtkPrivateFlags {
  PRIVATE_GTK_USER_STYLE = 1 << 0 , PRIVATE_GTK_RESIZE_PENDING = 1 << 2 , PRIVATE_GTK_HAS_POINTER = 1 << 3 , PRIVATE_GTK_SHADOWED = 1 << 4 ,
  PRIVATE_GTK_HAS_SHAPE_MASK = 1 << 5 , PRIVATE_GTK_IN_REPARENT = 1 << 6 , PRIVATE_GTK_DIRECTION_SET = 1 << 7 , PRIVATE_GTK_DIRECTION_LTR = 1 << 8 ,
  PRIVATE_GTK_ANCHORED = 1 << 9 , PRIVATE_GTK_CHILD_VISIBLE = 1 << 10 , PRIVATE_GTK_REDRAW_ON_ALLOC = 1 << 11 , PRIVATE_GTK_ALLOC_NEEDED = 1 << 12 ,
  PRIVATE_GTK_REQUEST_NEEDED = 1 << 13
}
 

Functions

gboolean _gtk_fnmatch (const char *pattern, const char *string, gboolean no_leading_period)
 
gboolean _gtk_button_event_triggers_context_menu (GdkEventButton *event)
 
gboolean _gtk_translate_keyboard_accel_state (GdkKeymap *keymap, guint hardware_keycode, GdkModifierType state, GdkModifierType accel_mask, gint group, guint *keyval, gint *effective_group, gint *level, GdkModifierType *consumed_modifiers)
 

Macro Definition Documentation

◆ GTK_CONTAINER_RESIZE_PENDING

#define GTK_CONTAINER_RESIZE_PENDING (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_RESIZE_PENDING) != 0)

Definition at line 57 of file gtkprivate.h.

◆ GTK_DEFAULT_ACCEL_MOD_MASK

#define GTK_DEFAULT_ACCEL_MOD_MASK   GDK_CONTROL_MASK

Definition at line 104 of file gtkprivate.h.

◆ GTK_DEFAULT_ACCEL_MOD_MASK_VIRTUAL

#define GTK_DEFAULT_ACCEL_MOD_MASK_VIRTUAL   GDK_CONTROL_MASK

Definition at line 105 of file gtkprivate.h.

◆ GTK_EXTEND_SELECTION_MOD_MASK

#define GTK_EXTEND_SELECTION_MOD_MASK   GDK_SHIFT_MASK

Definition at line 122 of file gtkprivate.h.

◆ GTK_MODIFY_SELECTION_MOD_MASK

#define GTK_MODIFY_SELECTION_MOD_MASK   GDK_CONTROL_MASK

Definition at line 123 of file gtkprivate.h.

◆ GTK_NO_TEXT_INPUT_MOD_MASK

#define GTK_NO_TEXT_INPUT_MOD_MASK   (GDK_MOD1_MASK | GDK_CONTROL_MASK)

Definition at line 116 of file gtkprivate.h.

◆ GTK_PARAM_READABLE

#define GTK_PARAM_READABLE   G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB

Definition at line 96 of file gtkprivate.h.

◆ GTK_PARAM_READWRITE

#define GTK_PARAM_READWRITE   G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB

Definition at line 98 of file gtkprivate.h.

◆ GTK_PARAM_WRITABLE

#define GTK_PARAM_WRITABLE   G_PARAM_WRITABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB

Definition at line 97 of file gtkprivate.h.

◆ GTK_PRIVATE_FLAGS

#define GTK_PRIVATE_FLAGS (   wid)    (GTK_WIDGET (wid)->private_flags)

Definition at line 55 of file gtkprivate.h.

◆ GTK_PRIVATE_SET_FLAG

#define GTK_PRIVATE_SET_FLAG (   wid,
  flag 
)    G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) |= (PRIVATE_ ## flag)); }G_STMT_END

Definition at line 74 of file gtkprivate.h.

◆ GTK_PRIVATE_UNSET_FLAG

#define GTK_PRIVATE_UNSET_FLAG (   wid,
  flag 
)    G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) &= ~(PRIVATE_ ## flag)); }G_STMT_END

Definition at line 75 of file gtkprivate.h.

◆ GTK_TOGGLE_GROUP_MOD_MASK

#define GTK_TOGGLE_GROUP_MOD_MASK   0

Definition at line 130 of file gtkprivate.h.

◆ GTK_WIDGET_ALLOC_NEEDED

#define GTK_WIDGET_ALLOC_NEEDED (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_ALLOC_NEEDED) != 0)

Definition at line 67 of file gtkprivate.h.

◆ GTK_WIDGET_ANCHORED

#define GTK_WIDGET_ANCHORED (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_ANCHORED) != 0)

Definition at line 64 of file gtkprivate.h.

◆ GTK_WIDGET_CHILD_VISIBLE

#define GTK_WIDGET_CHILD_VISIBLE (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_CHILD_VISIBLE) != 0)

Definition at line 65 of file gtkprivate.h.

◆ GTK_WIDGET_DIRECTION_LTR

#define GTK_WIDGET_DIRECTION_LTR (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_DIRECTION_LTR) != 0)

Definition at line 63 of file gtkprivate.h.

◆ GTK_WIDGET_DIRECTION_SET

#define GTK_WIDGET_DIRECTION_SET (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_DIRECTION_SET) != 0)

Definition at line 62 of file gtkprivate.h.

◆ GTK_WIDGET_HAS_POINTER

#define GTK_WIDGET_HAS_POINTER (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_HAS_POINTER) != 0)

Definition at line 58 of file gtkprivate.h.

◆ GTK_WIDGET_HAS_SHAPE_MASK

#define GTK_WIDGET_HAS_SHAPE_MASK (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_HAS_SHAPE_MASK) != 0)

Definition at line 60 of file gtkprivate.h.

◆ GTK_WIDGET_IN_REPARENT

#define GTK_WIDGET_IN_REPARENT (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_IN_REPARENT) != 0)

Definition at line 61 of file gtkprivate.h.

◆ GTK_WIDGET_REDRAW_ON_ALLOC

#define GTK_WIDGET_REDRAW_ON_ALLOC (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_REDRAW_ON_ALLOC) != 0)

Definition at line 66 of file gtkprivate.h.

◆ GTK_WIDGET_REQUEST_NEEDED

#define GTK_WIDGET_REQUEST_NEEDED (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_REQUEST_NEEDED) != 0)

Definition at line 68 of file gtkprivate.h.

◆ GTK_WIDGET_SHADOWED

#define GTK_WIDGET_SHADOWED (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_SHADOWED) != 0)

Definition at line 59 of file gtkprivate.h.

◆ GTK_WIDGET_USER_STYLE

#define GTK_WIDGET_USER_STYLE (   obj)    ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_USER_STYLE) != 0)

Definition at line 56 of file gtkprivate.h.

Enumeration Type Documentation

◆ GtkPrivateFlags

Enumerator
PRIVATE_GTK_USER_STYLE 
PRIVATE_GTK_RESIZE_PENDING 
PRIVATE_GTK_HAS_POINTER 
PRIVATE_GTK_SHADOWED 
PRIVATE_GTK_HAS_SHAPE_MASK 
PRIVATE_GTK_IN_REPARENT 
PRIVATE_GTK_DIRECTION_SET 
PRIVATE_GTK_DIRECTION_LTR 
PRIVATE_GTK_ANCHORED 
PRIVATE_GTK_CHILD_VISIBLE 
PRIVATE_GTK_REDRAW_ON_ALLOC 
PRIVATE_GTK_ALLOC_NEEDED 
PRIVATE_GTK_REQUEST_NEEDED 

Definition at line 36 of file gtkprivate.h.

Function Documentation

◆ _gtk_button_event_triggers_context_menu()

gboolean _gtk_button_event_triggers_context_menu ( GdkEventButton event)

◆ _gtk_fnmatch()

gboolean _gtk_fnmatch ( const char *  pattern,
const char *  string,
gboolean  no_leading_period 
)

◆ _gtk_translate_keyboard_accel_state()

gboolean _gtk_translate_keyboard_accel_state ( GdkKeymap keymap,
guint  hardware_keycode,
GdkModifierType  state,
GdkModifierType  accel_mask,
gint  group,
guint *  keyval,
gint *  effective_group,
gint *  level,
GdkModifierType consumed_modifiers 
)