File: GtkToolButton.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 (50 lines) | stat: -rw-r--r-- 1,559 bytes parent folder | download | duplicates (7)
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
/*
 * Copyright (c) 2003-2005 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::ToolButton PACKAGE = Gtk2::ToolButton PREFIX = gtk_tool_button_

GtkToolItem *gtk_tool_button_new (class, GtkWidget_ornull *icon_widget, const gchar_ornull *label);
    C_ARGS:
	icon_widget, label

GtkToolItem *gtk_tool_button_new_from_stock (class, const gchar *stock_id);
    C_ARGS:
	stock_id


void gtk_tool_button_set_label (GtkToolButton *button, const gchar_ornull *label);

 ##G_CONST_RETURN
const gchar_ornull *gtk_tool_button_get_label (GtkToolButton *button);

void gtk_tool_button_set_use_underline (GtkToolButton *button, gboolean use_underline);

gboolean gtk_tool_button_get_use_underline (GtkToolButton *button);

void gtk_tool_button_set_stock_id (GtkToolButton *button, const gchar_ornull *stock_id);

 ##G_CONST_RETURN 
const gchar *gtk_tool_button_get_stock_id (GtkToolButton *button);

void gtk_tool_button_set_icon_widget (GtkToolButton *button, GtkWidget_ornull *icon_widget);

GtkWidget_ornull * gtk_tool_button_get_icon_widget (GtkToolButton *button);

void gtk_tool_button_set_label_widget (GtkToolButton *button, GtkWidget_ornull *label_widget);

GtkWidget_ornull * gtk_tool_button_get_label_widget (GtkToolButton *button);

#if GTK_CHECK_VERSION (2, 8, 0)

void gtk_tool_button_set_icon_name (GtkToolButton *button, const gchar_ornull *icon_name);

const gchar_ornull* gtk_tool_button_get_icon_name (GtkToolButton *button);

#endif