On Sun, Feb 27, 2011 at 11:40 PM, Vincent Carmona <vinc4mai@gmail.com> wrote:
For the window position at what time do you call Gtk::Window#position method ?
do you have try something like that ?
Gtk::Window#signal_connect("delete_event") {Gtk::Window#position}

Yes, I put it there,
it gives me fixed value

if i have this line
set_window_position Gtk::Window::POS_CENTER
it return the posisiton center of screen
it I delete that line
it returns 0,0

is it library issue? or perhaps wm issue?
I'm using ubuntu 10.10 with openbox replacing metacity
I also use old ruby-gnome2 library since it comes with repository

Suka linux?
Kunjungi blog saya http://penguinroad.blogspot.com