comparison gtk/plugins/perl/common/GtkPlugin.xs @ 14416:eeca8be382a5

[gaim-migrate @ 17124] This is a Gaim::Gtk perl module for use by gaim plugins to get access to the gtkgaim interface functions. It isn't complete because anything dealing with Gtk widgets themselves doesn't work yet (I need to figure out the best way to do that). To use this a perl plugin just needs to include 'use Gaim::Gtk;' either on top of 'use Gaim;' or instead of it. I'm not done with this yet. At the moment you have to 'use Gaim;' or 'use Gaim::Gtk;' which loads all the parts, I'm planning to let you actually say 'use Gaim::Gtk::Debug;' to just get the gtkdebug.h functions. Though 'use Gaim' would work the same way as always. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 02 Sep 2006 05:31:10 +0000
parents
children d6eae5115b31
comparison
equal deleted inserted replaced
14415:76d345643ba4 14416:eeca8be382a5
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 gaim_gtk_plugin_get_config_frame(plugin)
8 Gaim::Plugin plugin
9 */
10
11 MODULE = Gaim::Gtk::Plugin PACKAGE = Gaim::Gtk::Plugin PREFIX = gaim_gtk_plugin_
12 PROTOTYPES: ENABLE
13
14 MODULE = Gaim::Gtk::Plugin PACKAGE = Gaim::Gtk::Plugins PREFIX = gaim_gtk_plugins_
15 PROTOTYPES: ENABLE
16
17 void
18 gaim_gtk_plugins_save()
19
20 MODULE = Gaim::Gtk::Plugin PACKAGE = Gaim::Gtk::Plugin::Dialog PREFIX = gaim_gtk_plugin_dialog_
21 PROTOTYPES: ENABLE
22
23 void
24 gaim_gtk_plugin_dialog_show()