summaryrefslogtreecommitdiff
path: root/src/fltk-widgets.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2024-11-17 17:15:53 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2024-11-17 17:15:53 +1300
commit619b3da9fbb37c57aedfc039cc813f6acf5569be (patch)
tree5577d1594900cd5e23afbc792d31ba9a40818d55 /src/fltk-widgets.ads
parentf5f77c762534ed15adc557009d1a645e5fd998a5 (diff)
Refactored Finalize subprograms and made note of potential future Widget issues there in fltk.ads
Diffstat (limited to 'src/fltk-widgets.ads')
-rw-r--r--src/fltk-widgets.ads13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fltk-widgets.ads b/src/fltk-widgets.ads
index e0ab7a3..f37870d 100644
--- a/src/fltk-widgets.ads
+++ b/src/fltk-widgets.ads
@@ -361,11 +361,24 @@ private
overriding procedure Finalize
(This : in out Widget);
+ -- Widgets that might cause problems for this setup in the future:
+ -- Valuators.Value_Inputs (has an internal Input)
+ -- Menus (gets various Menu_Items added to it)
+ -- Groups.Text_Displays (gets a Text_Buffer attached)
+ -- Groups.Text_Displays.Text_Editors (also gets a Text_Buffer attached)
+ -- Groups.Input_Choices (has an internal Input and Menu_Button)
+ -- Groups.Browsers (has two internal Scrollbars)
+ -- If weird Init/Final errors start mysteriously occuring then check there first.
+
procedure Extra_Init
(This : in out Widget;
X, Y, W, H : in Integer;
Text : in String);
+ procedure Extra_Final
+ (This : in out Widget)
+ with Inline;
+