Hi to all i have found the solution ******************************************************************************* gtk_window_set_resizable (GTK_WINDOW(window),FALSE); gtk_widget_show (window); ********************************************************************************
i have also tried to do the same using gdk_window_set_decorations (); but its not working !! :( Any solutions ! here is the Code ************************************************************************************* static int j=GDK_DECOR_MAXIMIZE; j=!j; gtk_widget_realize (window); gdk_window_set_decorations(window->window,j); gtk_widget_show(window); ***************************************************************************************** /*Gdkwindow.h*/ typedef enum { GDK_DECOR_ALL = 1 << 0, GDK_DECOR_BORDER = 1 << 1, GDK_DECOR_RESIZEH = 1 << 2, GDK_DECOR_TITLE = 1 << 3, GDK_DECOR_MENU = 1 << 4, GDK_DECOR_MINIMIZE = 1 << 5, GDK_DECOR_MAXIMIZE = 1 << 6 } GdkWMDecoration; On 2/11/06, Amitesh Singh <[EMAIL PROTECTED]> wrote: > Hi > How to Draw a Window without an option to Maximize it ? > > Regards ! > Amitesh > -- Cheers !! AMITESH
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list