Expand the docs for GtkWindow::attached-to
This commit is contained in:
parent
27f6441bb2
commit
46ee761c0d
@ -972,7 +972,13 @@ gtk_window_class_init (GtkWindowClass *klass)
|
|||||||
/**
|
/**
|
||||||
* GtkWindow:attached-to:
|
* GtkWindow:attached-to:
|
||||||
*
|
*
|
||||||
* the widget attached to the window.
|
* The widget to which this window is attached.
|
||||||
|
* See gtk_window_set_attached_to().
|
||||||
|
*
|
||||||
|
* Examples of places where specifying this relation is useful are
|
||||||
|
* for instance a #GtkMenu created by a #GtkComboBox, a completion
|
||||||
|
* popup window created by #GtkEntry or a typeahead search entry
|
||||||
|
* created by #GtkTreeView.
|
||||||
*
|
*
|
||||||
* Since: 3.4
|
* Since: 3.4
|
||||||
*/
|
*/
|
||||||
@ -982,7 +988,7 @@ gtk_window_class_init (GtkWindowClass *klass)
|
|||||||
P_("Attached to Widget"),
|
P_("Attached to Widget"),
|
||||||
P_("The widget where the window is attached"),
|
P_("The widget where the window is attached"),
|
||||||
GTK_TYPE_WIDGET,
|
GTK_TYPE_WIDGET,
|
||||||
GTK_PARAM_READWRITE| G_PARAM_CONSTRUCT));
|
GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkWindow:opacity:
|
* GtkWindow:opacity:
|
||||||
@ -2618,7 +2624,7 @@ gtk_window_get_transient_for (GtkWindow *window)
|
|||||||
* @attach_widget (allow-none): a #GtkWidget, or %NULL
|
* @attach_widget (allow-none): a #GtkWidget, or %NULL
|
||||||
*
|
*
|
||||||
* Marks @window as attached to @attach_widget. This creates a logical binding
|
* Marks @window as attached to @attach_widget. This creates a logical binding
|
||||||
* between the window and the widget it belongs to, which is used by GTK to
|
* between the window and the widget it belongs to, which is used by GTK+ to
|
||||||
* propagate information such as styling or accessibility to @window as if it
|
* propagate information such as styling or accessibility to @window as if it
|
||||||
* was a children of @attach_widget.
|
* was a children of @attach_widget.
|
||||||
*
|
*
|
||||||
@ -2626,8 +2632,8 @@ gtk_window_get_transient_for (GtkWindow *window)
|
|||||||
* a #GtkMenu created by a #GtkComboBox, a completion popup window
|
* a #GtkMenu created by a #GtkComboBox, a completion popup window
|
||||||
* created by #GtkEntry or a typeahead search entry created by #GtkTreeView.
|
* created by #GtkEntry or a typeahead search entry created by #GtkTreeView.
|
||||||
*
|
*
|
||||||
* Note that this function should not be confused with
|
* Note that this function should not be confused with
|
||||||
* #gtk_window_set_transient_for, which specifies a window manager relation
|
* gtk_window_set_transient_for(), which specifies a window manager relation
|
||||||
* between two toplevels instead.
|
* between two toplevels instead.
|
||||||
*
|
*
|
||||||
* Passing %NULL for @attach_widget detaches the window.
|
* Passing %NULL for @attach_widget detaches the window.
|
||||||
@ -2669,7 +2675,7 @@ gtk_window_set_attached_to (GtkWindow *window,
|
|||||||
*
|
*
|
||||||
* Return value: (transfer none): the widget where the window is attached,
|
* Return value: (transfer none): the widget where the window is attached,
|
||||||
* or %NULL if the window is not attached to any widget.
|
* or %NULL if the window is not attached to any widget.
|
||||||
*
|
*
|
||||||
* Since: 3.4
|
* Since: 3.4
|
||||||
**/
|
**/
|
||||||
GtkWidget *
|
GtkWidget *
|
||||||
|
Loading…
Reference in New Issue
Block a user