Chris Ball <[EMAIL PROTECTED]> writes:
> Hi,
>
> In ion2, double-clicking on a WIonWS tab would shade the tab, via:
>
> mdblclick("Button1", WIonFrame.toggle_shade, "tab"),
>
> but there doesn't seem to be a default binding to do this in ion3.
> I tried:
>
> defbindings("WIonWS", {
> mdblclick("[EMAIL PROTECTED]", "WFrame.set_shaded(_, 'toggle')"),
>
> after seeing that toggle_shade is now set_shaded, but this doesn't seem
> to work. Any tips?
Don't know which version you downloaded, but this behavior IS the
default and is set in cfg_floatws.lua :
defbindings("WFloatFrame", {
bdoc("Toggle shade mode"),
mdblclick("[EMAIL PROTECTED]", "WFloatFrame.set_shaded(_, 'toggle')"),
[...]
})
Regards,
--
Michael Cadilhac, a.k.a. Micha [mika] |
Epita/LRDE promo 2007 | )\._.,--....,'``.
2 rue de la Convention | 08.70.65.13.14 | /. _.. \ _\ (` ._,.
94270 Le Kremlin Bicetre | 06.23.20.31.30 | '._.-(,_..'--(,_...`-..'