Re: Window with no maximize button

2007-09-17 Thread Yeti
On Mon, Sep 17, 2007 at 05:01:05PM +0530, aniket ray wrote: > I wanted to create a Window with only the minimize and close decoration > buttons (and no maximize button). > > The code of what I basically did was: > windowPointer = gtk_window_new(GTK_WINDOW_TOPLEVEL); > gtk_widget_realize(windowPoin

Window with no maximize button

2007-09-17 Thread aniket ray
Hi, I wanted to create a Window with only the minimize and close decoration buttons (and no maximize button). The code of what I basically did was: windowPointer = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_realize(windowPointer); mainWindow = windowPointer->window; gdk_window_set_decorations