edelib 2.1.0
|
Button with attached menu. More...
#include <edelib/MenuButton.h>
Public Types | |
enum | { POPUP1 = 1 , POPUP2 , POPUP12 , POPUP3 , POPUP13 , POPUP23 , POPUP123 } |
Public Member Functions | |
MenuButton (int, int, int, int, const char *=0) | |
int | handle (int) |
const MenuItem * | popup () |
Button with attached menu.
MenuButton is forked Fl_Menu_Button, so all FLTK documentation for Fl_Menu_Button applies here too.
anonymous enum |
Values for type()
MenuButton | ( | int | , |
int | , | ||
int | , | ||
int | , | ||
const char * | = 0 |
||
) |
Constructor
int handle | ( | int | ) |
Handle events
const MenuItem * popup | ( | ) |
Popup menu and return the menu item or NULL if the user dismisses the menu