How about to show something to two screens? for example :1)127.0.0.1:0.0 2)127.0.0.1:0.1
I must use gtk+-1.2 to solute it? It is the request.
And now I have an idea. can It realize it or not?
1)when a event is requested, I change the gdk_screen, set the root_window and leaderwindow,
when event is ended, I set it again to the default.
2)do what you want to do to show something to the other screen!
like this: gdk_screen = 1;
gdk_root_window = RootWindow (gdk_display, gdk_screen);
gdk_leader_window = XCreateSimpleWindow(gdk_display, gdk_root_window,
10, 10, 10, 10, 0, 0 , 0);
How can it do??
From: Sven Neumann <sven@xxxxxxxx> To: "ruihua yu" <ruihuayu@xxxxxxxxxxx> CC: gtk-app-devel-list@xxxxxxxxx, gtk-list@xxxxxxxxx Subject: Re: A problem about multi display! Date: 30 Jan 2004 13:00:27 +0100
Hi,
"ruihua yu" <ruihuayu@xxxxxxxxxxx> writes:
> To all: > Now I have a problem about display. > envirament: system: Red Hat9.0 > GTK Version: GTK+-1.2.10 > Glib Version: glib1.2.10 > > Following is what I want to do? > One process to show two display(DISPLAY1: 127.0.0.1:1.0 > DISPLAY2: 127.0.0.1:2.0) > > > How can I do for it?
If you want to use multiple displays with GTK+, you need to use GTK+-2.2 or newer. There's no good reason to stick with GTK+-1.2 anyway.
Sven
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list