Re: window titlebar

2009-08-06 Thread Tuomo Valkonen
On 2009-08-05, Sam Mason ma...@f2s.com wrote:
 That's what you get for not using a proper operating system! :)

Yes, on a proper operating system (instead of a half of one
running on another proper one), I'd be stuck to the 80x25
VGA console.

Random Cygwin brokenness (1.7 betas) is just the familiar 
situation from Linux, where you're also stuck to using
unstable/experimental distributions, because the stable
megadistros provide too old non-core software and do not
run the newest third-party software without massive library
recompilation efforts. At least on Windows there's a stable
proper _core_ operating system underneath, running all the
latest software.

-- 
Be an early adopter! Beat the herd! Choose Windows today!



Re: window titlebar

2009-08-06 Thread Tuomo Valkonen
On 2009-08-06, Maximilian W. Zeller maw...@gmail.com wrote:
 i dont't quite get how to give absolute x/y position?!

 i am looking for something like
 position = { x = 100, y = 100 }

There isn't one in Ion3. I did add a winprop to ion3plus,
but all the documentation is the changelog entry.
(See also WGroup.attach docs.)

Fri Oct 24 20:25:20 FLE Daylight Time 2008  Tuomo Valkonen tuo...@iki.fi
  * * Added attach_params winprop and auto_placement option.
The first, attach_params, is a table containing the same parameters that can
be passed to WGroup.attach. It is applied when a new frame would normally be
created for the window, as attach parameters of the frame. The parameters 
are
thus not applied when attaching a new window to an existing (tiled) frame, 
or
for attaching the window within the newly created frame.

The second, auto_placement, is a boolean option in the attach parameters,
and can be used to control whether application-supplied position is used,
or whether Ion should itself calculate a position for the window.

-- 
Stop Gnomes and other pests! Purchase Windows today!
  http://iki.fi/tuomov/b/archives/2009/07/21/T17_26_09/




Re: window titlebar

2009-08-06 Thread Ole Jørgen Brønner

Sorry, I miss-read the userpos part in the docs.

You can always do something like this with hooks (clientwin_do_manage_alt)
but it's not as clean.

(After reading tuomov's mail, I guess you should try ion3plus)

On Thu, 06 Aug 2009 13:31:42 +0200, Maximilian W. Zeller
maw...@gmail.com wrote:


i dont't quite get how to give absolute x/y position?!

i am looking for something like
position = { x = 100, y = 100 }

what i read in the documentation is how to manipulate size but
couldn't find anything to manipulate the position.



2009/8/5 Ole Jørgen Brønner olejorg...@yahoo.no:

http://modeemi.fi/~tuomov/ion-doc-3/ionconf/node4.html#SECTION00451000
might work (haven't tried it myself)?

On Wed, 05 Aug 2009 19:56:31 +0200, Maximilian W. Zeller  
maw...@gmail.com

wrote:


thank you all ... these things helped a lot

i have another question though: Is there a possibility to set absolute
position for floating windows through defwinprop?

thanks in advance
max






Re: window titlebar

2009-08-05 Thread Matthieu Moy
Maximilian W. Zeller maw...@gmail.com writes:

 hi

 1. i was wondering if it is possible to remove the window titlebar of
 a specific floating window? maybe with defwinprop?

defbindings(WMPlex.toplevel, {
   kpress(META..Escape, toggle_tab(_)),
})

and I can show/hide the titlebar with meta+escape.

-- 
Matthieu


Re: window titlebar

2009-08-05 Thread Maximilian W. Zeller
thank you all ... these things helped a lot

i have another question though: Is there a possibility to set absolute
position for floating windows through defwinprop?

thanks in advance
max

On Wed, Aug 5, 2009 at 5:49 PM, Matthieu Moymatthieu@imag.fr wrote:
 Maximilian W. Zeller maw...@gmail.com writes:

 hi

 1. i was wondering if it is possible to remove the window titlebar of
 a specific floating window? maybe with defwinprop?

 defbindings(WMPlex.toplevel, {
               kpress(META..Escape, toggle_tab(_)),
            })

 and I can show/hide the titlebar with meta+escape.

 --
 Matthieub


 2. or maybe is it possible to make the titlebar of a floating window
 fit its width?

I acheive #2 by adding:
  bar = inside

to the frame-floating style in my look.lua file.

My specific setup:

  de.defstyle(frame-floating, {
 based_on = frame,
 bar = inside,
 padding_pixels = 0,
 highlight_pixels = 1,
 shadow_pixels = 1,
 spacing = 0,
  })


Re: window titlebar

2009-08-05 Thread Ole Jørgen Brønner
http://modeemi.fi/~tuomov/ion-doc-3/ionconf/node4.html#SECTION00451000  
might work (haven't tried it myself)?


On Wed, 05 Aug 2009 19:56:31 +0200, Maximilian W. Zeller  
maw...@gmail.com wrote:



thank you all ... these things helped a lot

i have another question though: Is there a possibility to set absolute
position for floating windows through defwinprop?

thanks in advance
max