[Gtk-sharp-list] Help needed on Window's TransientFor Property.
cdhowie at gmail.com
Wed Feb 4 10:14:31 EST 2009
On Wed, Feb 4, 2009 at 1:18 AM, libin <libin.mohanan at wipro.com> wrote:
> 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.
Out of curiosity, is there actually only one taskbar button or is the
XP taskbar grouping them?
> 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.
You can force a window to not have a taskbar button by setting
window.SkipTaskbarHint = true.
More information about the Gtk-sharp-list