view gtk/plugins/perl/common/GtkBlist.xs @ 14567:d6eae5115b31

[gaim-migrate @ 17291] This is a really huge commit for basically nothing, I decided that Gaim::Gtk should really be Gaim::GtkUI (which will line up better with any eventual Gaim::GntUI that might exist, etc.). So that's what this is, I think I got everything, it builds here at least. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 17 Sep 2006 05:35:46 +0000
parents 040dfd49107d
children 310a81ba302c
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.

void
gaim_gtk_blist_make_buddy_menu(menu, buddy, sub)
	Gtk::Widget menu
	Gaim::Buddy buddy
	gboolean sub
*/

/* This can't work at the moment since I don't have a typemap for Gdk::Pixbuf.
 * I thought about using the one from libgtk2-perl but wasn't sure how to go
 * about doing that.

GdkPixbuf
gaim_gtk_blist_get_status_icon(node, size)
	Gaim::BuddyList::Node node
	Gaim::Status::IconSize size
*/

/* 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.

void
gaim_gtk_append_blist_node_proto_menu(menu, gc, node)
	Gtk::Widget menu
	Gaim::Connection gc
	Gaim::BuddyList::Node node

void
gaim_gtk_append_blist_node_extended_menu(menu, node)
	Gtk::Widget menu
	Gaim::Connection gc
	Gaim::BuddyList::Node node
*/

MODULE = Gaim::GtkUI::BuddyList  PACKAGE = Gaim::GtkUI::BuddyList  PREFIX = gaim_gtk_blist_
PROTOTYPES: ENABLE

void *
gaim_gtk_blist_get_handle()

Gaim::GtkUI::BuddyList
gaim_gtk_blist_get_default_gtk_blist()

void
gaim_gtk_blist_refresh(list)
	Gaim::BuddyList list

void
gaim_gtk_blist_update_refresh_timeout()

gboolean
gaim_gtk_blist_node_is_contact_expanded(node)
	Gaim::BuddyList::Node node

void
gaim_gtk_blist_toggle_visibility()

void
gaim_gtk_blist_visibility_manager_add()

void
gaim_gtk_blist_visibility_manager_remove()

void
gaim_gtk_blist_get_sort_methods()
PREINIT:
	GList *l;
PPCODE:
	for (l = gaim_gtk_blist_get_sort_methods(); l != NULL; l = l->next) {
		XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::GtkUI::BuddyList::SortMethod")));
	}

void
gaim_gtk_blist_sort_method_reg(id, name, func)
	const char * id
	const char * name
	Gaim::GtkUI::BuddyList::SortFunction func

void
gaim_gtk_blist_sort_method_unreg(id)
	const char * id

void
gaim_gtk_blist_sort_method_set(id)
	const char * id

void
gaim_gtk_blist_setup_sort_methods()

void
gaim_gtk_blist_update_accounts_menu()

void
gaim_gtk_blist_update_plugin_actions()

void
gaim_gtk_blist_update_sort_methods()

gboolean
gaim_gtk_blist_joinchat_is_showable()

void
gaim_gtk_blist_joinchat_show()

void
gaim_gtk_blist_update_account_error_state(account, message)
	Gaim::Account account
	const char * message