I can't find a "real" function of Gtk::Window to disable maximizing, but it is
easy posible to do with following calls:
set_resisable(false);
set_type_hints(Gdk::WINDOW_TYPE_HINT_DIALOG); // or another hint types -
is an enum
After this call, the window hasn't maximizable button and resizing is
disabled.
And when you would like to do resizable window but with certain max &
min size, it is possible with:
set_size_request(int length,int width); // Setting the minimum size of
Window and with:
Gdk::Geometry geometry;
geometry.max_height = 900;
geometry.max_width = 500;
set_geometry_hints(WindowObject, geometry, Gdk::HINT_MAX_SIZE);
you can set the maximum size of the window. After that the window isn't
maximizable too.
> ------------------------------------------------------------------------
>
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list