set_action_name


Description:

public abstract void set_action_name (string? action_name)

Specifies the name of the action with which this widget should be associated.

If action_name is null then the widget will be unassociated from any previous action.

Usually this function is used when the widget is located (or will be located) within the hierarchy of a ApplicationWindow.

Names are of the form “win.save” or “app.quit” for actions on the containing ApplicationWindow or its associated Application, respectively. This is the same form used for actions in the Menu associated with the window.

Parameters:

this

a Actionable widget

action_name

an action name, or null




2022 vala-language.org