1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkWidget
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkWidget ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### ENUM GtkWidgetFlags ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Tells about certain properties of the widget.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@GTK_TOPLEVEL:
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_NO_WINDOW:
|
2002-01-04 23:49:20 +00:00
|
|
|
Indicative for a widget that does not provide its own #GdkWindow.
|
|
|
|
Visible action (e.g. drawing) is performed on the parent's #GdkWindow.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_REALIZED:
|
2002-01-04 23:49:20 +00:00
|
|
|
Set by gtk_widget_realize(), unset by gtk_widget_unrealize().
|
|
|
|
A realized widget has an associated #GdkWindow.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_MAPPED:
|
2002-01-04 23:49:20 +00:00
|
|
|
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).
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_VISIBLE:
|
2002-01-04 23:49:20 +00:00
|
|
|
Set by gtk_widget_show(), unset by gtk_widget_hide(). Implies that a
|
|
|
|
widget will be mapped as soon as its parent is mapped.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_SENSITIVE:
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_PARENT_SENSITIVE:
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_CAN_FOCUS:
|
2002-01-04 23:49:20 +00:00
|
|
|
Determines whether a widget is able to handle focus grabs.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_HAS_FOCUS:
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_CAN_DEFAULT:
|
2002-01-04 23:49:20 +00:00
|
|
|
The widget is allowed to receive the default action via
|
|
|
|
gtk_widget_grab_default().
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_HAS_DEFAULT:
|
2002-01-04 23:49:20 +00:00
|
|
|
The widget currently is receiving the default action.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_HAS_GRAB:
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_RC_STYLE:
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_COMPOSITE_CHILD:
|
2002-01-04 23:49:20 +00:00
|
|
|
Indicates that the widget is a composite child of its parent; see
|
2002-01-06 21:09:26 +00:00
|
|
|
gtk_widget_push_composite_child(), gtk_widget_pop_composite_child().
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_NO_REPARENT:
|
|
|
|
@GTK_APP_PAINTABLE:
|
2002-01-04 23:49:20 +00:00
|
|
|
Set and unset by gtk_widget_set_app_paintable().
|
1999-08-16 18:51:52 +00:00
|
|
|
@GTK_RECEIVES_DEFAULT:
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
2000-09-07 18:17:06 +00:00
|
|
|
@GTK_DOUBLE_BUFFERED:
|
2002-01-04 23:49:20 +00:00
|
|
|
Set and unset by gtk_widget_set_double_buffered().
|
|
|
|
Indicates that exposes done on the widget should be double-buffered.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_TYPE ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@wid:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_STATE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Returns the current state of the widget, as a #GtkStateType.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_SAVED_STATE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Returns the saved state of the widget, as a #GtkStateType.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
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().
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-06 21:09:26 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_FLAGS ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Returns the widget flags from @wid.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-06 21:09:26 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_TOPLEVEL ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is a toplevel widget.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-06 21:09:26 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_NO_WINDOW ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget doesn't have an own #GdkWindow.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_REALIZED ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is realized.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_MAPPED ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is mapped.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_VISIBLE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is visible.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_DRAWABLE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is mapped and visible.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-06 21:09:26 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_SENSITIVE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_PARENT_SENSITIVE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_IS_SENSITIVE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is effectively sensitive.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_CAN_FOCUS ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is able to handle focus grabs.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_HAS_FOCUS ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget has grabbed the focus and no other
|
|
|
|
widget has done so more recently.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_CAN_DEFAULT ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is allowed to receive the default action
|
|
|
|
via gtk_widget_grab_default().
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_RECEIVES_DEFAULT ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget when focused will receive the default action
|
|
|
|
even if there is a different widget set as default.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_HAS_DEFAULT ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget currently is receiving the default action.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_HAS_GRAB ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_RC_STYLE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widgets style has been looked up through the rc
|
|
|
|
mechanism.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_COMPOSITE_CHILD ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the widget is a composite child of its parent.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_APP_PAINTABLE ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the #GTK_APP_PAINTABLE flag has been set on the widget.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-04 23:49:20 +00:00
|
|
|
@wid: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
<!-- ##### MACRO GTK_WIDGET_DOUBLE_BUFFERED ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Evaluates to %TRUE if the #GTK_DOUBLE_BUFFERED flag has been set on the widget.
|
2000-09-07 18:17:06 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@wid:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### MACRO GTK_WIDGET_SET_FLAGS ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Turns on certain widget flags.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-06 21:09:26 +00:00
|
|
|
@wid: a #GtkWidget.
|
2002-01-04 23:49:20 +00:00
|
|
|
@flag: the flags to set.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO GTK_WIDGET_UNSET_FLAGS ##### -->
|
|
|
|
<para>
|
2002-01-04 23:49:20 +00:00
|
|
|
Turns off certain widget flags.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-06 21:09:26 +00:00
|
|
|
@wid: a #GtkWidget.
|
2002-01-04 23:49:20 +00:00
|
|
|
@flag: the flags to unset.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkCallback ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@data:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkRequisition ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkAllocation ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkSelectionData ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@selection:
|
|
|
|
@target:
|
|
|
|
@type:
|
|
|
|
@format:
|
|
|
|
@data:
|
|
|
|
@length:
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkWidgetAuxInfo ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@width:
|
|
|
|
@height:
|
2001-03-29 23:02:30 +00:00
|
|
|
@x_set:
|
|
|
|
@y_set:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkWidgetShapeInfo ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@offset_x:
|
|
|
|
@offset_y:
|
|
|
|
@shape_mask:
|
|
|
|
|
2001-10-13 05:52:14 +00:00
|
|
|
<!-- ##### ENUM GtkWidgetHelpType ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GTK_WIDGET_HELP_TOOLTIP:
|
|
|
|
@GTK_WIDGET_HELP_WHATS_THIS:
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@type:
|
2001-01-09 16:41:17 +00:00
|
|
|
@first_property_name:
|
1999-08-16 18:51:52 +00:00
|
|
|
@Varargs:
|
|
|
|
@Returns:
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@first_arg_name:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_ref ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
2000-09-07 18:17:06 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_unref ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_destroy ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_destroyed ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@widget_pointer:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
2001-01-09 16:41:17 +00:00
|
|
|
@first_property_name:
|
1999-08-16 18:51:52 +00:00
|
|
|
@Varargs:
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@first_arg_name:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_unparent ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_show ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_show_now ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_hide ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_show_all ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_hide_all ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_map ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_unmap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_realize ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_unrealize ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_queue_draw ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_queue_resize ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_draw ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@area:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_size_request ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@requisition:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_child_requisition ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@requisition:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_size_allocate ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@allocation:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_add_accelerator ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@accel_signal:
|
|
|
|
@accel_group:
|
|
|
|
@accel_key:
|
|
|
|
@accel_mods:
|
|
|
|
@accel_flags:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_remove_accelerator ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@accel_group:
|
|
|
|
@accel_key:
|
|
|
|
@accel_mods:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-11-20 23:43:03 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_list_accel_closures ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_event ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_activate ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_reparent ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@new_parent:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_intersect ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@area:
|
|
|
|
@intersection:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_is_focus ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_grab_focus ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_grab_default ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@name:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_state ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@state:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_sensitive ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@sensitive:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_parent ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@parent:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_parent_window ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@parent_window:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_parent_window ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_uposition ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_usize ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_events ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@events:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_add_events ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@events:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_extension_events ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@mode:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_extension_events ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_toplevel ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_ancestor ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@widget_type:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_colormap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_colormap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@colormap:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_visual ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_events ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_pointer ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_is_ancestor ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@ancestor:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-11-21 21:43:47 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_translate_coordinates ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@src_widget:
|
|
|
|
@dest_widget:
|
|
|
|
@src_x:
|
|
|
|
@src_y:
|
|
|
|
@dest_x:
|
|
|
|
@dest_y:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_hide_on_delete ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_style ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@style:
|
|
|
|
|
|
|
|
|
2001-07-02 05:03:21 +00:00
|
|
|
<!-- ##### MACRO gtk_widget_set_rc_style ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
2002-01-05 15:46:46 +00:00
|
|
|
Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-05 15:46:46 +00:00
|
|
|
@widget: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_ensure_style ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_style ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-07-02 05:03:21 +00:00
|
|
|
<!-- ##### MACRO gtk_widget_restore_default_style ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
2002-01-05 15:46:46 +00:00
|
|
|
Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-05 15:46:46 +00:00
|
|
|
@widget: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_reset_rc_styles ##### -->
|
|
|
|
<para>
|
2002-01-05 15:46:46 +00:00
|
|
|
Calls gtk_widget_set_rc_style() recursively on all descendants.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-06 21:09:26 +00:00
|
|
|
@widget: a #GtkWidget.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_push_colormap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cmap:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_pop_colormap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_default_colormap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@colormap:
|
|
|
|
|
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_get_default_style ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_default_colormap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_default_visual ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_set_direction ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@dir:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### ENUM GtkTextDirection ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@GTK_TEXT_DIR_NONE:
|
|
|
|
@GTK_TEXT_DIR_LTR:
|
|
|
|
@GTK_TEXT_DIR_RTL:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_direction ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_default_direction ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dir:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_default_direction ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_shape_combine_mask ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@shape_mask:
|
|
|
|
@offset_x:
|
|
|
|
@offset_y:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_path ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@path_length:
|
|
|
|
@path:
|
|
|
|
@path_reversed:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_class_path ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@path_length:
|
|
|
|
@path:
|
|
|
|
@path_reversed:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_composite_name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_modify_style ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@style:
|
|
|
|
|
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_get_modifier_style ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_modify_fg ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@state:
|
|
|
|
@color:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_modify_bg ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@state:
|
|
|
|
@color:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_modify_text ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@state:
|
|
|
|
@color:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_modify_base ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@state:
|
|
|
|
@color:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_modify_font ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@font_desc:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_create_pango_context ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_pango_context ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_create_pango_layout ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@text:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-02-03 01:09:41 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_render_icon ##### -->
|
2000-11-04 16:31:37 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@stock_id:
|
|
|
|
@size:
|
|
|
|
@detail:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_pop_composite_child ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_push_composite_child ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_queue_clear ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_queue_clear_area ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_queue_draw_area ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_reset_shapes ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_app_paintable ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@app_paintable:
|
|
|
|
|
|
|
|
|
2000-09-07 18:17:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_set_double_buffered ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@double_buffered:
|
|
|
|
|
|
|
|
|
2001-11-21 21:43:47 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_set_redraw_on_allocate ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@redraw_on_allocate:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_set_composite_name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@name:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_scroll_adjustments ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@hadjustment:
|
|
|
|
@vadjustment:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-04-17 18:12:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_mnemonic_activate ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@group_cycling:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-03-23 22:21:06 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_class_install_style_property ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-03-29 21:17:45 +00:00
|
|
|
@klass:
|
2001-03-23 22:21:06 +00:00
|
|
|
@pspec:
|
2001-03-29 21:17:45 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@class:
|
2001-03-23 22:21:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_class_install_style_property_parser ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-03-29 21:17:45 +00:00
|
|
|
@klass:
|
2001-03-23 22:21:06 +00:00
|
|
|
@pspec:
|
|
|
|
@parser:
|
2001-03-29 21:17:45 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@class:
|
2001-03-23 22:21:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_region_intersect ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@region:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_send_expose ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_style_get ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@first_property_name:
|
|
|
|
@Varargs:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_style_get_property ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@property_name:
|
|
|
|
@value:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_style_get_valist ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@first_property_name:
|
|
|
|
@var_args:
|
|
|
|
|
|
|
|
|
2001-05-11 17:13:44 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_get_accessible ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-09-08 06:24:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_widget_child_focus ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@direction:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_child_notify ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@child_property:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_freeze_child_notify ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_child_visible ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_parent ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_settings ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_get_size_request ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO gtk_widget_pop_visual ##### -->
|
|
|
|
<para>
|
2001-12-05 00:06:40 +00:00
|
|
|
This function is deprecated; it does nothing.
|
2001-09-08 06:24:46 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO gtk_widget_push_visual ##### -->
|
|
|
|
<para>
|
2001-12-05 00:06:40 +00:00
|
|
|
This function is deprecated; it does nothing.
|
2001-09-08 06:24:46 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@visual:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_child_visible ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@is_visible:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO gtk_widget_set_default_visual ##### -->
|
|
|
|
<para>
|
2001-12-05 00:06:40 +00:00
|
|
|
This function is deprecated; it does nothing.
|
2001-09-08 06:24:46 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@visual:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_set_size_request ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO gtk_widget_set_visual ##### -->
|
|
|
|
<para>
|
2001-12-05 00:06:40 +00:00
|
|
|
This function is deprecated; it does nothing.
|
2001-09-08 06:24:46 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@visual:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_widget_thaw_child_notify ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
2001-04-17 18:12:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_requisition_copy ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@requisition:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_requisition_free ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@requisition:
|
|
|
|
|
|
|
|
|
added gtkaccelmap.sgml. other updates.
Mon Nov 12 23:06:38 2001 Tim Janik <timj@gtk.org>
* added gtkaccelmap.sgml. other updates.
Mon Nov 12 23:08:37 2001 Tim Janik <timj@gtk.org>
* gtk/maketypes.awk: fix type utils generation on unix.
* gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator
registry.
* gtk/gtkaccelgroup.[hc]: major API/implementation revamp:
removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default,
gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry,
gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove,
gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object.
introduced ::accel_changed signal for change notification, and
gtk_accel_group_connect/disconnect to connect closures to accel groups.
made gtk_accel_group_attach/detach and gtk_accel_group_activate private
functions.
deprecated gtk_accel_group_ref/unref.
* gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention
to accel group changed notification and basically operate on closures.
removed gtk_accel_label_get_accel_object and
gtk_accel_label_set_accel_object.
introduced gtk_accel_label_set_accel_closure, and for convenience,
gtk_accel_label_set_accel_widget.
* gtk/gtkitemfactory.[hc]: removed accelerator propagation code
which mostly moved into gtkaccelmap.[hc].
removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_*
and gtk_item_factory_print_func.
* gtk/gtkmain.c: call _gtk_accel_map_init().
* gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(),
that associates an accelerator path with menu items, through which
persistent accelerator settings on menu items are enabled.
* gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator
paths of menu item can be default constructed to allow installation
of accelerators on menu items that don't come with an accelerator
binding by default.
* gtk/gtksettings.c: fix STRING type rc settings by special casing
them appropriately in the parser.
* gtk/gtksignal.[hc]: allow a class function offset of 0 for
gtk_signal_newv().
* gtk/gtkwidget.[hc]: accelerator API revamp.
removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal,
gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and
gtk_widget_(un)lock_accelerators.
accelerators maintained through gtk_widget_add/remove_accelerator()
are not runtime changable now, the correct sequence to setup a
widget for runtime changable accelerators is now:
gtk_accel_map_add_entry(accel_path, key, mods);
_gtk_widget_set_accel_path(widget, accel_path, accel_group);
* gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel
group changes (as well as mnemonic changes) through the new signal
::accels_changed.
Sat Nov 10 12:08:56 2001 Tim Janik <timj@gtk.org>
* gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle
GString->string conversions.
2001-11-13 00:53:47 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::accel-closures-changed ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::button-press-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::button-release-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2001-06-21 17:44:27 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::child-notify ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::client-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::configure-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::delete-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::destroy-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::direction-changed ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@arg1:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-begin ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-data-delete ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-data-get ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
|
|
|
@data:
|
|
|
|
@info:
|
|
|
|
@time:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-data-received ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@data:
|
|
|
|
@info:
|
|
|
|
@time:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-drop ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@time:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-end ##### -->
|
2000-09-07 18:17:06 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
2000-09-07 18:17:06 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-leave ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
|
|
|
@time:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::drag-motion ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@drag_context:
|
|
|
|
@x:
|
|
|
|
@y:
|
|
|
|
@time:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::enter-notify-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::event ##### -->
|
2000-09-07 18:17:06 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
Clip the retrieved image data to the screen, using a server grab to avoid
2001-06-28 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
image data to the screen, using a server grab to avoid race
conditions.
* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
check for NULL return from gtk_image_new_from_stock(), it never
returns NULL.
(gtk_item_factory_create_item): fix bug where we parsed the stock
ID as an inline pixbuf
* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
support (should be using binding set here)
* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
support (should be using binding set here)
* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
support
* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
* gtk/gtkimcontextsimple.c
(gtk_im_context_simple_filter_keypress): keypad
* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
should be binding-setted)
* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
* gtk/gtkcalendar.c: numeric keypad fixes
* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
support
* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
screwup
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
clip the render area to the drawable's clip region in advance,
so we don't get data from the server that we don't need.
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
check return value of gdk_pixbuf_get_from_drawable(), fall back
to bilevel alpha if we can't get the pixbuf to composite against.
* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
* gdk/gdkimage.c (gdk_image_get_colormap): add
gdk_image_set_colormap, gdk_image_get_colormap
* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
take a region of the image, instead of converting the entire
image.
* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
keybinding signal. Add default bindings for it. Add default
handler for show_help that shows the tooltip for the widget.
* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
"close" keybinding signal, remove key press handler.
* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
it's not our usual practice to leave a deprecated function around
with a runtime warning, plus we don't want it to appear in docs,
plus if we make them yellow no one will want to change them
anyhow.
2001-06-29 01:59:02 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::event-after ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::expose-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2001-06-08 18:09:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::focus ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::focus-in-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::focus-out-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::grab-focus ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
2001-06-14 22:25:23 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::grab-notify ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::hide ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
2001-03-08 16:36:17 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::hierarchy-changed ##### -->
|
|
|
|
<para>
|
|
|
|
Emitted when there is a chance in the hierarchy to
|
|
|
|
which a widget belong. More precisely, a widget is
|
|
|
|
<firstterm>anchored</firstterm> when its toplevel
|
|
|
|
ancestor is a #GtkWindow. This signal is emitted when
|
|
|
|
a widget changes from un-anchored to anchored or vice-versa.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2001-07-02 05:03:21 +00:00
|
|
|
@widget:
|
2001-03-08 16:36:17 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::key-press-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::key-release-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GtkWidget::leave-notify-event ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::map ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::map-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2001-04-01 07:32:41 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::mnemonic-activate ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::motion-notify-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::no-expose-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::parent-set ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@old_parent:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2001-03-29 21:17:45 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::popup-menu ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::property-notify-event ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::proximity-in-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::proximity-out-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::realize ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::scroll-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::selection-clear-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::selection-get ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@data:
|
|
|
|
@info:
|
|
|
|
@time:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::selection-notify-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::selection-received ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@data:
|
|
|
|
@time:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::selection-request-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::show ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
Clip the retrieved image data to the screen, using a server grab to avoid
2001-06-28 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
image data to the screen, using a server grab to avoid race
conditions.
* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
check for NULL return from gtk_image_new_from_stock(), it never
returns NULL.
(gtk_item_factory_create_item): fix bug where we parsed the stock
ID as an inline pixbuf
* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
support (should be using binding set here)
* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
support (should be using binding set here)
* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
support
* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
* gtk/gtkimcontextsimple.c
(gtk_im_context_simple_filter_keypress): keypad
* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
should be binding-setted)
* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
* gtk/gtkcalendar.c: numeric keypad fixes
* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
support
* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
screwup
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
clip the render area to the drawable's clip region in advance,
so we don't get data from the server that we don't need.
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
check return value of gdk_pixbuf_get_from_drawable(), fall back
to bilevel alpha if we can't get the pixbuf to composite against.
* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
* gdk/gdkimage.c (gdk_image_get_colormap): add
gdk_image_set_colormap, gdk_image_get_colormap
* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
take a region of the image, instead of converting the entire
image.
* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
keybinding signal. Add default bindings for it. Add default
handler for show_help that shows the tooltip for the widget.
* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
"close" keybinding signal, remove key press handler.
* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
it's not our usual practice to leave a deprecated function around
with a runtime warning, plus we don't want it to appear in docs,
plus if we make them yellow no one will want to change them
anyhow.
2001-06-29 01:59:02 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::show-help ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::size-allocate ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@allocation:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2001-04-03 04:29:58 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::size-request ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@requisition:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::state-changed ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@state:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::style-set ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@previous_style:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::unmap ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::unmap-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::unrealize ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::visibility-notify-event ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
2000-10-29 08:03:34 +00:00
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
2001-03-03 23:29:50 +00:00
|
|
|
<!-- ##### SIGNAL GtkWidget::window-state-event ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the object which received the signal.
|
|
|
|
@event:
|
|
|
|
@Returns:
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### ARG GtkWidget:name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkWidget:parent ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
fix a typo.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.
* gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink;
some fixage is needed here, but nothing simple. Owen understands
it. ;-)
* gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window
sizing and positioning. Also, fix bug in compute_geometry_hints
(width/height confusion for setting min size).
(gtk_window_move): new function
(gtk_window_resize): new function
(gtk_window_get_size): new function
(gtk_window_get_position): new function
(gtk_window_parse_geometry): new function
* gtk/gtkwidget.c (gtk_widget_set_size_request): new function
(gtk_widget_get_size_request): new function
(gtk_widget_get_usize): delete, that was a short-lived function
;-)
(gtk_widget_set_usize): deprecate
(gtk_widget_set_uposition): deprecate, make it a trivial
gtk_window_move() wrapper
(gtk_widget_class_init): remove x/y/width/height properties,
add width_request height_request
* demos/*: update to avoid deprecated functions
* gtk/gtklayout.c: add x/y child properties
* gtk/gtkfixed.c: add x/y child properties, and get rid of
uses of "gint16"
* tests/testgtk.c (create_window_sizing): lots of tweaks to window
sizing test
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that
configure events on toplevel windows are always in root window
coordinates, following ICCCM spec that all synthetic events
are in root window coords already, while real events are
in parent window coords. Previously the code assumed that
coords of 0,0 were parent window coords, which was
really broken.
* gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix
warning
* gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS
and GDK_HINT_USER_SIZE so we can set USSize and USPosition
hints in gtk_window_parse_geometry()
* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support
new USER_POS USER_SIZE hints
2001-08-10 03:46:08 +00:00
|
|
|
<!-- ##### ARG GtkWidget:width-request ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
fix a typo.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.
* gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink;
some fixage is needed here, but nothing simple. Owen understands
it. ;-)
* gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window
sizing and positioning. Also, fix bug in compute_geometry_hints
(width/height confusion for setting min size).
(gtk_window_move): new function
(gtk_window_resize): new function
(gtk_window_get_size): new function
(gtk_window_get_position): new function
(gtk_window_parse_geometry): new function
* gtk/gtkwidget.c (gtk_widget_set_size_request): new function
(gtk_widget_get_size_request): new function
(gtk_widget_get_usize): delete, that was a short-lived function
;-)
(gtk_widget_set_usize): deprecate
(gtk_widget_set_uposition): deprecate, make it a trivial
gtk_window_move() wrapper
(gtk_widget_class_init): remove x/y/width/height properties,
add width_request height_request
* demos/*: update to avoid deprecated functions
* gtk/gtklayout.c: add x/y child properties
* gtk/gtkfixed.c: add x/y child properties, and get rid of
uses of "gint16"
* tests/testgtk.c (create_window_sizing): lots of tweaks to window
sizing test
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that
configure events on toplevel windows are always in root window
coordinates, following ICCCM spec that all synthetic events
are in root window coords already, while real events are
in parent window coords. Previously the code assumed that
coords of 0,0 were parent window coords, which was
really broken.
* gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix
warning
* gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS
and GDK_HINT_USER_SIZE so we can set USSize and USPosition
hints in gtk_window_parse_geometry()
* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support
new USER_POS USER_SIZE hints
2001-08-10 03:46:08 +00:00
|
|
|
<!-- ##### ARG GtkWidget:height-request ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkWidget:visible ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkWidget:sensitive ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:app-paintable ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:can-focus ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:has-focus ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:can-default ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:has-default ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:receives-default ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:composite-child ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkWidget:style ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### ARG GtkWidget:events ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-01-09 16:41:17 +00:00
|
|
|
<!-- ##### ARG GtkWidget:extension-events ##### -->
|
1999-08-16 18:51:52 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|