On Mon, 9 Dec 2002, Mikhael Goikhman wrote:

> On 09 Dec 2002 20:34:04 +0100, Marcus Lundblad wrote:
> > 
> > I have some plans for new menu functionallity. This will have to wait
> > until after the feature freeze for 2.6, ofcourse.
> > 
> > The idea (as discussed before) is to have conditional statements in menus.
> > For example have conditionals to make an item inactive (greyed out),
> > unavailable and choose different labels depending on conditionals.
> > 
> > For example:
> > 
> > AddToMenu WindowMenu
> > +   Inactive(!Maximized, !Iconified) "Restore" RestoreFunc
> >     ...
> > +   Skip(FixedSize) "Size"  Resize
> >     ...
> > +   If(Sticky) "Unstick" Stick off  Else "Stick" Stick on
> > 
> > Suggestions are ofcourse welcome.
> > I plan to use the code as the other conditional statements. And also I
> > plan to add conditionals for all function hints (I implemented
> > conditionals "FixedSize" and "HasHandles"). This would also involve new
> > styles "FixedPostion", "Uniconifiable" and so forth.
> > Yes I know, many people hate when these hints are used. But after all
> > these are styles so it means freedom for the user...
> 
> You may read some discussions about a new menu syntax here:
> 
>   http://www.hpc.uh.edu/fvwm/archive/0203/msg00508.html
> 
> As for your examples, I suggest to use only the conditions we have now in
> ThisWindow, i.e. (!Focused, !Maximized, !Iconic), not Inactive(...).

Well, I inteded "Inactive" to describe the meu item (ie. shaded out)

//Marcus 
> 
> Regards,
> Mikhael.
> 

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to