Mon, 04 Sep 2006 23:00:13 +0000
[gaim-migrate @ 17161]
Make the Perl GTK+ stuff work in wingaim.
| 14478 | 1 | #include "gtkmodule.h" |
| 2 | ||
| 3 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 4 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 5 | * about doing that. | |
| 6 | Gtk::Widget | |
| 7 | gtk_gaim_status_box_new() | |
| 8 | ||
| 9 | Gtk::Widget | |
| 10 | gtk_gaim_status_box_new_with_account(account) | |
| 11 | Gaim::Account account | |
| 12 | ||
| 13 | void | |
| 14 | gtk_gaim_status_box_add(status_box, type, pixbuf, text, sec_text, data) | |
| 15 | Gaim::Gtk::StatusBox status_box | |
| 16 | Gaim::Gtk::StatusBox::ItemType type | |
| 17 | GdkPixbuf pixbuf | |
| 18 | const char * text | |
| 19 | const char * sec_text | |
| 20 | gpointer data | |
| 21 | */ | |
| 22 | ||
| 23 | MODULE = Gaim::Gtk::StatusBox PACKAGE = Gaim::Gtk::StatusBox PREFIX = gtk_gaim_status_box | |
| 24 | PROTOTYPES: ENABLE | |
| 25 | ||
| 26 | void | |
| 27 | gtk_gaim_status_box_add_separator(status_box) | |
| 28 | Gaim::Gtk::StatusBox status_box | |
| 29 | ||
| 30 | void | |
| 31 | gtk_gaim_status_box_set_connecting(status_box, connecting) | |
| 32 | Gaim::Gtk::StatusBox status_box | |
| 33 | gboolean connecting | |
| 34 | ||
| 35 | void | |
| 36 | gtk_gaim_status_box_pulse_connecting(status_box) | |
| 37 | Gaim::Gtk::StatusBox status_box | |
| 38 | ||
| 39 | void | |
| 40 | gtk_gaim_status_box_set_buddy_icon(status_box, filename) | |
| 41 | Gaim::Gtk::StatusBox status_box | |
| 42 | const char * filename | |
| 43 | ||
| 44 | const char * | |
| 45 | gtk_gaim_status_box_get_buddy_icon(status_box) | |
| 46 | Gaim::Gtk::StatusBox status_box | |
| 47 | ||
| 48 | char * | |
| 49 | gtk_gaim_status_box_get_message(status_box) | |
| 50 | Gaim::Gtk::StatusBox status_box |