Ardour  9.0-pre0-582-g084a23a80d
gtktoolpalette.h File Reference
#include <gtk/gtkcontainer.h>
#include <gtk/gtkdnd.h>
#include <gtk/gtktoolitem.h>
Include dependency graph for gtktoolpalette.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkToolPalette
 
struct  _GtkToolPaletteClass
 

Macros

#define GTK_TYPE_TOOL_PALETTE   (gtk_tool_palette_get_type ())
 
#define GTK_TOOL_PALETTE(obj)   (G_TYPE_CHECK_INSTANCE_CAST (obj, GTK_TYPE_TOOL_PALETTE, GtkToolPalette))
 
#define GTK_TOOL_PALETTE_CLASS(cls)   (G_TYPE_CHECK_CLASS_CAST (cls, GTK_TYPE_TOOL_PALETTE, GtkToolPaletteClass))
 
#define GTK_IS_TOOL_PALETTE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE (obj, GTK_TYPE_TOOL_PALETTE))
 
#define GTK_IS_TOOL_PALETTE_CLASS(obj)   (G_TYPE_CHECK_CLASS_TYPE (obj, GTK_TYPE_TOOL_PALETTE))
 
#define GTK_TOOL_PALETTE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOOL_PALETTE, GtkToolPaletteClass))
 

Typedefs

typedef struct _GtkToolPalette GtkToolPalette
 
typedef struct _GtkToolPaletteClass GtkToolPaletteClass
 
typedef struct _GtkToolPalettePrivate GtkToolPalettePrivate
 

Enumerations

enum  GtkToolPaletteDragTargets { GTK_TOOL_PALETTE_DRAG_ITEMS = (1 << 0) , GTK_TOOL_PALETTE_DRAG_GROUPS = (1 << 1) }
 

Functions

GType gtk_tool_palette_get_type (void) G_GNUC_CONST
 
GtkWidgetgtk_tool_palette_new (void)
 
void gtk_tool_palette_set_group_position (GtkToolPalette *palette, GtkToolItemGroup *group, gint position)
 
void gtk_tool_palette_set_exclusive (GtkToolPalette *palette, GtkToolItemGroup *group, gboolean exclusive)
 
void gtk_tool_palette_set_expand (GtkToolPalette *palette, GtkToolItemGroup *group, gboolean expand)
 
gint gtk_tool_palette_get_group_position (GtkToolPalette *palette, GtkToolItemGroup *group)
 
gboolean gtk_tool_palette_get_exclusive (GtkToolPalette *palette, GtkToolItemGroup *group)
 
gboolean gtk_tool_palette_get_expand (GtkToolPalette *palette, GtkToolItemGroup *group)
 
void gtk_tool_palette_set_icon_size (GtkToolPalette *palette, GtkIconSize icon_size)
 
void gtk_tool_palette_unset_icon_size (GtkToolPalette *palette)
 
void gtk_tool_palette_set_style (GtkToolPalette *palette, GtkToolbarStyle style)
 
void gtk_tool_palette_unset_style (GtkToolPalette *palette)
 
GtkIconSize gtk_tool_palette_get_icon_size (GtkToolPalette *palette)
 
GtkToolbarStyle gtk_tool_palette_get_style (GtkToolPalette *palette)
 
GtkToolItemgtk_tool_palette_get_drop_item (GtkToolPalette *palette, gint x, gint y)
 
GtkToolItemGroupgtk_tool_palette_get_drop_group (GtkToolPalette *palette, gint x, gint y)
 
GtkWidgetgtk_tool_palette_get_drag_item (GtkToolPalette *palette, const GtkSelectionData *selection)
 
void gtk_tool_palette_set_drag_source (GtkToolPalette *palette, GtkToolPaletteDragTargets targets)
 
void gtk_tool_palette_add_drag_dest (GtkToolPalette *palette, GtkWidget *widget, GtkDestDefaults flags, GtkToolPaletteDragTargets targets, GdkDragAction actions)
 
GtkAdjustmentgtk_tool_palette_get_hadjustment (GtkToolPalette *palette)
 
GtkAdjustmentgtk_tool_palette_get_vadjustment (GtkToolPalette *palette)
 
const GtkTargetEntrygtk_tool_palette_get_drag_target_item (void) G_GNUC_CONST
 
const GtkTargetEntrygtk_tool_palette_get_drag_target_group (void) G_GNUC_CONST
 

Macro Definition Documentation

◆ GTK_IS_TOOL_PALETTE

#define GTK_IS_TOOL_PALETTE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE (obj, GTK_TYPE_TOOL_PALETTE))

Definition at line 38 of file gtktoolpalette.h.

◆ GTK_IS_TOOL_PALETTE_CLASS

#define GTK_IS_TOOL_PALETTE_CLASS (   obj)    (G_TYPE_CHECK_CLASS_TYPE (obj, GTK_TYPE_TOOL_PALETTE))

Definition at line 39 of file gtktoolpalette.h.

◆ GTK_TOOL_PALETTE

#define GTK_TOOL_PALETTE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST (obj, GTK_TYPE_TOOL_PALETTE, GtkToolPalette))

Definition at line 36 of file gtktoolpalette.h.

◆ GTK_TOOL_PALETTE_CLASS

