al_insert_menu_item - Online Linux Manual PageSection : 3
Updated :
Source : Allegro reference manual
Note :

NAMEal_insert_menu_item − Allegro 5 API

SYNOPSIS #include <allegro5/allegro_native_dialog.h> int al_insert_menu_item(ALLEGRO_MENU *parent, int pos, char const *title,    uint16_t id, int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu)

DESCRIPTIONInserts a menu item at the spot specified. See the introductory text for a detailed explanation of how the pos parameter is interpreted. The parent menu can be a popup menu or a regular menu. To underline one character in the title, prefix it with an ampersand. The flags can be any combination of: ALLEGRO_MENU_ITEM_DISABLED  The item is "grayed out" and cannot be selected. ALLEGRO_MENU_ITEM_CHECKBOX  The item is a check box. This flag can only be set at the time the menu is created. If a check box is clicked, it will automatically be toggled. ALLEGRO_MENU_ITEM_CHECKED  The item is checked. If set, ALLEGRO_MENU_ITEM_CHECKBOX will automatically be set as well. The icon is not yet supported. The submenu parameter indicates that this item contains a child menu. The child menu must have previously been created with al_create_menu, and not be associated with any other menu. Returns true on success.

SINCE5.1.0

SEE ALSOal_append_menu_item(3), al_remove_menu_item(3)
0
Johanes Gumabo
Data Size   :   6,411 byte
man-al_insert_menu_item.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 198,991
Visitor ID   :     :  
Visitor IP   :   3.144.224.105   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.