Hi,
To place a button inside a div tag one can write
declare
View : Gnoga.Gui.View.View_Type;
Button : Gnoga.Gui.Element.Common.Button_Type;
begin
...
Button.Create (Parent => View);
end;
The result is
<div>
<button .../>
</div>
Consider the situation when one would like to place a button inside a list item
tag:
<ul>
<li>
<button ... />
</li>
</ul>
It is then not sufficient to use Button.Create (Parent => My_List_Item) where
My_List_Item is of the type Gnoga.Gui.Element.List.List_Item_Type. One will
need to use an explicit call:
Button.Place_Inside_Bottom_Of (Target => My_List_Item);
Is this by design or is it a mistake? One should be able to put buttons inside
list item tags using the Create subprogram but it is not implemented?
Best regards,
Joakim
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list