Mercurial > pidgin.yaz
view pidgin/plugins/perl/common/GtkMenuTray.xs @ 24771:8fb78d30ea83
We have a prpl function "buddy_free" that I don't think any of our
in-tree prpls use, and it wasn't called from anywhere. But the facebook
prpl uses it to free data associated with each buddy. I think it
makes sense to call this function. In the future it would probably be
cleaner to have prpls attach to a signal or something.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 18 Dec 2008 02:03:20 +0000 |
parents | cb0750152bf6 |
children |
line wrap: on
line source
#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