]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkwidget.sgml
Implement accessible support, fixes #454653.
[~andy/gtk] / docs / reference / gtk / tmpl / gtkwidget.sgml
1 <!-- ##### SECTION Title ##### -->
2 GtkWidget
3
4 <!-- ##### SECTION Short_Description ##### -->
5 Base class for all widgets
6
7 <!-- ##### SECTION Long_Description ##### -->
8 <para id="style-properties">
9 <structname>GtkWidget</structname> introduces <firstterm>style 
10 properties</firstterm> - these are basically object properties that are stored
11 not on the object, but in the style object associated to the widget. Style
12 properties are set in <link linkend="gtk-Resource-Files">resource files</link>.
13 This mechanism is used for configuring such things as the location of the
14 scrollbar arrows through the theme, giving theme authors more control over the
15 look of applications without the need to write a theme engine in C.
16 </para>
17 <para>
18 Use gtk_widget_class_install_style_property() to install style properties for 
19 a widget class, gtk_widget_class_find_style_property() or
20 gtk_widget_class_list_style_properties() to get information about existing
21 style properties and gtk_widget_style_get_property(), gtk_widget_style_get() or
22 gtk_widget_style_get_valist() to obtain the value of a style property.
23 </para>
24
25 <refsect2 id="GtkWidget-BUILDER-UI">
26 <title>GtkWidget as GtkBuildable</title>
27 <para>
28 The GtkWidget implementation of the GtkBuildable interface supports a 
29 custom &lt;accelerator&gt; element, which has attributes named key, 
30 modifiers and signal and allows to specify accelerators.
31 </para>
32 <example>
33 <title>A UI definition fragment specifying an accelerator</title>
34 <programlisting><![CDATA[
35 <object class="GtkButton">
36   <accelerator key="q" modifiers="GDK_CONTROL_MASK" signal="clicked"/>
37 </object>
38 ]]></programlisting>
39 </example>
40 In addition to accelerators, <structname>GtkWidget</structname> also support a 
41 custom &lt;accessible&gt; element, which supports actions and relations. 
42 Properties on the accessible implementation of an object can be set by accessing the 
43 internal child "accessible" of a <structname>GtkWidget</structname>.
44 <example>
45 <title>A UI definition fragment specifying an accessible</title>
46 <programlisting><![CDATA[
47 <object class="GtkButton" id="label1"/>
48   <property name="label">I am a Label for a Button</property>
49 </object>
50 <object class="GtkButton" id="button1">
51   <accessibility>
52     <action action_name="click" description="Click the button."/>
53     <relation target="label1" type="labelled-by"/>
54   </accessibility>
55   <child internal-child="accessible">
56     <object class="AtkObject" id="a11y-button1">
57       <property name="AtkObject::name">Clickable Button</property>
58     </object>
59   </child>
60 </object>
61 ]]></programlisting>
62 </example>
63
64
65 </refsect2>
66
67 <!-- ##### SECTION See_Also ##### -->
68 <para>
69
70 </para>
71
72 <!-- ##### SECTION Stability_Level ##### -->
73
74
75 <!-- ##### STRUCT GtkWidget ##### -->
76 <para>
77
78 </para>
79
80 @style: The style for the widget. The style contains the colors the widget should be 
81  drawn in for each state along with graphics contexts used to draw with and the font 
82  to use for text.
83 @requisition: The widget's desired size.
84 @allocation: The widget's allocated size.
85 @window: The widget's window or its parent window if it does not have a window. (Which 
86  will be indicated by the #GTK_NO_WINDOW flag being set).
87 @parent: 
88
89 <!-- ##### SIGNAL GtkWidget::accel-closures-changed ##### -->
90 <para>
91
92 </para>
93
94 @widget: the object which received the signal.
95
96 <!-- ##### SIGNAL GtkWidget::button-press-event ##### -->
97 <para>
98
99 </para>
100
101 @widget: the object which received the signal.
102 @event: 
103 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
104
105 <!-- ##### SIGNAL GtkWidget::button-release-event ##### -->
106 <para>
107
108 </para>
109
110 @widget: the object which received the signal.
111 @event: 
112 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
113
114 <!-- ##### SIGNAL GtkWidget::can-activate-accel ##### -->
115 <para>
116
117 </para>
118
119 @widget: the object which received the signal.
120 @arg1: 
121 @Returns: 
122
123 <!-- ##### SIGNAL GtkWidget::child-notify ##### -->
124 <para>
125
126 </para>
127
128 @widget: the object which received the signal.
129 @arg1: 
130
131 <!-- ##### SIGNAL GtkWidget::client-event ##### -->
132 <para>
133
134 </para>
135
136 @widget: the object which received the signal.
137 @event: 
138 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
139
140 <!-- ##### SIGNAL GtkWidget::composited-changed ##### -->
141 <para>
142
143 </para>
144
145 @widget: the object which received the signal.
146
147 <!-- ##### SIGNAL GtkWidget::configure-event ##### -->
148 <para>
149
150 </para>
151
152 @widget: the object which received the signal.
153 @event: 
154 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
155
156 <!-- ##### SIGNAL GtkWidget::delete-event ##### -->
157 <para>
158
159 </para>
160
161 @widget: the object which received the signal.
162 @event: 
163 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
164
165 <!-- ##### SIGNAL GtkWidget::destroy-event ##### -->
166 <para>
167
168 </para>
169
170 @widget: the object which received the signal.
171 @event: 
172 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
173
174 <!-- ##### SIGNAL GtkWidget::direction-changed ##### -->
175 <para>
176
177 </para>
178
179 @widget: the object which received the signal.
180 @arg1: 
181
182 <!-- ##### SIGNAL GtkWidget::drag-begin ##### -->
183 <para>
184
185 </para>
186
187 @widget: the object which received the signal.
188 @drag_context: 
189
190 <!-- ##### SIGNAL GtkWidget::drag-data-delete ##### -->
191 <para>
192
193 </para>
194
195 @widget: the object which received the signal.
196 @drag_context: 
197
198 <!-- ##### SIGNAL GtkWidget::drag-data-get ##### -->
199 <para>
200
201 </para>
202
203 @widget: the object which received the signal.
204 @drag_context: 
205 @data: 
206 @info: 
207 @time: 
208
209 <!-- ##### SIGNAL GtkWidget::drag-data-received ##### -->
210 <para>
211
212 </para>
213
214 @widget: the object which received the signal.
215 @drag_context: 
216 @x: 
217 @y: 
218 @data: 
219 @info: 
220 @time: 
221
222 <!-- ##### SIGNAL GtkWidget::drag-drop ##### -->
223 <para>
224
225 </para>
226
227 @widget: the object which received the signal.
228 @drag_context: 
229 @x: 
230 @y: 
231 @time: 
232 @Returns: 
233
234 <!-- ##### SIGNAL GtkWidget::drag-end ##### -->
235 <para>
236
237 </para>
238
239 @widget: the object which received the signal.
240 @drag_context: 
241
242 <!-- ##### SIGNAL GtkWidget::drag-failed ##### -->
243 <para>
244
245 </para>
246
247 @widget: the object which received the signal.
248 @arg1: 
249 @arg2: 
250 @Returns: 
251
252 <!-- ##### SIGNAL GtkWidget::drag-leave ##### -->
253 <para>
254
255 </para>
256
257 @widget: the object which received the signal.
258 @drag_context: 
259 @time: 
260
261 <!-- ##### SIGNAL GtkWidget::drag-motion ##### -->
262 <para>
263
264 </para>
265
266 @widget: the object which received the signal.
267 @drag_context: 
268 @x: 
269 @y: 
270 @time: 
271 @Returns: 
272
273 <!-- ##### SIGNAL GtkWidget::enter-notify-event ##### -->
274 <para>
275
276 </para>
277
278 @widget: the object which received the signal.
279 @event: 
280 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
281
282 <!-- ##### SIGNAL GtkWidget::event ##### -->
283 <para>
284
285 </para>
286
287 @widget: the object which received the signal.
288 @event: 
289 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
290
291 <!-- ##### SIGNAL GtkWidget::event-after ##### -->
292 <para>
293
294 </para>
295
296 @widget: the object which received the signal.
297 @event: 
298
299 <!-- ##### SIGNAL GtkWidget::expose-event ##### -->
300 <para>
301
302 </para>
303
304 @widget: the object which received the signal.
305 @event: 
306 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
307
308 <!-- ##### SIGNAL GtkWidget::focus ##### -->
309 <para>
310
311 </para>
312
313 @widget: the object which received the signal.
314 @arg1: 
315 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
316
317 <!-- ##### SIGNAL GtkWidget::focus-in-event ##### -->
318 <para>
319
320 </para>
321
322 @widget: the object which received the signal.
323 @event: 
324 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
325
326 <!-- ##### SIGNAL GtkWidget::focus-out-event ##### -->
327 <para>
328
329 </para>
330
331 @widget: the object which received the signal.
332 @event: 
333 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
334
335 <!-- ##### SIGNAL GtkWidget::grab-broken-event ##### -->
336 <para>
337
338 </para>
339
340 @widget: the object which received the signal.
341 @event: 
342 @Returns: 
343
344 <!-- ##### SIGNAL GtkWidget::grab-focus ##### -->
345 <para>
346
347 </para>
348
349 @widget: the object which received the signal.
350
351 <!-- ##### SIGNAL GtkWidget::grab-notify ##### -->
352 <para>
353
354 </para>
355
356 @widget: the object which received the signal.
357 @arg1: 
358
359 <!-- ##### SIGNAL GtkWidget::hide ##### -->
360 <para>
361
362 </para>
363
364 @widget: the object which received the signal.
365
366 <!-- ##### SIGNAL GtkWidget::hierarchy-changed ##### -->
367 <para>
368
369 </para>
370
371 @widget: 
372 @widget2: 
373
374 <!-- ##### SIGNAL GtkWidget::key-press-event ##### -->
375 <para>
376
377 </para>
378
379 @widget: the object which received the signal.
380 @event: 
381 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
382
383 <!-- ##### SIGNAL GtkWidget::key-release-event ##### -->
384 <para>
385
386 </para>
387
388 @widget: the object which received the signal.
389 @event: 
390 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
391
392 <!-- ##### SIGNAL GtkWidget::keynav-failed ##### -->
393 <para>
394
395 </para>
396
397 @widget: the object which received the signal.
398 @arg1: 
399 @Returns: 
400
401 <!-- ##### SIGNAL GtkWidget::leave-notify-event ##### -->
402 <para>
403
404 </para>
405
406 @widget: the object which received the signal.
407 @event: 
408 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
409
410 <!-- ##### SIGNAL GtkWidget::map ##### -->
411 <para>
412
413 </para>
414
415 @widget: the object which received the signal.
416
417 <!-- ##### SIGNAL GtkWidget::map-event ##### -->
418 <para>
419
420 </para>
421
422 @widget: the object which received the signal.
423 @event: 
424 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
425
426 <!-- ##### SIGNAL GtkWidget::mnemonic-activate ##### -->
427 <para>
428
429 </para>
430
431 @widget: the object which received the signal.
432 @arg1: 
433 @Returns: 
434
435 <!-- ##### SIGNAL GtkWidget::motion-notify-event ##### -->
436 <para>
437
438 </para>
439
440 @widget: the object which received the signal.
441 @event: 
442 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
443
444 <!-- ##### SIGNAL GtkWidget::move-focus ##### -->
445 <para>
446
447 </para>
448
449 @widget: the object which received the signal.
450 @arg1: 
451
452 <!-- ##### SIGNAL GtkWidget::no-expose-event ##### -->
453 <para>
454
455 </para>
456
457 @widget: the object which received the signal.
458 @event: 
459 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
460
461 <!-- ##### SIGNAL GtkWidget::parent-set ##### -->
462 <para>
463
464 </para>
465
466 @widget: the object which received the signal.
467 @old_parent: 
468
469 <!-- ##### SIGNAL GtkWidget::popup-menu ##### -->
470 <para>
471
472 </para>
473
474 @widget: the object which received the signal.
475 @Returns: 
476
477 <!-- ##### SIGNAL GtkWidget::property-notify-event ##### -->
478 <para>
479
480 </para>
481
482 @widget: the object which received the signal.
483 @event: 
484 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
485
486 <!-- ##### SIGNAL GtkWidget::proximity-in-event ##### -->
487 <para>
488
489 </para>
490
491 @widget: the object which received the signal.
492 @event: 
493 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
494
495 <!-- ##### SIGNAL GtkWidget::proximity-out-event ##### -->
496 <para>
497
498 </para>
499
500 @widget: the object which received the signal.
501 @event: 
502 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
503
504 <!-- ##### SIGNAL GtkWidget::query-tooltip ##### -->
505 <para>
506
507 </para>
508
509 @widget: the object which received the signal.
510 @arg1: 
511 @arg2: 
512 @arg3: 
513 @arg4: 
514 @Returns: 
515
516 <!-- ##### SIGNAL GtkWidget::realize ##### -->
517 <para>
518
519 </para>
520
521 @widget: the object which received the signal.
522
523 <!-- ##### SIGNAL GtkWidget::screen-changed ##### -->
524 <para>
525
526 </para>
527
528 @widget: the object which received the signal.
529 @arg1: 
530
531 <!-- ##### SIGNAL GtkWidget::scroll-event ##### -->
532 <para>
533
534 </para>
535
536 @widget: the object which received the signal.
537 @event: 
538 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
539
540 <!-- ##### SIGNAL GtkWidget::selection-clear-event ##### -->
541 <para>
542
543 </para>
544
545 @widget: the object which received the signal.
546 @event: 
547 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
548
549 <!-- ##### SIGNAL GtkWidget::selection-get ##### -->
550 <para>
551
552 </para>
553
554 @widget: the object which received the signal.
555 @data: 
556 @info: 
557 @time: 
558
559 <!-- ##### SIGNAL GtkWidget::selection-notify-event ##### -->
560 <para>
561
562 </para>
563
564 @widget: the object which received the signal.
565 @event: 
566 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
567
568 <!-- ##### SIGNAL GtkWidget::selection-received ##### -->
569 <para>
570
571 </para>
572
573 @widget: the object which received the signal.
574 @data: 
575 @time: 
576
577 <!-- ##### SIGNAL GtkWidget::selection-request-event ##### -->
578 <para>
579
580 </para>
581
582 @widget: the object which received the signal.
583 @event: 
584 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
585
586 <!-- ##### SIGNAL GtkWidget::show ##### -->
587 <para>
588
589 </para>
590
591 @widget: the object which received the signal.
592
593 <!-- ##### SIGNAL GtkWidget::show-help ##### -->
594 <para>
595
596 </para>
597
598 @widget: the object which received the signal.
599 @arg1: 
600 @Returns: 
601
602 <!-- ##### SIGNAL GtkWidget::size-allocate ##### -->
603 <para>
604
605 </para>
606
607 @widget: the object which received the signal.
608 @allocation: 
609
610 <!-- ##### SIGNAL GtkWidget::size-request ##### -->
611 <para>
612
613 </para>
614
615 @widget: the object which received the signal.
616 @requisition: 
617
618 <!-- ##### SIGNAL GtkWidget::state-changed ##### -->
619 <para>
620
621 </para>
622
623 @widget: the object which received the signal.
624 @state: 
625
626 <!-- ##### SIGNAL GtkWidget::style-set ##### -->
627 <para>
628
629 </para>
630
631 @widget: the object which received the signal.
632 @previous_style: 
633
634 <!-- ##### SIGNAL GtkWidget::unmap ##### -->
635 <para>
636
637 </para>
638
639 @widget: the object which received the signal.
640
641 <!-- ##### SIGNAL GtkWidget::unmap-event ##### -->
642 <para>
643
644 </para>
645
646 @widget: the object which received the signal.
647 @event: 
648 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
649
650 <!-- ##### SIGNAL GtkWidget::unrealize ##### -->
651 <para>
652
653 </para>
654
655 @widget: the object which received the signal.
656
657 <!-- ##### SIGNAL GtkWidget::visibility-notify-event ##### -->
658 <para>
659
660 </para>
661
662 @widget: the object which received the signal.
663 @event: 
664 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
665
666 <!-- ##### SIGNAL GtkWidget::window-state-event ##### -->
667 <para>
668
669 </para>
670
671 @widget: the object which received the signal.
672 @event: 
673 @Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
674
675 <!-- ##### ARG GtkWidget:app-paintable ##### -->
676 <para>
677
678 </para>
679
680 <!-- ##### ARG GtkWidget:can-default ##### -->
681 <para>
682
683 </para>
684
685 <!-- ##### ARG GtkWidget:can-focus ##### -->
686 <para>
687
688 </para>
689
690 <!-- ##### ARG GtkWidget:composite-child ##### -->
691 <para>
692
693 </para>
694
695 <!-- ##### ARG GtkWidget:events ##### -->
696 <para>
697
698 </para>
699
700 <!-- ##### ARG GtkWidget:extension-events ##### -->
701 <para>
702
703 </para>
704
705 <!-- ##### ARG GtkWidget:has-default ##### -->
706 <para>
707
708 </para>
709
710 <!-- ##### ARG GtkWidget:has-focus ##### -->
711 <para>
712
713 </para>
714
715 <!-- ##### ARG GtkWidget:has-tooltip ##### -->
716 <para>
717
718 </para>
719
720 <!-- ##### ARG GtkWidget:height-request ##### -->
721 <para>
722
723 </para>
724
725 <!-- ##### ARG GtkWidget:is-focus ##### -->
726 <para>
727
728 </para>
729
730 <!-- ##### ARG GtkWidget:name ##### -->
731 <para>
732
733 </para>
734
735 <!-- ##### ARG GtkWidget:no-show-all ##### -->
736 <para>
737
738 </para>
739
740 <!-- ##### ARG GtkWidget:parent ##### -->
741 <para>
742
743 </para>
744
745 <!-- ##### ARG GtkWidget:receives-default ##### -->
746 <para>
747
748 </para>
749
750 <!-- ##### ARG GtkWidget:sensitive ##### -->
751 <para>
752
753 </para>
754
755 <!-- ##### ARG GtkWidget:style ##### -->
756 <para>
757
758 </para>
759
760 <!-- ##### ARG GtkWidget:tooltip-markup ##### -->
761 <para>
762
763 </para>
764
765 <!-- ##### ARG GtkWidget:tooltip-text ##### -->
766 <para>
767
768 </para>
769
770 <!-- ##### ARG GtkWidget:visible ##### -->
771 <para>
772
773 </para>
774
775 <!-- ##### ARG GtkWidget:width-request ##### -->
776 <para>
777
778 </para>
779
780 <!-- ##### ARG GtkWidget:cursor-aspect-ratio ##### -->
781 <para>
782
783 </para>
784
785 <!-- ##### ARG GtkWidget:cursor-color ##### -->
786 <para>
787
788 </para>
789
790 <!-- ##### ARG GtkWidget:draw-border ##### -->
791 <para>
792
793 </para>
794
795 <!-- ##### ARG GtkWidget:focus-line-pattern ##### -->
796 <para>
797
798 </para>
799
800 <!-- ##### ARG GtkWidget:focus-line-width ##### -->
801 <para>
802
803 </para>
804
805 <!-- ##### ARG GtkWidget:focus-padding ##### -->
806 <para>
807
808 </para>
809
810 <!-- ##### ARG GtkWidget:interior-focus ##### -->
811 <para>
812
813 </para>
814
815 <!-- ##### ARG GtkWidget:link-color ##### -->
816 <para>
817
818 </para>
819
820 <!-- ##### ARG GtkWidget:scroll-arrow-hlength ##### -->
821 <para>
822
823 </para>
824
825 <!-- ##### ARG GtkWidget:scroll-arrow-vlength ##### -->
826 <para>
827
828 </para>
829
830 <!-- ##### ARG GtkWidget:secondary-cursor-color ##### -->
831 <para>
832
833 </para>
834
835 <!-- ##### ARG GtkWidget:separator-height ##### -->
836 <para>
837
838 </para>
839
840 <!-- ##### ARG GtkWidget:separator-width ##### -->
841 <para>
842
843 </para>
844
845 <!-- ##### ARG GtkWidget:visited-link-color ##### -->
846 <para>
847
848 </para>
849
850 <!-- ##### ARG GtkWidget:wide-separators ##### -->
851 <para>
852
853 </para>
854
855 <!-- ##### STRUCT GtkWidgetClass ##### -->
856 <para>
857 <structfield>activate_signal</structfield>
858 The signal to emit when a widget of this class is activated,
859 gtk_widget_activate() handles the emission. Implementation of this
860 signal is optional. 
861 </para>
862
863 <para>
864 <structfield>set_scroll_adjustment_signal</structfield>
865 This signal is emitted  when a widget of this class is added
866 to a scrolling aware parent, gtk_widget_set_scroll_adjustments()
867 handles the emission.
868 Implementation of this signal is optional.
869 </para>
870
871 @parent_class: 
872 @activate_signal: 
873 @set_scroll_adjustments_signal: 
874
875 <!-- ##### ENUM GtkWidgetFlags ##### -->
876 <para>
877 Tells about certain properties of the widget.
878 </para>
879
880 @GTK_TOPLEVEL: 
881         widgets without a real parent, as there are #GtkWindow<!-- -->s and
882         #GtkMenu<!-- -->s have this flag set throughout their lifetime.
883         Toplevel widgets always contain their own #GdkWindow.
884 @GTK_NO_WINDOW: 
885         Indicative for a widget that does not provide its own #GdkWindow. 
886         Visible action (e.g. drawing) is performed on the parent's #GdkWindow.
887 @GTK_REALIZED: 
888         Set by gtk_widget_realize(), unset by gtk_widget_unrealize().
889         A realized widget has an associated #GdkWindow.
890 @GTK_MAPPED: 
891         Set by gtk_widget_map(), unset by gtk_widget_unmap().
892         Only realized widgets can be mapped. It means that gdk_window_show() 
893         has been called on the widgets window(s).
894 @GTK_VISIBLE: 
895         Set by gtk_widget_show(), unset by gtk_widget_hide(). Implies that a 
896         widget will be mapped as soon as its parent is mapped.
897 @GTK_SENSITIVE: 
898         Set and unset by gtk_widget_set_sensitive().
899         The sensitivity of a widget determines whether it will receive
900         certain events (e.g. button or key presses). One premise for
901         the widget's sensitivity is to have this flag set.
902 @GTK_PARENT_SENSITIVE: 
903         Set and unset by gtk_widget_set_sensitive() operations on the
904         parents of the widget.
905         This is the second premise for the widget's sensitivity. Once
906         it has %GTK_SENSITIVE and %GTK_PARENT_SENSITIVE set, its state is
907         effectively sensitive. This is expressed (and can be examined) by
908         the #GTK_WIDGET_IS_SENSITIVE macro.
909 @GTK_CAN_FOCUS: 
910         Determines whether a widget is able to handle focus grabs.
911 @GTK_HAS_FOCUS: 
912         Set by gtk_widget_grab_focus() for widgets that also
913         have %GTK_CAN_FOCUS set. The flag will be unset once another widget
914         grabs the focus.
915 @GTK_CAN_DEFAULT: 
916         The widget is allowed to receive the default action via 
917         gtk_widget_grab_default().
918 @GTK_HAS_DEFAULT: 
919         The widget currently is receiving the default action.
920 @GTK_HAS_GRAB: 
921         Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the 
922         widget is in the grab_widgets stack, and will be the preferred one for 
923         receiving events other than ones of cosmetic value.
924 @GTK_RC_STYLE: 
925         Indicates that the widget's style has been looked up through the rc 
926         mechanism. It does not imply that the widget actually had a style 
927         defined through the rc mechanism.
928 @GTK_COMPOSITE_CHILD: 
929         Indicates that the widget is a composite child of its parent; see 
930         gtk_widget_push_composite_child(), gtk_widget_pop_composite_child().
931 @GTK_NO_REPARENT: 
932         Unused since before GTK+ 1.2, will be removed in a future version.
933 @GTK_APP_PAINTABLE: 
934         Set and unset by gtk_widget_set_app_paintable().
935         Must be set on widgets whose window the application directly draws on, 
936         in order to keep GTK+ from overwriting the drawn stuff.
937 @GTK_RECEIVES_DEFAULT: 
938         The widget when focused will receive the default action and have 
939         %GTK_HAS_DEFAULT set even if there is a different widget set as default.
940 @GTK_DOUBLE_BUFFERED: 
941         Set and unset by gtk_widget_set_double_buffered().
942         Indicates that exposes done on the widget should be double-buffered.
943 @GTK_NO_SHOW_ALL: 
944
945 <!-- ##### MACRO GTK_WIDGET_TYPE ##### -->
946 <para>
947 Gets the type of a widget.
948 </para>
949
950 @wid: a #GtkWidget.
951
952
953 <!-- ##### MACRO GTK_WIDGET_STATE ##### -->
954 <para>
955 Returns the current state of the widget, as a #GtkStateType.
956 </para>
957
958 @wid: a #GtkWidget.
959
960
961 <!-- ##### MACRO GTK_WIDGET_SAVED_STATE ##### -->
962 <para>
963 Returns the saved state of the widget, as a #GtkStateType.
964 </para>
965 <para>
966 The saved state will be restored when a widget gets sensitive
967 again, after it has been made insensitive with gtk_widget_set_state()
968 or gtk_widget_set_sensitive().
969 </para>
970
971 @wid: a #GtkWidget.
972
973
974 <!-- ##### MACRO GTK_WIDGET_FLAGS ##### -->
975 <para>
976 Returns the widget flags from @wid.
977 </para>
978
979 @wid: a #GtkWidget.
980
981
982 <!-- ##### MACRO GTK_WIDGET_TOPLEVEL ##### -->
983 <para>
984 Evaluates to %TRUE if the widget is a toplevel widget.
985 </para>
986
987 @wid: a #GtkWidget.
988
989
990 <!-- ##### MACRO GTK_WIDGET_NO_WINDOW ##### -->
991 <para>
992 Evaluates to %TRUE if the widget doesn't have an own #GdkWindow.
993 </para>
994
995 @wid: a #GtkWidget.
996
997
998 <!-- ##### MACRO GTK_WIDGET_REALIZED ##### -->
999 <para>
1000 Evaluates to %TRUE if the widget is realized.
1001 </para>
1002
1003 @wid: a #GtkWidget.
1004
1005
1006 <!-- ##### MACRO GTK_WIDGET_MAPPED ##### -->
1007 <para>
1008 Evaluates to %TRUE if the widget is mapped.
1009 </para>
1010
1011 @wid: a #GtkWidget.
1012
1013
1014 <!-- ##### MACRO GTK_WIDGET_VISIBLE ##### -->
1015 <para>
1016 Evaluates to %TRUE if the widget is visible.
1017 </para>
1018
1019 @wid: a #GtkWidget.
1020
1021
1022 <!-- ##### MACRO GTK_WIDGET_DRAWABLE ##### -->
1023 <para>
1024 Evaluates to %TRUE if the widget is mapped and visible.
1025 </para>
1026
1027 @wid: a #GtkWidget.
1028
1029
1030 <!-- ##### MACRO GTK_WIDGET_SENSITIVE ##### -->
1031 <para>
1032 Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget.
1033 </para>
1034
1035 @wid: a #GtkWidget.
1036
1037
1038 <!-- ##### MACRO GTK_WIDGET_PARENT_SENSITIVE ##### -->
1039 <para>
1040 Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.
1041 </para>
1042
1043 @wid: a #GtkWidget.
1044
1045
1046 <!-- ##### MACRO GTK_WIDGET_IS_SENSITIVE ##### -->
1047 <para>
1048 Evaluates to %TRUE if the widget is effectively sensitive.
1049 </para>
1050
1051 @wid: a #GtkWidget.
1052
1053
1054 <!-- ##### MACRO GTK_WIDGET_CAN_FOCUS ##### -->
1055 <para>
1056 Evaluates to %TRUE if the widget is able to handle focus grabs.
1057 </para>
1058
1059 @wid: a #GtkWidget.
1060
1061
1062 <!-- ##### MACRO GTK_WIDGET_HAS_FOCUS ##### -->
1063 <para>
1064 Evaluates to %TRUE if the widget has grabbed the focus and no other
1065 widget has done so more recently.
1066 </para>
1067
1068 @wid: a #GtkWidget.
1069
1070
1071 <!-- ##### MACRO GTK_WIDGET_CAN_DEFAULT ##### -->
1072 <para>
1073 Evaluates to %TRUE if the widget is allowed to receive the default action 
1074 via gtk_widget_grab_default(). 
1075 </para>
1076
1077 @wid: a #GtkWidget.
1078
1079
1080 <!-- ##### MACRO GTK_WIDGET_RECEIVES_DEFAULT ##### -->
1081 <para>
1082 Evaluates to %TRUE if the widget when focused will receive the default action 
1083 even if there is a different widget set as default.
1084 </para>
1085
1086 @wid: a #GtkWidget.
1087
1088
1089 <!-- ##### MACRO GTK_WIDGET_HAS_DEFAULT ##### -->
1090 <para>
1091 Evaluates to %TRUE if the widget currently is receiving the default action.
1092 </para>
1093
1094 @wid: a #GtkWidget.
1095
1096
1097 <!-- ##### MACRO GTK_WIDGET_HAS_GRAB ##### -->
1098 <para>
1099 Evaluates to %TRUE if the widget is in the grab_widgets stack, and will be 
1100 the preferred one for receiving events other than ones of cosmetic value.
1101 </para>
1102
1103 @wid: a #GtkWidget.
1104
1105
1106 <!-- ##### MACRO GTK_WIDGET_RC_STYLE ##### -->
1107 <para>
1108 Evaluates to %TRUE if the widget's style has been looked up through the rc
1109 mechanism.
1110 </para>
1111
1112 @wid: a #GtkWidget.
1113
1114
1115 <!-- ##### MACRO GTK_WIDGET_COMPOSITE_CHILD ##### -->
1116 <para>
1117 Evaluates to %TRUE if the widget is a composite child of its parent.
1118 </para>
1119
1120 @wid: a #GtkWidget.
1121
1122
1123 <!-- ##### MACRO GTK_WIDGET_APP_PAINTABLE ##### -->
1124 <para>
1125 Evaluates to %TRUE if the #GTK_APP_PAINTABLE flag has been set on the widget.
1126 </para>
1127
1128 @wid: a #GtkWidget.
1129
1130
1131 <!-- ##### MACRO GTK_WIDGET_DOUBLE_BUFFERED ##### -->
1132 <para>
1133 Evaluates to %TRUE if the #GTK_DOUBLE_BUFFERED flag has been set on the widget.
1134 </para>
1135
1136 @wid: a #GtkWidget.
1137
1138
1139 <!-- ##### MACRO GTK_WIDGET_SET_FLAGS ##### -->
1140 <para>
1141 Turns on certain widget flags.
1142 </para>
1143
1144 @wid: a #GtkWidget.
1145 @flag: the flags to set.
1146
1147
1148 <!-- ##### MACRO GTK_WIDGET_UNSET_FLAGS ##### -->
1149 <para>
1150 Turns off certain widget flags.
1151 </para>
1152
1153 @wid: a #GtkWidget.
1154 @flag: the flags to unset.
1155
1156
1157 <!-- ##### USER_FUNCTION GtkCallback ##### -->
1158 <para>
1159 The type of the callback functions used for e.g. iterating over
1160 the children of a container, see gtk_container_foreach(). 
1161 </para>
1162
1163 @widget: the widget to operate on
1164 @data: user-supplied data
1165
1166
1167 <!-- ##### STRUCT GtkRequisition ##### -->
1168 <para>
1169 A <structname>GtkRequisition</structname> represents the desired size of a widget. See 
1170 <xref linkend="size-requisition"/> for more information.
1171 </para>
1172
1173 @width: the widget's desired width
1174 @height: the widget's desired height
1175
1176 <!-- ##### STRUCT GtkAllocation ##### -->
1177 <para>
1178 A <structname>GtkAllocation</structname> of a widget represents region which has been allocated to the 
1179 widget by its parent. It is a subregion of its parents allocation. See 
1180 <xref linkend="size-allocation"/> for more information.
1181 </para>
1182
1183 @x: the X position of the widget's area relative to its parents allocation.
1184 @y: the Y position of the widget's area relative to its parents allocation.
1185 @width: the width of the widget's allocated area.
1186 @height: the height of the widget's allocated area.
1187
1188 <!-- ##### STRUCT GtkSelectionData ##### -->
1189 <para>
1190
1191 </para>
1192
1193 @selection: 
1194 @target: 
1195 @type: 
1196 @format: 
1197 @data: 
1198 @length: 
1199 @display: 
1200
1201 <!-- ##### STRUCT GtkWidgetAuxInfo ##### -->
1202 <para>
1203
1204 </para>
1205
1206 @x: 
1207 @y: 
1208 @width: 
1209 @height: 
1210 @x_set: 
1211 @y_set: 
1212
1213 <!-- ##### STRUCT GtkWidgetShapeInfo ##### -->
1214 <para>
1215
1216 </para>
1217
1218 @offset_x: 
1219 @offset_y: 
1220 @shape_mask: 
1221
1222 <!-- ##### ENUM GtkWidgetHelpType ##### -->
1223 <para>
1224
1225 </para>
1226
1227 @GTK_WIDGET_HELP_TOOLTIP: 
1228 @GTK_WIDGET_HELP_WHATS_THIS: 
1229
1230 <!-- ##### FUNCTION gtk_widget_new ##### -->
1231 <para>
1232
1233 </para>
1234
1235 @type: 
1236 @first_property_name: 
1237 @Varargs: 
1238 @Returns: 
1239
1240
1241 <!-- ##### FUNCTION gtk_widget_ref ##### -->
1242 <para>
1243
1244 </para>
1245
1246 @widget: 
1247 @Returns: 
1248
1249
1250 <!-- ##### FUNCTION gtk_widget_unref ##### -->
1251 <para>
1252
1253 </para>
1254
1255 @widget: 
1256
1257
1258 <!-- ##### FUNCTION gtk_widget_destroy ##### -->
1259 <para>
1260
1261 </para>
1262
1263 @widget: 
1264
1265
1266 <!-- ##### FUNCTION gtk_widget_destroyed ##### -->
1267 <para>
1268
1269 </para>
1270
1271 @widget: 
1272 @widget_pointer: 
1273
1274
1275 <!-- ##### FUNCTION gtk_widget_set ##### -->
1276 <para>
1277
1278 </para>
1279
1280 @widget: 
1281 @first_property_name: 
1282 @Varargs: 
1283
1284
1285 <!-- ##### FUNCTION gtk_widget_unparent ##### -->
1286 <para>
1287
1288 </para>
1289
1290 @widget: 
1291
1292
1293 <!-- ##### FUNCTION gtk_widget_show ##### -->
1294 <para>
1295
1296 </para>
1297
1298 @widget: 
1299
1300
1301 <!-- ##### FUNCTION gtk_widget_show_now ##### -->
1302 <para>
1303
1304 </para>
1305
1306 @widget: 
1307
1308
1309 <!-- ##### FUNCTION gtk_widget_hide ##### -->
1310 <para>
1311
1312 </para>
1313
1314 @widget: 
1315
1316
1317 <!-- ##### FUNCTION gtk_widget_show_all ##### -->
1318 <para>
1319
1320 </para>
1321
1322 @widget: 
1323
1324
1325 <!-- ##### FUNCTION gtk_widget_hide_all ##### -->
1326 <para>
1327
1328 </para>
1329
1330 @widget: 
1331
1332
1333 <!-- ##### FUNCTION gtk_widget_map ##### -->
1334 <para>
1335
1336 </para>
1337
1338 @widget: 
1339
1340
1341 <!-- ##### FUNCTION gtk_widget_unmap ##### -->
1342 <para>
1343
1344 </para>
1345
1346 @widget: 
1347
1348
1349 <!-- ##### FUNCTION gtk_widget_realize ##### -->
1350 <para>
1351
1352 </para>
1353
1354 @widget: 
1355
1356
1357 <!-- ##### FUNCTION gtk_widget_unrealize ##### -->
1358 <para>
1359
1360 </para>
1361
1362 @widget: 
1363
1364
1365 <!-- ##### FUNCTION gtk_widget_queue_draw ##### -->
1366 <para>
1367
1368 </para>
1369
1370 @widget: 
1371
1372
1373 <!-- ##### FUNCTION gtk_widget_queue_resize ##### -->
1374 <para>
1375
1376 </para>
1377
1378 @widget: 
1379
1380
1381 <!-- ##### FUNCTION gtk_widget_queue_resize_no_redraw ##### -->
1382 <para>
1383
1384 </para>
1385
1386 @widget: 
1387
1388
1389 <!-- ##### FUNCTION gtk_widget_draw ##### -->
1390 <para>
1391
1392 </para>
1393
1394 @widget: 
1395 @area: 
1396
1397
1398 <!-- ##### FUNCTION gtk_widget_size_request ##### -->
1399 <para>
1400
1401 </para>
1402
1403 @widget: 
1404 @requisition: 
1405
1406
1407 <!-- ##### FUNCTION gtk_widget_get_child_requisition ##### -->
1408 <para>
1409
1410 </para>
1411
1412 @widget: 
1413 @requisition: 
1414
1415
1416 <!-- ##### FUNCTION gtk_widget_size_allocate ##### -->
1417 <para>
1418
1419 </para>
1420
1421 @widget: 
1422 @allocation: 
1423
1424
1425 <!-- ##### FUNCTION gtk_widget_add_accelerator ##### -->
1426 <para>
1427
1428 </para>
1429
1430 @widget: 
1431 @accel_signal: 
1432 @accel_group: 
1433 @accel_key: 
1434 @accel_mods: 
1435 @accel_flags: 
1436
1437
1438 <!-- ##### FUNCTION gtk_widget_remove_accelerator ##### -->
1439 <para>
1440
1441 </para>
1442
1443 @widget: 
1444 @accel_group: 
1445 @accel_key: 
1446 @accel_mods: 
1447 @Returns: 
1448
1449
1450 <!-- ##### FUNCTION gtk_widget_set_accel_path ##### -->
1451 <para>
1452
1453 </para>
1454
1455 @widget: 
1456 @accel_path: 
1457 @accel_group: 
1458
1459
1460 <!-- ##### FUNCTION gtk_widget_list_accel_closures ##### -->
1461 <para>
1462
1463 </para>
1464
1465 @widget: 
1466 @Returns: 
1467
1468
1469 <!-- ##### FUNCTION gtk_widget_can_activate_accel ##### -->
1470 <para>
1471
1472 </para>
1473
1474 @widget: 
1475 @signal_id: 
1476 @Returns: 
1477
1478
1479 <!-- ##### FUNCTION gtk_widget_event ##### -->
1480 <para>
1481
1482 </para>
1483
1484 @widget: 
1485 @event: 
1486 @Returns: 
1487
1488
1489 <!-- ##### FUNCTION gtk_widget_activate ##### -->
1490 <para>
1491
1492 </para>
1493
1494 @widget: 
1495 @Returns: 
1496
1497
1498 <!-- ##### FUNCTION gtk_widget_reparent ##### -->
1499 <para>
1500
1501 </para>
1502
1503 @widget: 
1504 @new_parent: 
1505
1506
1507 <!-- ##### FUNCTION gtk_widget_intersect ##### -->
1508 <para>
1509
1510 </para>
1511
1512 @widget: 
1513 @area: 
1514 @intersection: 
1515 @Returns: 
1516
1517
1518 <!-- ##### FUNCTION gtk_widget_is_focus ##### -->
1519 <para>
1520
1521 </para>
1522
1523 @widget: 
1524 @Returns: 
1525
1526
1527 <!-- ##### FUNCTION gtk_widget_grab_focus ##### -->
1528 <para>
1529
1530 </para>
1531
1532 @widget: 
1533
1534
1535 <!-- ##### FUNCTION gtk_widget_grab_default ##### -->
1536 <para>
1537
1538 </para>
1539
1540 @widget: 
1541
1542
1543 <!-- ##### FUNCTION gtk_widget_set_name ##### -->
1544 <para>
1545
1546 </para>
1547
1548 @widget: 
1549 @name: 
1550
1551
1552 <!-- ##### FUNCTION gtk_widget_get_name ##### -->
1553 <para>
1554
1555 </para>
1556
1557 @widget: 
1558 @Returns: 
1559
1560
1561 <!-- ##### FUNCTION gtk_widget_set_state ##### -->
1562 <para>
1563
1564 </para>
1565
1566 @widget: 
1567 @state: 
1568
1569
1570 <!-- ##### FUNCTION gtk_widget_set_sensitive ##### -->
1571 <para>
1572
1573 </para>
1574
1575 @widget: 
1576 @sensitive: 
1577
1578
1579 <!-- ##### FUNCTION gtk_widget_set_parent ##### -->
1580 <para>
1581
1582 </para>
1583
1584 @widget: 
1585 @parent: 
1586
1587
1588 <!-- ##### FUNCTION gtk_widget_set_parent_window ##### -->
1589 <para>
1590
1591 </para>
1592
1593 @widget: 
1594 @parent_window: 
1595
1596
1597 <!-- ##### FUNCTION gtk_widget_get_parent_window ##### -->
1598 <para>
1599
1600 </para>
1601
1602 @widget: 
1603 @Returns: 
1604
1605
1606 <!-- ##### FUNCTION gtk_widget_set_uposition ##### -->
1607 <para>
1608
1609 </para>
1610
1611 @widget: 
1612 @x: 
1613 @y: 
1614
1615
1616 <!-- ##### FUNCTION gtk_widget_set_usize ##### -->
1617 <para>
1618
1619 </para>
1620
1621 @widget: 
1622 @width: 
1623 @height: 
1624
1625
1626 <!-- ##### FUNCTION gtk_widget_set_events ##### -->
1627 <para>
1628
1629 </para>
1630
1631 @widget: 
1632 @events: 
1633
1634
1635 <!-- ##### FUNCTION gtk_widget_add_events ##### -->
1636 <para>
1637
1638 </para>
1639
1640 @widget: 
1641 @events: 
1642
1643
1644 <!-- ##### FUNCTION gtk_widget_set_extension_events ##### -->
1645 <para>
1646
1647 </para>
1648
1649 @widget: 
1650 @mode: 
1651
1652
1653 <!-- ##### FUNCTION gtk_widget_get_extension_events ##### -->
1654 <para>
1655
1656 </para>
1657
1658 @widget: 
1659 @Returns: 
1660
1661
1662 <!-- ##### FUNCTION gtk_widget_get_toplevel ##### -->
1663 <para>
1664
1665 </para>
1666
1667 @widget: 
1668 @Returns: 
1669
1670
1671 <!-- ##### FUNCTION gtk_widget_get_ancestor ##### -->
1672 <para>
1673
1674 </para>
1675
1676 @widget: 
1677 @widget_type: 
1678 @Returns: 
1679
1680
1681 <!-- ##### FUNCTION gtk_widget_get_colormap ##### -->
1682 <para>
1683
1684 </para>
1685
1686 @widget: 
1687 @Returns: 
1688
1689
1690 <!-- ##### FUNCTION gtk_widget_set_colormap ##### -->
1691 <para>
1692
1693 </para>
1694
1695 @widget: 
1696 @colormap: 
1697
1698
1699 <!-- ##### FUNCTION gtk_widget_get_visual ##### -->
1700 <para>
1701
1702 </para>
1703
1704 @widget: 
1705 @Returns: 
1706
1707
1708 <!-- ##### FUNCTION gtk_widget_get_events ##### -->
1709 <para>
1710
1711 </para>
1712
1713 @widget: 
1714 @Returns: 
1715
1716
1717 <!-- ##### FUNCTION gtk_widget_get_pointer ##### -->
1718 <para>
1719
1720 </para>
1721
1722 @widget: 
1723 @x: 
1724 @y: 
1725
1726
1727 <!-- ##### FUNCTION gtk_widget_is_ancestor ##### -->
1728 <para>
1729
1730 </para>
1731
1732 @widget: 
1733 @ancestor: 
1734 @Returns: 
1735
1736
1737 <!-- ##### FUNCTION gtk_widget_translate_coordinates ##### -->
1738 <para>
1739
1740 </para>
1741
1742 @src_widget: 
1743 @dest_widget: 
1744 @src_x: 
1745 @src_y: 
1746 @dest_x: 
1747 @dest_y: 
1748 @Returns: 
1749
1750
1751 <!-- ##### FUNCTION gtk_widget_hide_on_delete ##### -->
1752 <para>
1753
1754 </para>
1755
1756 @widget: 
1757 @Returns: 
1758
1759
1760 <!-- ##### FUNCTION gtk_widget_set_style ##### -->
1761 <para>
1762
1763 </para>
1764
1765 @widget: 
1766 @style: 
1767
1768
1769 <!-- ##### MACRO gtk_widget_set_rc_style ##### -->
1770 <para>
1771 Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
1772 </para>
1773
1774 @widget: a #GtkWidget.
1775
1776
1777 <!-- ##### FUNCTION gtk_widget_ensure_style ##### -->
1778 <para>
1779
1780 </para>
1781
1782 @widget: 
1783
1784
1785 <!-- ##### FUNCTION gtk_widget_get_style ##### -->
1786 <para>
1787
1788 </para>
1789
1790 @widget: 
1791 @Returns: 
1792
1793
1794 <!-- ##### MACRO gtk_widget_restore_default_style ##### -->
1795 <para>
1796 Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
1797 </para>
1798
1799 @widget: a #GtkWidget.
1800
1801
1802 <!-- ##### FUNCTION gtk_widget_reset_rc_styles ##### -->
1803 <para>
1804 Reset the styles of @widget and all descendents, so when 
1805 they are looked up again, they get the correct values 
1806 for the currently loaded RC file settings. 
1807 </para>
1808 <para>
1809 This function is not useful for applications.
1810 </para>
1811
1812 @widget: a #GtkWidget.
1813
1814
1815 <!-- ##### FUNCTION gtk_widget_push_colormap ##### -->
1816 <para>
1817
1818 </para>
1819
1820 @cmap: 
1821
1822
1823 <!-- ##### FUNCTION gtk_widget_pop_colormap ##### -->
1824 <para>
1825
1826 </para>
1827
1828
1829
1830 <!-- ##### FUNCTION gtk_widget_set_default_colormap ##### -->
1831 <para>
1832
1833 </para>
1834
1835 @colormap: 
1836
1837
1838 <!-- ##### FUNCTION gtk_widget_get_default_style ##### -->
1839 <para>
1840
1841 </para>
1842
1843 @Returns: 
1844
1845
1846 <!-- ##### FUNCTION gtk_widget_get_default_colormap ##### -->
1847 <para>
1848
1849 </para>
1850
1851 @Returns: 
1852
1853
1854 <!-- ##### FUNCTION gtk_widget_get_default_visual ##### -->
1855 <para>
1856
1857 </para>
1858
1859 @Returns: 
1860
1861
1862 <!-- ##### FUNCTION gtk_widget_set_direction ##### -->
1863 <para>
1864
1865 </para>
1866
1867 @widget: 
1868 @dir: 
1869
1870
1871 <!-- ##### ENUM GtkTextDirection ##### -->
1872 <para>
1873
1874 </para>
1875
1876 @GTK_TEXT_DIR_NONE: 
1877 @GTK_TEXT_DIR_LTR: 
1878 @GTK_TEXT_DIR_RTL: 
1879
1880 <!-- ##### FUNCTION gtk_widget_get_direction ##### -->
1881 <para>
1882
1883 </para>
1884
1885 @widget: 
1886 @Returns: 
1887
1888
1889 <!-- ##### FUNCTION gtk_widget_set_default_direction ##### -->
1890 <para>
1891
1892 </para>
1893
1894 @dir: 
1895
1896
1897 <!-- ##### FUNCTION gtk_widget_get_default_direction ##### -->
1898 <para>
1899
1900 </para>
1901
1902 @Returns: 
1903
1904
1905 <!-- ##### FUNCTION gtk_widget_shape_combine_mask ##### -->
1906 <para>
1907
1908 </para>
1909
1910 @widget: 
1911 @shape_mask: 
1912 @offset_x: 
1913 @offset_y: 
1914
1915
1916 <!-- ##### FUNCTION gtk_widget_input_shape_combine_mask ##### -->
1917 <para>
1918
1919 </para>
1920
1921 @widget: 
1922 @shape_mask: 
1923 @offset_x: 
1924 @offset_y: 
1925
1926
1927 <!-- ##### FUNCTION gtk_widget_path ##### -->
1928 <para>
1929
1930 </para>
1931
1932 @widget: 
1933 @path_length: 
1934 @path: 
1935 @path_reversed: 
1936
1937
1938 <!-- ##### FUNCTION gtk_widget_class_path ##### -->
1939 <para>
1940
1941 </para>
1942
1943 @widget: 
1944 @path_length: 
1945 @path: 
1946 @path_reversed: 
1947
1948
1949 <!-- ##### FUNCTION gtk_widget_get_composite_name ##### -->
1950 <para>
1951
1952 </para>
1953
1954 @widget: 
1955 @Returns: 
1956
1957
1958 <!-- ##### FUNCTION gtk_widget_modify_style ##### -->
1959 <para>
1960
1961 </para>
1962
1963 @widget: 
1964 @style: 
1965
1966
1967 <!-- ##### FUNCTION gtk_widget_get_modifier_style ##### -->
1968 <para>
1969
1970 </para>
1971
1972 @widget: 
1973 @Returns: 
1974
1975
1976 <!-- ##### FUNCTION gtk_widget_modify_fg ##### -->
1977 <para>
1978
1979 </para>
1980
1981 @widget: 
1982 @state: 
1983 @color: 
1984
1985
1986 <!-- ##### FUNCTION gtk_widget_modify_bg ##### -->
1987 <para>
1988
1989 </para>
1990
1991 @widget: 
1992 @state: 
1993 @color: 
1994
1995
1996 <!-- ##### FUNCTION gtk_widget_modify_text ##### -->
1997 <para>
1998
1999 </para>
2000
2001 @widget: 
2002 @state: 
2003 @color: 
2004
2005
2006 <!-- ##### FUNCTION gtk_widget_modify_base ##### -->
2007 <para>
2008
2009 </para>
2010
2011 @widget: 
2012 @state: 
2013 @color: 
2014
2015
2016 <!-- ##### FUNCTION gtk_widget_modify_font ##### -->
2017 <para>
2018
2019 </para>
2020
2021 @widget: 
2022 @font_desc: 
2023
2024
2025 <!-- ##### FUNCTION gtk_widget_modify_cursor ##### -->
2026 <para>
2027
2028 </para>
2029
2030 @widget: 
2031 @primary: 
2032 @secondary: 
2033
2034
2035 <!-- ##### FUNCTION gtk_widget_create_pango_context ##### -->
2036 <para>
2037
2038 </para>
2039
2040 @widget: 
2041 @Returns: 
2042
2043
2044 <!-- ##### FUNCTION gtk_widget_get_pango_context ##### -->
2045 <para>
2046
2047 </para>
2048
2049 @widget: 
2050 @Returns: 
2051
2052
2053 <!-- ##### FUNCTION gtk_widget_create_pango_layout ##### -->
2054 <para>
2055
2056 </para>
2057
2058 @widget: 
2059 @text: 
2060 @Returns: 
2061
2062
2063 <!-- ##### FUNCTION gtk_widget_render_icon ##### -->
2064 <para>
2065
2066 </para>
2067
2068 @widget: 
2069 @stock_id: 
2070 @size: 
2071 @detail: 
2072 @Returns: 
2073
2074
2075 <!-- ##### FUNCTION gtk_widget_pop_composite_child ##### -->
2076 <para>
2077
2078 </para>
2079
2080
2081
2082 <!-- ##### FUNCTION gtk_widget_push_composite_child ##### -->
2083 <para>
2084
2085 </para>
2086
2087
2088
2089 <!-- ##### FUNCTION gtk_widget_queue_clear ##### -->
2090 <para>
2091
2092 </para>
2093
2094 @widget: 
2095
2096
2097 <!-- ##### FUNCTION gtk_widget_queue_clear_area ##### -->
2098 <para>
2099
2100 </para>
2101
2102 @widget: 
2103 @x: 
2104 @y: 
2105 @width: 
2106 @height: 
2107
2108
2109 <!-- ##### FUNCTION gtk_widget_queue_draw_area ##### -->
2110 <para>
2111
2112 </para>
2113
2114 @widget: 
2115 @x: 
2116 @y: 
2117 @width: 
2118 @height: 
2119
2120
2121 <!-- ##### FUNCTION gtk_widget_reset_shapes ##### -->
2122 <para>
2123
2124 </para>
2125
2126 @widget: 
2127
2128
2129 <!-- ##### FUNCTION gtk_widget_set_app_paintable ##### -->
2130 <para>
2131
2132 </para>
2133
2134 @widget: 
2135 @app_paintable: 
2136
2137
2138 <!-- ##### FUNCTION gtk_widget_set_double_buffered ##### -->
2139 <para>
2140
2141 </para>
2142
2143 @widget: 
2144 @double_buffered: 
2145
2146
2147 <!-- ##### FUNCTION gtk_widget_set_redraw_on_allocate ##### -->
2148 <para>
2149
2150 </para>
2151
2152 @widget: 
2153 @redraw_on_allocate: 
2154
2155
2156 <!-- ##### FUNCTION gtk_widget_set_composite_name ##### -->
2157 <para>
2158
2159 </para>
2160
2161 @widget: 
2162 @name: 
2163
2164
2165 <!-- ##### FUNCTION gtk_widget_set_scroll_adjustments ##### -->
2166 <para>
2167
2168 </para>
2169
2170 @widget: 
2171 @hadjustment: 
2172 @vadjustment: 
2173 @Returns: 
2174
2175
2176 <!-- ##### FUNCTION gtk_widget_mnemonic_activate ##### -->
2177 <para>
2178
2179 </para>
2180
2181 @widget: 
2182 @group_cycling: 
2183 @Returns: 
2184
2185
2186 <!-- ##### FUNCTION gtk_widget_class_install_style_property ##### -->
2187 <para>
2188
2189 </para>
2190
2191 @klass: 
2192 @pspec: 
2193
2194
2195 <!-- ##### FUNCTION gtk_widget_class_install_style_property_parser ##### -->
2196 <para>
2197
2198 </para>
2199
2200 @klass: 
2201 @pspec: 
2202 @parser: 
2203
2204
2205 <!-- ##### FUNCTION gtk_widget_class_find_style_property ##### -->
2206 <para>
2207
2208 </para>
2209
2210 @klass: 
2211 @property_name: 
2212 @Returns: 
2213
2214
2215 <!-- ##### FUNCTION gtk_widget_class_list_style_properties ##### -->
2216 <para>
2217
2218 </para>
2219
2220 @klass: 
2221 @n_properties: 
2222 @Returns: 
2223
2224
2225 <!-- ##### FUNCTION gtk_widget_region_intersect ##### -->
2226 <para>
2227
2228 </para>
2229
2230 @widget: 
2231 @region: 
2232 @Returns: 
2233
2234
2235 <!-- ##### FUNCTION gtk_widget_send_expose ##### -->
2236 <para>
2237
2238 </para>
2239
2240 @widget: 
2241 @event: 
2242 @Returns: 
2243
2244
2245 <!-- ##### FUNCTION gtk_widget_style_get ##### -->
2246 <para>
2247
2248 </para>
2249
2250 @widget: 
2251 @first_property_name: 
2252 @Varargs: 
2253
2254
2255 <!-- ##### FUNCTION gtk_widget_style_get_property ##### -->
2256 <para>
2257
2258 </para>
2259
2260 @widget: 
2261 @property_name: 
2262 @value: 
2263
2264
2265 <!-- ##### FUNCTION gtk_widget_style_get_valist ##### -->
2266 <para>
2267
2268 </para>
2269
2270 @widget: 
2271 @first_property_name: 
2272 @var_args: 
2273
2274
2275 <!-- ##### FUNCTION gtk_widget_get_accessible ##### -->
2276 <para>
2277
2278 </para>
2279
2280 @widget: 
2281 @Returns: 
2282
2283
2284 <!-- ##### FUNCTION gtk_widget_child_focus ##### -->
2285 <para>
2286
2287 </para>
2288
2289 @widget: 
2290 @direction: 
2291 @Returns: 
2292
2293
2294 <!-- ##### FUNCTION gtk_widget_child_notify ##### -->
2295 <para>
2296
2297 </para>
2298
2299 @widget: 
2300 @child_property: 
2301
2302
2303 <!-- ##### FUNCTION gtk_widget_freeze_child_notify ##### -->
2304 <para>
2305
2306 </para>
2307
2308 @widget: 
2309
2310
2311 <!-- ##### FUNCTION gtk_widget_get_child_visible ##### -->
2312 <para>
2313
2314 </para>
2315
2316 @widget: 
2317 @Returns: 
2318
2319
2320 <!-- ##### FUNCTION gtk_widget_get_parent ##### -->
2321 <para>
2322
2323 </para>
2324
2325 @widget: 
2326 @Returns: 
2327
2328
2329 <!-- ##### FUNCTION gtk_widget_get_settings ##### -->
2330 <para>
2331
2332 </para>
2333
2334 @widget: 
2335 @Returns: 
2336
2337
2338 <!-- ##### FUNCTION gtk_widget_get_clipboard ##### -->
2339 <para>
2340
2341 </para>
2342
2343 @widget: 
2344 @selection: 
2345 @Returns: 
2346
2347
2348 <!-- ##### FUNCTION gtk_widget_get_display ##### -->
2349 <para>
2350
2351 </para>
2352
2353 @widget: 
2354 @Returns: 
2355
2356
2357 <!-- ##### FUNCTION gtk_widget_get_root_window ##### -->
2358 <para>
2359
2360 </para>
2361
2362 @widget: 
2363 @Returns: 
2364
2365
2366 <!-- ##### FUNCTION gtk_widget_get_screen ##### -->
2367 <para>
2368
2369 </para>
2370
2371 @widget: 
2372 @Returns: 
2373
2374
2375 <!-- ##### FUNCTION gtk_widget_has_screen ##### -->
2376 <para>
2377
2378 </para>
2379
2380 @widget: 
2381 @Returns: 
2382
2383
2384 <!-- ##### FUNCTION gtk_widget_get_size_request ##### -->
2385 <para>
2386
2387 </para>
2388
2389 @widget: 
2390 @width: 
2391 @height: 
2392
2393
2394 <!-- ##### MACRO gtk_widget_pop_visual ##### -->
2395 <para>
2396 This function is deprecated; it does nothing.
2397 </para>
2398
2399
2400
2401 <!-- ##### MACRO gtk_widget_push_visual ##### -->
2402 <para>
2403 This function is deprecated; it does nothing.
2404 </para>
2405
2406 @visual: 
2407
2408
2409 <!-- ##### FUNCTION gtk_widget_set_child_visible ##### -->
2410 <para>
2411
2412 </para>
2413
2414 @widget: 
2415 @is_visible: 
2416
2417
2418 <!-- ##### MACRO gtk_widget_set_default_visual ##### -->
2419 <para>
2420 This function is deprecated; it does nothing.
2421 </para>
2422
2423 @visual: 
2424
2425
2426 <!-- ##### FUNCTION gtk_widget_set_size_request ##### -->
2427 <para>
2428
2429 </para>
2430
2431 @widget: 
2432 @width: 
2433 @height: 
2434
2435
2436 <!-- ##### MACRO gtk_widget_set_visual ##### -->
2437 <para>
2438 This function is deprecated; it does nothing.
2439 </para>
2440
2441 @widget: 
2442 @visual: 
2443
2444
2445 <!-- ##### FUNCTION gtk_widget_thaw_child_notify ##### -->
2446 <para>
2447
2448 </para>
2449
2450 @widget: 
2451
2452
2453 <!-- ##### FUNCTION gtk_widget_set_no_show_all ##### -->
2454 <para>
2455
2456 </para>
2457
2458 @widget: 
2459 @no_show_all: 
2460
2461
2462 <!-- ##### FUNCTION gtk_widget_get_no_show_all ##### -->
2463 <para>
2464
2465 </para>
2466
2467 @widget: 
2468 @Returns: 
2469
2470
2471 <!-- ##### FUNCTION gtk_widget_list_mnemonic_labels ##### -->
2472 <para>
2473
2474 </para>
2475
2476 @widget: 
2477 @Returns: 
2478
2479
2480 <!-- ##### FUNCTION gtk_widget_add_mnemonic_label ##### -->
2481 <para>
2482
2483 </para>
2484
2485 @widget: 
2486 @label: 
2487
2488
2489 <!-- ##### FUNCTION gtk_widget_remove_mnemonic_label ##### -->
2490 <para>
2491
2492 </para>
2493
2494 @widget: 
2495 @label: 
2496
2497
2498 <!-- ##### FUNCTION gtk_widget_get_action ##### -->
2499 <para>
2500
2501 </para>
2502
2503 @widget: 
2504 @Returns: 
2505
2506
2507 <!-- ##### FUNCTION gtk_widget_is_composited ##### -->
2508 <para>
2509
2510 </para>
2511
2512 @widget: 
2513 @Returns: 
2514
2515
2516 <!-- ##### FUNCTION gtk_widget_error_bell ##### -->
2517 <para>
2518
2519 </para>
2520
2521 @widget: 
2522
2523
2524 <!-- ##### FUNCTION gtk_widget_keynav_failed ##### -->
2525 <para>
2526
2527 </para>
2528
2529 @widget: 
2530 @direction: 
2531 @Returns: 
2532
2533
2534 <!-- ##### FUNCTION gtk_widget_get_tooltip_markup ##### -->
2535 <para>
2536
2537 </para>
2538
2539 @widget: 
2540 @Returns: 
2541
2542
2543 <!-- ##### FUNCTION gtk_widget_set_tooltip_markup ##### -->
2544 <para>
2545
2546 </para>
2547
2548 @widget: 
2549 @markup: 
2550
2551
2552 <!-- ##### FUNCTION gtk_widget_get_tooltip_text ##### -->
2553 <para>
2554
2555 </para>
2556
2557 @widget: 
2558 @Returns: 
2559
2560
2561 <!-- ##### FUNCTION gtk_widget_set_tooltip_text ##### -->
2562 <para>
2563
2564 </para>
2565
2566 @widget: 
2567 @text: 
2568
2569
2570 <!-- ##### FUNCTION gtk_widget_get_tooltip_window ##### -->
2571 <para>
2572
2573 </para>
2574
2575 @widget: 
2576 @Returns: 
2577
2578
2579 <!-- ##### FUNCTION gtk_widget_set_tooltip_window ##### -->
2580 <para>
2581
2582 </para>
2583
2584 @widget: 
2585 @custom_window: 
2586
2587
2588 <!-- ##### FUNCTION gtk_widget_get_has_tooltip ##### -->
2589 <para>
2590
2591 </para>
2592
2593 @widget: 
2594 @Returns: 
2595
2596
2597 <!-- ##### FUNCTION gtk_widget_set_has_tooltip ##### -->
2598 <para>
2599
2600 </para>
2601
2602 @widget: 
2603 @has_tooltip: 
2604
2605
2606 <!-- ##### FUNCTION gtk_widget_trigger_tooltip_query ##### -->
2607 <para>
2608
2609 </para>
2610
2611 @widget: 
2612
2613
2614 <!-- ##### FUNCTION gtk_requisition_copy ##### -->
2615 <para>
2616
2617 </para>
2618
2619 @requisition: 
2620 @Returns: 
2621
2622
2623 <!-- ##### FUNCTION gtk_requisition_free ##### -->
2624 <para>
2625
2626 </para>
2627
2628 @requisition: 
2629
2630