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 <!-- ##### FUNCTION gtk_widget_new ##### -->
315 @first_property_name:
318 <!-- # Unused Parameters # -->
322 <!-- ##### FUNCTION gtk_widget_ref ##### -->
331 <!-- ##### FUNCTION gtk_widget_unref ##### -->
339 <!-- ##### FUNCTION gtk_widget_destroy ##### -->
347 <!-- ##### FUNCTION gtk_widget_destroyed ##### -->
356 <!-- ##### FUNCTION gtk_widget_set ##### -->
362 @first_property_name:
364 <!-- # Unused Parameters # -->
368 <!-- ##### FUNCTION gtk_widget_unparent ##### -->
376 <!-- ##### FUNCTION gtk_widget_show ##### -->
384 <!-- ##### FUNCTION gtk_widget_show_now ##### -->
392 <!-- ##### FUNCTION gtk_widget_hide ##### -->
400 <!-- ##### FUNCTION gtk_widget_show_all ##### -->
408 <!-- ##### FUNCTION gtk_widget_hide_all ##### -->
416 <!-- ##### FUNCTION gtk_widget_map ##### -->
424 <!-- ##### FUNCTION gtk_widget_unmap ##### -->
432 <!-- ##### FUNCTION gtk_widget_realize ##### -->
440 <!-- ##### FUNCTION gtk_widget_unrealize ##### -->
448 <!-- ##### FUNCTION gtk_widget_queue_draw ##### -->
456 <!-- ##### FUNCTION gtk_widget_queue_resize ##### -->
464 <!-- ##### FUNCTION gtk_widget_draw ##### -->
473 <!-- ##### FUNCTION gtk_widget_size_request ##### -->
482 <!-- ##### FUNCTION gtk_widget_get_child_requisition ##### -->
491 <!-- ##### FUNCTION gtk_widget_size_allocate ##### -->
500 <!-- ##### FUNCTION gtk_widget_add_accelerator ##### -->
513 <!-- ##### FUNCTION gtk_widget_remove_accelerator ##### -->
524 <!-- ##### FUNCTION gtk_widget_remove_accelerators ##### -->
534 <!-- ##### FUNCTION gtk_widget_accelerator_signal ##### -->
546 <!-- ##### FUNCTION gtk_widget_event ##### -->
556 <!-- ##### FUNCTION gtk_widget_activate ##### -->
565 <!-- ##### FUNCTION gtk_widget_reparent ##### -->
574 <!-- ##### FUNCTION gtk_widget_intersect ##### -->
585 <!-- ##### FUNCTION gtk_widget_is_focus ##### -->
594 <!-- ##### FUNCTION gtk_widget_grab_focus ##### -->
602 <!-- ##### FUNCTION gtk_widget_grab_default ##### -->
610 <!-- ##### FUNCTION gtk_widget_set_name ##### -->
619 <!-- ##### FUNCTION gtk_widget_get_name ##### -->
628 <!-- ##### FUNCTION gtk_widget_set_state ##### -->
637 <!-- ##### FUNCTION gtk_widget_set_sensitive ##### -->
646 <!-- ##### FUNCTION gtk_widget_set_parent ##### -->
655 <!-- ##### FUNCTION gtk_widget_set_parent_window ##### -->
664 <!-- ##### FUNCTION gtk_widget_get_parent_window ##### -->
673 <!-- ##### FUNCTION gtk_widget_set_uposition ##### -->
683 <!-- ##### FUNCTION gtk_widget_set_usize ##### -->
693 <!-- ##### FUNCTION gtk_widget_set_events ##### -->
702 <!-- ##### FUNCTION gtk_widget_add_events ##### -->
711 <!-- ##### FUNCTION gtk_widget_set_extension_events ##### -->
720 <!-- ##### FUNCTION gtk_widget_get_extension_events ##### -->
729 <!-- ##### FUNCTION gtk_widget_get_toplevel ##### -->
738 <!-- ##### FUNCTION gtk_widget_get_ancestor ##### -->
748 <!-- ##### FUNCTION gtk_widget_get_colormap ##### -->
757 <!-- ##### FUNCTION gtk_widget_set_colormap ##### -->
766 <!-- ##### FUNCTION gtk_widget_get_visual ##### -->
775 <!-- ##### FUNCTION gtk_widget_get_events ##### -->
784 <!-- ##### FUNCTION gtk_widget_get_pointer ##### -->
794 <!-- ##### FUNCTION gtk_widget_is_ancestor ##### -->
804 <!-- ##### FUNCTION gtk_widget_hide_on_delete ##### -->
813 <!-- ##### FUNCTION gtk_widget_set_style ##### -->
822 <!-- ##### FUNCTION gtk_widget_set_rc_style ##### -->
830 <!-- ##### FUNCTION gtk_widget_ensure_style ##### -->
838 <!-- ##### FUNCTION gtk_widget_get_style ##### -->
847 <!-- ##### FUNCTION gtk_widget_restore_default_style ##### -->
855 <!-- ##### FUNCTION gtk_widget_reset_rc_styles ##### -->
863 <!-- ##### FUNCTION gtk_widget_push_style ##### -->
871 <!-- ##### FUNCTION gtk_widget_push_colormap ##### -->
879 <!-- ##### FUNCTION gtk_widget_pop_style ##### -->
886 <!-- ##### FUNCTION gtk_widget_pop_colormap ##### -->
893 <!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
901 <!-- ##### FUNCTION gtk_widget_set_default_colormap ##### -->
909 <!-- ##### FUNCTION gtk_widget_get_default_style ##### -->
917 <!-- ##### FUNCTION gtk_widget_get_default_colormap ##### -->
925 <!-- ##### FUNCTION gtk_widget_get_default_visual ##### -->
933 <!-- ##### FUNCTION gtk_widget_set_direction ##### -->
942 <!-- ##### ENUM GtkTextDirection ##### -->
951 <!-- ##### FUNCTION gtk_widget_get_direction ##### -->
960 <!-- ##### FUNCTION gtk_widget_set_default_direction ##### -->
968 <!-- ##### FUNCTION gtk_widget_get_default_direction ##### -->
976 <!-- ##### FUNCTION gtk_widget_shape_combine_mask ##### -->
987 <!-- ##### FUNCTION gtk_widget_path ##### -->
998 <!-- ##### FUNCTION gtk_widget_class_path ##### -->
1009 <!-- ##### FUNCTION gtk_widget_get_composite_name ##### -->
1018 <!-- ##### FUNCTION gtk_widget_lock_accelerators ##### -->
1026 <!-- ##### FUNCTION gtk_widget_modify_style ##### -->
1035 <!-- ##### FUNCTION gtk_widget_get_modifier_style ##### -->
1044 <!-- ##### FUNCTION gtk_widget_modify_fg ##### -->
1054 <!-- ##### FUNCTION gtk_widget_modify_bg ##### -->
1064 <!-- ##### FUNCTION gtk_widget_modify_text ##### -->
1074 <!-- ##### FUNCTION gtk_widget_modify_base ##### -->
1084 <!-- ##### FUNCTION gtk_widget_modify_font ##### -->
1093 <!-- ##### FUNCTION gtk_widget_create_pango_context ##### -->
1102 <!-- ##### FUNCTION gtk_widget_get_pango_context ##### -->
1111 <!-- ##### FUNCTION gtk_widget_create_pango_layout ##### -->
1121 <!-- ##### FUNCTION gtk_widget_render_icon ##### -->
1133 <!-- ##### FUNCTION gtk_widget_pop_composite_child ##### -->
1140 <!-- ##### FUNCTION gtk_widget_push_composite_child ##### -->
1147 <!-- ##### FUNCTION gtk_widget_queue_clear ##### -->
1155 <!-- ##### FUNCTION gtk_widget_queue_clear_area ##### -->
1167 <!-- ##### FUNCTION gtk_widget_queue_draw_area ##### -->
1179 <!-- ##### FUNCTION gtk_widget_reset_shapes ##### -->
1187 <!-- ##### FUNCTION gtk_widget_set_app_paintable ##### -->
1196 <!-- ##### FUNCTION gtk_widget_set_double_buffered ##### -->
1205 <!-- ##### FUNCTION gtk_widget_set_composite_name ##### -->
1214 <!-- ##### FUNCTION gtk_widget_set_scroll_adjustments ##### -->
1225 <!-- ##### FUNCTION gtk_widget_unlock_accelerators ##### -->
1233 <!-- ##### FUNCTION gtk_widget_accelerators_locked ##### -->
1242 <!-- ##### FUNCTION gtk_widget_mnemonic_activate ##### -->
1252 <!-- ##### FUNCTION gtk_widget_class_install_style_property ##### -->
1259 <!-- # Unused Parameters # -->
1263 <!-- ##### FUNCTION gtk_widget_class_install_style_property_parser ##### -->
1271 <!-- # Unused Parameters # -->
1275 <!-- ##### FUNCTION gtk_widget_region_intersect ##### -->
1285 <!-- ##### FUNCTION gtk_widget_send_expose ##### -->
1295 <!-- ##### FUNCTION gtk_widget_style_get ##### -->
1301 @first_property_name:
1305 <!-- ##### FUNCTION gtk_widget_style_get_property ##### -->
1315 <!-- ##### FUNCTION gtk_widget_style_get_valist ##### -->
1321 @first_property_name:
1325 <!-- ##### FUNCTION gtk_widget_get_accessible ##### -->
1334 <!-- ##### FUNCTION gtk_requisition_copy ##### -->
1343 <!-- ##### FUNCTION gtk_requisition_free ##### -->
1351 <!-- ##### SIGNAL GtkWidget::add-accelerator ##### -->
1356 @widget: the object which received the signal.
1363 <!-- ##### SIGNAL GtkWidget::button-press-event ##### -->
1368 @widget: the object which received the signal.
1372 <!-- ##### SIGNAL GtkWidget::button-release-event ##### -->
1377 @widget: the object which received the signal.
1381 <!-- ##### SIGNAL GtkWidget::client-event ##### -->
1386 @widget: the object which received the signal.
1390 <!-- ##### SIGNAL GtkWidget::configure-event ##### -->
1395 @widget: the object which received the signal.
1399 <!-- ##### SIGNAL GtkWidget::delete-event ##### -->
1404 @widget: the object which received the signal.
1408 <!-- ##### SIGNAL GtkWidget::destroy-event ##### -->
1413 @widget: the object which received the signal.
1417 <!-- ##### SIGNAL GtkWidget::direction-changed ##### -->
1422 @widget: the object which received the signal.
1425 <!-- ##### SIGNAL GtkWidget::drag-begin ##### -->
1430 @widget: the object which received the signal.
1433 <!-- ##### SIGNAL GtkWidget::drag-data-delete ##### -->
1438 @widget: the object which received the signal.
1441 <!-- ##### SIGNAL GtkWidget::drag-data-get ##### -->
1446 @widget: the object which received the signal.
1452 <!-- ##### SIGNAL GtkWidget::drag-data-received ##### -->
1457 @widget: the object which received the signal.
1465 <!-- ##### SIGNAL GtkWidget::drag-drop ##### -->
1470 @widget: the object which received the signal.
1477 <!-- ##### SIGNAL GtkWidget::drag-end ##### -->
1482 @widget: the object which received the signal.
1485 <!-- ##### SIGNAL GtkWidget::drag-leave ##### -->
1490 @widget: the object which received the signal.
1494 <!-- ##### SIGNAL GtkWidget::drag-motion ##### -->
1499 @widget: the object which received the signal.
1506 <!-- ##### SIGNAL GtkWidget::enter-notify-event ##### -->
1511 @widget: the object which received the signal.
1515 <!-- ##### SIGNAL GtkWidget::event ##### -->
1520 @widget: the object which received the signal.
1524 <!-- ##### SIGNAL GtkWidget::expose-event ##### -->
1529 @widget: the object which received the signal.
1533 <!-- ##### SIGNAL GtkWidget::focus ##### -->
1538 @widget: the object which received the signal.
1542 <!-- ##### SIGNAL GtkWidget::focus-in-event ##### -->
1547 @widget: the object which received the signal.
1551 <!-- ##### SIGNAL GtkWidget::focus-out-event ##### -->
1556 @widget: the object which received the signal.
1560 <!-- ##### SIGNAL GtkWidget::grab-focus ##### -->
1565 @widget: the object which received the signal.
1567 <!-- ##### SIGNAL GtkWidget::hide ##### -->
1572 @widget: the object which received the signal.
1574 <!-- ##### SIGNAL GtkWidget::hierarchy-changed ##### -->
1576 Emitted when there is a chance in the hierarchy to
1577 which a widget belong. More precisely, a widget is
1578 <firstterm>anchored</firstterm> when its toplevel
1579 ancestor is a #GtkWindow. This signal is emitted when
1580 a widget changes from un-anchored to anchored or vice-versa.
1583 @widget: the object which received the signal.
1585 <!-- ##### SIGNAL GtkWidget::key-press-event ##### -->
1590 @widget: the object which received the signal.
1594 <!-- ##### SIGNAL GtkWidget::key-release-event ##### -->
1599 @widget: the object which received the signal.
1603 <!-- ##### SIGNAL GtkWidget::leave-notify-event ##### -->
1608 @widget: the object which received the signal.
1612 <!-- ##### SIGNAL GtkWidget::map ##### -->
1617 @widget: the object which received the signal.
1619 <!-- ##### SIGNAL GtkWidget::map-event ##### -->
1624 @widget: the object which received the signal.
1628 <!-- ##### SIGNAL GtkWidget::mnemonic-activate ##### -->
1633 @widget: the object which received the signal.
1637 <!-- ##### SIGNAL GtkWidget::motion-notify-event ##### -->
1642 @widget: the object which received the signal.
1646 <!-- ##### SIGNAL GtkWidget::no-expose-event ##### -->
1651 @widget: the object which received the signal.
1655 <!-- ##### SIGNAL GtkWidget::parent-set ##### -->
1660 @widget: the object which received the signal.
1663 <!-- ##### SIGNAL GtkWidget::popup-menu ##### -->
1668 @widget: the object which received the signal.
1670 <!-- ##### SIGNAL GtkWidget::property-notify-event ##### -->
1675 @widget: the object which received the signal.
1679 <!-- ##### SIGNAL GtkWidget::proximity-in-event ##### -->
1684 @widget: the object which received the signal.
1688 <!-- ##### SIGNAL GtkWidget::proximity-out-event ##### -->
1693 @widget: the object which received the signal.
1697 <!-- ##### SIGNAL GtkWidget::realize ##### -->
1702 @widget: the object which received the signal.
1704 <!-- ##### SIGNAL GtkWidget::remove-accelerator ##### -->
1709 @widget: the object which received the signal.
1714 <!-- ##### SIGNAL GtkWidget::scroll-event ##### -->
1719 @widget: the object which received the signal.
1723 <!-- ##### SIGNAL GtkWidget::selection-clear-event ##### -->
1728 @widget: the object which received the signal.
1732 <!-- ##### SIGNAL GtkWidget::selection-get ##### -->
1737 @widget: the object which received the signal.
1742 <!-- ##### SIGNAL GtkWidget::selection-notify-event ##### -->
1747 @widget: the object which received the signal.
1751 <!-- ##### SIGNAL GtkWidget::selection-received ##### -->
1756 @widget: the object which received the signal.
1760 <!-- ##### SIGNAL GtkWidget::selection-request-event ##### -->
1765 @widget: the object which received the signal.
1769 <!-- ##### SIGNAL GtkWidget::show ##### -->
1774 @widget: the object which received the signal.
1776 <!-- ##### SIGNAL GtkWidget::size-allocate ##### -->
1781 @widget: the object which received the signal.
1784 <!-- ##### SIGNAL GtkWidget::size-request ##### -->
1789 @widget: the object which received the signal.
1792 <!-- ##### SIGNAL GtkWidget::state-changed ##### -->
1797 @widget: the object which received the signal.
1800 <!-- ##### SIGNAL GtkWidget::style-set ##### -->
1805 @widget: the object which received the signal.
1808 <!-- ##### SIGNAL GtkWidget::unmap ##### -->
1813 @widget: the object which received the signal.
1815 <!-- ##### SIGNAL GtkWidget::unmap-event ##### -->
1820 @widget: the object which received the signal.
1824 <!-- ##### SIGNAL GtkWidget::unrealize ##### -->
1829 @widget: the object which received the signal.
1831 <!-- ##### SIGNAL GtkWidget::visibility-notify-event ##### -->
1836 @widget: the object which received the signal.
1840 <!-- ##### SIGNAL GtkWidget::window-state-event ##### -->
1845 @widget: the object which received the signal.
1849 <!-- ##### ARG GtkWidget:name ##### -->
1854 <!-- ##### ARG GtkWidget:parent ##### -->
1859 <!-- ##### ARG GtkWidget:x ##### -->
1864 <!-- ##### ARG GtkWidget:y ##### -->
1869 <!-- ##### ARG GtkWidget:width ##### -->
1874 <!-- ##### ARG GtkWidget:height ##### -->
1879 <!-- ##### ARG GtkWidget:visible ##### -->
1884 <!-- ##### ARG GtkWidget:sensitive ##### -->
1889 <!-- ##### ARG GtkWidget:app-paintable ##### -->
1894 <!-- ##### ARG GtkWidget:can-focus ##### -->
1899 <!-- ##### ARG GtkWidget:has-focus ##### -->
1904 <!-- ##### ARG GtkWidget:can-default ##### -->
1909 <!-- ##### ARG GtkWidget:has-default ##### -->
1914 <!-- ##### ARG GtkWidget:receives-default ##### -->
1919 <!-- ##### ARG GtkWidget:composite-child ##### -->
1924 <!-- ##### ARG GtkWidget:style ##### -->
1929 <!-- ##### ARG GtkWidget:events ##### -->
1934 <!-- ##### ARG GtkWidget:extension-events ##### -->