Mercurial > pidgin.yaz
view gtk/plugins/perl/common/GtkDialogs.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 |
line wrap: on
line source
#include "gtkmodule.h" MODULE = Gaim::Gtk::Dialogs PACKAGE = Gaim::Gtk::Dialogs PREFIX = gaim_gtkdialogs_ PROTOTYPES: ENABLE void gaim_gtkdialogs_destroy_all() void gaim_gtkdialogs_about() void gaim_gtkdialogs_im() void gaim_gtkdialogs_im_with_user(account, username) Gaim::Account account const char * username void gaim_gtkdialogs_info() void gaim_gtkdialogs_log() void gaim_gtkdialogs_alias_contact(contact) Gaim::BuddyList::Contact contact void gaim_gtkdialogs_alias_buddy(buddy) Gaim::BuddyList::Buddy buddy void gaim_gtkdialogs_alias_chat(chat) Gaim::BuddyList::Chat chat void gaim_gtkdialogs_remove_buddy(buddy) Gaim::BuddyList::Buddy buddy void gaim_gtkdialogs_remove_group(group) Gaim::BuddyList::Group group void gaim_gtkdialogs_remove_chat(chat) Gaim::BuddyList::Chat chat void gaim_gtkdialogs_remove_contact(contact) Gaim::BuddyList::Contact contact