query_action


Description:

[ CCode ( cname = "gtk_widget_class_query_action" ) ]
public class bool query_action (uint index_, out Type owner, out unowned string action_name, out unowned VariantType? parameter_type, out unowned string? property_name)

Returns details about the index_-th action that has been installed for this during class initialization.

See [method@Gtk.WidgetClass.install_action] for details on how to install actions.

Note that this function will also return actions defined by parent classes. You can identify those by looking at owner.

Parameters:

this

a `GtkWidget` class

index_

position of the action to query

owner

return location for the type where the action was defined

action_name

return location for the action name

parameter_type

return location for the parameter type

property_name

return location for the property name

Returns:

true if the action was found, false if index_ is out of range