| Package name | |
|---|---|
| Fl_Menu_Button | FLTK.Widgets.Menus.Menu_Buttons |
| Types | |
|---|---|
| Fl_Menu_Button | Menu_Button |
| Menu_Button_Reference | |
| popup_buttons | Popup_Buttons |
| Constructors | |
|---|---|
Fl_Menu_Button(int, int, int, int, const char *=0); |
function Create
(X, Y, W, H : in Integer;
Text : in String := "")
return Menu_Button;
|
| Rely on the automatic use of begin when a group is created, or use begin/end explicitly, or add each widget to its intended parent group manually. |
function Create
(Parent : in out FLTK.Widgets.Groups.Group'Class;
X, Y, W, H : in Integer;
Text : in String := "")
return Menu_Button;
|
| Functions and Procedures | |
|---|---|
int handle(int); |
function Handle
(This : in out Menu_Button;
Event : in Event_Kind)
return Event_Outcome;
|
const Fl_Menu_Item * popup(); |
function Popup
(This : in out Menu_Button)
return Extended_Index;
|
| Use the type methods in Fl_Widget with the popup_buttons enum. |
function Get_Popup_Kind
(This : in Menu_Button)
return Popup_Buttons;
|
| Use the type methods in Fl_Widget with the popup_buttons enum. |
procedure Set_Popup_Kind
(This : in out Menu_Button;
Kind : in Popup_Buttons);
|
| Protected Functions and Procedures | |
|---|---|
void draw(); |
procedure Draw
(This : in out Menu_Button);
|