… | |
… | |
212 | : flags (0), self (0), cb (0), attach (src.attach) |
212 | : flags (0), self (0), cb (0), attach (src.attach) |
213 | { |
213 | { |
214 | } |
214 | } |
215 | |
215 | |
216 | // set a custom key to the given value, or delete it if value = 0 |
216 | // set a custom key to the given value, or delete it if value = 0 |
|
|
217 | void set_key (const char *key, const char *value = 0, bool is_utf8 = 0); |
|
|
218 | |
217 | void set_key (const char *key, const char *value = 0); |
219 | void set_key_text (const char *key, const char *value = 0) |
|
|
220 | { |
|
|
221 | set_key (key, value, 1); |
|
|
222 | } |
|
|
223 | |
|
|
224 | void set_key_data (const char *key, const char *value = 0) |
|
|
225 | { |
|
|
226 | set_key (key, value, 0); |
|
|
227 | } |
218 | |
228 | |
219 | attachable &operator =(const attachable &src); |
229 | attachable &operator =(const attachable &src); |
220 | |
230 | |
221 | // used to _quickly_ device wether to shortcut the evaluation |
231 | // used to _quickly_ device wether to shortcut the evaluation |
222 | bool should_invoke (event_type event) |
232 | bool should_invoke (event_type event) |