GtkWidget
Tells about certain properties of the widget.
@GTK_TOPLEVEL:
widgets without a real parent, as there are #GtkWindows and
#GtkMenus have this flag set throughout their lifetime.
Toplevel widgets always contain their own #GdkWindow.
@GTK_NO_WINDOW:
Indicative for a widget that does not provide its own #GdkWindow.
Visible action (e.g. drawing) is performed on the parent's #GdkWindow.
@GTK_REALIZED:
Set by gtk_widget_realize(), unset by gtk_widget_unrealize().
A realized widget has an associated #GdkWindow.
@GTK_MAPPED:
Set by gtk_widget_map(), unset by gtk_widget_unmap().
Only realized widgets can be mapped. It means that gdk_window_show()
has been called on the widgets window(s).
@GTK_VISIBLE:
Set by gtk_widget_show(), unset by gtk_widget_hide(). Implies that a
widget will be mapped as soon as its parent is mapped.
@GTK_SENSITIVE:
Set and unset by gtk_widget_set_sensitive().
The sensitivity of a widget determines whether it will receive
certain events (e.g. button or key presses). One premise for
the widgets sensitivity is to have this flag set.
@GTK_PARENT_SENSITIVE:
Set and unset by gtk_widget_set_sensitive() operations on the
parents of the widget.
This is the second premise for the widgets sensitivity. Once
it has %GTK_SENSITIVE and %GTK_PARENT_SENSITIVE set, its state is
effectively sensitive. This is expressed (and can be examined) by
the #GTK_WIDGET_IS_SENSITIVE macro.
@GTK_CAN_FOCUS:
Determines whether a widget is able to handle focus grabs.
@GTK_HAS_FOCUS:
Set by gtk_widget_grab_focus() for widgets that also
have %GTK_CAN_FOCUS set. The flag will be unset once another widget
grabs the focus.
@GTK_CAN_DEFAULT:
The widget is allowed to receive the default action via
gtk_widget_grab_default().
@GTK_HAS_DEFAULT:
The widget currently is receiving the default action.
@GTK_HAS_GRAB:
Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the
widget is in the grab_widgets stack, and will be the preferred one for
receiving events other than ones of cosmetic value.
@GTK_RC_STYLE:
Indicates that the widgets style has been looked up through the rc
mechanism. It does not imply that the widget actually had a style
defined through the rc mechanism.
@GTK_COMPOSITE_CHILD:
Indicates that the widget is a composite child of its parent; see
gtk_widget_push_composite_child(), gtk_widget_pop_composite_child().
@GTK_NO_REPARENT:
Unused since before GTK+ 1.2, will be removed in a future version.
@GTK_APP_PAINTABLE:
Set and unset by gtk_widget_set_app_paintable().
Must be set on widgets whose window the application directly draws on,
in order to keep GTK+ from overwriting the drawn stuff.
@GTK_RECEIVES_DEFAULT:
The widget when focused will receive the default action and have
%GTK_HAS_DEFAULT set even if there is a different widget set as default.
@GTK_DOUBLE_BUFFERED:
Set and unset by gtk_widget_set_double_buffered().
Indicates that exposes done on the widget should be double-buffered.
Gets the type of a widget.
@wid: a #GtkWidget.
Returns the current state of the widget, as a #GtkStateType.
@wid: a #GtkWidget.
Returns the saved state of the widget, as a #GtkStateType.
The saved state will be restored when a widget gets sensitive
again, after it has been made insensitive with gtk_widget_set_state()
or gtk_widget_set_sensitive().
@wid: a #GtkWidget.
Returns the widget flags from @wid.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is a toplevel widget.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget doesn't have an own #GdkWindow.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is realized.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is mapped.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is visible.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is mapped and visible.
@wid: a #GtkWidget.
Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget.
@wid: a #GtkWidget.
Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is effectively sensitive.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is able to handle focus grabs.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget has grabbed the focus and no other
widget has done so more recently.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is allowed to receive the default action
via gtk_widget_grab_default().
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget when focused will receive the default action
even if there is a different widget set as default.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget currently is receiving the default action.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is in the grab_widgets stack, and will be
the preferred one for receiving events other than ones of cosmetic value.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widgets style has been looked up through the rc
mechanism.
@wid: a #GtkWidget.
Evaluates to %TRUE if the widget is a composite child of its parent.
@wid: a #GtkWidget.
Evaluates to %TRUE if the #GTK_APP_PAINTABLE flag has been set on the widget.
@wid: a #GtkWidget.
Evaluates to %TRUE if the #GTK_DOUBLE_BUFFERED flag has been set on the widget.
@wid:
Turns on certain widget flags.
@wid: a #GtkWidget.
@flag: the flags to set.
Turns off certain widget flags.
@wid: a #GtkWidget.
@flag: the flags to unset.
@widget:
@data:
@width:
@height:
@x:
@y:
@width:
@height:
@selection:
@target:
@type:
@format:
@data:
@length:
@x:
@y:
@width:
@height:
@x_set:
@y_set:
@offset_x:
@offset_y:
@shape_mask:
@GTK_WIDGET_HELP_TOOLTIP:
@GTK_WIDGET_HELP_WHATS_THIS:
@type:
@first_property_name:
@Varargs:
@Returns:
@first_arg_name:
@widget:
@Returns:
@widget:
@widget:
@widget:
@widget_pointer:
@widget:
@first_property_name:
@Varargs:
@first_arg_name:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@widget:
@area:
@widget:
@requisition:
@widget:
@requisition:
@widget:
@allocation:
@widget:
@accel_signal:
@accel_group:
@accel_key:
@accel_mods:
@accel_flags:
@widget:
@accel_group:
@accel_key:
@accel_mods:
@Returns:
@widget:
@accel_path:
@accel_group:
@widget:
@Returns:
@widget:
@event:
@Returns:
@widget:
@Returns:
@widget:
@new_parent:
@widget:
@area:
@intersection:
@Returns:
@widget:
@Returns:
@widget:
@widget:
@widget:
@name:
@widget:
@Returns:
@widget:
@state:
@widget:
@sensitive:
@widget:
@parent:
@widget:
@parent_window:
@widget:
@Returns:
@widget:
@x:
@y:
@widget:
@width:
@height:
@widget:
@events:
@widget:
@events:
@widget:
@mode:
@widget:
@Returns:
@widget:
@Returns:
@widget:
@widget_type:
@Returns:
@widget:
@Returns:
@widget:
@colormap:
@widget:
@Returns:
@widget:
@Returns:
@widget:
@x:
@y:
@widget:
@ancestor:
@Returns:
@src_widget:
@dest_widget:
@src_x:
@src_y:
@dest_x:
@dest_y:
@Returns:
@widget:
@Returns:
@widget:
@style:
Equivalent to gtk_widget_set_style (widget, NULL).
@widget: a #GtkWidget.
@widget:
@widget:
@Returns:
Equivalent to gtk_widget_set_style (widget, NULL).
@widget: a #GtkWidget.
Calls gtk_widget_set_rc_style() recursively on all descendants.
@widget: a #GtkWidget.
@cmap:
@colormap:
@Returns:
@Returns:
@Returns:
@widget:
@dir:
@GTK_TEXT_DIR_NONE:
@GTK_TEXT_DIR_LTR:
@GTK_TEXT_DIR_RTL:
@widget:
@Returns:
@dir:
@Returns:
@widget:
@shape_mask:
@offset_x:
@offset_y:
@widget:
@path_length:
@path:
@path_reversed:
@widget:
@path_length:
@path:
@path_reversed:
@widget:
@Returns:
@widget:
@style:
@widget:
@Returns:
@widget:
@state:
@color:
@widget:
@state:
@color:
@widget:
@state:
@color:
@widget:
@state:
@color:
@widget:
@font_desc:
@widget:
@Returns:
@widget:
@Returns:
@widget:
@text:
@Returns:
@widget:
@stock_id:
@size:
@detail:
@Returns:
@widget:
@widget:
@x:
@y:
@width:
@height:
@widget:
@x:
@y:
@width:
@height:
@widget:
@widget:
@app_paintable:
@widget:
@double_buffered:
@widget:
@redraw_on_allocate:
@widget:
@name:
@widget:
@hadjustment:
@vadjustment:
@Returns:
@widget:
@group_cycling:
@Returns:
@klass:
@pspec:
@class:
@klass:
@pspec:
@parser:
@class:
@widget:
@region:
@Returns:
@widget:
@event:
@Returns:
@widget:
@first_property_name:
@Varargs:
@widget:
@property_name:
@value:
@widget:
@first_property_name:
@var_args:
@widget:
@Returns:
@widget:
@direction:
@Returns:
@widget:
@child_property:
@widget:
@widget:
@Returns:
@widget:
@Returns:
@widget:
@Returns:
@widget:
@width:
@height:
This function is deprecated; it does nothing.
This function is deprecated; it does nothing.
@visual:
@widget:
@is_visible:
This function is deprecated; it does nothing.
@visual:
@widget:
@width:
@height:
This function is deprecated; it does nothing.
@widget:
@visual:
@widget:
@requisition:
@Returns:
@requisition:
@widget: the object which received the signal.
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@arg1:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@arg1:
@widget: the object which received the signal.
@drag_context:
@widget: the object which received the signal.
@drag_context:
@widget: the object which received the signal.
@drag_context:
@data:
@info:
@time:
@widget: the object which received the signal.
@drag_context:
@x:
@y:
@data:
@info:
@time:
@widget: the object which received the signal.
@drag_context:
@x:
@y:
@time:
@Returns:
@widget: the object which received the signal.
@drag_context:
@widget: the object which received the signal.
@drag_context:
@time:
@widget: the object which received the signal.
@drag_context:
@x:
@y:
@time:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@arg1:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@widget: the object which received the signal.
@arg1:
@widget: the object which received the signal.
Emitted when there is a chance in the hierarchy to
which a widget belong. More precisely, a widget is
anchored when its toplevel
ancestor is a #GtkWindow. This signal is emitted when
a widget changes from un-anchored to anchored or vice-versa.
@widget: the object which received the signal.
@widget:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@arg1:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@old_parent:
@widget: the object which received the signal.
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@data:
@info:
@time:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@data:
@time:
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@widget: the object which received the signal.
@arg1:
@Returns:
@widget: the object which received the signal.
@allocation:
@widget: the object which received the signal.
@requisition:
@widget: the object which received the signal.
@state:
@widget: the object which received the signal.
@previous_style:
@widget: the object which received the signal.
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@widget: the object which received the signal.
@event:
@Returns:
@widget: the object which received the signal.
@event:
@Returns: