Re: Developing php-gtk under multiple monitors
| From: | Christian Weiske | Date: | Sat, 03 Jun 2006 06:42:09 +0000 |
| Subject: | Re: Developing php-gtk under multiple monitors | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6972@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc