[Gtk-sharp-list] KeepAbove? is there a "always ontop"? MDI/SDI?
Gert Burger
gburger@mweb.co.za
Thu, 27 Jan 2005 09:55:04 +0200
Hehe, i always post too soon. Found a nice way.
TransientFor is the one i was looking for. With it i create a type of
Window hierarchy, works perfectly.
Thanks in anycase.
On Thu, 2005-01-27 at 09:35 +0200, Gert Burger wrote:
> Isn't there a way to create a window inside of another window? On
> windows on can create "child" windows, i suppose gtk should have
> something similiar?
>
> Thanks, again.
>
> On Wed, 2005-01-26 at 09:44 -0500, Dan Winship wrote:
> > On Wed, 2005-01-26 at 04:58 +0200, Gert Burger wrote:
> > > Im busy writing a program which need atleast one window to be the
> > > topmost always, atleast when the program is active and maximized.
> > >
> > > Another requirement is that the parent window or main application window
> > > must still be able to accept user input via mouse events etc(which are
> > > meant for the parent window).
> > >
> > > Therefore modals seem out of the question, is there another way?
> >
> > Yes. Check out the Gtk.Window.TypeHint property:
> >
> > http://www.go-mono.com/docs/index.aspx?link=P%3aGtk.Window.TypeHint
> >
> > I think you probably want to set it to Gdk.WindowTypeHint.Utility.
> >
> > -- Dan
> >
> >
> > _______________________________________________
> > Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
--
Gert Burger <gburger@mweb.co.za>