MenuItem.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string label = null, string detailedAction = null)

Creates a new #GMenuItem.

If label is non-null it is used to set the "label" attribute of the new item.

If detailed_action is non-null it is used to set the "action" and possibly the "target" attribute of the new item. See [gio.menu_item.MenuItem.setDetailedAction] for more information.

Parameters

labelthe section label, or null
detailedActionthe detailed action string, or null

Returns

a new #GMenuItem