Sun, 21 Aug 2011 08:03:38 +0000
Fix compilation of perl plugin. I guess this code doesn't rebuild
correctly if the headers it uses change
| 14478 | 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 | gtk_imhtml_new(a, b) | |
| 8 | */ | |
| 9 | ||
| 10 | /* This can't work at the moment since I don't have a typemap for | |
| 11 | * Gtk::TextIter. | |
| 12 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 13 | * about doing that. | |
| 14 | void | |
| 15 | gtk_imhtml_insert_html_at_iter(imhtml, text, options, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
16 | Pidgin::IMHtml imhtml |
| 14478 | 17 | const gchar * text |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
18 | Pidgin::IMHtml::Options options |
| 14478 | 19 | Gtk::TextIter iter |
| 20 | */ | |
| 21 | ||
| 22 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 23 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 24 | * about doing that. | |
| 25 | void | |
| 26 | gtk_imhtml_delete(imhtml, start, end) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
27 | Pidgin::IMHtml imhtml |
| 14478 | 28 | Gtk::TextIter start |
| 29 | Gtk::TextIter end | |
| 30 | */ | |
| 31 | ||
| 32 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 33 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 34 | * about doing that. | |
| 35 | void | |
| 36 | gtk_imhtml_insert_link(imhtml, mark, url, text) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
37 | Pidgin::IMHtml imhtml |
| 14478 | 38 | Gtk::TextMark mark |
| 39 | const char * url | |
| 40 | const char * text | |
| 41 | */ | |
| 42 | ||
| 43 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 44 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 45 | * about doing that. | |
| 46 | void | |
| 47 | gtk_imhtml_insert_smiley_at_iter(imhtml, sml, smiley, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
48 | Pidgin::IMHtml imhtml |
| 14478 | 49 | const char * sml |
| 50 | char * smiley | |
| 51 | Gtk::TextIter iter | |
| 52 | ||
| 53 | void | |
| 54 | gtk_imhtml_insert_image_at_iter(imhtml, id, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
55 | Pidgin::IMHtml imhtml |
| 14478 | 56 | int id |
| 57 | Gtk::TextIter iter | |
| 58 | */ | |
| 59 | ||
| 60 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 61 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 62 | * about doing that. | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
63 | gchar_own * |
| 14478 | 64 | gtk_imhtml_get_markup_range(imhtml, start, end) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
65 | Pidgin::IMHtml imhtml |
| 14478 | 66 | Gtk::TextIter start |
| 67 | Gtk::TextIter end | |
| 68 | */ | |
| 69 | ||
| 70 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 71 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 72 | * about doing that. | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
73 | gchar_own * |
| 14478 | 74 | gtk_imhtml_get_text(imhtml, start, end) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
75 | Pidgin::IMHtml imhtml |
| 14478 | 76 | Gtk::TextIter start |
| 77 | Gtk::TextIter end | |
| 78 | */ | |
| 79 | ||
| 80 | /* This can't work at the moment since I don't have a typemap for Gdk::Pixbuf. | |
| 81 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 82 | * about doing that. | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
83 | Pidgin::IMHtml::Scalable |
| 14478 | 84 | gtk_imhtml_image_new(img, filename, id) |
| 85 | Gdk::Pixbuf img | |
| 86 | const gchar * filename | |
| 87 | int id | |
| 88 | */ | |
| 89 | ||
| 90 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 91 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 92 | * about doing that. | |
| 93 | void | |
| 94 | gtk_imhtml_image_add_to(scale, imhtml, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
95 | Pidgin::IMHtml::Scalable scale |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
96 | Pidgin::IMHtml imhtml |
| 14478 | 97 | Gtk::TextIter iter |
| 98 | */ | |
| 99 | ||
| 100 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 101 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 102 | * about doing that. | |
| 103 | void | |
| 104 | gtk_imhtml_hr_add_to(scale, imhtml, iter) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
105 | Pidgin::IMHtml::Scalable scale |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
106 | Pidgin::IMHtml imhtml |
| 14478 | 107 | Gtk::TextIter iter |
| 108 | */ | |
| 109 | ||
| 110 | /* This can't work at the moment since I don't have a typemap for gboolean *. | |
| 111 | void | |
| 112 | gtk_imhtml_get_current_format(imhtml, bold, italic, underline) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
113 | Pidgin::IMHtml imhtml |
| 14478 | 114 | gboolean * bold |
| 115 | gboolean * italic | |
| 116 | gboolean * underline | |
| 117 | */ | |
| 118 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
119 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml PREFIX = gtk_imhtml_ |
| 14478 | 120 | PROTOTYPES: ENABLE |
| 121 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
122 | Pidgin::IMHtml::Smiley |
| 14478 | 123 | gtk_imhtml_smiley_get(imhtml, sml, text) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
124 | Pidgin::IMHtml imhtml |
| 14478 | 125 | const gchar * sml |
| 126 | const gchar * text | |
| 127 | ||
| 128 | void | |
| 129 | gtk_imhtml_associate_smiley(imhtml, sml, smiley) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
130 | Pidgin::IMHtml imhtml |
| 14478 | 131 | const gchar * sml |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
132 | Pidgin::IMHtml::Smiley smiley |
| 14478 | 133 | |
| 134 | void | |
| 135 | gtk_imhtml_remove_smileys(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
136 | Pidgin::IMHtml imhtml |
| 14478 | 137 | |
| 138 | void | |
| 139 | gtk_imhtml_set_funcs(imhtml, f) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
140 | Pidgin::IMHtml imhtml |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
141 | Pidgin::IMHtml::Funcs f |
| 14478 | 142 | |
| 143 | void | |
| 144 | gtk_imhtml_show_comments(imhtml, show) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
145 | Pidgin::IMHtml imhtml |
| 14478 | 146 | gboolean show |
| 147 | ||
| 148 | const char * | |
| 149 | gtk_imhtml_get_protocol_name(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
150 | Pidgin::IMHtml imhtml |
| 14478 | 151 | |
| 152 | void | |
| 153 | gtk_imhtml_set_protocol_name(imhtml, protocol_name) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
154 | Pidgin::IMHtml imhtml |
| 14478 | 155 | const gchar * protocol_name |
| 156 | ||
| 157 | void | |
| 158 | gtk_imhtml_append_text(imhtml, text, options) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
159 | Pidgin::IMHtml imhtml |
| 14478 | 160 | const gchar * text |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
161 | Pidgin::IMHtml::Options options |
| 14478 | 162 | |
| 163 | void | |
| 164 | gtk_imhtml_append_text_with_images(imhtml, text, options, unused = NULL) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
165 | Pidgin::IMHtml imhtml |
| 14478 | 166 | const gchar * text |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
167 | Pidgin::IMHtml::Options options |
| 14478 | 168 | SV *unused |
| 169 | PREINIT: | |
| 170 | GSList *t_GL; | |
| 171 | int i, t_len; | |
| 172 | PPCODE: | |
| 173 | t_GL = NULL; | |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
174 | t_len = av_len((AV *)SvRV(unused)); |
| 14478 | 175 | |
|
25107
bd102c539600
Tweak a few for loop conditions in the Perl bindings per Etan's suggestion.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
176 | for (i = 0; i <= t_len; i++) { |
| 14478 | 177 | STRLEN t_sl; |
| 178 | t_GL = g_slist_append(t_GL, SvPV(*av_fetch((AV *)SvRV(unused), i, 0), t_sl)); | |
| 179 | } | |
| 180 | gtk_imhtml_append_text_with_images(imhtml, text, options, t_GL); | |
| 181 | ||
| 182 | void | |
| 183 | gtk_imhtml_scroll_to_end(imhtml, smooth) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
184 | Pidgin::IMHtml imhtml |
| 14478 | 185 | gboolean smooth |
| 186 | ||
| 187 | void | |
| 188 | gtk_imhtml_clear(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
189 | Pidgin::IMHtml imhtml |
| 14478 | 190 | |
| 191 | void | |
| 192 | gtk_imhtml_page_up(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
193 | Pidgin::IMHtml imhtml |
| 14478 | 194 | |
| 195 | void | |
| 196 | gtk_imhtml_page_down(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
197 | Pidgin::IMHtml imhtml |
| 14478 | 198 | |
| 199 | void | |
| 200 | gtk_imhtml_set_editable(imhtml, editable) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
201 | Pidgin::IMHtml imhtml |
| 14478 | 202 | gboolean editable |
| 203 | ||
| 204 | void | |
| 205 | gtk_imhtml_set_whole_buffer_formatting_only(imhtml, wbo) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
206 | Pidgin::IMHtml imhtml |
| 14478 | 207 | gboolean wbo |
| 208 | ||
| 209 | void | |
| 210 | gtk_imhtml_set_format_functions(imhtml, buttons) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
211 | Pidgin::IMHtml imhtml |
|
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
212 | Pidgin::IMHtml::Buttons buttons |
| 14478 | 213 | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
214 | Pidgin::IMHtml::Buttons |
| 14478 | 215 | gtk_imhtml_get_format_functions(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
216 | Pidgin::IMHtml imhtml |
| 14478 | 217 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
218 | gchar_own * |
| 14478 | 219 | gtk_imhtml_get_current_fontface(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
220 | Pidgin::IMHtml imhtml |
| 14478 | 221 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
222 | gchar_own * |
| 14478 | 223 | gtk_imhtml_get_current_forecolor(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
224 | Pidgin::IMHtml imhtml |
| 14478 | 225 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
226 | gchar_own * |
| 14478 | 227 | gtk_imhtml_get_current_backcolor(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
228 | Pidgin::IMHtml imhtml |
| 14478 | 229 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
230 | gchar_own * |
| 14478 | 231 | gtk_imhtml_get_current_background(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
232 | Pidgin::IMHtml imhtml |
| 14478 | 233 | |
| 234 | gint | |
| 235 | gtk_imhtml_get_current_fontsize(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
236 | Pidgin::IMHtml imhtml |
| 14478 | 237 | |
| 238 | gboolean | |
| 239 | gtk_imhtml_get_editable(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
240 | Pidgin::IMHtml imhtml |
| 14478 | 241 | |
| 242 | void | |
| 243 | gtk_imhtml_clear_formatting(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
244 | Pidgin::IMHtml imhtml |
| 14478 | 245 | |
| 246 | void | |
| 247 | gtk_imhtml_toggle_bold(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
248 | Pidgin::IMHtml imhtml |
| 14478 | 249 | |
| 250 | void | |
| 251 | gtk_imhtml_toggle_italic(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
252 | Pidgin::IMHtml imhtml |
| 14478 | 253 | |
| 254 | void | |
| 255 | gtk_imhtml_toggle_underline(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
256 | Pidgin::IMHtml imhtml |
| 14478 | 257 | |
| 258 | void | |
| 259 | gtk_imhtml_toggle_strike(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
260 | Pidgin::IMHtml imhtml |
| 14478 | 261 | |
| 262 | void | |
| 263 | gtk_imhtml_toggle_forecolor(imhtml, color) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
264 | Pidgin::IMHtml imhtml |
| 14478 | 265 | const char * color |
| 266 | ||
| 267 | void | |
| 268 | gtk_imhtml_toggle_backcolor(imhtml, color) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
269 | Pidgin::IMHtml imhtml |
| 14478 | 270 | const char * color |
| 271 | ||
| 272 | void | |
| 273 | gtk_imhtml_toggle_background(imhtml, color) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
274 | Pidgin::IMHtml imhtml |
| 14478 | 275 | const char * color |
| 276 | ||
| 277 | void | |
| 278 | gtk_imhtml_toggle_fontface(imhtml, face) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
279 | Pidgin::IMHtml imhtml |
| 14478 | 280 | const char * face |
| 281 | ||
| 282 | void | |
| 283 | gtk_imhtml_toggle_link(imhtml, url) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
284 | Pidgin::IMHtml imhtml |
| 14478 | 285 | const char * url |
| 286 | ||
| 287 | void | |
| 288 | gtk_imhtml_insert_smiley(imhtml, sml, smiley) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
289 | Pidgin::IMHtml imhtml |
| 14478 | 290 | const char * sml |
| 291 | char * smiley | |
| 292 | ||
| 293 | void | |
| 294 | gtk_imhtml_font_set_size(imhtml, size) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
295 | Pidgin::IMHtml imhtml |
| 14478 | 296 | gint size |
| 297 | ||
| 298 | void | |
| 299 | gtk_imhtml_font_shrink(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
300 | Pidgin::IMHtml imhtml |
| 14478 | 301 | |
| 302 | void | |
| 303 | gtk_imhtml_font_grow(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
304 | Pidgin::IMHtml imhtml |
| 14478 | 305 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
306 | gchar_own * |
| 14478 | 307 | gtk_imhtml_get_markup(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
308 | Pidgin::IMHtml imhtml |
| 14478 | 309 | |
| 14632 | 310 | # /* ETAN Test this, and document well that it returns an arrayref */ |
| 14629 | 311 | void |
| 14478 | 312 | gtk_imhtml_get_markup_lines(imhtml) |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
313 | Pidgin::IMHtml imhtml |
| 14629 | 314 | PREINIT: |
| 315 | gint i; | |
| 316 | AV *lines; | |
| 317 | gchar **bufs; | |
| 318 | PPCODE: | |
| 319 | bufs = gtk_imhtml_get_markup_lines(imhtml); | |
| 320 | lines = newAV(); | |
| 14632 | 321 | for (i = 0; bufs[i] != NULL; i++) { |
| 14629 | 322 | av_push(lines, newSVpv(bufs[i], 0)); |
| 323 | } | |
| 324 | XPUSHs(sv_2mortal(newRV_noinc((SV *)lines))); | |
| 14478 | 325 | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
326 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Scalable PREFIX = gtk_imhtml_image_ |
| 14478 | 327 | PROTOTYPES: ENABLE |
| 328 | ||
| 329 | void | |
| 330 | gtk_imhtml_image_free(scale) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
331 | Pidgin::IMHtml::Scalable scale |
| 14478 | 332 | |
| 333 | void | |
| 334 | gtk_imhtml_image_scale(scale, width, height) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
335 | Pidgin::IMHtml::Scalable scale |
| 14478 | 336 | int width |
| 337 | int height | |
| 338 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
339 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Hr PREFIX = gtk_imhtml_hr_ |
| 14478 | 340 | PROTOTYPES: ENABLE |
| 341 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
342 | Pidgin::IMHtml::Scalable |
| 14478 | 343 | gtk_imhtml_hr_new() |
| 344 | ||
| 345 | void | |
| 346 | gtk_imhtml_hr_free(scale) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
347 | Pidgin::IMHtml::Scalable scale |
| 14478 | 348 | |
| 349 | void | |
| 350 | gtk_imhtml_hr_scale(scale, width, height) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
351 | Pidgin::IMHtml::Scalable scale |
| 14478 | 352 | int width |
| 353 | int height | |
| 354 | ||
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
355 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Search PREFIX = gtk_imhtml_search_ |
| 14478 | 356 | PROTOTYPES: ENABLE |
| 357 | ||
| 358 | gboolean | |
| 359 | gtk_imhtml_search_find(imhtml, text) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
360 | Pidgin::IMHtml imhtml |
| 14478 | 361 | const gchar * text |
| 362 | ||
| 363 | void | |
| 364 | gtk_imhtml_search_clear(imhtml) | |
|
15590
c07dd12bf3f4
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
365 | Pidgin::IMHtml imhtml |