File: GtkMenuToolButton.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 (40 lines) | stat: -rw-r--r-- 1,278 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
/*
 * Copyright (c) 2004 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::MenuToolButton	PACKAGE = Gtk2::MenuToolButton	PREFIX = gtk_menu_tool_button_

##  GtkToolItem * gtk_menu_tool_button_new (GtkWidget *icon_widget, const gchar *label)
GtkToolItem *
gtk_menu_tool_button_new (class, icon_widget, label)
	GtkWidget_ornull *icon_widget
	const gchar_ornull *label
    C_ARGS:
	icon_widget, label

##  GtkToolItem * gtk_menu_tool_button_new_from_stock (const gchar *stock_id)
GtkToolItem *
gtk_menu_tool_button_new_from_stock (class, stock_id)
	const gchar *stock_id
    C_ARGS:
	stock_id

void gtk_menu_tool_button_set_menu (GtkMenuToolButton *button, GtkWidget_ornull *menu);

GtkWidget_ornull * gtk_menu_tool_button_get_menu (GtkMenuToolButton *button);

void gtk_menu_tool_button_set_arrow_tooltip (GtkMenuToolButton *button, GtkTooltips *tooltips, const gchar *tip_text, const gchar *tip_private);

#if GTK_CHECK_VERSION(2, 12, 0)

void gtk_menu_tool_button_set_arrow_tooltip_text (GtkMenuToolButton *button, const gchar_ornull *text);

void gtk_menu_tool_button_set_arrow_tooltip_markup (GtkMenuToolButton *button, const gchar_ornull *markup);

#endif