~liuxingcs/+junk/IM

« back to all changes in this revision

Viewing changes to pidgin/plugins/perl/common/GtkStatusBox.xs

  • Committer: liuxing
  • Date: 2013-04-25 10:41:36 UTC
  • Revision ID: liuxingcs@yeah.net-20130425104136-e5towjtz19wsz1w7
Init IM

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
pidgin_status_box_new()
 
8
 
 
9
Gtk::Widget
 
10
pidgin_status_box_new_with_account(account)
 
11
        Purple::Account account
 
12
 
 
13
void
 
14
pidgin_status_box_add(status_box, type, pixbuf, text, sec_text, data)
 
15
        Pidgin::StatusBox status_box
 
16
        Pidgin::StatusBox::ItemType type
 
17
        GdkPixbuf pixbuf
 
18
        const char * text
 
19
        const char * sec_text
 
20
        gpointer data
 
21
*/
 
22
 
 
23
MODULE = Pidgin::StatusBox  PACKAGE = Pidgin::StatusBox  PREFIX = pidgin_status_box_
 
24
PROTOTYPES: ENABLE
 
25
 
 
26
void
 
27
pidgin_status_box_add_separator(status_box)
 
28
        Pidgin::StatusBox status_box
 
29
 
 
30
void
 
31
pidgin_status_box_set_connecting(status_box, connecting)
 
32
        Pidgin::StatusBox status_box
 
33
        gboolean connecting
 
34
 
 
35
void
 
36
pidgin_status_box_pulse_connecting(status_box)
 
37
        Pidgin::StatusBox status_box
 
38
 
 
39
void
 
40
pidgin_status_box_set_buddy_icon(status_box, img)
 
41
        Pidgin::StatusBox status_box
 
42
        Purple::StoredImage img
 
43
 
 
44
gchar_own *
 
45
pidgin_status_box_get_message(status_box)
 
46
        Pidgin::StatusBox status_box