view pidgin/plugins/perl/common/GtkStatusBox.xs @ 26569:bc7fac8e2f79

propagate from branch 'im.pidgin.pidgin' (head f144c6bda9daf701aa891c875fce7a4dedd611ae) to branch 'im.pidgin.cpw.darkrain42.xmpp.bosh' (head 8b60514f2b44295e87ee3587669aec5059556149)
author Paul Aurich <paul@darkrain42.org>
date Sun, 05 Apr 2009 21:13:10 +0000
parents bc0d2dd799cd
children
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.
Gtk::Widget
pidgin_status_box_new()

Gtk::Widget
pidgin_status_box_new_with_account(account)
	Purple::Account account

void
pidgin_status_box_add(status_box, type, pixbuf, text, sec_text, data)
	Pidgin::StatusBox status_box
	Pidgin::StatusBox::ItemType type
	GdkPixbuf pixbuf
	const char * text
	const char * sec_text
	gpointer data
*/

MODULE = Pidgin::StatusBox  PACKAGE = Pidgin::StatusBox  PREFIX = pidgin_status_box_
PROTOTYPES: ENABLE

void
pidgin_status_box_add_separator(status_box)
	Pidgin::StatusBox status_box

void
pidgin_status_box_set_connecting(status_box, connecting)
	Pidgin::StatusBox status_box
	gboolean connecting

void
pidgin_status_box_pulse_connecting(status_box)
	Pidgin::StatusBox status_box

void
pidgin_status_box_set_buddy_icon(status_box, img)
	Pidgin::StatusBox status_box
	Purple::StoredImage img

gchar_own *
pidgin_status_box_get_message(status_box)
	Pidgin::StatusBox status_box