File: GtkToolPalette.xs

package info (click to toggle)
libgtk2-perl 2:1.2499-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,668 kB
  • ctags: 594
  • sloc: perl: 22,100; ansic: 122; makefile: 17
file content (70 lines) | stat: -rw-r--r-- 2,550 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
 * Copyright (c) 2010 by the gtk2-perl team (see the file AUTHORS)
 *
 * Licensed under the LGPL, see LICENSE file for more information.
 *
 * $Id$
 */

#include "gtk2perl.h"

MODULE = Gtk2::ToolPalette	PACKAGE = Gtk2::ToolPalette	PREFIX = gtk_tool_palette_

GtkWidget *
gtk_tool_palette_new (class)
    C_ARGS:
	/* void */

gboolean gtk_tool_palette_get_exclusive (GtkToolPalette *palette, GtkToolItemGroup *group);

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

gboolean gtk_tool_palette_get_expand (GtkToolPalette *palette, GtkToolItemGroup *group);

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

gint gtk_tool_palette_get_group_position (GtkToolPalette *palette, GtkToolItemGroup *group);

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

GtkIconSize gtk_tool_palette_get_icon_size (GtkToolPalette *palette);

void gtk_tool_palette_set_icon_size (GtkToolPalette *palette, GtkIconSize icon_size);

void gtk_tool_palette_unset_icon_size (GtkToolPalette *palette);

GtkToolbarStyle gtk_tool_palette_get_style (GtkToolPalette *palette);

void gtk_tool_palette_set_style (GtkToolPalette *palette, GtkToolbarStyle style);

void gtk_tool_palette_unset_style (GtkToolPalette *palette);

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

GtkWidget* gtk_tool_palette_get_drag_item (GtkToolPalette *palette, const GtkSelectionData *selection);

# const GtkTargetEntry* gtk_tool_palette_get_drag_target_group (void)
GtkTargetEntry*
gtk_tool_palette_get_drag_target_group (class)
    CODE:
	RETVAL = (GtkTargetEntry*) gtk_tool_palette_get_drag_target_group ();
    OUTPUT:
	RETVAL

# const GtkTargetEntry* gtk_tool_palette_get_drag_target_item (void)
GtkTargetEntry*
gtk_tool_palette_get_drag_target_item (class)
    CODE:
	RETVAL = (GtkTargetEntry*) gtk_tool_palette_get_drag_target_item ();
    OUTPUT:
	RETVAL

GtkToolItemGroup_ornull* gtk_tool_palette_get_drop_group (GtkToolPalette *palette, gint x, gint y);

GtkToolItem_ornull* gtk_tool_palette_get_drop_item (GtkToolPalette *palette, gint x, gint y);

void gtk_tool_palette_set_drag_source (GtkToolPalette *palette, GtkToolPaletteDragTargets targets);

GtkAdjustment* gtk_tool_palette_get_hadjustment (GtkToolPalette *palette);

GtkAdjustment* gtk_tool_palette_get_vadjustment (GtkToolPalette *palette);