Re: Multiple Monitors

On Fri, Jun 11, 2010 at 9:07 AM, Oscar Lazzarino <oscar lazzarino i-m3d com> wrote:
On 06/11/2010 02:07 PM, Talguy wrote:
I would like to use my application with multiple monitors.  My app
consist of two windows, from what I was reading in the documentation I
would use gdk::screen to determine how many monitors there are and then
move each window into its own monitor by determining the monitor
rectangle and then use gtk::Window::move to move the window.  Once the
window is in the proper monitor I can us the fullscreen command to set
the window to fullscreen.

Does this sound about right to create a two window fullscreen
application for a dual monitor setup?

That's exactly the way we do.

Be aware that you can have one display with many screen, one for each monitor (multiple screens), or you can have one display with only one screen that can span many monitor (xinerama).

The attached code shoud work with both configs



gtkmm-list mailing list
gtkmm-list gnome org

Sorry for this question still new at this windowing stuff.  When you say you can have multiple screens for one display that translates to that your single monitor will be partitioned into multiple sections.  Am I getting the right idea about that? 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]