Minor changelog updates
[pidgin-git.git] / pidgin / plugins / perl / common / GtkConvWin.xs
blob8e74f120597b7ced04a3e7c9b4b5a37a7e6cfc4c
1 #include "gtkmodule.h"
3 MODULE = Pidgin::Conversation::Window  PACKAGE = Pidgin::Conversation::Window  PREFIX = pidgin_conv_window_
4 PROTOTYPES: ENABLE
6 Pidgin::Conversation::Window
7 pidgin_conv_window_new(class)
8     C_ARGS: /* void */
10 void
11 pidgin_conv_window_destroy(win)
12         Pidgin::Conversation::Window win
14 void
15 pidgin_conv_window_show(win)
16         Pidgin::Conversation::Window win
18 void
19 pidgin_conv_window_hide(win)
20         Pidgin::Conversation::Window win
22 void
23 pidgin_conv_window_raise(win)
24         Pidgin::Conversation::Window win
26 void
27 pidgin_conv_window_switch_gtkconv(win, gtkconv)
28         Pidgin::Conversation::Window win
29         Pidgin::Conversation gtkconv
31 void
32 pidgin_conv_window_add_gtkconv(win, gtkconv)
33         Pidgin::Conversation::Window win
34         Pidgin::Conversation gtkconv
36 void
37 pidgin_conv_window_remove_gtkconv(win, gtkconv)
38         Pidgin::Conversation::Window win
39         Pidgin::Conversation gtkconv
41 Pidgin::Conversation
42 pidgin_conv_window_get_gtkconv_at_index(win, index)
43         Pidgin::Conversation::Window win
44         int index
46 Pidgin::Conversation
47 pidgin_conv_window_get_active_gtkconv(win)
48         Pidgin::Conversation::Window win
50 Purple::Conversation
51 pidgin_conv_window_get_active_conversation(win)
52         Pidgin::Conversation::Window win
54 gboolean
55 pidgin_conv_window_is_active_conversation(conv)
56         Purple::Conversation conv
58 gboolean
59 pidgin_conv_window_has_focus(win)
60         Pidgin::Conversation::Window win
62 Pidgin::Conversation::Window
63 pidgin_conv_window_get_at_xy(x, y)
64         int x
65         int y
67 void
68 pidgin_conv_window_get_gtkconvs(win)
69         Pidgin::Conversation::Window win
70 PREINIT:
71         GList *l;
72 PPCODE:
73         for (l = pidgin_conv_window_get_gtkconvs(win); l != NULL; l = l->next) {
74                 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::Conversation")));
75         }
77 guint
78 pidgin_conv_window_get_gtkconv_count(win)
79         Pidgin::Conversation::Window win
81 Pidgin::Conversation::Window
82 pidgin_conv_window_first_with_type(type)
83         Purple::ConversationType type
85 Pidgin::Conversation::Window
86 pidgin_conv_window_last_with_type(type)
87         Purple::ConversationType type
89 MODULE = Pidgin::Conversation::Window  PACKAGE = Pidgin::Conversation::Placement  PREFIX = pidgin_conv_placement_
90 PROTOTYPES: ENABLE
92 void
93 pidgin_conv_placement_get_options()
94 PREINIT:
95         GList *l;
96 PPCODE:
97         for (l = pidgin_conv_placement_get_options(); l != NULL; l = l->next) {
98                 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::Conversation::Window")));
99         }
101 void
102 pidgin_conv_placement_add_fnc(id, name, fnc)
103         const char * id
104         const char * name
105         Pidgin::Conversation::PlacementFunc fnc
107 void
108 pidgin_conv_placement_remove_fnc(id)
109         const char * id
111 const char *
112 pidgin_conv_placement_get_name(id)
113         const char * id
115 Pidgin::Conversation::PlacementFunc
116 pidgin_conv_placement_get_fnc(id)
117         const char * id
119 void
120 pidgin_conv_placement_set_current_func(func)
121         Pidgin::Conversation::PlacementFunc func
123 Pidgin::Conversation::PlacementFunc
124 pidgin_conv_placement_get_current_func()
126 void
127 pidgin_conv_placement_place(gtkconv)
128         Pidgin::Conversation gtkconv
130 MODULE = Pidgin::Conversation::Window  PACKAGE = Pidgin::Conversation::Windows  PREFIX = pidgin_conv_windows_
131 PROTOTYPES: ENABLE
133 void
134 pidgin_conv_windows_get_list()
135 PREINIT:
136         GList *l;
137 PPCODE:
138         for (l = pidgin_conv_windows_get_list(); l != NULL; l = l->next) {
139                 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::Conversation::Window")));
140         }