gtkactionable: Document properties

This commit is contained in:
Maximiliano Sandoval
2024-05-25 18:10:37 +02:00
parent 514cdf7398
commit 0b540b9ad1

View File

@@ -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));