On Tue, Jul 01, 2003 at 10:09:50AM +0200, fvwm-workers wrote:
> On Tue, Jul 01, 2003 at 07:14:40AM +0200, Olivier Chapuis wrote:
>
> > What is the goal of the TearMenuOff command, how can
> > we use it?
>
> It is a dummy command only defined in menus, exactly like "Title".
> Clicking on an item that uses it tears off the menu. It's not
> implemented yet, though. If you try to write the command, the
> following should be taken into account:
>
> a) It should work on all visible menu items:
> - normal items ("+ foo tearmenuoff")
> - separators ("+ bar nop tearmenuoff"?)
> - titles ("+ baz title tearmenuoff"?)
>
> b) An item that can tear off a menu must be selectable, i.e.
> must be hilighted when the mouse is over it. This must be
> somehow merged into the IS_SELECTABLE flag. Perhaps we need
> a new flag too.
>
> c) It would be nice if it worked in the dynamic menu actions.
> This is probably hard to implement, and thus optional.
I have to take back everything. TearMenuOff is already
implemented. Try
AddToMenu ...
+ "" TearMenuOff
for a tear off bar, and
+ "Tear me off!" for a normal item that reas out the menu.
Bye
Dominik ^_^ ^_^
--
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]