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
g_menu_item_set_detailed_action() for more information.
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 g_menu_item_set_detailed_action() for more information.