#define GTK_TOOL_PALETTE_CLASS (   cls)    (G_TYPE_CHECK_CLASS_CAST (cls, GTK_TYPE_TOOL_PALETTE, GtkToolPaletteClass))

Definition at line 37 of file gtktoolpalette.h.

◆ GTK_TOOL_PALETTE_GET_CLASS

#define GTK_TOOL_PALETTE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOOL_PALETTE, GtkToolPaletteClass))

Definition at line 40 of file gtktoolpalette.h.

◆ GTK_TYPE_TOOL_PALETTE

#define GTK_TYPE_TOOL_PALETTE   (gtk_tool_palette_get_type ())

Definition at line 35 of file gtktoolpalette.h.

Typedef Documentation

◆ GtkToolPalette

Definition at line 33 of file gtktoolpalette.h.

◆ GtkToolPaletteClass

Definition at line 33 of file gtktoolpalette.h.

◆ GtkToolPalettePrivate

typedef struct _GtkToolPalettePrivate GtkToolPalettePrivate

Definition at line 33 of file gtktoolpalette.h.

Enumeration Type Documentation

◆ GtkToolPaletteDragTargets

GtkToolPaletteDragTargets:

Parameters
GTK_TOOL_PALETTE_DRAG_ITEMSSupport drag of items.
GTK_TOOL_PALETTE_DRAG_GROUPSSupport drag of groups.

Flags used to specify the supported drag targets.

Enumerator
GTK_TOOL_PALETTE_DRAG_ITEMS 
GTK_TOOL_PALETTE_DRAG_GROUPS 

Definition at line 53 of file gtktoolpalette.h.

Function Documentation

◆ gtk_tool_palette_add_drag_dest()

void gtk_tool_palette_add_drag_dest ( GtkToolPalette palette,
GtkWidget widget,
GtkDestDefaults  flags,
GtkToolPaletteDragTargets  targets,
GdkDragAction  actions 
)

◆ gtk_tool_palette_get_drag_item()

GtkWidget* gtk_tool_palette_get_drag_item ( GtkToolPalette palette,
const GtkSelectionData selection 
)

◆ gtk_tool_palette_get_drag_target_group()

const GtkTargetEntry* gtk_tool_palette_get_drag_target_group ( void  )

◆ gtk_tool_palette_get_drag_target_item()

const GtkTargetEntry* gtk_tool_palette_get_drag_target_item ( void  )

◆ gtk_tool_palette_get_drop_group()

GtkToolItemGroup* gtk_tool_palette_get_drop_group ( GtkToolPalette palette,
gint  x,
gint  y 
)

◆ gtk_tool_palette_get_drop_item()

GtkToolItem* gtk_tool_palette_get_drop_item ( GtkToolPalette palette,
gint  x,
gint  y 
)

◆ gtk_tool_palette_get_exclusive()

gboolean gtk_tool_palette_get_exclusive ( GtkToolPalette palette,
GtkToolItemGroup group 
)

◆ gtk_tool_palette_get_expand()

gboolean gtk_tool_palette_get_expand ( GtkToolPalette palette,
GtkToolItemGroup group 
)

◆ gtk_tool_palette_get_group_position()

gint gtk_tool_palette_get_group_position ( GtkToolPalette palette,
GtkToolItemGroup group 
)

◆ gtk_tool_palette_get_hadjustment()

GtkAdjustment* gtk_tool_palette_get_hadjustment ( GtkToolPalette palette)

◆ gtk_tool_palette_get_icon_size()

GtkIconSize gtk_tool_palette_get_icon_size ( GtkToolPalette palette)

◆ gtk_tool_palette_get_style()

GtkToolbarStyle gtk_tool_palette_get_style ( GtkToolPalette palette)

◆ gtk_tool_palette_get_type()

GType gtk_tool_palette_get_type ( void  )

◆ gtk_tool_palette_get_vadjustment()

GtkAdjustment* gtk_tool_palette_get_vadjustment ( GtkToolPalette palette)

◆ gtk_tool_palette_new()

GtkWidget* gtk_tool_palette_new ( void  )

◆ gtk_tool_palette_set_drag_source()

void gtk_tool_palette_set_drag_source ( GtkToolPalette palette,
GtkToolPaletteDragTargets  targets 
)

◆ gtk_tool_palette_set_exclusive()

void gtk_tool_palette_set_exclusive ( GtkToolPalette palette,
GtkToolItemGroup group,
gboolean  exclusive 
)

◆ gtk_tool_palette_set_expand()

void gtk_tool_palette_set_expand ( GtkToolPalette palette,
GtkToolItemGroup group,
gboolean  expand 
)

◆ gtk_tool_palette_set_group_position()

void gtk_tool_palette_set_group_position ( GtkToolPalette palette,
GtkToolItemGroup group,
gint  position 
)

◆ gtk_tool_palette_set_icon_size()

void gtk_tool_palette_set_icon_size ( GtkToolPalette palette,
GtkIconSize  icon_size 
)

◆ gtk_tool_palette_set_style()

void gtk_tool_palette_set_style ( GtkToolPalette palette,
GtkToolbarStyle  style 
)

◆ gtk_tool_palette_unset_icon_size()

void gtk_tool_palette_unset_icon_size ( GtkToolPalette palette)

◆ gtk_tool_palette_unset_style()

void gtk_tool_palette_unset_style ( GtkToolPalette palette)