From 0b540b9ad1cc7eaa16a49e3834217b2b86cd7095 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Sat, 25 May 2024 18:10:37 +0200 Subject: [PATCH] gtkactionable: Document properties --- gtk/gtkactionable.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gtk/gtkactionable.c b/gtk/gtkactionable.c index 998c1a18db..56ec2a9ba8 100644 --- a/gtk/gtkactionable.c +++ b/gtk/gtkactionable.c @@ -56,10 +56,21 @@ G_DEFINE_INTERFACE (GtkActionable, gtk_actionable, GTK_TYPE_WIDGET) static void gtk_actionable_default_init (GtkActionableInterface *iface) { + + /** + * GtkActionable:action-name: + * + * The name of the action with which this widget should be associated. + */ g_object_interface_install_property (iface, g_param_spec_string ("action-name", NULL, NULL, NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * GtkActionable:action-target: + * + * The target value of the actionable widget's action. + */ g_object_interface_install_property (iface, g_param_spec_variant ("action-target", NULL, NULL, G_VARIANT_TYPE_ANY, NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));