]> Pileus Git - ~andy/gtk/blob - docs/reference/gtk/tmpl/gtkwidget.sgml
2.17.9
[~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" translatable="yes">Click the button.</action>
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:double-buffered ##### -->
697 <para>
698
699 </para>
700
701 <!-- ##### ARG GtkWidget:events ##### -->
702 <para>
703
704 </para>
705
706 <!-- ##### ARG GtkWidget:extension-events ##### -->
707 <para>
708
709 </para>
710
711 <!-- ##### ARG GtkWidget:has-default ##### -->
712 <para>
713
714 </para>
715
716 <!-- ##### ARG GtkWidget:has-focus ##### -->
717 <para>
718
719 </para>
720
721 <!-- ##### ARG GtkWidget:has-tooltip ##### -->
722 <para>
723
724 </para>
725
726 <!-- ##### ARG GtkWidget:height-request ##### -->
727 <para>
728
729 </para>
730
731 <!-- ##### ARG GtkWidget:is-focus ##### -->
732 <para>
733
734 </para>
735
736 <!-- ##### ARG GtkWidget:name ##### -->
737 <para>
738
739 </para>
740
741 <!-- ##### ARG GtkWidget:no-show-all ##### -->
742 <para>
743
744 </para>
745
746 <!-- ##### ARG GtkWidget:parent ##### -->
747 <para>
748
749 </para>
750
751 <!-- ##### ARG GtkWidget:receives-default ##### -->
752 <para>
753
754 </para>
755
756 <!-- ##### ARG GtkWidget:sensitive ##### -->
757 <para>
758
759 </para>
760
761 <!-- ##### ARG GtkWidget:style ##### -->
762 <para>
763
764 </para>
765
766 <!-- ##### ARG GtkWidget:tooltip-markup ##### -->
767 <para>
768
769 </para>
770
771 <!-- ##### ARG GtkWidget:tooltip-text ##### -->
772 <para>
773
774 </para>
775
776 <!-- ##### ARG GtkWidget:visible ##### -->
777 <para>
778
779 </para>
780
781 <!-- ##### ARG GtkWidget:width-request ##### -->
782 <para>
783
784 </para>
785
786 <!-- ##### ARG GtkWidget:window ##### -->
787 <para>
788
789 </para>
790
791 <!-- ##### ARG GtkWidget:cursor-aspect-ratio ##### -->
792 <para>
793
794 </para>
795
796 <!-- ##### ARG GtkWidget:cursor-color ##### -->
797 <para>
798
799 </para>
800
801 <!-- ##### ARG GtkWidget:draw-border ##### -->
802 <para>
803
804 </para>
805
806 <!-- ##### ARG GtkWidget:focus-line-pattern ##### -->
807 <para>
808
809 </para>
810
811 <!-- ##### ARG GtkWidget:focus-line-width ##### -->
812 <para>
813
814 </para>
815
816 <!-- ##### ARG GtkWidget:focus-padding ##### -->
817 <para>
818
819 </para>
820
821 <!-- ##### ARG GtkWidget:interior-focus ##### -->
822 <para>
823
824 </para>
825
826 <!-- ##### ARG GtkWidget:link-color ##### -->
827 <para>
828
829 </para>
830
831 <!-- ##### ARG GtkWidget:scroll-arrow-hlength ##### -->
832 <para>
833
834 </para>
835
836 <!-- ##### ARG GtkWidget:scroll-arrow-vlength ##### -->
837 <para>
838
839 </para>
840
841 <!-- ##### ARG GtkWidget:secondary-cursor-color ##### -->
842 <para>
843
844 </para>
845
846 <!-- ##### ARG GtkWidget:separator-height ##### -->
847 <para>
848
849 </para>
850
851 <!-- ##### ARG GtkWidget:separator-width ##### -->
852 <para>
853
854 </para>
855
856 <!-- ##### ARG GtkWidget:visited-link-color ##### -->
857 <para>
858
859 </para>
860
861 <!-- ##### ARG GtkWidget:wide-separators ##### -->
862 <para>
863
864 </para>
865
866 <!-- ##### STRUCT GtkWidgetClass ##### -->
867 <para>
868 <structfield>activate_signal</structfield>
869 The signal to emit when a widget of this class is activated,
870 gtk_widget_activate() handles the emission. Implementation of this
871 signal is optional. 
872 </para>
873
874 <para>
875 <structfield>set_scroll_adjustment_signal</structfield>
876 This signal is emitted  when a widget of this class is added
877 to a scrolling aware parent, gtk_widget_set_scroll_adjustments()
878 handles the emission.
879 Implementation of this signal is optional.
880 </para>
881
882 @parent_class: 
883 @activate_signal: 
884 @set_scroll_adjustments_signal: 
885
886 <!-- ##### ENUM GtkWidgetFlags ##### -->
887 <para>
888 Tells about certain properties of the widget.
889 </para>
890
891 @GTK_TOPLEVEL: 
892         widgets without a real parent, as there are #GtkWindow<!-- -->s and
893         #GtkMenu<!-- -->s have this flag set throughout their lifetime.
894         Toplevel widgets always contain their own #GdkWindow.
895 @GTK_NO_WINDOW: 
896         Indicative for a widget that does not provide its own #GdkWindow. 
897         Visible action (e.g. drawing) is performed on the parent's #GdkWindow.
898 @GTK_REALIZED: 
899         Set by gtk_widget_realize(), unset by gtk_widget_unrealize().
900         A realized widget has an associated #GdkWindow.
901 @GTK_MAPPED: 
902         Set by gtk_widget_map(), unset by gtk_widget_unmap().
903         Only realized widgets can be mapped. It means that gdk_window_show() 
904         has been called on the widgets window(s).
905 @GTK_VISIBLE: 
906         Set by gtk_widget_show(), unset by gtk_widget_hide(). Implies that a 
907         widget will be mapped as soon as its parent is mapped.
908 @GTK_SENSITIVE: 
909         Set and unset by gtk_widget_set_sensitive().
910         The sensitivity of a widget determines whether it will receive
911         certain events (e.g. button or key presses). One premise for
912         the widget's sensitivity is to have this flag set.
913 @GTK_PARENT_SENSITIVE: 
914         Set and unset by gtk_widget_set_sensitive() operations on the
915         parents of the widget.
916         This is the second premise for the widget's sensitivity. Once
917         it has %GTK_SENSITIVE and %GTK_PARENT_SENSITIVE set, its state is
918         effectively sensitive. This is expressed (and can be examined) by
919         the #GTK_WIDGET_IS_SENSITIVE macro.
920 @GTK_CAN_FOCUS: 
921         Determines whether a widget is able to handle focus grabs.
922 @GTK_HAS_FOCUS: 
923         Set by gtk_widget_grab_focus() for widgets that also
924         have %GTK_CAN_FOCUS set. The flag will be unset once another widget
925         grabs the focus.
926 @GTK_CAN_DEFAULT: 
927         The widget is allowed to receive the default action via 
928         gtk_widget_grab_default().
929 @GTK_HAS_DEFAULT: 
930         The widget currently is receiving the default action.
931 @GTK_HAS_GRAB: 
932         Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the 
933         widget is in the grab_widgets stack, and will be the preferred one for 
934         receiving events other than ones of cosmetic value.
935 @GTK_RC_STYLE: 
936         Indicates that the widget's style has been looked up through the rc 
937         mechanism. It does not imply that the widget actually had a style 
938         defined through the rc mechanism.
939 @GTK_COMPOSITE_CHILD: 
940         Indicates that the widget is a composite child of its parent; see 
941         gtk_widget_push_composite_child(), gtk_widget_pop_composite_child().
942 @GTK_NO_REPARENT: 
943         Unused since before GTK+ 1.2, will be removed in a future version.
944 @GTK_APP_PAINTABLE: 
945         Set and unset by gtk_widget_set_app_paintable().
946         Must be set on widgets whose window the application directly draws on, 
947         in order to keep GTK+ from overwriting the drawn stuff.  See
948         <xref linkend="app-paintable-widgets"/> for a detailed
949         description of this flag.
950 @GTK_RECEIVES_DEFAULT: 
951         The widget when focused will receive the default action and have 
952         %GTK_HAS_DEFAULT set even if there is a different widget set as default.
953 @GTK_DOUBLE_BUFFERED: 
954         Set and unset by gtk_widget_set_double_buffered().
955         Indicates that exposes done on the widget should be
956         double-buffered.  See <xref linkend="double-buffering"/> for a
957         detailed discussion of how double-buffering works in GTK+ and
958         why you may want to disable it for special cases.
959 @GTK_NO_SHOW_ALL: 
960
961 <!-- ##### MACRO GTK_WIDGET_TYPE ##### -->
962 <para>
963 Gets the type of a widget.
964 </para>
965
966 @wid: a #GtkWidget.
967
968
969 <!-- ##### MACRO GTK_WIDGET_STATE ##### -->
970 <para>
971 Returns the current state of the widget, as a #GtkStateType.
972 </para>
973
974 @wid: a #GtkWidget.
975
976
977 <!-- ##### MACRO GTK_WIDGET_SAVED_STATE ##### -->
978 <para>
979 Returns the saved state of the widget, as a #GtkStateType.
980 </para>
981 <para>
982 The saved state will be restored when a widget gets sensitive
983 again, after it has been made insensitive with gtk_widget_set_state()
984 or gtk_widget_set_sensitive().
985 </para>
986
987 @wid: a #GtkWidget.
988
989
990 <!-- ##### MACRO GTK_WIDGET_FLAGS ##### -->
991 <para>
992 Returns the widget flags from @wid.
993 </para>
994
995 @wid: a #GtkWidget.
996
997
998 <!-- ##### MACRO GTK_WIDGET_TOPLEVEL ##### -->
999 <para>
1000 Evaluates to %TRUE if the widget is a toplevel widget.
1001 </para>
1002
1003 @wid: a #GtkWidget.
1004
1005
1006 <!-- ##### MACRO GTK_WIDGET_NO_WINDOW ##### -->
1007 <para>
1008 Evaluates to %TRUE if the widget doesn't have an own #GdkWindow.
1009 </para>
1010
1011 @wid: a #GtkWidget.
1012
1013
1014 <!-- ##### MACRO GTK_WIDGET_REALIZED ##### -->
1015 <para>
1016 Evaluates to %TRUE if the widget is realized.
1017 </para>
1018
1019 @wid: a #GtkWidget.
1020
1021
1022 <!-- ##### MACRO GTK_WIDGET_MAPPED ##### -->
1023 <para>
1024 Evaluates to %TRUE if the widget is mapped.
1025 </para>
1026
1027 @wid: a #GtkWidget.
1028
1029
1030 <!-- ##### MACRO GTK_WIDGET_VISIBLE ##### -->
1031 <para>
1032 Evaluates to %TRUE if the widget is visible.
1033 </para>
1034
1035 @wid: a #GtkWidget.
1036
1037
1038 <!-- ##### MACRO GTK_WIDGET_DRAWABLE ##### -->
1039 <para>
1040 Evaluates to %TRUE if the widget is mapped and visible.
1041 </para>
1042
1043 @wid: a #GtkWidget.
1044
1045
1046 <!-- ##### MACRO GTK_WIDGET_SENSITIVE ##### -->
1047 <para>
1048 Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget.
1049 </para>
1050
1051 @wid: a #GtkWidget.
1052
1053
1054 <!-- ##### MACRO GTK_WIDGET_PARENT_SENSITIVE ##### -->
1055 <para>
1056 Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.
1057 </para>
1058
1059 @wid: a #GtkWidget.
1060
1061
1062 <!-- ##### MACRO GTK_WIDGET_IS_SENSITIVE ##### -->
1063 <para>
1064 Evaluates to %TRUE if the widget is effectively sensitive.
1065 </para>
1066
1067 @wid: a #GtkWidget.
1068
1069
1070 <!-- ##### MACRO GTK_WIDGET_CAN_FOCUS ##### -->
1071 <para>
1072 Evaluates to %TRUE if the widget is able to handle focus grabs.
1073 </para>
1074
1075 @wid: a #GtkWidget.
1076
1077
1078 <!-- ##### MACRO GTK_WIDGET_HAS_FOCUS ##### -->
1079 <para>
1080 Evaluates to %TRUE if the widget has grabbed the focus and no other
1081 widget has done so more recently.
1082 </para>
1083
1084 @wid: a #GtkWidget.
1085
1086
1087 <!-- ##### MACRO GTK_WIDGET_CAN_DEFAULT ##### -->
1088 <para>
1089 Evaluates to %TRUE if the widget is allowed to receive the default action 
1090 via gtk_widget_grab_default(). 
1091 </para>
1092
1093 @wid: a #GtkWidget.
1094
1095
1096 <!-- ##### MACRO GTK_WIDGET_RECEIVES_DEFAULT ##### -->
1097 <para>
1098 Evaluates to %TRUE if the widget when focused will receive the default action 
1099 even if there is a different widget set as default.
1100 </para>
1101
1102 @wid: a #GtkWidget.
1103
1104
1105 <!-- ##### MACRO GTK_WIDGET_HAS_DEFAULT ##### -->
1106 <para>
1107 Evaluates to %TRUE if the widget currently is receiving the default action.
1108 </para>
1109
1110 @wid: a #GtkWidget.
1111
1112
1113 <!-- ##### MACRO GTK_WIDGET_HAS_GRAB ##### -->
1114 <para>
1115 Evaluates to %TRUE if the widget is in the grab_widgets stack, and will be 
1116 the preferred one for receiving events other than ones of cosmetic value.
1117 </para>
1118
1119 @wid: a #GtkWidget.
1120
1121
1122 <!-- ##### MACRO GTK_WIDGET_RC_STYLE ##### -->
1123 <para>
1124 Evaluates to %TRUE if the widget's style has been looked up through the rc
1125 mechanism.
1126 </para>
1127
1128 @wid: a #GtkWidget.
1129
1130
1131 <!-- ##### MACRO GTK_WIDGET_COMPOSITE_CHILD ##### -->
1132 <para>
1133 Evaluates to %TRUE if the widget is a composite child of its parent.
1134 </para>
1135
1136 @wid: a #GtkWidget.
1137
1138
1139 <!-- ##### MACRO GTK_WIDGET_APP_PAINTABLE ##### -->
1140 <para>
1141 Evaluates to %TRUE if the #GTK_APP_PAINTABLE flag has been set on the widget.
1142 </para>
1143
1144 @wid: a #GtkWidget.
1145
1146
1147 <!-- ##### MACRO GTK_WIDGET_DOUBLE_BUFFERED ##### -->
1148 <para>
1149 Evaluates to %TRUE if the #GTK_DOUBLE_BUFFERED flag has been set on the widget.
1150 </para>
1151
1152 @wid: a #GtkWidget.
1153
1154
1155 <!-- ##### MACRO GTK_WIDGET_SET_FLAGS ##### -->
1156 <para>
1157 Turns on certain widget flags.
1158 </para>
1159
1160 @wid: a #GtkWidget.
1161 @flag: the flags to set.
1162
1163
1164 <!-- ##### MACRO GTK_WIDGET_UNSET_FLAGS ##### -->
1165 <para>
1166 Turns off certain widget flags.
1167 </para>
1168
1169 @wid: a #GtkWidget.
1170 @flag: the flags to unset.
1171
1172
1173 <!-- ##### USER_FUNCTION GtkCallback ##### -->
1174 <para>
1175 The type of the callback functions used for e.g. iterating over
1176 the children of a container, see gtk_container_foreach(). 
1177 </para>
1178
1179 @widget: the widget to operate on
1180 @data: user-supplied data
1181
1182
1183 <!-- ##### STRUCT GtkRequisition ##### -->
1184 <para>
1185 A <structname>GtkRequisition</structname> represents the desired size of a widget. See 
1186 <xref linkend="size-requisition"/> for more information.
1187 </para>
1188
1189 @width: the widget's desired width
1190 @height: the widget's desired height
1191
1192 <!-- ##### STRUCT GtkAllocation ##### -->
1193 <para>
1194 A <structname>GtkAllocation</structname> of a widget represents region which has been allocated to the 
1195 widget by its parent. It is a subregion of its parents allocation. See 
1196 <xref linkend="size-allocation"/> for more information.
1197 </para>
1198
1199 @x: the X position of the widget's area relative to its parents allocation.
1200 @y: the Y position of the widget's area relative to its parents allocation.
1201 @width: the width of the widget's allocated area.
1202 @height: the height of the widget's allocated area.
1203
1204 <!-- ##### STRUCT GtkSelectionData ##### -->
1205 <para>
1206
1207 </para>
1208
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 @Deprecated: Use gtk_widget_set_style() with a %NULL @style argument instead.
1785
1786
1787 <!-- ##### FUNCTION gtk_widget_ensure_style ##### -->
1788 <para>
1789
1790 </para>
1791
1792 @widget: 
1793
1794
1795 <!-- ##### FUNCTION gtk_widget_get_style ##### -->
1796 <para>
1797
1798 </para>
1799
1800 @widget: 
1801 @Returns: 
1802
1803
1804 <!-- ##### MACRO gtk_widget_restore_default_style ##### -->
1805 <para>
1806 Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
1807 </para>
1808
1809 @widget: a #GtkWidget.
1810 @Deprecated: Use gtk_widget_set_style() with a %NULL @style argument instead.
1811
1812
1813 <!-- ##### FUNCTION gtk_widget_reset_rc_styles ##### -->
1814 <para>
1815 Reset the styles of @widget and all descendents, so when 
1816 they are looked up again, they get the correct values 
1817 for the currently loaded RC file settings. 
1818 </para>
1819 <para>
1820 This function is not useful for applications.
1821 </para>
1822
1823 @widget: a #GtkWidget.
1824
1825
1826 <!-- ##### FUNCTION gtk_widget_push_colormap ##### -->
1827 <para>
1828
1829 </para>
1830
1831 @cmap: 
1832
1833
1834 <!-- ##### FUNCTION gtk_widget_pop_colormap ##### -->
1835 <para>
1836
1837 </para>
1838
1839
1840
1841 <!-- ##### FUNCTION gtk_widget_set_default_colormap ##### -->
1842 <para>
1843
1844 </para>
1845
1846 @colormap: 
1847
1848
1849 <!-- ##### FUNCTION gtk_widget_get_default_style ##### -->
1850 <para>
1851
1852 </para>
1853
1854 @Returns: 
1855
1856
1857 <!-- ##### FUNCTION gtk_widget_get_default_colormap ##### -->
1858 <para>
1859
1860 </para>
1861
1862 @Returns: 
1863
1864
1865 <!-- ##### FUNCTION gtk_widget_get_default_visual ##### -->
1866 <para>
1867
1868 </para>
1869
1870 @Returns: 
1871
1872
1873 <!-- ##### FUNCTION gtk_widget_set_direction ##### -->
1874 <para>
1875
1876 </para>
1877
1878 @widget: 
1879 @dir: 
1880
1881
1882 <!-- ##### ENUM GtkTextDirection ##### -->
1883 <para>
1884
1885 </para>
1886
1887 @GTK_TEXT_DIR_NONE: 
1888 @GTK_TEXT_DIR_LTR: 
1889 @GTK_TEXT_DIR_RTL: 
1890
1891 <!-- ##### FUNCTION gtk_widget_get_direction ##### -->
1892 <para>
1893
1894 </para>
1895
1896 @widget: 
1897 @Returns: 
1898
1899
1900 <!-- ##### FUNCTION gtk_widget_set_default_direction ##### -->
1901 <para>
1902
1903 </para>
1904
1905 @dir: 
1906
1907
1908 <!-- ##### FUNCTION gtk_widget_get_default_direction ##### -->
1909 <para>
1910
1911 </para>
1912
1913 @Returns: 
1914
1915
1916 <!-- ##### FUNCTION gtk_widget_shape_combine_mask ##### -->
1917 <para>
1918
1919 </para>
1920
1921 @widget: 
1922 @shape_mask: 
1923 @offset_x: 
1924 @offset_y: 
1925
1926
1927 <!-- ##### FUNCTION gtk_widget_input_shape_combine_mask ##### -->
1928 <para>
1929
1930 </para>
1931
1932 @widget: 
1933 @shape_mask: 
1934 @offset_x: 
1935 @offset_y: 
1936
1937
1938 <!-- ##### FUNCTION gtk_widget_path ##### -->
1939 <para>
1940
1941 </para>
1942
1943 @widget: 
1944 @path_length: 
1945 @path: 
1946 @path_reversed: 
1947
1948
1949 <!-- ##### FUNCTION gtk_widget_class_path ##### -->
1950 <para>
1951
1952 </para>
1953
1954 @widget: 
1955 @path_length: 
1956 @path: 
1957 @path_reversed: 
1958
1959
1960 <!-- ##### FUNCTION gtk_widget_get_composite_name ##### -->
1961 <para>
1962
1963 </para>
1964
1965 @widget: 
1966 @Returns: 
1967
1968
1969 <!-- ##### FUNCTION gtk_widget_modify_style ##### -->
1970 <para>
1971
1972 </para>
1973
1974 @widget: 
1975 @style: 
1976
1977
1978 <!-- ##### FUNCTION gtk_widget_get_modifier_style ##### -->
1979 <para>
1980
1981 </para>
1982
1983 @widget: 
1984 @Returns: 
1985
1986
1987 <!-- ##### FUNCTION gtk_widget_modify_fg ##### -->
1988 <para>
1989
1990 </para>
1991
1992 @widget: 
1993 @state: 
1994 @color: 
1995
1996
1997 <!-- ##### FUNCTION gtk_widget_modify_bg ##### -->
1998 <para>
1999
2000 </para>
2001
2002 @widget: 
2003 @state: 
2004 @color: 
2005
2006
2007 <!-- ##### FUNCTION gtk_widget_modify_text ##### -->
2008 <para>
2009
2010 </para>
2011
2012 @widget: 
2013 @state: 
2014 @color: 
2015
2016
2017 <!-- ##### FUNCTION gtk_widget_modify_base ##### -->
2018 <para>
2019
2020 </para>
2021
2022 @widget: 
2023 @state: 
2024 @color: 
2025
2026
2027 <!-- ##### FUNCTION gtk_widget_modify_font ##### -->
2028 <para>
2029
2030 </para>
2031
2032 @widget: 
2033 @font_desc: 
2034
2035
2036 <!-- ##### FUNCTION gtk_widget_modify_cursor ##### -->
2037 <para>
2038
2039 </para>
2040
2041 @widget: 
2042 @primary: 
2043 @secondary: 
2044
2045
2046 <!-- ##### FUNCTION gtk_widget_create_pango_context ##### -->
2047 <para>
2048
2049 </para>
2050
2051 @widget: 
2052 @Returns: 
2053
2054
2055 <!-- ##### FUNCTION gtk_widget_get_pango_context ##### -->
2056 <para>
2057
2058 </para>
2059
2060 @widget: 
2061 @Returns: 
2062
2063
2064 <!-- ##### FUNCTION gtk_widget_create_pango_layout ##### -->
2065 <para>
2066
2067 </para>
2068
2069 @widget: 
2070 @text: 
2071 @Returns: 
2072
2073
2074 <!-- ##### FUNCTION gtk_widget_render_icon ##### -->
2075 <para>
2076
2077 </para>
2078
2079 @widget: 
2080 @stock_id: 
2081 @size: 
2082 @detail: 
2083 @Returns: 
2084
2085
2086 <!-- ##### FUNCTION gtk_widget_pop_composite_child ##### -->
2087 <para>
2088
2089 </para>
2090
2091
2092
2093 <!-- ##### FUNCTION gtk_widget_push_composite_child ##### -->
2094 <para>
2095
2096 </para>
2097
2098
2099
2100 <!-- ##### FUNCTION gtk_widget_queue_clear ##### -->
2101 <para>
2102
2103 </para>
2104
2105 @widget: 
2106
2107
2108 <!-- ##### FUNCTION gtk_widget_queue_clear_area ##### -->
2109 <para>
2110
2111 </para>
2112
2113 @widget: 
2114 @x: 
2115 @y: 
2116 @width: 
2117 @height: 
2118
2119
2120 <!-- ##### FUNCTION gtk_widget_queue_draw_area ##### -->
2121 <para>
2122
2123 </para>
2124
2125 @widget: 
2126 @x: 
2127 @y: 
2128 @width: 
2129 @height: 
2130
2131
2132 <!-- ##### FUNCTION gtk_widget_reset_shapes ##### -->
2133 <para>
2134
2135 </para>
2136
2137 @widget: 
2138
2139
2140 <!-- ##### FUNCTION gtk_widget_set_app_paintable ##### -->
2141 <para>
2142
2143 </para>
2144
2145 @widget: 
2146 @app_paintable: 
2147
2148
2149 <!-- ##### FUNCTION gtk_widget_set_double_buffered ##### -->
2150 <para>
2151
2152 </para>
2153
2154 @widget: 
2155 @double_buffered: 
2156
2157
2158 <!-- ##### FUNCTION gtk_widget_set_redraw_on_allocate ##### -->
2159 <para>
2160
2161 </para>
2162
2163 @widget: 
2164 @redraw_on_allocate: 
2165
2166
2167 <!-- ##### FUNCTION gtk_widget_set_composite_name ##### -->
2168 <para>
2169
2170 </para>
2171
2172 @widget: 
2173 @name: 
2174
2175
2176 <!-- ##### FUNCTION gtk_widget_set_scroll_adjustments ##### -->
2177 <para>
2178
2179 </para>
2180
2181 @widget: 
2182 @hadjustment: 
2183 @vadjustment: 
2184 @Returns: 
2185
2186
2187 <!-- ##### FUNCTION gtk_widget_mnemonic_activate ##### -->
2188 <para>
2189
2190 </para>
2191
2192 @widget: 
2193 @group_cycling: 
2194 @Returns: 
2195
2196
2197 <!-- ##### FUNCTION gtk_widget_class_install_style_property ##### -->
2198 <para>
2199
2200 </para>
2201
2202 @klass: 
2203 @pspec: 
2204
2205
2206 <!-- ##### FUNCTION gtk_widget_class_install_style_property_parser ##### -->
2207 <para>
2208
2209 </para>
2210
2211 @klass: 
2212 @pspec: 
2213 @parser: 
2214
2215
2216 <!-- ##### FUNCTION gtk_widget_class_find_style_property ##### -->
2217 <para>
2218
2219 </para>
2220
2221 @klass: 
2222 @property_name: 
2223 @Returns: 
2224
2225
2226 <!-- ##### FUNCTION gtk_widget_class_list_style_properties ##### -->
2227 <para>
2228
2229 </para>
2230
2231 @klass: 
2232 @n_properties: 
2233 @Returns: 
2234
2235
2236 <!-- ##### FUNCTION gtk_widget_region_intersect ##### -->
2237 <para>
2238
2239 </para>
2240
2241 @widget: 
2242 @region: 
2243 @Returns: 
2244
2245
2246 <!-- ##### FUNCTION gtk_widget_send_expose ##### -->
2247 <para>
2248
2249 </para>
2250
2251 @widget: 
2252 @event: 
2253 @Returns: 
2254
2255
2256 <!-- ##### FUNCTION gtk_widget_style_get ##### -->
2257 <para>
2258
2259 </para>
2260
2261 @widget: 
2262 @first_property_name: 
2263 @Varargs: 
2264
2265
2266 <!-- ##### FUNCTION gtk_widget_style_get_property ##### -->
2267 <para>
2268
2269 </para>
2270
2271 @widget: 
2272 @property_name: 
2273 @value: 
2274
2275
2276 <!-- ##### FUNCTION gtk_widget_style_get_valist ##### -->
2277 <para>
2278
2279 </para>
2280
2281 @widget: 
2282 @first_property_name: 
2283 @var_args: 
2284
2285
2286 <!-- ##### FUNCTION gtk_widget_get_accessible ##### -->
2287 <para>
2288
2289 </para>
2290
2291 @widget: 
2292 @Returns: 
2293
2294
2295 <!-- ##### FUNCTION gtk_widget_child_focus ##### -->
2296 <para>
2297
2298 </para>
2299
2300 @widget: 
2301 @direction: 
2302 @Returns: 
2303
2304
2305 <!-- ##### FUNCTION gtk_widget_child_notify ##### -->
2306 <para>
2307
2308 </para>
2309
2310 @widget: 
2311 @child_property: 
2312
2313
2314 <!-- ##### FUNCTION gtk_widget_freeze_child_notify ##### -->
2315 <para>
2316
2317 </para>
2318
2319 @widget: 
2320
2321
2322 <!-- ##### FUNCTION gtk_widget_get_child_visible ##### -->
2323 <para>
2324
2325 </para>
2326
2327 @widget: 
2328 @Returns: 
2329
2330
2331 <!-- ##### FUNCTION gtk_widget_get_parent ##### -->
2332 <para>
2333
2334 </para>
2335
2336 @widget: 
2337 @Returns: 
2338
2339
2340 <!-- ##### FUNCTION gtk_widget_get_settings ##### -->
2341 <para>
2342
2343 </para>
2344
2345 @widget: 
2346 @Returns: 
2347
2348
2349 <!-- ##### FUNCTION gtk_widget_get_clipboard ##### -->
2350 <para>
2351
2352 </para>
2353
2354 @widget: 
2355 @selection: 
2356 @Returns: 
2357
2358
2359 <!-- ##### FUNCTION gtk_widget_get_display ##### -->
2360 <para>
2361
2362 </para>
2363
2364 @widget: 
2365 @Returns: 
2366
2367
2368 <!-- ##### FUNCTION gtk_widget_get_root_window ##### -->
2369 <para>
2370
2371 </para>
2372
2373 @widget: 
2374 @Returns: 
2375
2376
2377 <!-- ##### FUNCTION gtk_widget_get_screen ##### -->
2378 <para>
2379
2380 </para>
2381
2382 @widget: 
2383 @Returns: 
2384
2385
2386 <!-- ##### FUNCTION gtk_widget_has_screen ##### -->
2387 <para>
2388
2389 </para>
2390
2391 @widget: 
2392 @Returns: 
2393
2394
2395 <!-- ##### FUNCTION gtk_widget_get_size_request ##### -->
2396 <para>
2397
2398 </para>
2399
2400 @widget: 
2401 @width: 
2402 @height: 
2403
2404
2405 <!-- ##### MACRO gtk_widget_pop_visual ##### -->
2406 <para>
2407 This function is deprecated; it does nothing.
2408 </para>
2409
2410
2411
2412 <!-- ##### MACRO gtk_widget_push_visual ##### -->
2413 <para>
2414 This function is deprecated; it does nothing.
2415 </para>
2416
2417 @visual: a visual
2418
2419
2420 <!-- ##### FUNCTION gtk_widget_set_child_visible ##### -->
2421 <para>
2422
2423 </para>
2424
2425 @widget: 
2426 @is_visible: 
2427
2428
2429 <!-- ##### MACRO gtk_widget_set_default_visual ##### -->
2430 <para>
2431 This function is deprecated; it does nothing.
2432 </para>
2433
2434 @visual: a visual
2435
2436
2437 <!-- ##### FUNCTION gtk_widget_set_size_request ##### -->
2438 <para>
2439
2440 </para>
2441
2442 @widget: 
2443 @width: 
2444 @height: 
2445
2446
2447 <!-- ##### MACRO gtk_widget_set_visual ##### -->
2448 <para>
2449 This function is deprecated; it does nothing.
2450 </para>
2451
2452 @widget: a #GtkWidget
2453 @visual: a visual
2454
2455
2456 <!-- ##### FUNCTION gtk_widget_thaw_child_notify ##### -->
2457 <para>
2458
2459 </para>
2460
2461 @widget: 
2462
2463
2464 <!-- ##### FUNCTION gtk_widget_set_no_show_all ##### -->
2465 <para>
2466
2467 </para>
2468
2469 @widget: 
2470 @no_show_all: 
2471
2472
2473 <!-- ##### FUNCTION gtk_widget_get_no_show_all ##### -->
2474 <para>
2475
2476 </para>
2477
2478 @widget: 
2479 @Returns: 
2480
2481
2482 <!-- ##### FUNCTION gtk_widget_list_mnemonic_labels ##### -->
2483 <para>
2484
2485 </para>
2486
2487 @widget: 
2488 @Returns: 
2489
2490
2491 <!-- ##### FUNCTION gtk_widget_add_mnemonic_label ##### -->
2492 <para>
2493
2494 </para>
2495
2496 @widget: 
2497 @label: 
2498
2499
2500 <!-- ##### FUNCTION gtk_widget_remove_mnemonic_label ##### -->
2501 <para>
2502
2503 </para>
2504
2505 @widget: 
2506 @label: 
2507
2508
2509 <!-- ##### FUNCTION gtk_widget_get_action ##### -->
2510 <para>
2511
2512 </para>
2513
2514 @widget: 
2515 @Returns: 
2516
2517
2518 <!-- ##### FUNCTION gtk_widget_is_composited ##### -->
2519 <para>
2520
2521 </para>
2522
2523 @widget: 
2524 @Returns: 
2525
2526
2527 <!-- ##### FUNCTION gtk_widget_error_bell ##### -->
2528 <para>
2529
2530 </para>
2531
2532 @widget: 
2533
2534
2535 <!-- ##### FUNCTION gtk_widget_keynav_failed ##### -->
2536 <para>
2537
2538 </para>
2539
2540 @widget: 
2541 @direction: 
2542 @Returns: 
2543
2544
2545 <!-- ##### FUNCTION gtk_widget_get_tooltip_markup ##### -->
2546 <para>
2547
2548 </para>
2549
2550 @widget: 
2551 @Returns: 
2552
2553
2554 <!-- ##### FUNCTION gtk_widget_set_tooltip_markup ##### -->
2555 <para>
2556
2557 </para>
2558
2559 @widget: 
2560 @markup: 
2561
2562
2563 <!-- ##### FUNCTION gtk_widget_get_tooltip_text ##### -->
2564 <para>
2565
2566 </para>
2567
2568 @widget: 
2569 @Returns: 
2570
2571
2572 <!-- ##### FUNCTION gtk_widget_set_tooltip_text ##### -->
2573 <para>
2574
2575 </para>
2576
2577 @widget: 
2578 @text: 
2579
2580
2581 <!-- ##### FUNCTION gtk_widget_get_tooltip_window ##### -->
2582 <para>
2583
2584 </para>
2585
2586 @widget: 
2587 @Returns: 
2588
2589
2590 <!-- ##### FUNCTION gtk_widget_set_tooltip_window ##### -->
2591 <para>
2592
2593 </para>
2594
2595 @widget: 
2596 @custom_window: 
2597
2598
2599 <!-- ##### FUNCTION gtk_widget_get_has_tooltip ##### -->
2600 <para>
2601
2602 </para>
2603
2604 @widget: 
2605 @Returns: 
2606
2607
2608 <!-- ##### FUNCTION gtk_widget_set_has_tooltip ##### -->
2609 <para>
2610
2611 </para>
2612
2613 @widget: 
2614 @has_tooltip: 
2615
2616
2617 <!-- ##### FUNCTION gtk_widget_trigger_tooltip_query ##### -->
2618 <para>
2619
2620 </para>
2621
2622 @widget: 
2623
2624
2625 <!-- ##### FUNCTION gtk_widget_get_snapshot ##### -->
2626 <para>
2627
2628 </para>
2629
2630 @widget: 
2631 @clip_rect: 
2632 @Returns: 
2633
2634
2635 <!-- ##### FUNCTION gtk_widget_get_window ##### -->
2636 <para>
2637
2638 </para>
2639
2640 @widget: 
2641 @Returns: 
2642
2643
2644 <!-- ##### FUNCTION gtk_widget_get_allocation ##### -->
2645 <para>
2646
2647 </para>
2648
2649 @widget: 
2650 @allocation: 
2651
2652
2653 <!-- ##### FUNCTION gtk_widget_set_allocation ##### -->
2654 <para>
2655
2656 </para>
2657
2658 @widget: 
2659 @allocation: 
2660
2661
2662 <!-- ##### FUNCTION gtk_widget_get_app_paintable ##### -->
2663 <para>
2664
2665 </para>
2666
2667 @widget: 
2668 @Returns: 
2669
2670
2671 <!-- ##### FUNCTION gtk_widget_get_can_default ##### -->
2672 <para>
2673
2674 </para>
2675
2676 @widget: 
2677 @Returns: 
2678
2679
2680 <!-- ##### FUNCTION gtk_widget_set_can_default ##### -->
2681 <para>
2682
2683 </para>
2684
2685 @widget: 
2686 @can_default: 
2687
2688
2689 <!-- ##### FUNCTION gtk_widget_get_can_focus ##### -->
2690 <para>
2691
2692 </para>
2693
2694 @widget: 
2695 @Returns: 
2696
2697
2698 <!-- ##### FUNCTION gtk_widget_set_can_focus ##### -->
2699 <para>
2700
2701 </para>
2702
2703 @widget: 
2704 @can_focus: 
2705
2706
2707 <!-- ##### FUNCTION gtk_widget_get_double_buffered ##### -->
2708 <para>
2709
2710 </para>
2711
2712 @widget: 
2713 @Returns: 
2714
2715
2716 <!-- ##### FUNCTION gtk_widget_get_has_window ##### -->
2717 <para>
2718
2719 </para>
2720
2721 @widget: 
2722 @Returns: 
2723
2724
2725 <!-- ##### FUNCTION gtk_widget_set_has_window ##### -->
2726 <para>
2727
2728 </para>
2729
2730 @widget: 
2731 @has_window: 
2732
2733
2734 <!-- ##### FUNCTION gtk_widget_get_sensitive ##### -->
2735 <para>
2736
2737 </para>
2738
2739 @widget: 
2740 @Returns: 
2741
2742
2743 <!-- ##### FUNCTION gtk_widget_is_sensitive ##### -->
2744 <para>
2745
2746 </para>
2747
2748 @widget: 
2749 @Returns: 
2750
2751
2752 <!-- ##### FUNCTION gtk_widget_get_state ##### -->
2753 <para>
2754
2755 </para>
2756
2757 @widget: 
2758 @Returns: 
2759
2760
2761 <!-- ##### FUNCTION gtk_widget_get_visible ##### -->
2762 <para>
2763
2764 </para>
2765
2766 @widget: 
2767 @Returns: 
2768
2769
2770 <!-- ##### FUNCTION gtk_widget_set_visible ##### -->
2771 <para>
2772
2773 </para>
2774
2775 @widget: 
2776 @visible: 
2777
2778
2779 <!-- ##### FUNCTION gtk_widget_has_default ##### -->
2780 <para>
2781
2782 </para>
2783
2784 @widget: 
2785 @Returns: 
2786
2787
2788 <!-- ##### FUNCTION gtk_widget_has_focus ##### -->
2789 <para>
2790
2791 </para>
2792
2793 @widget: 
2794 @Returns: 
2795
2796
2797 <!-- ##### FUNCTION gtk_widget_has_grab ##### -->
2798 <para>
2799
2800 </para>
2801
2802 @widget: 
2803 @Returns: 
2804
2805
2806 <!-- ##### FUNCTION gtk_requisition_copy ##### -->
2807 <para>
2808
2809 </para>
2810
2811 @requisition: 
2812 @Returns: 
2813
2814
2815 <!-- ##### FUNCTION gtk_requisition_free ##### -->
2816 <para>
2817
2818 </para>
2819
2820 @requisition: 
2821
2822