GtkWidget

Base class for all widgets.

Object Hierarchy

Direct subclasses

Description

A widget is any class which inherits from GtkWidget. Widgets are classes which can listen for and react to user events. Widgets are usually associated with display and/or layout.

Methods

activate()
 
add_accelerator()
 
add_events()
 
add_mnemonic_label()
 
can_activate_accel()
 
child_focus()
 
child_notify()
 
class_path()
  Not public or not implemented.
create_pango_context()
 
create_pango_layout()
 
destroy()
  Destroys the widget.
destroyed()
  Not implemented or not public.
drag_begin()
  Not implemented or not public.
drag_check_threshold()
 
drag_dest_add_image_targets()
 
drag_dest_add_text_targets()
 
drag_dest_add_uri_targets()
 
drag_dest_find_target()
 
drag_dest_get_target_list()
 
drag_dest_set()
 
drag_dest_set_proxy()
 
drag_dest_set_target_list()
 
drag_dest_unset()
 
drag_get_data()
 
drag_highlight()
 
drag_source_add_text_targets()
 
drag_source_get_target_list()
 
drag_source_set()
 
drag_source_set_icon()
 
drag_source_set_icon_pixbuf()
 
drag_source_set_icon_stock()
 
drag_source_set_target_list()
 
drag_source_unset()
 
drag_unhighlight()
 
draw()
 
ensure_style()
 
event()
 
freeze_child_notify()
 
get_accessible()
 
get_allocation()
 
get_ancestor()
 
get_child_requisition()
 
get_child_visible()
 
get_clipboard()
 
get_colormap()
 
get_composite_name()
 
get_default_colormap()
 
get_default_direction()
 
get_default_style()
 
get_default_visual()
 
get_direction()
 
get_display()
 
get_events()
 
get_extension_events()
 
get_modifier_style()
 
get_name()
 
get_no_show_all()
 
get_pango_context()
 
get_parent()
  Returns the widget's parent widget.
get_parent_window()
 
get_pointer()
 
get_root_window()
 
get_screen()
 
get_settings()
 
get_size_request()
 
get_style()
 
get_toplevel()
 
get_visual()
 
grab_add()
 
grab_default()
 
grab_focus()
 
grab_remove()
 
has_screen()
 
hide()
 
hide_all()
 
hide_on_delete()
 
intersect()
 
is_ancestor()
 
is_focus()
 
list_accel_closures()
 
list_mnemonic_labels()
 
map()
 
menu_get_for_attach_widget()
 
mnemonic_activate()
 
modify_base()
 
modify_bg()
 
modify_fg()
 
modify_font()
 
modify_style()
 
modify_text()
 
path()
 
pop_colormap()
 
pop_composite_child()
 
propagate_event()
 
push_colormap()
 
push_composite_child()
 
queue_clear()
 
queue_clear_area()
 
queue_draw()
 
queue_draw_area()
 
queue_resize()
 
queue_resize_no_redraw()
 
rc_get_style()
 
realize()
 
ref()
 
region_intersect()
 
remove_accelerator()
 
remove_mnemonic_label()
 
render_icon()
 
reparent()
 
reset_rc_styles()
 
reset_shapes()
 
selection_add_target()
 
selection_add_targets()
 
selection_clear()
 
selection_clear_targets()
 
selection_convert()
 
selection_owner_set()
 
selection_remove_all()
 
send_expose()
 
set()
 
set_accel_path()
 
set_app_paintable()
 
set_child_visible()
 
set_colormap()
 
set_composite_name()
 
set_default_colormap()
 
set_default_direction()
 
set_direction()
 
set_double_buffered()
 
set_events()
 
set_extension_events()
 
set_name()
 
set_no_show_all()
 
set_parent()
 
set_parent_window()
 
set_redraw_on_allocate()
 
set_scroll_adjustments()
 
set_sensitive()
 
set_size_request()
  Requests a new size for the widget.
set_state()
 
set_style()
 
set_uposition()
 
set_usize()
  Sets a widgets size.
shape_combine_mask()
 
show()
 
show_all()
 
show_now()
 
size_allocate()
 
size_request()
 
style_get()
 
style_get_property()
 
style_get_valist()
 
thaw_child_notify()
 
translate_coordinates()
 
unmap()
 
unparent()
 
unrealize()
 
unref()
 

Signals

"accel-closures-changed"
 
"button-press-event"
 
"button-release-event"
 
"can-activate-accel"
 
"child-notify"
 
"client-event"
 
"configure-event"
 
"delete-event"
 
"destroy-event"
 
"direction-changed"
 
"drag-begin"
 
"drag-data-delete"
 
"drag-data-get"
 
"drag-data-received"
 
"drag-drop"
 
"drag-end"
 
"drag-leave"
 
"drag-motion"
 
"enter-notify-event"
 
"event"
 
"event-after"
 
"expose-event"
 
"focus"
 
"focus-in-event"
 
"focus-out-event"
 
"grab-focus"
 
"grab-notify"
 
"hide"
 
"hierarchy-changed"
 
"key-press-event"
 
"key-release-event"
 
"leave-notify-event"
 
"map"
 
"map-event"
 
"mnemonic-activate"
 
"motion-notify-event"
 
"no-expose-event"
 
"parent-set"
  Emitted when a widget's parent is changed.
"popup-menu"
 
"property-notify-event"
 
"proximity-in-event"
 
"proximity-out-event"
 
"realize"
 
"screen-changed"
 
"scroll-event"
 
"selection-clear-event"
 
"selection-get"
 
"selection-notify-event"
 
"selection-received"
 
"selection-request-event"
 
"show"
 
"show-help"
 
"size-allocate"
 
"size-request"
 
"state-changed"
 
"style-set"
 
"unmap"
 
"unmap-event"
 
"unrealize"
 
"visibility-notify-event"
 
"window-state-event"
 

Fields

allocation:
 
name:
 
parent:
 
saved_state:
 
state:
 
style:
 
window:
  The GdkWindow for the widget.