Re: FVWM: FvwmTaskBar: Colors and button press event

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 22 Jul 2002 10:58:34 +0000

On 22 Jul 2002 11:28:25 +0200, Felix Kater wrote:
>
> this is my first posting to this list and I hope I am right to ask
> questions about Fvwm2 and FvwmTaskBar here. :-)

Yes, this is the only relable place for such questions.

> Two questions about FvwmTaskBar:
>
> When a Window is deactivated or minimized the taskbar button of this
> window is pushed out. That's ok. However, I the case that the window is
> minimized the task bar button also changes its background color to
> white! How can I change that? This seems to have nothing to do with the
> attributes 'Fore', 'Back', 'Hilight', ...

Do not IconFore and IconBack as specified in the man page work for you?

I would suggest to use colorsets instead to specify any colors in FVWM.
Then you may share them among different modules.

  # tips/balloons in modules
  Colorset 16 fg black, bg bisque

  # standard item
  Colorset 17 fg black, bg #c0c0c0 # optionally use Pixmap here

  # active item
  Colorset 18 fg white, bg blue3, hi #40b0f0, sh navy

  # iconified item
  Colorset 19 fg black, bg grey51

  # pointed item (only relevant for FvwmIconMan, not FvwmTaskBar)
  Colorset 20 fg black, bg #c0c0c0

  *FvwmTaskBar: Colorset 17
  *FvwmTaskBar: FocusColorset 17 # or 18
  *FvwmTaskBar: IconColorset 19
  *FvwmTaskBar: TipsColorset 16

  *FvwmIconMan: Colorset 12
  *FvwmIconMan: PlainColorset 17
  *FvwmIconMan: FocusColorset 18
  *FvwmIconMan: IconColorset 19
  *FvwmIconMan: SelectColorset 20
  *FvwmIconMan: FocusAndSelectColorset 20

> If you click to the screen then the root menu pops up right when you
> push down the mouse button. So, you can then just move the mouse
> (holding the mouse button down) and trigger the event with releasing the
> mouse button. However, you can't do that with the start button of the
> taskbar. Here the menu is shown only if you click-and-release the mouse
> button and later click again on an item. So you click two times. Is
> there a way to popup the start command menu right with the 'mouse down'
> event and not 'mouse click'?

I don't think there is a way except for changing the sources.

In FvwmButtons in 2.5.2 you may use ActionOnPress option for this.
After all FvwmTaskBar may be emulated using FvwmButtons that swallows
FvwmIconMan and some other buttons.

Regards,
Mikhael.
--
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 Mon Jul 22 2002 - 05:59:25 BST

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