[ CCode ( has_construct_function = false , type = "GtkAction*" ) ]
public RecentAction (string name, string label, string tooltip, string stock_id)
Creates a new RecentAction object.
To add the action to a ActionGroup and set the accelerator for the action, call add_action_with_accel.
| name |
a unique name for the action |
| label |
the label displayed in menu items and on buttons, or null |
| tooltip |
a tooltip for the action, or null |
| stock_id |
the stock icon to display in widgets representing the action, or null |
|
the newly created RecentAction. |