gtkactionable: Document properties
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user