RES: [PHP-GTK] Developing php-gtk under multiple monitors
| From: | Piero B. Contezini | Date: | Mon, 05 Jun 2006 14:14:33 +0000 |
| Subject: | RES: [PHP-GTK] Developing php-gtk under multiple monitors | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6975@lists.php.net to get a copy of this message | ||
I was using php-gtk1, now I am learning php-gtk2 new menu widgets to see if
it works ok, under php-gtk1 the windows are always appended to the first
screen, and even the children widgets such as menus, it looks pretty weird.
Thanks.
Piero
-----Mensagem original-----
De: Christian Weiske [mailto:cweiske@cweiske.de]
Enviada em: Saturday, June 03, 2006 3:42 AM
Para: php-gtk-general@lists.php.net
Assunto: Re: [PHP-GTK] Developing php-gtk under multiple monitors
Piero,
> I'm starting a new project with php-gtk, as my new workstation now has
> two monitors, i'm having a little trouble on using it under php-gtk.
> Even moving the command prompt where I run the php code to the second
> monitor, it starts from the first. And, when I move the running App to
> the second screen, every menu I open, it opens under the primary
> screen at the edge.
Which Gtk version do you use? Gtk2? (PHP5+Gtk2 or PHP-Gtk1, which would be
Gtk1) Are new windows opened on the other screen when you set them modal to
the main window that is on the second screen?
In Gtk2, you can do:
> $this->set_screen($parent->get_screen());
with "$this" being one window, and $parent the parent window.
Further, you should look through the Gtk faq at gtk.org
--
Regards/MfG,
Christian Weiske
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006