new_from_action_entry


Description:

[ Version ( since = "4.16" ) ]
public static unowned Widget? new_from_action_entry (GtkActionEntry action_entry, Object? callback_param, MenuShell? menu_to_append_item)

Method to create a menu item from the passed action entry

Parameters:

action_entry

Label to use for the CheckMenuItem

callback_param

optional callback parameter, or NULL.

menu_to_append_item

MenuShell on which the item should be appended, or NULL

Returns:

A new MenuItem or NULL