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 | * This also has a GCallback issue that I have no idea how to deal with, | |
| 7 | * though the core-perl typemap has a mapping for them. | |
| 8 | Gtk::Widget | |
| 9 | gaim_gtk_status_menu(status, callback) | |
| 10 | Gaim::SavedStatus status | |
| 11 | GCallback callback | |
| 12 | */ | |
| 13 | ||
| 14 | MODULE = Gaim::Gtk::Status PACKAGE = Gaim::Gtk::Status PREFIX = gaim_gtk_status_ | |
| 15 | PROTOTYPES: ENABLE | |
| 16 | ||
| 17 | void * | |
| 18 | gaim_gtk_status_get_handle() | |
| 19 | ||
| 20 | MODULE = Gaim::Gtk::Status PACKAGE = Gaim::Gtk::Status::Editor PREFIX = gaim_gtk_status_editor_ | |
| 21 | PROTOTYPES: ENABLE | |
| 22 | ||
| 23 | void | |
| 24 | gaim_gtk_status_editor_show(edit, status) | |
| 25 | gboolean edit | |
| 26 | Gaim::SavedStatus status | |
| 27 | ||
| 28 | MODULE = Gaim::Gtk::Status PACKAGE = Gaim::Gtk::Status::Window PREFIX = gaim_gtk_status_window_ | |
| 29 | PROTOTYPES: ENABLE | |
| 30 | ||
| 31 | void | |
| 32 | gaim_gtk_status_window_show() | |
| 33 | ||
| 34 | void | |
| 35 | gaim_gtk_status_window_hide() |