Roberto Winter wrote:
Wow... that is great! Thanks a lot.

Now... I was thinking about going one step further: since licq is always shaded is there a way to make it unshade automatically (withouth clicking the mouse) whenever the mouse pointer is over it? This would also be very nice with the pager, since unless I'm going to click it to change desktops I'd really like it to be shaded and shading and unshading it all the time is not very practical, since instead of one click I have to do 3.

This is possible by tweaking the theme border.
I just tried the pager unshade thing with the winter theme:

In winter/borders/PAGER/border.cfg I added at the top:

__ACLASS __BGN
  __NAME ACTION_SHADE_EXT
  __TOOLTIP_TEXT "Shade-ext"
  __TYPE __TYPE_NORMAL
  __TOOLTIP_ACTION_TEXT "Shade (roll up) this window."
  __ALLOW_ANY_BUTTON __ON
  __EVENT __MOUSE_RELEASE
  __ACTION __A_SHADE
  __NEXT_ACTION
  __EVENT __MOUSE_ENTER
  __ACTION __A_SHADE off
  __NEXT_ACTION
  __EVENT __MOUSE_ENTER
  __ACTION __A_EXEC xterm
__END

And in the definition of border part 3 I changed ACTION_SHADE to
ACTION_SHADE_EXT.

When the pointer enters this border part (the right handle) the pager is
unshaded and an xterm is spawned. The xterm spawning is obviously just
an example of what can be done :)

This example requires E16.7.2 (current CVS) because the "off" parameter
to __A_SHADE was added recently. Without this you'd toggle the shaded
state which would be very annoying.

/Kim


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to