[Gtk-sharp-list] removing Maximize

Chris Howie cdhowie at gmail.com
Thu Apr 17 17:32:23 EDT 2008


On Thu, Apr 17, 2008 at 5:37 PM, Mike Kestner <mkestner at gmail.com> wrote:
> If you are asking about Windows, you may be able to dig into some winapi
> pinvokes to make it happen.

AFAIK, a Gdk.Window when properly configured will P/Invoke this on
Windows and do the Right Thing on Linux, etc.

Vladimir, try using Gdk.Window.GetDecorations/SetDecorations to
accomplish what you want.  You can obtain the Gdk.Window from a
Gtk.Window through the Gtk.Window.GdkWindow property (if memory
serves).

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Gtk-sharp-list mailing list