gtk/plugins/perl/common/GtkMenuTray.xs

Mon, 18 Sep 2006 18:14:50 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Mon, 18 Sep 2006 18:14:50 +0000
changeset 14649
38e6b75e6769
parent 14629
1a0cd727c121
permissions
-rw-r--r--

[gaim-migrate @ 17311]
I couldn't see a reason why we needed all of gaim_gtk_roomlist_dialog_new,
gaim_gtk_roomlist_dialog_new_with_account, gaim_gtk_roomlist_dialog_show, and
gaim_gtk_roomlist_dialog_show_with_account especially considering the _show
functions basically just called the _new functions.

So I whittled us down to just _show and _show_with_account being visible. And
since nothing outside GtkRoomlist.c was using the GaimGtkRoomlistDialog struct
I made that private too.

#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
gaim_gtk_menu_tray_new()

Gtk::Widget
gaim_gtk_menu_tray_get_box(menu_tray)
	Gaim::GtkUI::MenuTray menu_tray

void
gaim_gtk_menu_tray_append(menu_tray, widget, tooltip)
	Gaim::GtkUI::MenuTray menu_tray
	Gtk::Widget widget
	const char * tooltip

void
gaim_gtk_menu_tray_prepend(menu_tray, widget, tooltip)
	Gaim::GtkUI::MenuTray menu_tray
	Gtk::Widget widget
	const char * tooltip

void
gaim_gtk_menu_tray_set_tooltip(menu_tray, widget, tooltip)
	Gaim::GtkUI::MenuTray menu_tray
	Gtk::Widget widget
	const char * tooltip
*/

MODULE = Gaim::GtkUI::MenuTray  PACKAGE = Gaim::GtkUI::MenuTray  PREFIX = gaim_gtk_menu_tray
PROTOTYPES: ENABLE

mercurial