aboutsummaryrefslogtreecommitdiff
path: root/spec/fltk-asks.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-04-13 18:48:34 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2025-04-13 18:58:07 +1200
commitd80d210d6b1418ba3e773186337c5da7ea169c4e (patch)
tree6226c1c22f62e8dbde08f118147b82c034e6c1f5 /spec/fltk-asks.ads
parentfb4183c9244ee31aa5cb8bc9745c9242b1fafeeb (diff)
Proper init of Message_Icon box, some more checks added
Diffstat (limited to 'spec/fltk-asks.ads')
-rw-r--r--spec/fltk-asks.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/fltk-asks.ads b/spec/fltk-asks.ads
index 75296d3..23e2076 100644
--- a/spec/fltk-asks.ads
+++ b/spec/fltk-asks.ads
@@ -172,6 +172,10 @@ package FLTK.Asks is
(Font : in Font_Kind;
Size : in Font_Size);
+ -- Technically the returned Box should have a parent, but you can't access
+ -- it for annoying technical reasons relating to how the Choice functions
+ -- work in C++. You shouldn't be trying to poke at those internals anyway.
+ -- Just stick to calling subprograms to change stuff about this Box.
function Get_Message_Icon
return FLTK.Widgets.Boxes.Box_Reference;