CoreGTK 3.10.0 CoreGTK is an Objective-C language binding for the GTK+ widget toolkit

- Main Page
- Classes
- Files

- File List

All Classes Functions Variables
CGTKWidget.m
1 /*
2 * CGTKWidget.m
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2015 - Tyler Burton
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 /*
23 * Modified by the CoreGTK Team, 2015. See the AUTHORS file for a
24 * list of people on the CoreGTK Team.
25 * See the ChangeLog files for a list of changes.
26 *
27 */
28
29 /*
30 * Objective-C imports
31 */
32 #import "CoreGTK/CGTKWidget.h"
33
34 @implementation CGTKWidget
35
36 +(GtkTextDirection)getDefaultDirection
37 {
38 return gtk_widget_get_default_direction();
39 }
40
41 +(GtkStyle*)getDefaultStyle
42 {
43 return gtk_widget_get_default_style();
44 }
45
46 +(void)popCompositeChild
47 {
48 gtk_widget_pop_composite_child();
49 }
50
51 +(void)pushCompositeChild
52 {
53 gtk_widget_push_composite_child();
54 }
55
56 +(void)setDefaultDirection:(GtkTextDirection) dir
57 {
58 gtk_widget_set_default_direction(dir);
59 }
60
61 -(GtkWidget*)WIDGET
62 {
63 return GTK_WIDGET([self GOBJECT]);
64 }
65
66 -(BOOL)activate
67 {
68 return (gtk_widget_activate(GTK_WIDGET([self GOBJECT])) ? YES : NO);
69 }
70
71 -(void)addAcceleratorWithAccelSignal:(NSString*) accelSignal andAccelGroup:(GtkAccelGroup*) accelGroup andAccelKey:(guint) accelKey andAccelMods:(GdkModifierType) accelMods andAccelFlags:(GtkAccelFlags) accelFlags
72 {
73 gtk_widget_add_accelerator(GTK_WIDGET([self GOBJECT]), [accelSignal UTF8String], accelGroup, accelKey, accelMods, accelFlags);
74 }
75
76 -(void)addDeviceEventsWithDevice:(GdkDevice*) device andEvents:(GdkEventMask) events
77 {
78 gtk_widget_add_device_events(GTK_WIDGET([self GOBJECT]), device, events);
79 }
80
81 -(void)addEvents:(gint) events
82 {
83 gtk_widget_add_events(GTK_WIDGET([self GOBJECT]), events);
84 }
85
86 -(void)addMnemonicLabel:(CGTKWidget*) label
87 {
88 gtk_widget_add_mnemonic_label(GTK_WIDGET([self GOBJECT]), [label WIDGET]);
89 }
90
91 -(guint)addTickCallbackWithCallback:(GtkTickCallback) callback andUserData:(gpointer) userData andNotify:(GDestroyNotify) notify
92 {
93 return gtk_widget_add_tick_callback(GTK_WIDGET([self GOBJECT]), callback, userData, notify);
94 }
95
96 -(BOOL)canActivateAccel:(guint) signalId
97 {
98 return (gtk_widget_can_activate_accel(GTK_WIDGET([self GOBJECT]), signalId) ? YES : NO);
99 }
100
101 -(BOOL)childFocus:(GtkDirectionType) direction
102 {
103 return (gtk_widget_child_focus(GTK_WIDGET([self GOBJECT]), direction) ? YES : NO);
104 }
105
106 -(void)childNotify:(NSString*) childProperty
107 {
108 gtk_widget_child_notify(GTK_WIDGET([self GOBJECT]), [childProperty UTF8String]);
109 }
110
111 -(void)classPathWithPathLength:(guint*) pathLength andPath:(gchar**) path andPathReversed:(gchar**) pathReversed
112 {
113 gtk_widget_class_path(GTK_WIDGET([self GOBJECT]), pathLength, path, pathReversed);
114 }
115
116 -(BOOL)computeExpand:(GtkOrientation) orientation
117 {
118 return (gtk_widget_compute_expand(GTK_WIDGET([self GOBJECT]), orientation) ? YES : NO);
119 }
120
121 -(PangoContext*)createPangoContext
122 {
123 return gtk_widget_create_pango_context(GTK_WIDGET([self GOBJECT]));
124 }
125
126 -(PangoLayout*)createPangoLayout:(NSString*) text
127 {
128 return gtk_widget_create_pango_layout(GTK_WIDGET([self GOBJECT]), [text UTF8String]);
129 }
130
131 -(void)destroy
132 {
133 gtk_widget_destroy(GTK_WIDGET([self GOBJECT]));
134 }
135
136 -(void)destroyed:(GtkWidget**) widgetPointer
137 {
138 gtk_widget_destroyed(GTK_WIDGET([self GOBJECT]), widgetPointer);
139 }
140
141 -(BOOL)deviceIsShadowed:(GdkDevice*) device
142 {
143 return (gtk_widget_device_is_shadowed(GTK_WIDGET([self GOBJECT]), device) ? YES : NO);
144 }
145
146 -(GdkDragContext*)gtkDragBeginWithTargets:(GtkTargetList*) targets andActions:(GdkDragAction) actions andButton:(gint) button andEvent:(GdkEvent*) event
147 {
148 return gtk_drag_begin(GTK_WIDGET([self GOBJECT]), targets, actions, button, event);
149 }
150
151 -(GdkDragContext*)gtkDragBeginWithCoordinatesWithTargets:(GtkTargetList*) targets andActions:(GdkDragAction) actions andButton:(gint) button andEvent:(GdkEvent*) event andX:(gint) x andY:(gint) y
152 {
153 return gtk_drag_begin_with_coordinates(GTK_WIDGET([self GOBJECT]), targets, actions, button, event, x, y);
154 }
155
156 -(BOOL)gtkDragCheckThresholdWithStartX:(gint) startX andStartY:(gint) startY andCurrentX:(gint) currentX andCurrentY:(gint) currentY
157 {
158 return (gtk_drag_check_threshold(GTK_WIDGET([self GOBJECT]), startX, startY, currentX, currentY) ? YES : NO);
159 }
160
161 -(void)gtkDragDestAddImageTargets
162 {
163 gtk_drag_dest_add_image_targets(GTK_WIDGET([self GOBJECT]));
164 }
165
166 -(void)gtkDragDestAddTextTargets
167 {
168 gtk_drag_dest_add_text_targets(GTK_WIDGET([self GOBJECT]));
169 }
170
171 -(void)gtkDragDestAddUriTargets
172 {
173 gtk_drag_dest_add_uri_targets(GTK_WIDGET([self GOBJECT]));
174 }
175
176 -(GdkAtom)gtkDragDestFindTargetWithContext:(GdkDragContext*) context andTargetList:(GtkTargetList*) targetList
177 {
178 return gtk_drag_dest_find_target(GTK_WIDGET([self GOBJECT]), context, targetList);
179 }
180
181 -(GtkTargetList*)gtkDragDestGetTargetList
182 {
183 return gtk_drag_dest_get_target_list(GTK_WIDGET([self GOBJECT]));
184 }
185
186 -(BOOL)gtkDragDestGetTrackMotion
187 {
188 return (gtk_drag_dest_get_track_motion(GTK_WIDGET([self GOBJECT])) ? YES : NO);
189 }
190
191 -(void)gtkDragDestSetWithFlags:(GtkDestDefaults) flags andTargets:(GtkTargetEntry*) targets andNtargets:(gint) ntargets andActions:(GdkDragAction) actions
192 {
193 gtk_drag_dest_set(GTK_WIDGET([self GOBJECT]), flags, targets, ntargets, actions);
194 }
195
196 -(void)gtkDragDestSetProxyWithProxyWindow:(GdkWindow*) proxyWindow andProtocol:(GdkDragProtocol) protocol andUseCoordinates:(BOOL) useCoordinates
197 {
198 gtk_drag_dest_set_proxy(GTK_WIDGET([self GOBJECT]), proxyWindow, protocol, (useCoordinates ? TRUE : FALSE));
199 }
200
201 -(void)gtkDragDestSetTargetList:(GtkTargetList*) targetList
202 {
203 gtk_drag_dest_set_target_list(GTK_WIDGET([self GOBJECT]), targetList);
204 }
205
206 -(void)gtkDragDestSetTrackMotion:(BOOL) trackMotion
207 {
208 gtk_drag_dest_set_track_motion(GTK_WIDGET([self GOBJECT]), (trackMotion ? TRUE : FALSE));
209 }
210
211 -(void)gtkDragDestUnset
212 {
213 gtk_drag_dest_unset(GTK_WIDGET([self GOBJECT]));
214 }
215
216 -(void)gtkDragGetDataWithContext:(GdkDragContext*) context andTarget:(GdkAtom) target andTime:(guint32) time
217 {
218 gtk_drag_get_data(GTK_WIDGET([self GOBJECT]), context, target, time);
219 }
220
221 -(void)gtkDragHighlight
222 {
223 gtk_drag_highlight(GTK_WIDGET([self GOBJECT]));
224 }
225
226 -(void)gtkDragSourceAddImageTargets
227 {
228 gtk_drag_source_add_image_targets(GTK_WIDGET([self GOBJECT]));
229 }
230
231 -(void)gtkDragSourceAddTextTargets
232 {
233 gtk_drag_source_add_text_targets(GTK_WIDGET([self GOBJECT]));
234 }
235
236 -(void)gtkDragSourceAddUriTargets
237 {
238 gtk_drag_source_add_uri_targets(GTK_WIDGET([self GOBJECT]));
239 }
240
241 -(GtkTargetList*)gtkDragSourceGetTargetList
242 {
243 return gtk_drag_source_get_target_list(GTK_WIDGET([self GOBJECT]));
244 }
245
246 -(void)gtkDragSourceSetWithStartButtonMask:(GdkModifierType) startButtonMask andTargets:(GtkTargetEntry*) targets andNtargets:(gint) ntargets andActions:(GdkDragAction) actions
247 {
248 gtk_drag_source_set(GTK_WIDGET([self GOBJECT]), startButtonMask, targets, ntargets, actions);
249 }
250
251 -(void)gtkDragSourceSetIconGicon:(GIcon*) icon
252 {
253 gtk_drag_source_set_icon_gicon(GTK_WIDGET([self GOBJECT]), icon);
254 }
255
256 -(void)gtkDragSourceSetIconName:(NSString*) iconName
257 {
258 gtk_drag_source_set_icon_name(GTK_WIDGET([self GOBJECT]), [iconName UTF8String]);
259 }
260
261 -(void)gtkDragSourceSetIconPixbuf:(GdkPixbuf*) pixbuf
262 {
263 gtk_drag_source_set_icon_pixbuf(GTK_WIDGET([self GOBJECT]), pixbuf);
264 }
265
266 -(void)gtkDragSourceSetIconStock:(NSString*) stockId
267 {
268 gtk_drag_source_set_icon_stock(GTK_WIDGET([self GOBJECT]), [stockId UTF8String]);
269 }
270
271 -(void)gtkDragSourceSetTargetList:(GtkTargetList*) targetList
272 {
273 gtk_drag_source_set_target_list(GTK_WIDGET([self GOBJECT]), targetList);
274 }
275
276 -(void)gtkDragSourceUnset
277 {
278 gtk_drag_source_unset(GTK_WIDGET([self GOBJECT]));
279 }
280
281 -(void)gtkDragUnhighlight
282 {
283 gtk_drag_unhighlight(GTK_WIDGET([self GOBJECT]));
284 }
285
286 -(void)draw:(cairo_t*) cr
287 {
288 gtk_widget_draw(GTK_WIDGET([self GOBJECT]), cr);
289 }
290
291 -(void)ensureStyle
292 {
293 gtk_widget_ensure_style(GTK_WIDGET([self GOBJECT]));
294 }
295
296 -(void)errorBell
297 {
298 gtk_widget_error_bell(GTK_WIDGET([self GOBJECT]));
299 }
300
301 -(BOOL)event:(GdkEvent*) event
302 {
303 return (gtk_widget_event(GTK_WIDGET([self GOBJECT]), event) ? YES : NO);
304 }
305
306 -(void)freezeChildNotify
307 {
308 gtk_widget_freeze_child_notify(GTK_WIDGET([self GOBJECT]));
309 }
310
311 -(AtkObject*)getAccessible
312 {
313 return gtk_widget_get_accessible(GTK_WIDGET([self GOBJECT]));
314 }
315
316 -(int)getAllocatedBaseline
317 {
318 return gtk_widget_get_allocated_baseline(GTK_WIDGET([self GOBJECT]));
319 }
320
321 -(int)getAllocatedHeight
322 {
323 return gtk_widget_get_allocated_height(GTK_WIDGET([self GOBJECT]));
324 }
325
326 -(int)getAllocatedWidth
327 {
328 return gtk_widget_get_allocated_width(GTK_WIDGET([self GOBJECT]));
329 }
330
331 -(void)getAllocation:(GtkAllocation*) allocation
332 {
333 gtk_widget_get_allocation(GTK_WIDGET([self GOBJECT]), allocation);
334 }
335
336 -(CGTKWidget*)getAncestor:(GType) widgetType
337 {
338 return [[CGTKWidget alloc] initWithGObject:(GObject *)gtk_widget_get_ancestor(GTK_WIDGET([self GOBJECT]), widgetType)];
339 }
340
341 -(BOOL)getAppPaintable
342 {
343 return (gtk_widget_get_app_paintable(GTK_WIDGET([self GOBJECT])) ? YES : NO);
344 }
345
346 -(BOOL)getCanDefault
347 {
348 return (gtk_widget_get_can_default(GTK_WIDGET([self GOBJECT])) ? YES : NO);
349 }
350
351 -(BOOL)getCanFocus
352 {
353 return (gtk_widget_get_can_focus(GTK_WIDGET([self GOBJECT])) ? YES : NO);
354 }
355
356 -(void)getChildRequisition:(GtkRequisition*) requisition
357 {
358 gtk_widget_get_child_requisition(GTK_WIDGET([self GOBJECT]), requisition);
359 }
360
361 -(BOOL)getChildVisible
362 {
363 return (gtk_widget_get_child_visible(GTK_WIDGET([self GOBJECT])) ? YES : NO);
364 }
365
366 -(GtkClipboard*)getClipboard:(GdkAtom) selection
367 {
368 return gtk_widget_get_clipboard(GTK_WIDGET([self GOBJECT]), selection);
369 }
370
371 -(NSString*)getCompositeName
372 {
373 return [NSString stringWithUTF8String:gtk_widget_get_composite_name(GTK_WIDGET([self GOBJECT]))];
374 }
375
376 -(BOOL)getDeviceEnabled:(GdkDevice*) device
377 {
378 return (gtk_widget_get_device_enabled(GTK_WIDGET([self GOBJECT]), device) ? YES : NO);
379 }
380
381 -(GdkEventMask)getDeviceEvents:(GdkDevice*) device
382 {
383 return gtk_widget_get_device_events(GTK_WIDGET([self GOBJECT]), device);
384 }
385
386 -(GtkTextDirection)getDirection
387 {
388 return gtk_widget_get_direction(GTK_WIDGET([self GOBJECT]));
389 }
390
391 -(GdkDisplay*)getDisplay
392 {
393 return gtk_widget_get_display(GTK_WIDGET([self GOBJECT]));
394 }
395
396 -(BOOL)getDoubleBuffered
397 {
398 return (gtk_widget_get_double_buffered(GTK_WIDGET([self GOBJECT])) ? YES : NO);
399 }
400
401 -(gint)getEvents
402 {
403 return gtk_widget_get_events(GTK_WIDGET([self GOBJECT]));
404 }
405
406 -(GdkFrameClock*)getFrameClock
407 {
408 return gtk_widget_get_frame_clock(GTK_WIDGET([self GOBJECT]));
409 }
410
411 -(GtkAlign)getHalign
412 {
413 return gtk_widget_get_halign(GTK_WIDGET([self GOBJECT]));
414 }
415
416 -(BOOL)getHasTooltip
417 {
418 return (gtk_widget_get_has_tooltip(GTK_WIDGET([self GOBJECT])) ? YES : NO);
419 }
420
421 -(BOOL)getHasWindow
422 {
423 return (gtk_widget_get_has_window(GTK_WIDGET([self GOBJECT])) ? YES : NO);
424 }
425
426 -(BOOL)getHexpand
427 {
428 return (gtk_widget_get_hexpand(GTK_WIDGET([self GOBJECT])) ? YES : NO);
429 }
430
431 -(BOOL)getHexpandSet
432 {
433 return (gtk_widget_get_hexpand_set(GTK_WIDGET([self GOBJECT])) ? YES : NO);
434 }
435
436 -(BOOL)getMapped
437 {
438 return (gtk_widget_get_mapped(GTK_WIDGET([self GOBJECT])) ? YES : NO);
439 }
440
441 -(gint)getMarginBottom
442 {
443 return gtk_widget_get_margin_bottom(GTK_WIDGET([self GOBJECT]));
444 }
445
446 -(gint)getMarginLeft
447 {
448 return gtk_widget_get_margin_left(GTK_WIDGET([self GOBJECT]));
449 }
450
451 -(gint)getMarginRight
452 {
453 return gtk_widget_get_margin_right(GTK_WIDGET([self GOBJECT]));
454 }
455
456 -(gint)getMarginTop
457 {
458 return gtk_widget_get_margin_top(GTK_WIDGET([self GOBJECT]));
459 }
460
461 -(GdkModifierType)getModifierMask:(GdkModifierIntent) intent
462 {
463 return gtk_widget_get_modifier_mask(GTK_WIDGET([self GOBJECT]), intent);
464 }
465
466 -(GtkRcStyle*)getModifierStyle
467 {
468 return gtk_widget_get_modifier_style(GTK_WIDGET([self GOBJECT]));
469 }
470
471 -(NSString*)getName
472 {
473 return [NSString stringWithUTF8String:gtk_widget_get_name(GTK_WIDGET([self GOBJECT]))];
474 }
475
476 -(BOOL)getNoShowAll
477 {
478 return (gtk_widget_get_no_show_all(GTK_WIDGET([self GOBJECT])) ? YES : NO);
479 }
480
481 -(double)getOpacity
482 {
483 return gtk_widget_get_opacity(GTK_WIDGET([self GOBJECT]));
484 }
485
486 -(PangoContext*)getPangoContext
487 {
488 return gtk_widget_get_pango_context(GTK_WIDGET([self GOBJECT]));
489 }
490
491 -(CGTKWidget*)getParent
492 {
493 return [[CGTKWidget alloc] initWithGObject:(GObject *)gtk_widget_get_parent(GTK_WIDGET([self GOBJECT]))];
494 }
495
496 -(GdkWindow*)getParentWindow
497 {
498 return gtk_widget_get_parent_window(GTK_WIDGET([self GOBJECT]));
499 }
500
501 -(GtkWidgetPath*)getPath
502 {
503 return gtk_widget_get_path(GTK_WIDGET([self GOBJECT]));
504 }
505
506 -(void)getPointerWithX:(gint*) x andY:(gint*) y
507 {
508 gtk_widget_get_pointer(GTK_WIDGET([self GOBJECT]), x, y);
509 }
510
511 -(void)getPreferredHeightWithMinimumHeight:(gint*) minimumHeight andNaturalHeight:(gint*) naturalHeight
512 {
513 gtk_widget_get_preferred_height(GTK_WIDGET([self GOBJECT]), minimumHeight, naturalHeight);
514 }
515
516 -(void)getPreferredHeightAndBaselineForWidthWithWidth:(gint) width andMinimumHeight:(gint*) minimumHeight andNaturalHeight:(gint*) naturalHeight andMinimumBaseline:(gint*) minimumBaseline andNaturalBaseline:(gint*) naturalBaseline
517 {
518 gtk_widget_get_preferred_height_and_baseline_for_width(GTK_WIDGET([self GOBJECT]), width, minimumHeight, naturalHeight, minimumBaseline, naturalBaseline);
519 }
520
521 -(void)getPreferredHeightForWidthWithWidth:(gint) width andMinimumHeight:(gint*) minimumHeight andNaturalHeight:(gint*) naturalHeight
522 {
523 gtk_widget_get_preferred_height_for_width(GTK_WIDGET([self GOBJECT]), width, minimumHeight, naturalHeight);
524 }
525
526 -(void)getPreferredSizeWithMinimumSize:(GtkRequisition*) minimumSize andNaturalSize:(GtkRequisition*) naturalSize
527 {
528 gtk_widget_get_preferred_size(GTK_WIDGET([self GOBJECT]), minimumSize, naturalSize);
529 }
530
531 -(void)getPreferredWidthWithMinimumWidth:(gint*) minimumWidth andNaturalWidth:(gint*) naturalWidth
532 {
533 gtk_widget_get_preferred_width(GTK_WIDGET([self GOBJECT]), minimumWidth, naturalWidth);
534 }
535
536 -(void)getPreferredWidthForHeightWithHeight:(gint) height andMinimumWidth:(gint*) minimumWidth andNaturalWidth:(gint*) naturalWidth
537 {
538 gtk_widget_get_preferred_width_for_height(GTK_WIDGET([self GOBJECT]), height, minimumWidth, naturalWidth);
539 }
540
541 -(BOOL)getRealized
542 {
543 return (gtk_widget_get_realized(GTK_WIDGET([self GOBJECT])) ? YES : NO);
544 }
545
546 -(BOOL)getReceivesDefault
547 {
548 return (gtk_widget_get_receives_default(GTK_WIDGET([self GOBJECT])) ? YES : NO);
549 }
550
551 -(GtkSizeRequestMode)getRequestMode
552 {
553 return gtk_widget_get_request_mode(GTK_WIDGET([self GOBJECT]));
554 }
555
556 -(void)getRequisition:(GtkRequisition*) requisition
557 {
558 gtk_widget_get_requisition(GTK_WIDGET([self GOBJECT]), requisition);
559 }
560
561 -(GdkWindow*)getRootWindow
562 {
563 return gtk_widget_get_root_window(GTK_WIDGET([self GOBJECT]));
564 }
565
566 -(gint)getScaleFactor
567 {
568 return gtk_widget_get_scale_factor(GTK_WIDGET([self GOBJECT]));
569 }
570
571 -(GdkScreen*)getScreen
572 {
573 return gtk_widget_get_screen(GTK_WIDGET([self GOBJECT]));
574 }
575
576 -(BOOL)getSensitive
577 {
578 return (gtk_widget_get_sensitive(GTK_WIDGET([self GOBJECT])) ? YES : NO);
579 }
580
581 -(GtkSettings*)getSettings
582 {
583 return gtk_widget_get_settings(GTK_WIDGET([self GOBJECT]));
584 }
585
586 -(void)getSizeRequestWithWidth:(gint*) width andHeight:(gint*) height
587 {
588 gtk_widget_get_size_request(GTK_WIDGET([self GOBJECT]), width, height);
589 }
590
591 -(GtkStateType)getState
592 {
593 return gtk_widget_get_state(GTK_WIDGET([self GOBJECT]));
594 }
595
596 -(GtkStateFlags)getStateFlags
597 {
598 return gtk_widget_get_state_flags(GTK_WIDGET([self GOBJECT]));
599 }
600
601 -(GtkStyle*)getStyle
602 {
603 return gtk_widget_get_style(GTK_WIDGET([self GOBJECT]));
604 }
605
606 -(GtkStyleContext*)getStyleContext
607 {
608 return gtk_widget_get_style_context(GTK_WIDGET([self GOBJECT]));
609 }
610
611 -(BOOL)getSupportMultidevice
612 {
613 return (gtk_widget_get_support_multidevice(GTK_WIDGET([self GOBJECT])) ? YES : NO);
614 }
615
616 -(GObject*)getTemplateChildWithWidgetType:(GType) widgetType andName:(NSString*) name
617 {
618 return gtk_widget_get_template_child(GTK_WIDGET([self GOBJECT]), widgetType, [name UTF8String]);
619 }
620
621 -(NSString*)getTooltipMarkup
622 {
623 return [NSString stringWithUTF8String:gtk_widget_get_tooltip_markup(GTK_WIDGET([self GOBJECT]))];
624 }
625
626 -(NSString*)getTooltipText
627 {
628 return [NSString stringWithUTF8String:gtk_widget_get_tooltip_text(GTK_WIDGET([self GOBJECT]))];
629 }
630
631 -(GtkWindow*)getTooltipWindow
632 {
633 return gtk_widget_get_tooltip_window(GTK_WIDGET([self GOBJECT]));
634 }
635
636 -(CGTKWidget*)getToplevel
637 {
638 return [[CGTKWidget alloc] initWithGObject:(GObject *)gtk_widget_get_toplevel(GTK_WIDGET([self GOBJECT]))];
639 }
640
641 -(GtkAlign)getValign
642 {
643 return gtk_widget_get_valign(GTK_WIDGET([self GOBJECT]));
644 }
645
646 -(GtkAlign)getValignWithBaseline
647 {
648 return gtk_widget_get_valign_with_baseline(GTK_WIDGET([self GOBJECT]));
649 }
650
651 -(BOOL)getVexpand
652 {
653 return (gtk_widget_get_vexpand(GTK_WIDGET([self GOBJECT])) ? YES : NO);
654 }
655
656 -(BOOL)getVexpandSet
657 {
658 return (gtk_widget_get_vexpand_set(GTK_WIDGET([self GOBJECT])) ? YES : NO);
659 }
660
661 -(BOOL)getVisible
662 {
663 return (gtk_widget_get_visible(GTK_WIDGET([self GOBJECT])) ? YES : NO);
664 }
665
666 -(GdkVisual*)getVisual
667 {
668 return gtk_widget_get_visual(GTK_WIDGET([self GOBJECT]));
669 }
670
671 -(GdkWindow*)getWindow
672 {
673 return gtk_widget_get_window(GTK_WIDGET([self GOBJECT]));
674 }
675
676 -(void)gtkGrabAdd
677 {
678 gtk_grab_add(GTK_WIDGET([self GOBJECT]));
679 }
680
681 -(void)grabDefault
682 {
683 gtk_widget_grab_default(GTK_WIDGET([self GOBJECT]));
684 }
685
686 -(void)grabFocus
687 {
688 gtk_widget_grab_focus(GTK_WIDGET([self GOBJECT]));
689 }
690
691 -(void)gtkGrabRemove
692 {
693 gtk_grab_remove(GTK_WIDGET([self GOBJECT]));
694 }
695
696 -(BOOL)hasDefault
697 {
698 return (gtk_widget_has_default(GTK_WIDGET([self GOBJECT])) ? YES : NO);
699 }
700
701 -(BOOL)hasFocus
702 {
703 return (gtk_widget_has_focus(GTK_WIDGET([self GOBJECT])) ? YES : NO);
704 }
705
706 -(BOOL)hasGrab
707 {
708 return (gtk_widget_has_grab(GTK_WIDGET([self GOBJECT])) ? YES : NO);
709 }
710
711 -(BOOL)hasRcStyle
712 {
713 return (gtk_widget_has_rc_style(GTK_WIDGET([self GOBJECT])) ? YES : NO);
714 }
715
716 -(BOOL)hasScreen
717 {
718 return (gtk_widget_has_screen(GTK_WIDGET([self GOBJECT])) ? YES : NO);
719 }
720
721 -(BOOL)hasVisibleFocus
722 {
723 return (gtk_widget_has_visible_focus(GTK_WIDGET([self GOBJECT])) ? YES : NO);
724 }
725
726 -(void)hide
727 {
728 gtk_widget_hide(GTK_WIDGET([self GOBJECT]));
729 }
730
731 -(BOOL)hideOnDelete
732 {
733 return (gtk_widget_hide_on_delete(GTK_WIDGET([self GOBJECT])) ? YES : NO);
734 }
735
736 -(BOOL)inDestruction
737 {
738 return (gtk_widget_in_destruction(GTK_WIDGET([self GOBJECT])) ? YES : NO);
739 }
740
741 -(void)initTemplate
742 {
743 gtk_widget_init_template(GTK_WIDGET([self GOBJECT]));
744 }
745
746 -(void)inputShapeCombineRegion:(cairo_region_t*) region
747 {
748 gtk_widget_input_shape_combine_region(GTK_WIDGET([self GOBJECT]), region);
749 }
750
751 -(void)insertActionGroupWithName:(NSString*) name andGroup:(GActionGroup*) group
752 {
753 gtk_widget_insert_action_group(GTK_WIDGET([self GOBJECT]), [name UTF8String], group);
754 }
755
756 -(BOOL)intersectWithArea:(const GdkRectangle*) area andIntersection:(GdkRectangle*) intersection
757 {
758 return (gtk_widget_intersect(GTK_WIDGET([self GOBJECT]), area, intersection) ? YES : NO);
759 }
760
761 -(BOOL)isAncestor:(CGTKWidget*) ancestor
762 {
763 return (gtk_widget_is_ancestor(GTK_WIDGET([self GOBJECT]), [ancestor WIDGET]) ? YES : NO);
764 }
765
766 -(BOOL)isComposited
767 {
768 return (gtk_widget_is_composited(GTK_WIDGET([self GOBJECT])) ? YES : NO);
769 }
770
771 -(BOOL)isDrawable
772 {
773 return (gtk_widget_is_drawable(GTK_WIDGET([self GOBJECT])) ? YES : NO);
774 }
775
776 -(BOOL)isFocus
777 {
778 return (gtk_widget_is_focus(GTK_WIDGET([self GOBJECT])) ? YES : NO);
779 }
780
781 -(BOOL)isSensitive
782 {
783 return (gtk_widget_is_sensitive(GTK_WIDGET([self GOBJECT])) ? YES : NO);
784 }
785
786 -(BOOL)isToplevel
787 {
788 return (gtk_widget_is_toplevel(GTK_WIDGET([self GOBJECT])) ? YES : NO);
789 }
790
791 -(BOOL)isVisible
792 {
793 return (gtk_widget_is_visible(GTK_WIDGET([self GOBJECT])) ? YES : NO);
794 }
795
796 -(BOOL)keynavFailed:(GtkDirectionType) direction
797 {
798 return (gtk_widget_keynav_failed(GTK_WIDGET([self GOBJECT]), direction) ? YES : NO);
799 }
800
801 -(GList*)listAccelClosures
802 {
803 return gtk_widget_list_accel_closures(GTK_WIDGET([self GOBJECT]));
804 }
805
806 -(GList*)listMnemonicLabels
807 {
808 return gtk_widget_list_mnemonic_labels(GTK_WIDGET([self GOBJECT]));
809 }
810
811 -(void)map
812 {
813 gtk_widget_map(GTK_WIDGET([self GOBJECT]));
814 }
815
816 -(BOOL)mnemonicActivate:(BOOL) groupCycling
817 {
818 return (gtk_widget_mnemonic_activate(GTK_WIDGET([self GOBJECT]), (groupCycling ? TRUE : FALSE)) ? YES : NO);
819 }
820
821 -(void)modifyBaseWithState:(GtkStateType) state andColor:(const GdkColor*) color
822 {
823 gtk_widget_modify_base(GTK_WIDGET([self GOBJECT]), state, color);
824 }
825
826 -(void)modifyBgWithState:(GtkStateType) state andColor:(const GdkColor*) color
827 {
828 gtk_widget_modify_bg(GTK_WIDGET([self GOBJECT]), state, color);
829 }
830
831 -(void)modifyCursorWithPrimary:(const GdkColor*) primary andSecondary:(const GdkColor*) secondary
832 {
833 gtk_widget_modify_cursor(GTK_WIDGET([self GOBJECT]), primary, secondary);
834 }
835
836 -(void)modifyFgWithState:(GtkStateType) state andColor:(const GdkColor*) color
837 {
838 gtk_widget_modify_fg(GTK_WIDGET([self GOBJECT]), state, color);
839 }
840
841 -(void)modifyFont:(PangoFontDescription*) fontDesc
842 {
843 gtk_widget_modify_font(GTK_WIDGET([self GOBJECT]), fontDesc);
844 }
845
846 -(void)modifyStyle:(GtkRcStyle*) style
847 {
848 gtk_widget_modify_style(GTK_WIDGET([self GOBJECT]), style);
849 }
850
851 -(void)modifyTextWithState:(GtkStateType) state andColor:(const GdkColor*) color
852 {
853 gtk_widget_modify_text(GTK_WIDGET([self GOBJECT]), state, color);
854 }
855
856 -(void)overrideBackgroundColorWithState:(GtkStateFlags) state andColor:(const GdkRGBA*) color
857 {
858 gtk_widget_override_background_color(GTK_WIDGET([self GOBJECT]), state, color);
859 }
860
861 -(void)overrideColorWithState:(GtkStateFlags) state andColor:(const GdkRGBA*) color
862 {
863 gtk_widget_override_color(GTK_WIDGET([self GOBJECT]), state, color);
864 }
865
866 -(void)overrideCursorWithCursor:(const GdkRGBA*) cursor andSecondaryCursor:(const GdkRGBA*) secondaryCursor
867 {
868 gtk_widget_override_cursor(GTK_WIDGET([self GOBJECT]), cursor, secondaryCursor);
869 }
870
871 -(void)overrideFont:(const PangoFontDescription*) fontDesc
872 {
873 gtk_widget_override_font(GTK_WIDGET([self GOBJECT]), fontDesc);
874 }
875
876 -(void)overrideSymbolicColorWithName:(NSString*) name andColor:(const GdkRGBA*) color
877 {
878 gtk_widget_override_symbolic_color(GTK_WIDGET([self GOBJECT]), [name UTF8String], color);
879 }
880
881 -(void)pathWithPathLength:(guint*) pathLength andPath:(gchar**) path andPathReversed:(gchar**) pathReversed
882 {
883 gtk_widget_path(GTK_WIDGET([self GOBJECT]), pathLength, path, pathReversed);
884 }
885
886 -(void)queueComputeExpand
887 {
888 gtk_widget_queue_compute_expand(GTK_WIDGET([self GOBJECT]));
889 }
890
891 -(void)queueDraw
892 {
893 gtk_widget_queue_draw(GTK_WIDGET([self GOBJECT]));
894 }
895
896 -(void)queueDrawAreaWithX:(gint) x andY:(gint) y andWidth:(gint) width andHeight:(gint) height
897 {
898 gtk_widget_queue_draw_area(GTK_WIDGET([self GOBJECT]), x, y, width, height);
899 }
900
901 -(void)queueDrawRegion:(const cairo_region_t*) region
902 {
903 gtk_widget_queue_draw_region(GTK_WIDGET([self GOBJECT]), region);
904 }
905
906 -(void)queueResize
907 {
908 gtk_widget_queue_resize(GTK_WIDGET([self GOBJECT]));
909 }
910
911 -(void)queueResizeNoRedraw
912 {
913 gtk_widget_queue_resize_no_redraw(GTK_WIDGET([self GOBJECT]));
914 }
915
916 -(void)realize
917 {
918 gtk_widget_realize(GTK_WIDGET([self GOBJECT]));
919 }
920
921 -(cairo_region_t*)regionIntersect:(const cairo_region_t*) region
922 {
923 return gtk_widget_region_intersect(GTK_WIDGET([self GOBJECT]), region);
924 }
925
926 -(void)registerWindow:(GdkWindow*) window
927 {
928 gtk_widget_register_window(GTK_WIDGET([self GOBJECT]), window);
929 }
930
931 -(BOOL)removeAcceleratorWithAccelGroup:(GtkAccelGroup*) accelGroup andAccelKey:(guint) accelKey andAccelMods:(GdkModifierType) accelMods
932 {
933 return (gtk_widget_remove_accelerator(GTK_WIDGET([self GOBJECT]), accelGroup, accelKey, accelMods) ? YES : NO);
934 }
935
936 -(void)removeMnemonicLabel:(CGTKWidget*) label
937 {
938 gtk_widget_remove_mnemonic_label(GTK_WIDGET([self GOBJECT]), [label WIDGET]);
939 }
940
941 -(void)removeTickCallback:(guint) id
942 {
943 gtk_widget_remove_tick_callback(GTK_WIDGET([self GOBJECT]), id);
944 }
945
946 -(GdkPixbuf*)renderIconWithStockId:(NSString*) stockId andSize:(GtkIconSize) size andDetail:(NSString*) detail
947 {
948 return gtk_widget_render_icon(GTK_WIDGET([self GOBJECT]), [stockId UTF8String], size, [detail UTF8String]);
949 }
950
951 -(GdkPixbuf*)renderIconPixbufWithStockId:(NSString*) stockId andSize:(GtkIconSize) size
952 {
953 return gtk_widget_render_icon_pixbuf(GTK_WIDGET([self GOBJECT]), [stockId UTF8String], size);
954 }
955
956 -(void)reparent:(CGTKWidget*) newParent
957 {
958 gtk_widget_reparent(GTK_WIDGET([self GOBJECT]), [newParent WIDGET]);
959 }
960
961 -(void)resetRcStyles
962 {
963 gtk_widget_reset_rc_styles(GTK_WIDGET([self GOBJECT]));
964 }
965
966 -(void)resetStyle
967 {
968 gtk_widget_reset_style(GTK_WIDGET([self GOBJECT]));
969 }
970
971 -(gint)sendExpose:(GdkEvent*) event
972 {
973 return gtk_widget_send_expose(GTK_WIDGET([self GOBJECT]), event);
974 }
975
976 -(BOOL)sendFocusChange:(GdkEvent*) event
977 {
978 return (gtk_widget_send_focus_change(GTK_WIDGET([self GOBJECT]), event) ? YES : NO);
979 }
980
981 -(void)setAccelPathWithAccelPath:(NSString*) accelPath andAccelGroup:(GtkAccelGroup*) accelGroup
982 {
983 gtk_widget_set_accel_path(GTK_WIDGET([self GOBJECT]), [accelPath UTF8String], accelGroup);
984 }
985
986 -(void)setAllocation:(const GtkAllocation*) allocation
987 {
988 gtk_widget_set_allocation(GTK_WIDGET([self GOBJECT]), allocation);
989 }
990
991 -(void)setAppPaintable:(BOOL) appPaintable
992 {
993 gtk_widget_set_app_paintable(GTK_WIDGET([self GOBJECT]), (appPaintable ? TRUE : FALSE));
994 }
995
996 -(void)setCanDefault:(BOOL) canDefault
997 {
998 gtk_widget_set_can_default(GTK_WIDGET([self GOBJECT]), (canDefault ? TRUE : FALSE));
999 }
1000
1001 -(void)setCanFocus:(BOOL) canFocus
1002 {
1003 gtk_widget_set_can_focus(GTK_WIDGET([self GOBJECT]), (canFocus ? TRUE : FALSE));
1004 }
1005
1006 -(void)setChildVisible:(BOOL) isVisible
1007 {
1008 gtk_widget_set_child_visible(GTK_WIDGET([self GOBJECT]), (isVisible ? TRUE : FALSE));
1009 }
1010
1011 -(void)setCompositeName:(NSString*) name
1012 {
1013 gtk_widget_set_composite_name(GTK_WIDGET([self GOBJECT]), [name UTF8String]);
1014 }
1015
1016 -(void)setDeviceEnabledWithDevice:(GdkDevice*) device andEnabled:(BOOL) enabled
1017 {
1018 gtk_widget_set_device_enabled(GTK_WIDGET([self GOBJECT]), device, (enabled ? TRUE : FALSE));
1019 }
1020
1021 -(void)setDeviceEventsWithDevice:(GdkDevice*) device andEvents:(GdkEventMask) events
1022 {
1023 gtk_widget_set_device_events(GTK_WIDGET([self GOBJECT]), device, events);
1024 }
1025
1026 -(void)setDirection:(GtkTextDirection) dir
1027 {
1028 gtk_widget_set_direction(GTK_WIDGET([self GOBJECT]), dir);
1029 }
1030
1031 -(void)setDoubleBuffered:(BOOL) doubleBuffered
1032 {
1033 gtk_widget_set_double_buffered(GTK_WIDGET([self GOBJECT]), (doubleBuffered ? TRUE : FALSE));
1034 }
1035
1036 -(void)setEvents:(gint) events
1037 {
1038 gtk_widget_set_events(GTK_WIDGET([self GOBJECT]), events);
1039 }
1040
1041 -(void)setHalign:(GtkAlign) align
1042 {
1043 gtk_widget_set_halign(GTK_WIDGET([self GOBJECT]), align);
1044 }
1045
1046 -(void)setHasTooltip:(BOOL) hasTooltip
1047 {
1048 gtk_widget_set_has_tooltip(GTK_WIDGET([self GOBJECT]), (hasTooltip ? TRUE : FALSE));
1049 }
1050
1051 -(void)setHasWindow:(BOOL) hasWindow
1052 {
1053 gtk_widget_set_has_window(GTK_WIDGET([self GOBJECT]), (hasWindow ? TRUE : FALSE));
1054 }
1055
1056 -(void)setHexpand:(BOOL) expand
1057 {
1058 gtk_widget_set_hexpand(GTK_WIDGET([self GOBJECT]), (expand ? TRUE : FALSE));
1059 }
1060
1061 -(void)setHexpandSet:(BOOL) set
1062 {
1063 gtk_widget_set_hexpand_set(GTK_WIDGET([self GOBJECT]), (set ? TRUE : FALSE));
1064 }
1065
1066 -(void)setMapped:(BOOL) mapped
1067 {
1068 gtk_widget_set_mapped(GTK_WIDGET([self GOBJECT]), (mapped ? TRUE : FALSE));
1069 }
1070
1071 -(void)setMarginBottom:(gint) margin
1072 {
1073 gtk_widget_set_margin_bottom(GTK_WIDGET([self GOBJECT]), margin);
1074 }
1075
1076 -(void)setMarginLeft:(gint) margin
1077 {
1078 gtk_widget_set_margin_left(GTK_WIDGET([self GOBJECT]), margin);
1079 }
1080
1081 -(void)setMarginRight:(gint) margin
1082 {
1083 gtk_widget_set_margin_right(GTK_WIDGET([self GOBJECT]), margin);
1084 }
1085
1086 -(void)setMarginTop:(gint) margin
1087 {
1088 gtk_widget_set_margin_top(GTK_WIDGET([self GOBJECT]), margin);
1089 }
1090
1091 -(void)setName:(NSString*) name
1092 {
1093 gtk_widget_set_name(GTK_WIDGET([self GOBJECT]), [name UTF8String]);
1094 }
1095
1096 -(void)setNoShowAll:(BOOL) noShowAll
1097 {
1098 gtk_widget_set_no_show_all(GTK_WIDGET([self GOBJECT]), (noShowAll ? TRUE : FALSE));
1099 }
1100
1101 -(void)setOpacity:(double) opacity
1102 {
1103 gtk_widget_set_opacity(GTK_WIDGET([self GOBJECT]), opacity);
1104 }
1105
1106 -(void)setParent:(CGTKWidget*) parent
1107 {
1108 gtk_widget_set_parent(GTK_WIDGET([self GOBJECT]), [parent WIDGET]);
1109 }
1110
1111 -(void)setParentWindow:(GdkWindow*) parentWindow
1112 {
1113 gtk_widget_set_parent_window(GTK_WIDGET([self GOBJECT]), parentWindow);
1114 }
1115
1116 -(void)setRealized:(BOOL) realized
1117 {
1118 gtk_widget_set_realized(GTK_WIDGET([self GOBJECT]), (realized ? TRUE : FALSE));
1119 }
1120
1121 -(void)setReceivesDefault:(BOOL) receivesDefault
1122 {
1123 gtk_widget_set_receives_default(GTK_WIDGET([self GOBJECT]), (receivesDefault ? TRUE : FALSE));
1124 }
1125
1126 -(void)setRedrawOnAllocate:(BOOL) redrawOnAllocate
1127 {
1128 gtk_widget_set_redraw_on_allocate(GTK_WIDGET([self GOBJECT]), (redrawOnAllocate ? TRUE : FALSE));
1129 }
1130
1131 -(void)setSensitive:(BOOL) sensitive
1132 {
1133 gtk_widget_set_sensitive(GTK_WIDGET([self GOBJECT]), (sensitive ? TRUE : FALSE));
1134 }
1135
1136 -(void)setSizeRequestWithWidth:(gint) width andHeight:(gint) height
1137 {
1138 gtk_widget_set_size_request(GTK_WIDGET([self GOBJECT]), width, height);
1139 }
1140
1141 -(void)setState:(GtkStateType) state
1142 {
1143 gtk_widget_set_state(GTK_WIDGET([self GOBJECT]), state);
1144 }
1145
1146 -(void)setStateFlagsWithFlags:(GtkStateFlags) flags andClear:(BOOL) clear
1147 {
1148 gtk_widget_set_state_flags(GTK_WIDGET([self GOBJECT]), flags, (clear ? TRUE : FALSE));
1149 }
1150
1151 -(void)setStyle:(GtkStyle*) style
1152 {
1153 gtk_widget_set_style(GTK_WIDGET([self GOBJECT]), style);
1154 }
1155
1156 -(void)setSupportMultidevice:(BOOL) supportMultidevice
1157 {
1158 gtk_widget_set_support_multidevice(GTK_WIDGET([self GOBJECT]), (supportMultidevice ? TRUE : FALSE));
1159 }
1160
1161 -(void)setTooltipMarkup:(NSString*) markup
1162 {
1163 gtk_widget_set_tooltip_markup(GTK_WIDGET([self GOBJECT]), [markup UTF8String]);
1164 }
1165
1166 -(void)setTooltipText:(NSString*) text
1167 {
1168 gtk_widget_set_tooltip_text(GTK_WIDGET([self GOBJECT]), [text UTF8String]);
1169 }
1170
1171 -(void)setTooltipWindow:(GtkWindow*) customWindow
1172 {
1173 gtk_widget_set_tooltip_window(GTK_WIDGET([self GOBJECT]), customWindow);
1174 }
1175
1176 -(void)setValign:(GtkAlign) align
1177 {
1178 gtk_widget_set_valign(GTK_WIDGET([self GOBJECT]), align);
1179 }
1180
1181 -(void)setVexpand:(BOOL) expand
1182 {
1183 gtk_widget_set_vexpand(GTK_WIDGET([self GOBJECT]), (expand ? TRUE : FALSE));
1184 }
1185
1186 -(void)setVexpandSet:(BOOL) set
1187 {
1188 gtk_widget_set_vexpand_set(GTK_WIDGET([self GOBJECT]), (set ? TRUE : FALSE));
1189 }
1190
1191 -(void)setVisible:(BOOL) visible
1192 {
1193 gtk_widget_set_visible(GTK_WIDGET([self GOBJECT]), (visible ? TRUE : FALSE));
1194 }
1195
1196 -(void)setVisual:(GdkVisual*) visual
1197 {
1198 gtk_widget_set_visual(GTK_WIDGET([self GOBJECT]), visual);
1199 }
1200
1201 -(void)setWindow:(GdkWindow*) window
1202 {
1203 gtk_widget_set_window(GTK_WIDGET([self GOBJECT]), window);
1204 }
1205
1206 -(void)shapeCombineRegion:(cairo_region_t*) region
1207 {
1208 gtk_widget_shape_combine_region(GTK_WIDGET([self GOBJECT]), region);
1209 }
1210
1211 -(void)show
1212 {
1213 gtk_widget_show(GTK_WIDGET([self GOBJECT]));
1214 }
1215
1216 -(void)showAll
1217 {
1218 gtk_widget_show_all(GTK_WIDGET([self GOBJECT]));
1219 }
1220
1221 -(void)showNow
1222 {
1223 gtk_widget_show_now(GTK_WIDGET([self GOBJECT]));
1224 }
1225
1226 -(void)sizeAllocate:(GtkAllocation*) allocation
1227 {
1228 gtk_widget_size_allocate(GTK_WIDGET([self GOBJECT]), allocation);
1229 }
1230
1231 -(void)sizeAllocateWithBaselineWithAllocation:(GtkAllocation*) allocation andBaseline:(gint) baseline
1232 {
1233 gtk_widget_size_allocate_with_baseline(GTK_WIDGET([self GOBJECT]), allocation, baseline);
1234 }
1235
1236 -(void)sizeRequest:(GtkRequisition*) requisition
1237 {
1238 gtk_widget_size_request(GTK_WIDGET([self GOBJECT]), requisition);
1239 }
1240
1241 -(void)styleAttach
1242 {
1243 gtk_widget_style_attach(GTK_WIDGET([self GOBJECT]));
1244 }
1245
1246 -(void)styleGetPropertyWithPropertyName:(NSString*) propertyName andValue:(GValue*) value
1247 {
1248 gtk_widget_style_get_property(GTK_WIDGET([self GOBJECT]), [propertyName UTF8String], value);
1249 }
1250
1251 -(void)styleGetValistWithFirstPropertyName:(NSString*) firstPropertyName andVarArgs:(va_list) varArgs
1252 {
1253 gtk_widget_style_get_valist(GTK_WIDGET([self GOBJECT]), [firstPropertyName UTF8String], varArgs);
1254 }
1255
1256 -(void)thawChildNotify
1257 {
1258 gtk_widget_thaw_child_notify(GTK_WIDGET([self GOBJECT]));
1259 }
1260
1261 -(BOOL)translateCoordinatesWithDestWidget:(CGTKWidget*) destWidget andSrcX:(gint) srcX andSrcY:(gint) srcY andDestX:(gint*) destX andDestY:(gint*) destY
1262 {
1263 return (gtk_widget_translate_coordinates(GTK_WIDGET([self GOBJECT]), [destWidget WIDGET], srcX, srcY, destX, destY) ? YES : NO);
1264 }
1265
1266 -(void)triggerTooltipQuery
1267 {
1268 gtk_widget_trigger_tooltip_query(GTK_WIDGET([self GOBJECT]));
1269 }
1270
1271 -(void)unmap
1272 {
1273 gtk_widget_unmap(GTK_WIDGET([self GOBJECT]));
1274 }
1275
1276 -(void)unparent
1277 {
1278 gtk_widget_unparent(GTK_WIDGET([self GOBJECT]));
1279 }
1280
1281 -(void)unrealize
1282 {
1283 gtk_widget_unrealize(GTK_WIDGET([self GOBJECT]));
1284 }
1285
1286 -(void)unregisterWindow:(GdkWindow*) window
1287 {
1288 gtk_widget_unregister_window(GTK_WIDGET([self GOBJECT]), window);
1289 }
1290
1291 -(void)unsetStateFlags:(GtkStateFlags) flags
1292 {
1293 gtk_widget_unset_state_flags(GTK_WIDGET([self GOBJECT]), flags);
1294 }
1295
1296
1297 @end
-[CGTKWidget initTemplate]
void initTemplate()
Definition: CGTKWidget.m:741
-[CGTKWidget getHexpandSet]
BOOL getHexpandSet()
Definition: CGTKWidget.m:431
-[CGTKWidget activate]
BOOL activate()
Definition: CGTKWidget.m:66
-[CGTKWidget getRequestMode]
GtkSizeRequestMode getRequestMode()
Definition: CGTKWidget.m:551
-[CGTKWidget isSensitive]
BOOL isSensitive()
Definition: CGTKWidget.m:781
-[CGTKWidget getTooltipText]
NSString * getTooltipText()
Definition: CGTKWidget.m:626
-[CGTKBase GOBJECT]
GObject * GOBJECT()
Definition: CGTKBase.m:82
-[CGTKWidget gtkDragDestAddImageTargets]
void gtkDragDestAddImageTargets()
Definition: CGTKWidget.m:161
-[CGTKWidget gtkDragDestGetTrackMotion]
BOOL gtkDragDestGetTrackMotion()
Definition: CGTKWidget.m:186
-[CGTKWidget getAllocatedBaseline]
int getAllocatedBaseline()
Definition: CGTKWidget.m:316
-[CGTKWidget isToplevel]
BOOL isToplevel()
Definition: CGTKWidget.m:786
-[CGTKWidget gtkDragDestGetTargetList]
GtkTargetList * gtkDragDestGetTargetList()
Definition: CGTKWidget.m:181
-[CGTKWidget getValign]
GtkAlign getValign()
Definition: CGTKWidget.m:641
-[CGTKWidget gtkDragUnhighlight]
void gtkDragUnhighlight()
Definition: CGTKWidget.m:281
-[CGTKWidget getVisible]
BOOL getVisible()
Definition: CGTKWidget.m:661
-[CGTKWidget getParentWindow]
GdkWindow * getParentWindow()
Definition: CGTKWidget.m:496
-[CGTKWidget styleAttach]
void styleAttach()
Definition: CGTKWidget.m:1241
-[CGTKWidget thawChildNotify]
void thawChildNotify()
Definition: CGTKWidget.m:1256
-[CGTKWidget hide]
void hide()
Definition: CGTKWidget.m:726
-[CGTKWidget getState]
GtkStateType getState()
Definition: CGTKWidget.m:591
-[CGTKWidget hasVisibleFocus]
BOOL hasVisibleFocus()
Definition: CGTKWidget.m:721
-[CGTKWidget getSettings]
GtkSettings * getSettings()
Definition: CGTKWidget.m:581
-[CGTKWidget getSensitive]
BOOL getSensitive()
Definition: CGTKWidget.m:576
-[CGTKWidget hasGrab]
BOOL hasGrab()
Definition: CGTKWidget.m:706
-[CGTKWidget listMnemonicLabels]
GList * listMnemonicLabels()
Definition: CGTKWidget.m:806
-[CGTKWidget resetStyle]
void resetStyle()
Definition: CGTKWidget.m:966
-[CGTKWidget gtkDragSourceAddUriTargets]
void gtkDragSourceAddUriTargets()
Definition: CGTKWidget.m:236
-[CGTKWidget getScreen]
GdkScreen * getScreen()
Definition: CGTKWidget.m:571
-[CGTKWidget queueResize]
void queueResize()
Definition: CGTKWidget.m:906
-[CGTKWidget getCompositeName]
NSString * getCompositeName()
Definition: CGTKWidget.m:371
-[CGTKWidget getToplevel]
CGTKWidget * getToplevel()
Definition: CGTKWidget.m:636
+[CGTKWidget getDefaultDirection]
GtkTextDirection getDefaultDirection()
Definition: CGTKWidget.m:36
-[CGTKWidget gtkDragDestAddTextTargets]
void gtkDragDestAddTextTargets()
Definition: CGTKWidget.m:166
-[CGTKWidget getDirection]
GtkTextDirection getDirection()
Definition: CGTKWidget.m:386
-[CGTKWidget getReceivesDefault]
BOOL getReceivesDefault()
Definition: CGTKWidget.m:546
-[CGTKWidget getDisplay]
GdkDisplay * getDisplay()
Definition: CGTKWidget.m:391
-[CGTKWidget freezeChildNotify]
void freezeChildNotify()
Definition: CGTKWidget.m:306
-[CGTKWidget realize]
void realize()
Definition: CGTKWidget.m:916
-[CGTKWidget gtkDragDestUnset]
void gtkDragDestUnset()
Definition: CGTKWidget.m:211
-[CGTKWidget getNoShowAll]
BOOL getNoShowAll()
Definition: CGTKWidget.m:476
-[CGTKWidget getOpacity]
double getOpacity()
Definition: CGTKWidget.m:481
-[CGTKWidget unmap]
void unmap()
Definition: CGTKWidget.m:1271
-[CGTKWidget getWindow]
GdkWindow * getWindow()
Definition: CGTKWidget.m:671
-[CGTKWidget isDrawable]
BOOL isDrawable()
Definition: CGTKWidget.m:771
-[CGTKWidget getHalign]
GtkAlign getHalign()
Definition: CGTKWidget.m:411
-[CGTKWidget showAll]
void showAll()
Definition: CGTKWidget.m:1216
-[CGTKWidget map]
void map()
Definition: CGTKWidget.m:811
-[CGTKWidget hasRcStyle]
BOOL hasRcStyle()
Definition: CGTKWidget.m:711
-[CGTKWidget isFocus]
BOOL isFocus()
Definition: CGTKWidget.m:776
-[CGTKWidget getPangoContext]
PangoContext * getPangoContext()
Definition: CGTKWidget.m:486
-[CGTKWidget getMarginBottom]
gint getMarginBottom()
Definition: CGTKWidget.m:441
-[CGTKWidget hasScreen]
BOOL hasScreen()
Definition: CGTKWidget.m:716
-[CGTKWidget destroy]
void destroy()
Definition: CGTKWidget.m:131
-[CGTKWidget getName]
NSString * getName()
Definition: CGTKWidget.m:471
-[CGTKWidget hideOnDelete]
BOOL hideOnDelete()
Definition: CGTKWidget.m:731
-[CGTKWidget gtkGrabRemove]
void gtkGrabRemove()
Definition: CGTKWidget.m:691
-[CGTKWidget gtkDragDestAddUriTargets]
void gtkDragDestAddUriTargets()
Definition: CGTKWidget.m:171
-[CGTKWidget getChildVisible]
BOOL getChildVisible()
Definition: CGTKWidget.m:361
-[CGTKWidget WIDGET]
GtkWidget * WIDGET()
Definition: CGTKWidget.m:61
-[CGTKWidget listAccelClosures]
GList * listAccelClosures()
Definition: CGTKWidget.m:801
-[CGTKWidget getAppPaintable]
BOOL getAppPaintable()
Definition: CGTKWidget.m:341
-[CGTKWidget gtkDragHighlight]
void gtkDragHighlight()
Definition: CGTKWidget.m:221
-[CGTKWidget getStateFlags]
GtkStateFlags getStateFlags()
Definition: CGTKWidget.m:596
-[CGTKWidget queueResizeNoRedraw]
void queueResizeNoRedraw()
Definition: CGTKWidget.m:911
-[CGTKWidget grabFocus]
void grabFocus()
Definition: CGTKWidget.m:686
-[CGTKWidget getRootWindow]
GdkWindow * getRootWindow()
Definition: CGTKWidget.m:561
-[CGTKWidget getAllocatedHeight]
int getAllocatedHeight()
Definition: CGTKWidget.m:321
-[CGTKWidget getPath]
GtkWidgetPath * getPath()
Definition: CGTKWidget.m:501
-[CGTKWidget gtkDragSourceAddImageTargets]
void gtkDragSourceAddImageTargets()
Definition: CGTKWidget.m:226
-[CGTKWidget getParent]
CGTKWidget * getParent()
Definition: CGTKWidget.m:491
-[CGTKWidget getVexpandSet]
BOOL getVexpandSet()
Definition: CGTKWidget.m:656
-[CGTKWidget errorBell]
void errorBell()
Definition: CGTKWidget.m:296
-[CGTKWidget getModifierStyle]
GtkRcStyle * getModifierStyle()
Definition: CGTKWidget.m:466
-[CGTKWidget getValignWithBaseline]
GtkAlign getValignWithBaseline()
Definition: CGTKWidget.m:646
-[CGTKWidget getTooltipMarkup]
NSString * getTooltipMarkup()
Definition: CGTKWidget.m:621
-[CGTKWidget getFrameClock]
GdkFrameClock * getFrameClock()
Definition: CGTKWidget.m:406
-[CGTKWidget getVexpand]
BOOL getVexpand()
Definition: CGTKWidget.m:651
-[CGTKWidget triggerTooltipQuery]
void triggerTooltipQuery()
Definition: CGTKWidget.m:1266
-[CGTKWidget isComposited]
BOOL isComposited()
Definition: CGTKWidget.m:766
-[CGTKWidget unparent]
void unparent()
Definition: CGTKWidget.m:1276
-[CGTKWidget queueDraw]
void queueDraw()
Definition: CGTKWidget.m:891
-[CGTKWidget getHasTooltip]
BOOL getHasTooltip()
Definition: CGTKWidget.m:416
-[CGTKWidget gtkDragSourceUnset]
void gtkDragSourceUnset()
Definition: CGTKWidget.m:276
-[CGTKWidget getCanFocus]
BOOL getCanFocus()
Definition: CGTKWidget.m:351
-[CGTKWidget unrealize]
void unrealize()
Definition: CGTKWidget.m:1281
-[CGTKWidget hasFocus]
BOOL hasFocus()
Definition: CGTKWidget.m:701
-[CGTKWidget getMarginLeft]
gint getMarginLeft()
Definition: CGTKWidget.m:446
-[CGTKWidget getScaleFactor]
gint getScaleFactor()
Definition: CGTKWidget.m:566
-[CGTKWidget getMarginRight]
gint getMarginRight()
Definition: CGTKWidget.m:451
-[CGTKWidget isVisible]
BOOL isVisible()
Definition: CGTKWidget.m:791
-[CGTKWidget getHasWindow]
BOOL getHasWindow()
Definition: CGTKWidget.m:421
-[CGTKWidget grabDefault]
void grabDefault()
Definition: CGTKWidget.m:681
-[CGTKWidget getSupportMultidevice]
BOOL getSupportMultidevice()
Definition: CGTKWidget.m:611
-[CGTKWidget getHexpand]
BOOL getHexpand()
Definition: CGTKWidget.m:426
-[CGTKWidget getStyle]
GtkStyle * getStyle()
Definition: CGTKWidget.m:601
-[CGTKWidget getAllocatedWidth]
int getAllocatedWidth()
Definition: CGTKWidget.m:326
CGTKWidget
Definition: CGTKWidget.h:34
-[CGTKWidget getMapped]
BOOL getMapped()
Definition: CGTKWidget.m:436
-[CGTKWidget getStyleContext]
GtkStyleContext * getStyleContext()
Definition: CGTKWidget.m:606
-[CGTKWidget showNow]
void showNow()
Definition: CGTKWidget.m:1221
-[CGTKWidget getAccessible]
AtkObject * getAccessible()
Definition: CGTKWidget.m:311
-[CGTKWidget getMarginTop]
gint getMarginTop()
Definition: CGTKWidget.m:456
-[CGTKWidget getTooltipWindow]
GtkWindow * getTooltipWindow()
Definition: CGTKWidget.m:631
-[CGTKWidget inDestruction]
BOOL inDestruction()
Definition: CGTKWidget.m:736
-[CGTKWidget gtkDragSourceGetTargetList]
GtkTargetList * gtkDragSourceGetTargetList()
Definition: CGTKWidget.m:241
-[CGTKWidget show]
void show()
Definition: CGTKWidget.m:1211
-[CGTKWidget gtkGrabAdd]
void gtkGrabAdd()
Definition: CGTKWidget.m:676
-[CGTKWidget createPangoContext]
PangoContext * createPangoContext()
Definition: CGTKWidget.m:121
-[CGTKWidget resetRcStyles]
void resetRcStyles()
Definition: CGTKWidget.m:961
-[CGTKWidget getCanDefault]
BOOL getCanDefault()
Definition: CGTKWidget.m:346
-[CGTKWidget hasDefault]
BOOL hasDefault()
Definition: CGTKWidget.m:696
-[CGTKWidget getVisual]
GdkVisual * getVisual()
Definition: CGTKWidget.m:666
-[CGTKWidget gtkDragSourceAddTextTargets]
void gtkDragSourceAddTextTargets()
Definition: CGTKWidget.m:231
-[CGTKWidget getRealized]
BOOL getRealized()
Definition: CGTKWidget.m:541
-[CGTKWidget getDoubleBuffered]
BOOL getDoubleBuffered()
Definition: CGTKWidget.m:396
-[CGTKWidget queueComputeExpand]
void queueComputeExpand()
Definition: CGTKWidget.m:886
-[CGTKWidget getEvents]
gint getEvents()
Definition: CGTKWidget.m:401
-[CGTKWidget ensureStyle]
void ensureStyle()
Definition: CGTKWidget.m:291