[gtk/ebassi/gidocgen: 191/483] appchooserbutton: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 191/483] appchooserbutton: Add property annotations
- Date: Sun, 7 Mar 2021 16:13:15 +0000 (UTC)
commit ed56da699281b4241b6ea70d6b4c40b41c7b3ece
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 25 18:22:25 2021 -0500
appchooserbutton: Add property annotations
Connect properties, getters, and setters with annotations
gtk/gtkappchooserbutton.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gtk/gtkappchooserbutton.c b/gtk/gtkappchooserbutton.c
index e8f2c531de..6c2626ba50 100644
--- a/gtk/gtkappchooserbutton.c
+++ b/gtk/gtkappchooserbutton.c
@@ -666,7 +666,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
g_object_class_override_property (oclass, PROP_CONTENT_TYPE, "content-type");
/**
- * GtkAppChooserButton:show-dialog-item:
+ * GtkAppChooserButton:show-dialog-item: (attributes
org.gtk.Property.get=gtk_app_chooser_button_get_show_dialog_item
org.gtk.Property.set=gtk_app_chooser_button_set_show_dialog_item)
*
* Determines whether the dropdown menu shows an item to open
* a `GtkAppChooserDialog`.
@@ -679,7 +679,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkAppChooserButton:show-default-item:
+ * GtkAppChooserButton:show-default-item: (attributes
org.gtk.Property.get=gtk_app_chooser_button_get_show_default_item
org.gtk.Property.set=gtk_app_chooser_button_set_show_default_item)
*
* Determines whether the dropdown menu shows the default application
* on top for the provided content type.
@@ -692,7 +692,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkAppChooserButton:heading:
+ * GtkAppChooserButton:heading: (attributes org.gtk.Property.get=gtk_app_chooser_button_get_heading
org.gtk.Property.set=gtk_app_chooser_button_set_heading)
*
* The text to show at the top of the dialog that can be
* opened from the button.
@@ -707,7 +707,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkAppChooserButton:modal:
+ * GtkAppChooserButton:modal: (attributes org.gtk.Property.get=gtk_app_chooser_button_get_modal
org.gtk.Property.set=gtk_app_chooser_button_set_modal)
*
* Whether the app chooser dialog should be modal.
*/
@@ -899,7 +899,7 @@ gtk_app_chooser_button_append_separator (GtkAppChooserButton *self)
*
* The item name must be unique per-widget. Clients can use the
* provided name as a detail for the
- * [signal@GtkAppChooserButton::custom-item-activated] signal, to add a
+ * [signal@Gtk.AppChooserButton::custom-item-activated] signal, to add a
* callback for the activation of a particular custom item in the list.
*
* See also [method@Gtk.AppChooserButton.append_separator].
@@ -951,7 +951,7 @@ gtk_app_chooser_button_set_active_custom_item (GtkAppChooserButton *self,
}
/**
- * gtk_app_chooser_button_get_show_dialog_item:
+ * gtk_app_chooser_button_get_show_dialog_item: (attributes org.gtk.Method.get_property=show-dialog-item)
* @self: a `GtkAppChooserButton`
*
* Returns whether the dropdown menu shows an item
@@ -968,7 +968,7 @@ gtk_app_chooser_button_get_show_dialog_item (GtkAppChooserButton *self)
}
/**
- * gtk_app_chooser_button_set_show_dialog_item:
+ * gtk_app_chooser_button_set_show_dialog_item: (attributes org.gtk.Method.set_property=show-dialog-item)
* @self: a `GtkAppChooserButton`
* @setting: the new value for [property@Gtk.AppChooserButton:show-dialog-item]
*
@@ -990,7 +990,7 @@ gtk_app_chooser_button_set_show_dialog_item (GtkAppChooserButton *self,
}
/**
- * gtk_app_chooser_button_get_show_default_item:
+ * gtk_app_chooser_button_get_show_default_item: (attributes org.gtk.Method.get_property=show-default-item)
* @self: a `GtkAppChooserButton`
*
* Returns whether the dropdown menu should show the default
@@ -1007,7 +1007,7 @@ gtk_app_chooser_button_get_show_default_item (GtkAppChooserButton *self)
}
/**
- * gtk_app_chooser_button_set_show_default_item:
+ * gtk_app_chooser_button_set_show_default_item: (attributes org.gtk.Method.set_property=show-default-item)
* @self: a `GtkAppChooserButton`
* @setting: the new value for [property@Gtk.AppChooserButton:show-default-item]
*
@@ -1031,7 +1031,7 @@ gtk_app_chooser_button_set_show_default_item (GtkAppChooserButton *self,
}
/**
- * gtk_app_chooser_button_set_heading:
+ * gtk_app_chooser_button_set_heading: (attributes org.gtk.Method.set_property=heading)
* @self: a `GtkAppChooserButton`
* @heading: a string containing Pango markup
*
@@ -1052,7 +1052,7 @@ gtk_app_chooser_button_set_heading (GtkAppChooserButton *self,
}
/**
- * gtk_app_chooser_button_get_heading:
+ * gtk_app_chooser_button_get_heading: (attributes org.gtk.Method.get_property=heading)
* @self: a `GtkAppChooserButton`
*
* Returns the text to display at the top of the dialog.
@@ -1069,7 +1069,7 @@ gtk_app_chooser_button_get_heading (GtkAppChooserButton *self)
}
/**
- * gtk_app_chooser_button_set_modal:
+ * gtk_app_chooser_button_set_modal: (attributes org.gtk.Method.set_property=modal)
* @self: a `GtkAppChooserButton`
* @modal: %TRUE to make the dialog modal
*
@@ -1090,7 +1090,7 @@ gtk_app_chooser_button_set_modal (GtkAppChooserButton *self,
}
/**
- * gtk_app_chooser_button_get_modal:
+ * gtk_app_chooser_button_get_modal: (attributes org.gtk.Method.get_property=modal)
* @self: a `GtkAppChooserButton`
*
* Gets whether the dialog is modal.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]