DragonFly On-Line Manual Pages

Search: Section:  

EZ_MenuBarInsertItemAndMenu(3)  EZWGL Functions EZ_MenuBarInsertItemAndMenu(3)


EZ_MenuBarInsertItemAndMenu - insert an item on a menubar


#include <EZ.h> void EZ_MenuBarInsertItemAndMenu(EZ_Widget *mbar, char *label, int ul EZ_Widget *menu, char *ref, int where)


mbar Specifies a menubar widget. label Specifies an item label. ul Specifies the index of the character in label to be underlined. menu Specifies the menu to be associated to the new item. ref Specifies an existing item label on the menu bar. where Specifies where to insert the new item, relative to ref. A negative value means the new item will be inserted in front of ref.


EZ_MenuBarInsertItemAndMenu add a new item on a menu bar. If there are no item on mbar labeled by ref, the newly created item will be insert either at the front or the end of the item list, depending on the sign of where.


EZ_CreateWidget(3), EZ_MenuBarAddItem(3) EZWGL EZ_MenuBarInsertItemAndMenu(3)

Search: Section: