[Iup-users] Dynamically modified menus
Antonio Scuri
scuri at tecgraf.puc-rio.br
Sun Oct 7 18:11:17 GMT+3 2007
IUP 2.x has a serious limitation on appending new controls to already
mapped containers like popup menus or dialogs.
You can only dynamically create menus before they are mapped to the native
system.
IUP 3 will not have that limitation.
For now users implement different approaches to workaround that limitation.
A very simple one is just to change the title of existing menu items and
disable the extra menu items that are not used.
Best,
scuri
> -----Original Message-----
> From: iup-users-bounces at lists.luaforge.net
> [mailto:iup-users-bounces at lists.luaforge.net] On Behalf Of
> Otfried Cheong
> Sent: domingo, 7 de outubro de 2007 12:19
> To: iup-users at lists.luaforge.net
> Subject: [Iup-users] Dynamically modified menus
>
> Is it not possible to dynamically modify the contents of
> menus? I have submenus whose contents depends on the
> currently viewed document, but I haven't found any way to
> modify this submenu in IUP.
>
> I've tried building a fresh menu and assigning this to the
> MENU attribute of the submenu, but that changes nothing.
>
> I guess I can fake the desired behavior by building a popup
> menu that is activated by a menu item - but is what I want
> really not possible?
>
> Best wishes,
> Otfried
>
>
> _______________________________________________
> iup-users mailing list
> iup-users at lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/iup-users
>
More information about the iup-users
mailing list