summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-menus-menu_buttons.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-menus-menu_buttons.ads')
-rw-r--r--src/fltk-widgets-menus-menu_buttons.ads10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fltk-widgets-menus-menu_buttons.ads b/src/fltk-widgets-menus-menu_buttons.ads
index 6d866a0..b265d7c 100644
--- a/src/fltk-widgets-menus-menu_buttons.ads
+++ b/src/fltk-widgets-menus-menu_buttons.ads
@@ -8,6 +8,10 @@ with
FLTK.Menu_Items;
+limited with
+
+ FLTK.Widgets.Groups;
+
package FLTK.Widgets.Menus.Menu_Buttons is
@@ -30,6 +34,12 @@ package FLTK.Widgets.Menus.Menu_Buttons is
Text : in String := "")
return Menu_Button;
+ function Create
+ (Parent : in out FLTK.Widgets.Groups.Group'Class;
+ X, Y, W, H : in Integer;
+ Text : in String := "")
+ return Menu_Button;
+
end Forge;