Hi,

I see, in r7200, Miguel asking about putting an (if ... ) in an
(aligned ...) widget. I wanted to do so, thus I seeked about it.

The problem is that the code handling the (aligned ...) (which is
make-aligned in TeXmacs/progs/kernel/gui/menu-widget.scm) suppose to
have (item ...) in his body. I don't know actually how to fix it
(maybe Joris have an idea), but a possible workaround is to put the
(if ...) on the arguments of the item.

Anyway, a remaining problem is that the predicate is not evaluated
in real time, but during the construction of the widget. So, making
conditionals items in a preference widget remain tedious, imho
(because the user will have to open/set option/close/open/set
option/close...).

Joris, do you have an advice or a fix for this purpose?

François

-- 
François Poulain <fpoul...@metrodore.fr>

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to