summaryrefslogtreecommitdiff
path: root/gdk/gdkcursor.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-24 18:07:11 -0500
committerEmmanuele Bassi <ebassi@gnome.org>2021-03-11 16:37:32 +0000
commit50fe533246b6a8158ee811db8f5f2ef6aa0fc24d (patch)
tree2953e3dbcc51dd5009da8778e225c740294f4cdb /gdk/gdkcursor.c
parent11022fc48565ea909acda8b4055477821716461d (diff)
downloadgtk+-50fe533246b6a8158ee811db8f5f2ef6aa0fc24d.tar.gz
cursor: Add property annotations
Connect properties, getters, and setters with annotations.
Diffstat (limited to 'gdk/gdkcursor.c')
-rw-r--r--gdk/gdkcursor.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c
index 700f458573..93b3fac63b 100644
--- a/gdk/gdkcursor.c
+++ b/gdk/gdkcursor.c
@@ -170,7 +170,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
object_class->finalize = gdk_cursor_finalize;
/**
- * GdkCursor:fallback:
+ * GdkCursor:fallback: (attributes org.gtk.Property.get=gdk_cursor_get_fallback)
*
* Cursor to fall back to if this cursor cannot be displayed.
*/
@@ -184,7 +184,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
G_PARAM_STATIC_STRINGS));
/**
- * GdkCursor:hotspot-x:
+ * GdkCursor:hotspot-x: (attributes org.gtk.Property.get=gdk_cursor_get_hotspot_x)
*
* X position of the cursor hotspot in the cursor image.
*/
@@ -198,7 +198,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
G_PARAM_STATIC_STRINGS));
/**
- * GdkCursor:hotspot-y:
+ * GdkCursor:hotspot-y: (attributes org.gtk.Property.get=gdk_cursor_get_hotspot_y)
*
* Y position of the cursor hotspot in the cursor image.
*/
@@ -212,7 +212,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
G_PARAM_STATIC_STRINGS));
/**
- * GdkCursor:name:
+ * GdkCursor:name: (attributes org.gtk.Property.get=gdk_cursor_get_name)
*
* Name of this this cursor.
*
@@ -392,7 +392,7 @@ gdk_cursor_new_from_texture (GdkTexture *texture,
}
/**
- * gdk_cursor_get_fallback:
+ * gdk_cursor_get_fallback: (attributes org.gtk.Method.get_property=fallback)
* @cursor: a `GdkCursor`
*
* Returns the fallback for this @cursor.
@@ -415,7 +415,7 @@ gdk_cursor_get_fallback (GdkCursor *cursor)
}
/**
- * gdk_cursor_get_name:
+ * gdk_cursor_get_name: (attributes org.gtk.Method.get_property=name)
* @cursor: a `GdkCursor`
*
* Returns the name of the cursor.
@@ -453,7 +453,7 @@ gdk_cursor_get_texture (GdkCursor *cursor)
}
/**
- * gdk_cursor_get_hotspot_x:
+ * gdk_cursor_get_hotspot_x: (attributes org.gtk.Method.get_property=hotspot-x)
* @cursor: a `GdkCursor`
*
* Returns the horizontal offset of the hotspot.
@@ -475,7 +475,7 @@ gdk_cursor_get_hotspot_x (GdkCursor *cursor)
}
/**
- * gdk_cursor_get_hotspot_y:
+ * gdk_cursor_get_hotspot_y: (attributes org.gtk.Method.get_property=hotspot-y)
* @cursor: a `GdkCursor`
*
* Returns the vertical offset of the hotspot.