Commit 54077d61 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Add some element-type annotations to gtk apis

parent 28c66ed9
...@@ -769,7 +769,8 @@ gtk_binding_entry_remove (GtkBindingSet *binding_set, ...@@ -769,7 +769,8 @@ gtk_binding_entry_remove (GtkBindingSet *binding_set,
* @keyval: key value * @keyval: key value
* @modifiers: key modifier * @modifiers: key modifier
* @signal_name: signal name to be bound * @signal_name: signal name to be bound
* @binding_args: list of #GtkBindingArg signal arguments * @binding_args: (transfer none) (element-type GtkBindingArg):
* list of #GtkBindingArg signal arguments
* *
* Override or install a new key binding for @keyval with @modifiers on * Override or install a new key binding for @keyval with @modifiers on
* @binding_set. * @binding_set.
......
...@@ -2480,9 +2480,10 @@ chain_widget_destroyed (GtkWidget *widget, ...@@ -2480,9 +2480,10 @@ chain_widget_destroyed (GtkWidget *widget,
} }
/** /**
* gtk_container_set_focus_chain: * gtk_container_set_focus_chain:
* @container: a #GtkContainer * @container: a #GtkContainer
* @focusable_widgets: the new focus chain * @focusable_widgets: (transfer none) (element-type GtkWidget):
* the new focus chain
* *
* Sets a focus chain, overriding the one computed automatically by GTK+. * Sets a focus chain, overriding the one computed automatically by GTK+.
* *
......
...@@ -267,8 +267,8 @@ gtk_radio_button_get_property (GObject *object, ...@@ -267,8 +267,8 @@ gtk_radio_button_get_property (GObject *object,
/** /**
* gtk_radio_button_set_group: * gtk_radio_button_set_group:
* @radio_button: a #GtkRadioButton. * @radio_button: a #GtkRadioButton.
* @group: an existing radio button group, such as one returned from * @group: (transfer none) (element-type GtkRadioButton): an existing radio
* gtk_radio_button_get_group(). * button group, such as one returned from gtk_radio_button_get_group().
* *
* Sets a #GtkRadioButton's group. It should be noted that this does not change * Sets a #GtkRadioButton's group. It should be noted that this does not change
* the layout of your interface in any way, so if you are changing the group, * the layout of your interface in any way, so if you are changing the group,
......
...@@ -4850,16 +4850,18 @@ gtk_widget_remove_accelerator (GtkWidget *widget, ...@@ -4850,16 +4850,18 @@ gtk_widget_remove_accelerator (GtkWidget *widget,
} }
/** /**
* gtk_widget_list_accel_closures * gtk_widget_list_accel_closures:
* @widget: widget to list accelerator closures for * @widget: widget to list accelerator closures for
* @returns: a newly allocated #GList of closures
* *
* Lists the closures used by @widget for accelerator group connections * Lists the closures used by @widget for accelerator group connections
* with gtk_accel_group_connect_by_path() or gtk_accel_group_connect(). * with gtk_accel_group_connect_by_path() or gtk_accel_group_connect().
* The closures can be used to monitor accelerator changes on @widget, * The closures can be used to monitor accelerator changes on @widget,
* by connecting to the @GtkAccelGroup::accel-changed signal of the * by connecting to the @GtkAccelGroup::accel-changed signal of the
* #GtkAccelGroup of a closure which can be found out with * #GtkAccelGroup of a closure which can be found out with
* gtk_accel_group_from_accel_closure(). * gtk_accel_group_from_accel_closure().
*
* Return value: (transfer container) (element-type GClosure):
* a newly allocated #GList of closures
*/ */
GList* GList*
gtk_widget_list_accel_closures (GtkWidget *widget) gtk_widget_list_accel_closures (GtkWidget *widget)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment