[gtk/ebassi/gidocgen] levelbar: Add property annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen] levelbar: Add property annotations
- Date: Wed, 24 Feb 2021 04:03:20 +0000 (UTC)
commit d4ef4645fa1740151dfefb0073948306d92b30f5
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 23 23:00:55 2021 -0500
levelbar: Add property annotations
Connect properties, getters, and setters with annotations.
gtk/gtklevelbar.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/gtk/gtklevelbar.c b/gtk/gtklevelbar.c
index f34dd111d9..ab967b8a91 100644
--- a/gtk/gtklevelbar.c
+++ b/gtk/gtklevelbar.c
@@ -937,7 +937,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
1, G_TYPE_STRING);
/**
- * GtkLevelBar:value:
+ * GtkLevelBar:value: (attributes org.gtk.Property.get=gtk_levelbar_get_value
org.gtk.Property.set=gtk_levelbar_set_value)
*
* Determines the currently filled value of the level bar.
*/
@@ -949,7 +949,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLevelBar:min-value:
+ * GtkLevelBar:min-value: (attributes org.gtk.Property.get=gtk_level_bar_get_min_value
org.gtk.Property.set=gtk_level_bar_set_min_value)
*
* Determines the minimum value of the interval that can be displayed by the bar.
*/
@@ -961,7 +961,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLevelBar:max-value:
+ * GtkLevelBar:max-value: (attributes org.gtk.Property.get=gtk_level_bar_get_max_value
org.gtk.Property.set=gtk_level_bar_set_max_value)
*
* Determines the maximum value of the interval that can be displayed by the bar.
*/
@@ -973,7 +973,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLevelBar:mode:
+ * GtkLevelBar:mode: (attributes org.gtk.Property.get=gtk_level_bar_get_mode
org.gtk.Property.set=gtk_level_bar_set_mode)
*
* Determines the way `GtkLevelBar` interprets the value properties to draw the
* level fill area.
@@ -995,7 +995,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkLevelBar:inverted:
+ * GtkLevelBar:inverted: (attributes org.gtk.Property.get=gtk_level_bar_get_inverted
org.gtk.Property.set=gtk_level_bar_set_inverted)
*
* Whether the `GtkLeveBar` is inverted.
*
@@ -1090,7 +1090,7 @@ gtk_level_bar_new_for_interval (double min_value,
}
/**
- * gtk_level_bar_get_min_value:
+ * gtk_level_bar_get_min_value: (attributes org.gtk.Method.get_property=min-value)
* @self: a `GtkLevelBar`
*
* Returns the `min-value of the `GtkLevelBar`.
@@ -1106,7 +1106,7 @@ gtk_level_bar_get_min_value (GtkLevelBar *self)
}
/**
- * gtk_level_bar_get_max_value:
+ * gtk_level_bar_get_max_value: (attributes org.gtk.Method.get_property=max-value)
* @self: a `GtkLevelBar`
*
* Returns the `max-value` of the `GtkLevelBar`.
@@ -1122,7 +1122,7 @@ gtk_level_bar_get_max_value (GtkLevelBar *self)
}
/**
- * gtk_level_bar_get_value:
+ * gtk_level_bar_get_value: (attributes org.gtk.Method.get_property=value)
* @self: a `GtkLevelBar`
*
* Returns the `value` of the `GtkLevelBar`.
@@ -1150,7 +1150,7 @@ gtk_level_bar_set_value_internal (GtkLevelBar *self,
}
/**
- * gtk_level_bar_set_min_value:
+ * gtk_level_bar_set_min_value: (attributes org.gtk.Method.set_property=min-value)
* @self: a `GtkLevelBar`
* @value: a positive value
*
@@ -1186,7 +1186,7 @@ gtk_level_bar_set_min_value (GtkLevelBar *self,
}
/**
- * gtk_level_bar_set_max_value:
+ * gtk_level_bar_set_max_value: (attributes org.gtk.Method.set_property=max-value)
* @self: a `GtkLevelBar`
* @value: a positive value
*
@@ -1223,7 +1223,7 @@ gtk_level_bar_set_max_value (GtkLevelBar *self,
}
/**
- * gtk_level_bar_set_value:
+ * gtk_level_bar_set_value: (attributes org.gtk.Method.set_property=value)
* @self: a `GtkLevelBar`
* @value: a value in the interval between
* [property@Gtk.LevelBar:min-value] and [property@Gtk.LevelBar:max-value]
@@ -1248,7 +1248,7 @@ gtk_level_bar_set_value (GtkLevelBar *self,
}
/**
- * gtk_level_bar_get_mode:
+ * gtk_level_bar_get_mode: (attributes org.gtk.Method.get_property=mode)
* @self: a `GtkLevelBar`
*
* Returns the `mode` of the `GtkLevelBar`.
@@ -1264,7 +1264,7 @@ gtk_level_bar_get_mode (GtkLevelBar *self)
}
/**
- * gtk_level_bar_set_mode:
+ * gtk_level_bar_set_mode: (attributes org.gtk.Method.set_property=mode)
* @self: a `GtkLevelBar`
* @mode: a `GtkLevelBarMode`
*
@@ -1290,7 +1290,7 @@ gtk_level_bar_set_mode (GtkLevelBar *self,
}
/**
- * gtk_level_bar_get_inverted:
+ * gtk_level_bar_get_inverted: (attributes org.gtk.Method.get_property=inverted)
* @self: a `GtkLevelBar`
*
* Returns whether the levelbar is inverted.
@@ -1306,7 +1306,7 @@ gtk_level_bar_get_inverted (GtkLevelBar *self)
}
/**
- * gtk_level_bar_set_inverted:
+ * gtk_level_bar_set_inverted: (attributes org.gtk.Method.set_property=inverted)
* @self: a `GtkLevelBar`
* @inverted: %TRUE to invert the level bar
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]