Thu, 01 Sep 2011 07:32:09 +0000
Make another gtkimhtml function private.
I'm definitely hoping we can get rid of all this code and switch to webkit
for 3.0.0. I haven't tried the branch.
| 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 Gtk::Widget. | |
| 81 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 82 | * about doing that. | |
| 83 | void | |
| 84 | 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
|
85 | 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
|
86 | Pidgin::IMHtml imhtml |
| 14478 | 87 | Gtk::TextIter iter |
| 88 | */ | |
| 89 | ||
| 90 | /* This can't work at the moment since I don't have a typemap for gboolean *. | |
| 91 | void | |
| 92 | 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
|
93 | Pidgin::IMHtml imhtml |
| 14478 | 94 | gboolean * bold |
| 95 | gboolean * italic | |
| 96 | gboolean * underline | |
| 97 | */ | |
| 98 | ||
|
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
|
99 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml PREFIX = gtk_imhtml_ |
| 14478 | 100 | PROTOTYPES: ENABLE |
| 101 | ||
|
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
|
102 | Pidgin::IMHtml::Smiley |
| 14478 | 103 | 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
|
104 | Pidgin::IMHtml imhtml |
| 14478 | 105 | const gchar * sml |
| 106 | const gchar * text | |
| 107 | ||
| 108 | void | |
| 109 | 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
|
110 | Pidgin::IMHtml imhtml |
| 14478 | 111 | 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
|
112 | Pidgin::IMHtml::Smiley smiley |
| 14478 | 113 | |
| 114 | void | |
| 115 | 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
|
116 | Pidgin::IMHtml imhtml |
| 14478 | 117 | |
| 118 | void | |
| 119 | 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
|
120 | 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
|
121 | Pidgin::IMHtml::Funcs f |
| 14478 | 122 | |
| 123 | void | |
| 124 | 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
|
125 | Pidgin::IMHtml imhtml |
| 14478 | 126 | gboolean show |
| 127 | ||
| 128 | const char * | |
| 129 | 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
|
130 | Pidgin::IMHtml imhtml |
| 14478 | 131 | |
| 132 | void | |
| 133 | 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
|
134 | Pidgin::IMHtml imhtml |
| 14478 | 135 | const gchar * protocol_name |
| 136 | ||
| 137 | void | |
| 138 | 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
|
139 | Pidgin::IMHtml imhtml |
| 14478 | 140 | 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
|
141 | Pidgin::IMHtml::Options options |
| 14478 | 142 | |
| 143 | void | |
| 144 | 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
|
145 | Pidgin::IMHtml imhtml |
| 14478 | 146 | 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
|
147 | Pidgin::IMHtml::Options options |
| 14478 | 148 | SV *unused |
| 149 | PREINIT: | |
| 150 | GSList *t_GL; | |
| 151 | int i, t_len; | |
| 152 | PPCODE: | |
| 153 | t_GL = NULL; | |
|
25112
4e9dba9e28e6
disapproval of revision '2d9389f32256ca757b17d7cabe9d9beebce0d311'
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
25106
diff
changeset
|
154 | t_len = av_len((AV *)SvRV(unused)); |
| 14478 | 155 | |
|
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
|
156 | for (i = 0; i <= t_len; i++) { |
| 14478 | 157 | STRLEN t_sl; |
| 158 | t_GL = g_slist_append(t_GL, SvPV(*av_fetch((AV *)SvRV(unused), i, 0), t_sl)); | |
| 159 | } | |
| 160 | gtk_imhtml_append_text_with_images(imhtml, text, options, t_GL); | |
| 161 | ||
| 162 | void | |
| 163 | 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
|
164 | Pidgin::IMHtml imhtml |
| 14478 | 165 | gboolean smooth |
| 166 | ||
| 167 | void | |
| 168 | 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
|
169 | Pidgin::IMHtml imhtml |
| 14478 | 170 | |
| 171 | void | |
| 172 | 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
|
173 | Pidgin::IMHtml imhtml |
| 14478 | 174 | |
| 175 | void | |
| 176 | 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
|
177 | Pidgin::IMHtml imhtml |
| 14478 | 178 | |
| 179 | void | |
| 180 | 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
|
181 | Pidgin::IMHtml imhtml |
| 14478 | 182 | gboolean editable |
| 183 | ||
| 184 | void | |
| 185 | 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
|
186 | Pidgin::IMHtml imhtml |
| 14478 | 187 | gboolean wbo |
| 188 | ||
| 189 | void | |
| 190 | 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
|
191 | 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
|
192 | Pidgin::IMHtml::Buttons buttons |
| 14478 | 193 | |
|
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
|
194 | Pidgin::IMHtml::Buttons |
| 14478 | 195 | 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
|
196 | Pidgin::IMHtml imhtml |
| 14478 | 197 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
198 | gchar_own * |
| 14478 | 199 | 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
|
200 | Pidgin::IMHtml imhtml |
| 14478 | 201 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
202 | gchar_own * |
| 14478 | 203 | 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
|
204 | Pidgin::IMHtml imhtml |
| 14478 | 205 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
206 | gchar_own * |
| 14478 | 207 | 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
|
208 | Pidgin::IMHtml imhtml |
| 14478 | 209 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
210 | gchar_own * |
| 14478 | 211 | 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
|
212 | Pidgin::IMHtml imhtml |
| 14478 | 213 | |
| 214 | gint | |
| 215 | 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
|
216 | Pidgin::IMHtml imhtml |
| 14478 | 217 | |
| 218 | gboolean | |
| 219 | 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
|
220 | Pidgin::IMHtml imhtml |
| 14478 | 221 | |
| 222 | void | |
| 223 | 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
|
224 | Pidgin::IMHtml imhtml |
| 14478 | 225 | |
| 226 | void | |
| 227 | 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
|
228 | Pidgin::IMHtml imhtml |
| 14478 | 229 | |
| 230 | void | |
| 231 | 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
|
232 | Pidgin::IMHtml imhtml |
| 14478 | 233 | |
| 234 | void | |
| 235 | 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
|
236 | Pidgin::IMHtml imhtml |
| 14478 | 237 | |
| 238 | void | |
| 239 | 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
|
240 | Pidgin::IMHtml imhtml |
| 14478 | 241 | |
| 242 | void | |
| 243 | 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
|
244 | Pidgin::IMHtml imhtml |
| 14478 | 245 | const char * color |
| 246 | ||
| 247 | void | |
| 248 | 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
|
249 | Pidgin::IMHtml imhtml |
| 14478 | 250 | const char * color |
| 251 | ||
| 252 | void | |
| 253 | 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
|
254 | Pidgin::IMHtml imhtml |
| 14478 | 255 | const char * color |
| 256 | ||
| 257 | void | |
| 258 | 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
|
259 | Pidgin::IMHtml imhtml |
| 14478 | 260 | const char * face |
| 261 | ||
| 262 | void | |
| 263 | 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
|
264 | Pidgin::IMHtml imhtml |
| 14478 | 265 | const char * url |
| 266 | ||
| 267 | void | |
| 268 | 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
|
269 | Pidgin::IMHtml imhtml |
| 14478 | 270 | const char * sml |
| 271 | char * smiley | |
| 272 | ||
| 273 | void | |
| 274 | 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
|
275 | Pidgin::IMHtml imhtml |
| 14478 | 276 | gint size |
| 277 | ||
| 278 | void | |
| 279 | 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
|
280 | Pidgin::IMHtml imhtml |
| 14478 | 281 | |
| 282 | void | |
| 283 | 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
|
284 | Pidgin::IMHtml imhtml |
| 14478 | 285 | |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
14632
diff
changeset
|
286 | gchar_own * |
| 14478 | 287 | 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
|
288 | Pidgin::IMHtml imhtml |
| 14478 | 289 | |
| 14632 | 290 | # /* ETAN Test this, and document well that it returns an arrayref */ |
| 14629 | 291 | void |
| 14478 | 292 | 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
|
293 | Pidgin::IMHtml imhtml |
| 14629 | 294 | PREINIT: |
| 295 | gint i; | |
| 296 | AV *lines; | |
| 297 | gchar **bufs; | |
| 298 | PPCODE: | |
| 299 | bufs = gtk_imhtml_get_markup_lines(imhtml); | |
| 300 | lines = newAV(); | |
| 14632 | 301 | for (i = 0; bufs[i] != NULL; i++) { |
| 14629 | 302 | av_push(lines, newSVpv(bufs[i], 0)); |
| 303 | } | |
| 304 | XPUSHs(sv_2mortal(newRV_noinc((SV *)lines))); | |
| 14478 | 305 | |
|
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
|
306 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Hr PREFIX = gtk_imhtml_hr_ |
| 14478 | 307 | PROTOTYPES: ENABLE |
| 308 | ||
|
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
|
309 | Pidgin::IMHtml::Scalable |
| 14478 | 310 | gtk_imhtml_hr_new() |
| 311 | ||
| 312 | void | |
| 313 | 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
|
314 | Pidgin::IMHtml::Scalable scale |
| 14478 | 315 | |
| 316 | void | |
| 317 | 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
|
318 | Pidgin::IMHtml::Scalable scale |
| 14478 | 319 | int width |
| 320 | int height | |
| 321 | ||
|
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
|
322 | MODULE = Pidgin::IMHtml PACKAGE = Pidgin::IMHtml::Search PREFIX = gtk_imhtml_search_ |
| 14478 | 323 | PROTOTYPES: ENABLE |
| 324 | ||
| 325 | gboolean | |
| 326 | 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
|
327 | Pidgin::IMHtml imhtml |
| 14478 | 328 | const gchar * text |
| 329 | ||
| 330 | void | |
| 331 | 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
|
332 | Pidgin::IMHtml imhtml |