The IUP documentation specifies a GUI element called Separator.
However it’s missing from the Available Classes list that pops up when you click Add Child / Add Brother in the Layout Dialog (the IUP GUI layout editor).
Not only that, when you try to include Separator manually in a LED file (as SEPARATOR()
inside VBOX()
or HBOX()
) and then load it in the Layout Dialog and show it (or “map” it), you get the following error message:
IupMap failed.
Subsequently, only the GUI elements that precede Separator are displayed. Why?
Part of the answer could be that “it shows a line between two menu items” (per documentation) whereas I have attempted to use it outside menu on dialog’s canvas (inside VBOX()
). It can’t be a complete truth though because I have seen Separator being used outside menu in GetParam dialog (screenshot there). And even if it were, it still doesn’t explain why Separator is missing from Available Classes in the Layout Dialog.