[Gtk-sharp-list] Help needed on Window's TransientFor Property.

libin libin.mohanan at wipro.com
Wed Feb 4 01:18:09 EST 2009

Dear Chris,

In Linux, separate task bar buttons are appearing for each window when we
are opening multiple windows.
And we should select each by selecting the corresponding buttons.

And in windows XP no separate task buttons are coming. Only one button will
be there for the entire application. While minimizing multiple windows, it
shows only a single taskbar button and we can get individual windows by
clicking on this repeatedly. 

This is wat the code looks like: 	

		//this is for making module window lie on parent

            this.TransientFor = MyClass.MyClassWindow;//parent window
		this.DestroyWithParent = true;
When we are testing this code in SUSE SLES-10(x86), it is giving the
unexpected behaviour.

Actually we are here creating new objects of windows(with modal= false)to
accomplish the MDI work around. So a taskbar button for every window is
highly undesirable.

Any help will be highly appreciated,




-----Original Message-----
From: Chris Howie [mailto:cdhowie at gmail.com] 
Sent: Tuesday, February 03, 2009 8:39 PM
To: libin
Cc: gtk-sharp-list at lists.ximian.com
Subject: Re: [Gtk-sharp-list] Help needed on Window's TransientFor Property.

On Tue, Feb 3, 2009 at 4:41 AM, libin <libin.mohanan at wipro.com> wrote:
> Dear All,
> We have one GTK sharp application.
> In the application we have child windows ,which are not Dialog windows.
> If we set the TransientFor property for those child windows its 
> working fine in Window XP OS but not in LINUX.
> In Linux all child windows are comng up like separate separate 
> applications, but in Windows XP all windows are coming up as a single
> This problem is working fine for Dialog windows both in Linux and 
> Windows XP.
> Is there any solution to overcome this problem in Linux.
> Thanks In Advance!!!

What to you mean by "all child windows are comng up like separate separate
applications?"  In terms of functionality and visual appearance, how do they
differ from the Windows implementation?

Chris Howie

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 


More information about the Gtk-sharp-list mailing list