pidgin/plugins/perl/common/GtkMenuTray.xs

Mon, 04 Jun 2007 05:56:57 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Mon, 04 Jun 2007 05:56:57 +0000
branch
release-2.1.0
changeset 18104
79ecfedd0af6
parent 15590
c07dd12bf3f4
child 18068
b6554e3c8224
permissions
-rw-r--r--

Make this work with the changes in revision
2f24c76fbb7c3498befa77a93d93222b456f88de.

Again, I really wish I knew how to optimize this properly.

#include "gtkmodule.h"

/* This can't work at the moment since I don't have a typemap for Gtk::Widget.
 * I thought about using the one from libgtk2-perl but wasn't sure how to go
 * about doing that.
Gtk::Widget
pidgin_menu_tray_new()

Gtk::Widget
pidgin_menu_tray_get_box(menu_tray)
	Pidgin::MenuTray menu_tray

void
pidgin_menu_tray_append(menu_tray, widget, tooltip)
	Pidgin::MenuTray menu_tray
	Gtk::Widget widget
	const char * tooltip

void
pidgin_menu_tray_prepend(menu_tray, widget, tooltip)
	Pidgin::MenuTray menu_tray
	Gtk::Widget widget
	const char * tooltip

void
pidgin_menu_tray_set_tooltip(menu_tray, widget, tooltip)
	Pidgin::MenuTray menu_tray
	Gtk::Widget widget
	const char * tooltip
*/

MODULE = Pidgin::MenuTray  PACKAGE = Pidgin::MenuTray  PREFIX = pidgin_menu_tray
PROTOTYPES: ENABLE

mercurial