1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
7 <!-- ##### SECTION Long_Description ##### -->
12 <!-- ##### SECTION See_Also ##### -->
17 <!-- ##### STRUCT GtkWidget ##### -->
23 <!-- ##### ENUM GtkWidgetFlags ##### -->
34 @GTK_PARENT_SENSITIVE:
44 @GTK_RECEIVES_DEFAULT:
47 <!-- ##### MACRO GTK_WIDGET_TYPE ##### -->
55 <!-- ##### MACRO GTK_WIDGET_STATE ##### -->
63 <!-- ##### MACRO GTK_WIDGET_SAVED_STATE ##### -->
71 <!-- ##### MACRO GTK_WIDGET_FLAGS ##### -->
79 <!-- ##### MACRO GTK_WIDGET_TOPLEVEL ##### -->
87 <!-- ##### MACRO GTK_WIDGET_NO_WINDOW ##### -->
95 <!-- ##### MACRO GTK_WIDGET_REALIZED ##### -->
103 <!-- ##### MACRO GTK_WIDGET_MAPPED ##### -->
111 <!-- ##### MACRO GTK_WIDGET_VISIBLE ##### -->
119 <!-- ##### MACRO GTK_WIDGET_DRAWABLE ##### -->
127 <!-- ##### MACRO GTK_WIDGET_SENSITIVE ##### -->
135 <!-- ##### MACRO GTK_WIDGET_PARENT_SENSITIVE ##### -->
143 <!-- ##### MACRO GTK_WIDGET_IS_SENSITIVE ##### -->
151 <!-- ##### MACRO GTK_WIDGET_CAN_FOCUS ##### -->
159 <!-- ##### MACRO GTK_WIDGET_HAS_FOCUS ##### -->
167 <!-- ##### MACRO GTK_WIDGET_CAN_DEFAULT ##### -->
175 <!-- ##### MACRO GTK_WIDGET_RECEIVES_DEFAULT ##### -->
183 <!-- ##### MACRO GTK_WIDGET_HAS_DEFAULT ##### -->
191 <!-- ##### MACRO GTK_WIDGET_HAS_GRAB ##### -->
199 <!-- ##### MACRO GTK_WIDGET_RC_STYLE ##### -->
207 <!-- ##### MACRO GTK_WIDGET_COMPOSITE_CHILD ##### -->
215 <!-- ##### MACRO GTK_WIDGET_APP_PAINTABLE ##### -->
223 <!-- ##### MACRO GTK_WIDGET_DOUBLE_BUFFERED ##### -->
231 <!-- ##### MACRO GTK_WIDGET_SET_FLAGS ##### -->
240 <!-- ##### MACRO GTK_WIDGET_UNSET_FLAGS ##### -->
249 <!-- ##### USER_FUNCTION GtkCallback ##### -->
258 <!-- ##### STRUCT GtkRequisition ##### -->
266 <!-- ##### STRUCT GtkAllocation ##### -->
276 <!-- ##### STRUCT GtkSelectionData ##### -->
288 <!-- ##### STRUCT GtkWidgetAuxInfo ##### -->
300 <!-- ##### STRUCT GtkWidgetShapeInfo ##### -->
309 <!-- ##### ENUM GtkWidgetHelpType ##### -->
314 @GTK_WIDGET_HELP_TOOLTIP:
315 @GTK_WIDGET_HELP_WHATS_THIS:
317 <!-- ##### FUNCTION gtk_widget_new ##### -->
323 @first_property_name:
326 <!-- # Unused Parameters # -->
330 <!-- ##### FUNCTION gtk_widget_ref ##### -->
339 <!-- ##### FUNCTION gtk_widget_unref ##### -->
347 <!-- ##### FUNCTION gtk_widget_destroy ##### -->
355 <!-- ##### FUNCTION gtk_widget_destroyed ##### -->
364 <!-- ##### FUNCTION gtk_widget_set ##### -->
370 @first_property_name:
372 <!-- # Unused Parameters # -->
376 <!-- ##### FUNCTION gtk_widget_unparent ##### -->
384 <!-- ##### FUNCTION gtk_widget_show ##### -->
392 <!-- ##### FUNCTION gtk_widget_show_now ##### -->
400 <!-- ##### FUNCTION gtk_widget_hide ##### -->
408 <!-- ##### FUNCTION gtk_widget_show_all ##### -->
416 <!-- ##### FUNCTION gtk_widget_hide_all ##### -->
424 <!-- ##### FUNCTION gtk_widget_map ##### -->
432 <!-- ##### FUNCTION gtk_widget_unmap ##### -->
440 <!-- ##### FUNCTION gtk_widget_realize ##### -->
448 <!-- ##### FUNCTION gtk_widget_unrealize ##### -->
456 <!-- ##### FUNCTION gtk_widget_queue_draw ##### -->
464 <!-- ##### FUNCTION gtk_widget_queue_resize ##### -->
472 <!-- ##### FUNCTION gtk_widget_draw ##### -->
481 <!-- ##### FUNCTION gtk_widget_size_request ##### -->
490 <!-- ##### FUNCTION gtk_widget_get_child_requisition ##### -->
499 <!-- ##### FUNCTION gtk_widget_size_allocate ##### -->
508 <!-- ##### FUNCTION gtk_widget_add_accelerator ##### -->
521 <!-- ##### FUNCTION gtk_widget_remove_accelerator ##### -->
533 <!-- ##### FUNCTION gtk_widget_list_accel_closures ##### -->
542 <!-- ##### FUNCTION gtk_widget_event ##### -->
552 <!-- ##### FUNCTION gtk_widget_activate ##### -->
561 <!-- ##### FUNCTION gtk_widget_reparent ##### -->
570 <!-- ##### FUNCTION gtk_widget_intersect ##### -->
581 <!-- ##### FUNCTION gtk_widget_is_focus ##### -->
590 <!-- ##### FUNCTION gtk_widget_grab_focus ##### -->
598 <!-- ##### FUNCTION gtk_widget_grab_default ##### -->
606 <!-- ##### FUNCTION gtk_widget_set_name ##### -->
615 <!-- ##### FUNCTION gtk_widget_get_name ##### -->
624 <!-- ##### FUNCTION gtk_widget_set_state ##### -->
633 <!-- ##### FUNCTION gtk_widget_set_sensitive ##### -->
642 <!-- ##### FUNCTION gtk_widget_set_parent ##### -->
651 <!-- ##### FUNCTION gtk_widget_set_parent_window ##### -->
660 <!-- ##### FUNCTION gtk_widget_get_parent_window ##### -->
669 <!-- ##### FUNCTION gtk_widget_set_uposition ##### -->
679 <!-- ##### FUNCTION gtk_widget_set_usize ##### -->
689 <!-- ##### FUNCTION gtk_widget_set_events ##### -->
698 <!-- ##### FUNCTION gtk_widget_add_events ##### -->
707 <!-- ##### FUNCTION gtk_widget_set_extension_events ##### -->
716 <!-- ##### FUNCTION gtk_widget_get_extension_events ##### -->
725 <!-- ##### FUNCTION gtk_widget_get_toplevel ##### -->
734 <!-- ##### FUNCTION gtk_widget_get_ancestor ##### -->
744 <!-- ##### FUNCTION gtk_widget_get_colormap ##### -->
753 <!-- ##### FUNCTION gtk_widget_set_colormap ##### -->
762 <!-- ##### FUNCTION gtk_widget_get_visual ##### -->
771 <!-- ##### FUNCTION gtk_widget_get_events ##### -->
780 <!-- ##### FUNCTION gtk_widget_get_pointer ##### -->
790 <!-- ##### FUNCTION gtk_widget_is_ancestor ##### -->
800 <!-- ##### FUNCTION gtk_widget_translate_coordinates ##### -->
814 <!-- ##### FUNCTION gtk_widget_hide_on_delete ##### -->
823 <!-- ##### FUNCTION gtk_widget_set_style ##### -->
832 <!-- ##### MACRO gtk_widget_set_rc_style ##### -->
840 <!-- ##### FUNCTION gtk_widget_ensure_style ##### -->
848 <!-- ##### FUNCTION gtk_widget_get_style ##### -->
857 <!-- ##### MACRO gtk_widget_restore_default_style ##### -->
865 <!-- ##### FUNCTION gtk_widget_reset_rc_styles ##### -->
873 <!-- ##### FUNCTION gtk_widget_push_colormap ##### -->
881 <!-- ##### FUNCTION gtk_widget_pop_colormap ##### -->
888 <!-- ##### FUNCTION gtk_widget_set_default_colormap ##### -->
896 <!-- ##### FUNCTION gtk_widget_get_default_style ##### -->
904 <!-- ##### FUNCTION gtk_widget_get_default_colormap ##### -->
912 <!-- ##### FUNCTION gtk_widget_get_default_visual ##### -->
920 <!-- ##### FUNCTION gtk_widget_set_direction ##### -->
929 <!-- ##### ENUM GtkTextDirection ##### -->
938 <!-- ##### FUNCTION gtk_widget_get_direction ##### -->
947 <!-- ##### FUNCTION gtk_widget_set_default_direction ##### -->
955 <!-- ##### FUNCTION gtk_widget_get_default_direction ##### -->
963 <!-- ##### FUNCTION gtk_widget_shape_combine_mask ##### -->
974 <!-- ##### FUNCTION gtk_widget_path ##### -->
985 <!-- ##### FUNCTION gtk_widget_class_path ##### -->
996 <!-- ##### FUNCTION gtk_widget_get_composite_name ##### -->
1005 <!-- ##### FUNCTION gtk_widget_modify_style ##### -->
1014 <!-- ##### FUNCTION gtk_widget_get_modifier_style ##### -->
1023 <!-- ##### FUNCTION gtk_widget_modify_fg ##### -->
1033 <!-- ##### FUNCTION gtk_widget_modify_bg ##### -->
1043 <!-- ##### FUNCTION gtk_widget_modify_text ##### -->
1053 <!-- ##### FUNCTION gtk_widget_modify_base ##### -->
1063 <!-- ##### FUNCTION gtk_widget_modify_font ##### -->
1072 <!-- ##### FUNCTION gtk_widget_create_pango_context ##### -->
1081 <!-- ##### FUNCTION gtk_widget_get_pango_context ##### -->
1090 <!-- ##### FUNCTION gtk_widget_create_pango_layout ##### -->
1100 <!-- ##### FUNCTION gtk_widget_render_icon ##### -->
1112 <!-- ##### FUNCTION gtk_widget_pop_composite_child ##### -->
1119 <!-- ##### FUNCTION gtk_widget_push_composite_child ##### -->
1126 <!-- ##### FUNCTION gtk_widget_queue_clear ##### -->
1134 <!-- ##### FUNCTION gtk_widget_queue_clear_area ##### -->
1146 <!-- ##### FUNCTION gtk_widget_queue_draw_area ##### -->
1158 <!-- ##### FUNCTION gtk_widget_reset_shapes ##### -->
1166 <!-- ##### FUNCTION gtk_widget_set_app_paintable ##### -->
1175 <!-- ##### FUNCTION gtk_widget_set_double_buffered ##### -->
1184 <!-- ##### FUNCTION gtk_widget_set_redraw_on_allocate ##### -->
1190 @redraw_on_allocate:
1193 <!-- ##### FUNCTION gtk_widget_set_composite_name ##### -->
1202 <!-- ##### FUNCTION gtk_widget_set_scroll_adjustments ##### -->
1213 <!-- ##### FUNCTION gtk_widget_mnemonic_activate ##### -->
1223 <!-- ##### FUNCTION gtk_widget_class_install_style_property ##### -->
1230 <!-- # Unused Parameters # -->
1234 <!-- ##### FUNCTION gtk_widget_class_install_style_property_parser ##### -->
1242 <!-- # Unused Parameters # -->
1246 <!-- ##### FUNCTION gtk_widget_region_intersect ##### -->
1256 <!-- ##### FUNCTION gtk_widget_send_expose ##### -->
1266 <!-- ##### FUNCTION gtk_widget_style_get ##### -->
1272 @first_property_name:
1276 <!-- ##### FUNCTION gtk_widget_style_get_property ##### -->
1286 <!-- ##### FUNCTION gtk_widget_style_get_valist ##### -->
1292 @first_property_name:
1296 <!-- ##### FUNCTION gtk_widget_get_accessible ##### -->
1305 <!-- ##### FUNCTION gtk_widget_child_focus ##### -->
1315 <!-- ##### FUNCTION gtk_widget_child_notify ##### -->
1324 <!-- ##### FUNCTION gtk_widget_freeze_child_notify ##### -->
1332 <!-- ##### FUNCTION gtk_widget_get_child_visible ##### -->
1341 <!-- ##### FUNCTION gtk_widget_get_parent ##### -->
1350 <!-- ##### FUNCTION gtk_widget_get_settings ##### -->
1359 <!-- ##### FUNCTION gtk_widget_get_size_request ##### -->
1369 <!-- ##### MACRO gtk_widget_pop_visual ##### -->
1371 This function is deprecated; it does nothing.
1376 <!-- ##### MACRO gtk_widget_push_visual ##### -->
1378 This function is deprecated; it does nothing.
1384 <!-- ##### FUNCTION gtk_widget_set_child_visible ##### -->
1393 <!-- ##### MACRO gtk_widget_set_default_visual ##### -->
1395 This function is deprecated; it does nothing.
1401 <!-- ##### FUNCTION gtk_widget_set_size_request ##### -->
1411 <!-- ##### MACRO gtk_widget_set_visual ##### -->
1413 This function is deprecated; it does nothing.
1420 <!-- ##### FUNCTION gtk_widget_thaw_child_notify ##### -->
1428 <!-- ##### FUNCTION gtk_requisition_copy ##### -->
1437 <!-- ##### FUNCTION gtk_requisition_free ##### -->
1445 <!-- ##### SIGNAL GtkWidget::accel-closures-changed ##### -->
1450 @widget: the object which received the signal.
1452 <!-- ##### SIGNAL GtkWidget::button-press-event ##### -->
1457 @widget: the object which received the signal.
1461 <!-- ##### SIGNAL GtkWidget::button-release-event ##### -->
1466 @widget: the object which received the signal.
1470 <!-- ##### SIGNAL GtkWidget::child-notify ##### -->
1475 @widget: the object which received the signal.
1478 <!-- ##### SIGNAL GtkWidget::client-event ##### -->
1483 @widget: the object which received the signal.
1487 <!-- ##### SIGNAL GtkWidget::configure-event ##### -->
1492 @widget: the object which received the signal.
1496 <!-- ##### SIGNAL GtkWidget::delete-event ##### -->
1501 @widget: the object which received the signal.
1505 <!-- ##### SIGNAL GtkWidget::destroy-event ##### -->
1510 @widget: the object which received the signal.
1514 <!-- ##### SIGNAL GtkWidget::direction-changed ##### -->
1519 @widget: the object which received the signal.
1522 <!-- ##### SIGNAL GtkWidget::drag-begin ##### -->
1527 @widget: the object which received the signal.
1530 <!-- ##### SIGNAL GtkWidget::drag-data-delete ##### -->
1535 @widget: the object which received the signal.
1538 <!-- ##### SIGNAL GtkWidget::drag-data-get ##### -->
1543 @widget: the object which received the signal.
1549 <!-- ##### SIGNAL GtkWidget::drag-data-received ##### -->
1554 @widget: the object which received the signal.
1562 <!-- ##### SIGNAL GtkWidget::drag-drop ##### -->
1567 @widget: the object which received the signal.
1574 <!-- ##### SIGNAL GtkWidget::drag-end ##### -->
1579 @widget: the object which received the signal.
1582 <!-- ##### SIGNAL GtkWidget::drag-leave ##### -->
1587 @widget: the object which received the signal.
1591 <!-- ##### SIGNAL GtkWidget::drag-motion ##### -->
1596 @widget: the object which received the signal.
1603 <!-- ##### SIGNAL GtkWidget::enter-notify-event ##### -->
1608 @widget: the object which received the signal.
1612 <!-- ##### SIGNAL GtkWidget::event ##### -->
1617 @widget: the object which received the signal.
1621 <!-- ##### SIGNAL GtkWidget::event-after ##### -->
1626 @widget: the object which received the signal.
1629 <!-- ##### SIGNAL GtkWidget::expose-event ##### -->
1634 @widget: the object which received the signal.
1638 <!-- ##### SIGNAL GtkWidget::focus ##### -->
1643 @widget: the object which received the signal.
1647 <!-- ##### SIGNAL GtkWidget::focus-in-event ##### -->
1652 @widget: the object which received the signal.
1656 <!-- ##### SIGNAL GtkWidget::focus-out-event ##### -->
1661 @widget: the object which received the signal.
1665 <!-- ##### SIGNAL GtkWidget::grab-focus ##### -->
1670 @widget: the object which received the signal.
1672 <!-- ##### SIGNAL GtkWidget::grab-notify ##### -->
1677 @widget: the object which received the signal.
1680 <!-- ##### SIGNAL GtkWidget::hide ##### -->
1685 @widget: the object which received the signal.
1687 <!-- ##### SIGNAL GtkWidget::hierarchy-changed ##### -->
1689 Emitted when there is a chance in the hierarchy to
1690 which a widget belong. More precisely, a widget is
1691 <firstterm>anchored</firstterm> when its toplevel
1692 ancestor is a #GtkWindow. This signal is emitted when
1693 a widget changes from un-anchored to anchored or vice-versa.
1696 @widget: the object which received the signal.
1699 <!-- ##### SIGNAL GtkWidget::key-press-event ##### -->
1704 @widget: the object which received the signal.
1708 <!-- ##### SIGNAL GtkWidget::key-release-event ##### -->
1713 @widget: the object which received the signal.
1717 <!-- ##### SIGNAL GtkWidget::leave-notify-event ##### -->
1722 @widget: the object which received the signal.
1726 <!-- ##### SIGNAL GtkWidget::map ##### -->
1731 @widget: the object which received the signal.
1733 <!-- ##### SIGNAL GtkWidget::map-event ##### -->
1738 @widget: the object which received the signal.
1742 <!-- ##### SIGNAL GtkWidget::mnemonic-activate ##### -->
1747 @widget: the object which received the signal.
1751 <!-- ##### SIGNAL GtkWidget::motion-notify-event ##### -->
1756 @widget: the object which received the signal.
1760 <!-- ##### SIGNAL GtkWidget::no-expose-event ##### -->
1765 @widget: the object which received the signal.
1769 <!-- ##### SIGNAL GtkWidget::parent-set ##### -->
1774 @widget: the object which received the signal.
1777 <!-- ##### SIGNAL GtkWidget::popup-menu ##### -->
1782 @widget: the object which received the signal.
1784 <!-- ##### SIGNAL GtkWidget::property-notify-event ##### -->
1789 @widget: the object which received the signal.
1793 <!-- ##### SIGNAL GtkWidget::proximity-in-event ##### -->
1798 @widget: the object which received the signal.
1802 <!-- ##### SIGNAL GtkWidget::proximity-out-event ##### -->
1807 @widget: the object which received the signal.
1811 <!-- ##### SIGNAL GtkWidget::realize ##### -->
1816 @widget: the object which received the signal.
1818 <!-- ##### SIGNAL GtkWidget::scroll-event ##### -->
1823 @widget: the object which received the signal.
1827 <!-- ##### SIGNAL GtkWidget::selection-clear-event ##### -->
1832 @widget: the object which received the signal.
1836 <!-- ##### SIGNAL GtkWidget::selection-get ##### -->
1841 @widget: the object which received the signal.
1846 <!-- ##### SIGNAL GtkWidget::selection-notify-event ##### -->
1851 @widget: the object which received the signal.
1855 <!-- ##### SIGNAL GtkWidget::selection-received ##### -->
1860 @widget: the object which received the signal.
1864 <!-- ##### SIGNAL GtkWidget::selection-request-event ##### -->
1869 @widget: the object which received the signal.
1873 <!-- ##### SIGNAL GtkWidget::show ##### -->
1878 @widget: the object which received the signal.
1880 <!-- ##### SIGNAL GtkWidget::show-help ##### -->
1885 @widget: the object which received the signal.
1888 <!-- ##### SIGNAL GtkWidget::size-allocate ##### -->
1893 @widget: the object which received the signal.
1896 <!-- ##### SIGNAL GtkWidget::size-request ##### -->
1901 @widget: the object which received the signal.
1904 <!-- ##### SIGNAL GtkWidget::state-changed ##### -->
1909 @widget: the object which received the signal.
1912 <!-- ##### SIGNAL GtkWidget::style-set ##### -->
1917 @widget: the object which received the signal.
1920 <!-- ##### SIGNAL GtkWidget::unmap ##### -->
1925 @widget: the object which received the signal.
1927 <!-- ##### SIGNAL GtkWidget::unmap-event ##### -->
1932 @widget: the object which received the signal.
1936 <!-- ##### SIGNAL GtkWidget::unrealize ##### -->
1941 @widget: the object which received the signal.
1943 <!-- ##### SIGNAL GtkWidget::visibility-notify-event ##### -->
1948 @widget: the object which received the signal.
1952 <!-- ##### SIGNAL GtkWidget::window-state-event ##### -->
1957 @widget: the object which received the signal.
1961 <!-- ##### ARG GtkWidget:name ##### -->
1966 <!-- ##### ARG GtkWidget:parent ##### -->
1971 <!-- ##### ARG GtkWidget:width-request ##### -->
1976 <!-- ##### ARG GtkWidget:height-request ##### -->
1981 <!-- ##### ARG GtkWidget:visible ##### -->
1986 <!-- ##### ARG GtkWidget:sensitive ##### -->
1991 <!-- ##### ARG GtkWidget:app-paintable ##### -->
1996 <!-- ##### ARG GtkWidget:can-focus ##### -->
2001 <!-- ##### ARG GtkWidget:has-focus ##### -->
2006 <!-- ##### ARG GtkWidget:can-default ##### -->
2011 <!-- ##### ARG GtkWidget:has-default ##### -->
2016 <!-- ##### ARG GtkWidget:receives-default ##### -->
2021 <!-- ##### ARG GtkWidget:composite-child ##### -->
2026 <!-- ##### ARG GtkWidget:style ##### -->
2031 <!-- ##### ARG GtkWidget:events ##### -->
2036 <!-- ##### ARG GtkWidget:extension-events ##### -->