FVWM: style: Start Maximized ?? Start AnyFunction?????

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Tue, 30 Apr 96 15:05:52 +0200

my 2.0.41 man page says:
        StartIconic/StartNormal

I'd like StartMaximized (but with the arguments, since I always want my
buttonbar with console and pager visible.)

On second thought: why not allow a style element like Start AnyFunction

Start Iconify would be the same as StartIconic.


my first use of this:

Style "viewdraw" start PowerViewStartup

Function PowerViewStartup Maximize 100 94
+ MapWindow 0 1 3 2
+ Desk 0 1
+ GotoPage 3 2

Note: MapWindow is also new: it maps a window to a specific desk (first two
arguments) / page (3rd and 4th argument)

if there is no Start Function or no MapWindow directive in there,
MapWindow 1 0 would be default.


Note: PowerView is a layout program, and it doesn't make any sense to have
any other window on the same page :-) - even a 20" monitor would just
suffice - and I'm hooked on 16" :-(

would smash two birds with one stone :-)
        
albrecht


PS: chuck: I know it's rahter late for a change, but could the interfaces
of Desk and GotoPage be unified ?

what we need is a simple way to specify absolute/ relative adressing for
BOTH. (Page too)

I have to look the man page up EVERY time I use the Desk command, which I'd
count as an indicator, that it's not very intuitive (to say the least IMHO).

I'd suggest
sth like
        GotoDesk z
        GotoDesk +z
        GotoDesk -z
and
        GotoPage x y
        GotoPage +x +y
or have a single command
        
        DeskPage +/-z +/-x +/-y

I think the code would be even shorter and much more general.

Then you'd naturally use the same specification for MapWindow +/-z +/-x +/-y
with default mapping of MapWindow +0 +0 +0
-- 
It all began when I went on a tour,
hoping to find some furniture.
I followed a sign - it said "Beautiful Chest".
It led to a lady who showed me her best.	-- Genesis
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Apr 30 1996 - 08:04:08 BST

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