FVWM: Window menu entries depending on window state

From: <romildo_at_uber.com.br>
Date: Fri, 16 Jul 2004 16:50:17 -0300

Hi.

I want to have entries in the window menu for toggling
some aspects of the window like shading. I want this entry
to be named accodingly to the actual state of the window.
For instance, if the window is shaded, the menu entry
shuld be "Shade", otherwise "Unshade".

To solve this I am using dynamic menus, as can be seen
in the attached file containing relavant parts of the
configuration.

This works with the title button 1, which is the window
menu button. But it fails with the icons in the
FvwmIconMan module. In this case the menu entries are
not always named correctly, picking the wrong state
(for instance, showing Deiconify instead of Iconify).

Any hints on how to solve this problem?

Romildo


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Jul 16 2004 - 14:52:31 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST