summaryrefslogtreecommitdiff
path: root/fltk-widgets-groups-windows.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-09-19 18:48:47 +1000
committerJed Barber <jjbarber@y7mail.com>2016-09-19 18:48:47 +1000
commitd12fdd75d1c131bbe4bd49413c3da51131cd1e73 (patch)
tree90cdd01f7a2c6d9bafccb345314a22d60c5ffa60 /fltk-widgets-groups-windows.adb
parenta4b14b883f918161d2c235a52730d159b2f9ca7a (diff)
All File/Edit functions working, just need to add Search/About menu stuff
Diffstat (limited to 'fltk-widgets-groups-windows.adb')
-rw-r--r--fltk-widgets-groups-windows.adb28
1 files changed, 28 insertions, 0 deletions
diff --git a/fltk-widgets-groups-windows.adb b/fltk-widgets-groups-windows.adb
index 1c29f9b..4ecda66 100644
--- a/fltk-widgets-groups-windows.adb
+++ b/fltk-widgets-groups-windows.adb
@@ -27,6 +27,15 @@ package body FLTK.Widgets.Groups.Windows is
(W : in System.Address);
pragma Import (C, fl_window_show, "fl_window_show");
+ procedure fl_window_hide
+ (W : in System.Address);
+ pragma Import (C, fl_window_hide, "fl_window_hide");
+
+ procedure fl_window_set_label
+ (W : in System.Address;
+ T : in Interfaces.C.char_array);
+ pragma Import (C, fl_window_set_label, "fl_window_set_label");
+
@@ -91,5 +100,24 @@ package body FLTK.Widgets.Groups.Windows is
end Show;
+
+
+ procedure Hide
+ (This : in Window) is
+ begin
+ fl_window_hide (This.Void_Ptr);
+ end Hide;
+
+
+
+
+ procedure Set_Label
+ (This : in out Window;
+ Text : in String) is
+ begin
+ fl_window_set_label (This.Void_Ptr, Interfaces.C.To_C (Text));
+ end Set_Label;
+
+
end FLTK.Widgets.Groups.Windows;