Hi Dominik,
DV> > What is its replacement??
DV> It's still UseStyle.
Ah. Yes. I made a mistake and was slightly confused by the remark in
the manpage that "UseStyle" will dissapear in 3.0 (I'm using one of
the latest snapshots).
Sorry. Nevermind :-))
Then, I've something else (this problem made me think that "UseStyle"
wasn't working): it seems that when I order the BorderWidth
of some window to become "0", it can't be set something else, aftwerwards.
I've this piece of "code", for example:
AddToFunc ReturnToDesk
+ "I" Next [$0] MoveToDesk 0 $1
+ "I" Next [$0] Move +160p 4p
+ "I" Style $0 UseStyle "C64-blue", BorderWidth 0,
HandleWidth 0
+ "I" Next [$0] Layer 0 0
+ "I" UpdateStyles
AddToFunc GetBar
+ "I" Next [$0] MoveToDesk
+ "I" Next [$0] Move m-5 m-10
+ "I" Style $0 UseStyle "C64-black", BorderWidth 1,
HandleWidth 1
+ "I" Next [$0] Layer 0 6
+ "I" UpdateStyles
"GetBar" gets a window ($0), repositions it at my mousecursor and adjusts
the style (and border-/handlewidth). When calling a window with border-
and handlewidth >0, it works. When calling a window with both widths set
to "0", these widths aren't set to "1".
It used to work, but since, ehmm, "I don't know", it stopped doing what
it is supposed to do.
"Help" :)
--
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 Fri Aug 16 2002 - 07:14:43 BST