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