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