WidgetClass.queryAction

Queries the actions that have been installed for a widget class using [method@Gtk.WidgetClass.install_action] during class initialization.

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

class WidgetClass
bool
queryAction
(
uint index
,,
out string actionName
,,
out string propertyName
)

Parameters

index uint

position of the action to query

owner GType

return location for the type where the action was defined

actionName string

return location for the action name

parameterType VariantType

return location for the parameter type

propertyName string

return location for the property name

Return Value

Type: bool

%TRUE if the action was found, %FALSE if @index_ is out of range

Meta