Rezise window to fixed size.

£ukasz <blurrpp-/[email protected]> Fri, 31 Dec 2010 07:09:22 -0800 (PST)
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
=0A--- On Thu, 12/30/10, ebik <ebik-H9J1Vg6NExntwjQa/[email protected]> wrote:=0A=0A> From: ebik <=
ebik-H9J1Vg6NExntwjQa/[email protected]>=0A> Subject: Re: Saving/restore session=0A> To: ion-gener=
[email protected]=0A> Date: Thursday, December 30, 2010, 8:20 PM=0A> On T=
hu, 30 Dec 2010 07:55:43 -0800=0A> (PST)=0A> =A3ukasz <blurrpp-/[email protected]>=
=0A> wrote:=0A> =0A> > But i have another question. I'm using ion2/pwm2 and=
 i=0A> want to resize=0A> > actual window to some fixed sizes (maximize_ver=
t and=0A> > maximize_horiz_works only as they explicit say=0A> MAXIMALY ) i=
 used=0A> > request_geom(WRegion,size_table) but i have probelm=0A> with ge=
ttin=0A> > current WRegion ( i read cerfully all manual and=0A> couldnt fin=
d=0A> > function like WRegion WRegion.current() which would=0A> gave me han=
dle to=0A> > current region),s ohow to get it and maybe there is=0A> anothe=
r way to=0A> > fixed resize .=0A> > =0A> > Regards Lukas=0A> =0A> You shoul=
d use correct binding (i.e., binding for WFrame or=0A> something=0A> like t=
hat, I have no ion manual here), then the variable=0A> '_'=0A> should conta=
in the object, which was the binding triggered=0A> for. See=0A> the part of=
 manual that describes bindings.=0A=0AThanx, u are talking about ion3 not i=
on2 but any wy i just moved to ion3 and i have the same problem. Trying to =
set key to rezise windowes to fixed size, so ok i use WMoveresMode function=
s =0A=0Adefbindings("WMoveresMode", {=0A   ...=0A   ...=0A   ...=0A   kpres=
s(META.."R",     "WMoveresMode.rqgeom(_,{10,10,100,100})"),=0A})=0A=0ALet s=
ay that META+"R" switches to 'resize' mode. So now pressing META+"R" than "=
R" shold rezise window ... buy nothing happen, other functions like WMovere=
sMode.resize(_,...)  works ok. So where is mistake in this example.=0A=0ALu=
kasz=0A=0A=0A