PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Set position of new window (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Set position of new window
#436
spudse (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Set position of new window 2 Months, 3 Weeks ago Karma: 0  
Hi, I would like to create a new window at given x and y coordinates.

I took a look at GtkWindow::set_position, but I can only chose some fixed positions:

0 Gtk::WIN_POS_NONE
1 Gtk::WIN_POS_CENTER
2 Gtk::WIN_POS_MOUSE
3 Gtk::WIN_POS_CENTER_ALWAYS
4 Gtk::WIN_POS_CENTER_ON_PARENT

For more information please see: http://gtk.php.net/manual/en/gtk.gtkwindow.method.set_position.php http://gtk.php.net/manual/en/gtk.enum.windowposition.php

Is it possible with GTK to place a window at given x and y coordinates?
 
  The administrator has disabled public write access.
#437
kksou (Admin)
Admin
Posts: 332
graph
User Online Now Click here to see the profile of this user
Re:Set position of new window 2 Months, 3 Weeks ago Karma: 8  
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Copyright © 2006-2008. kksou.com. All Rights Reserved