Howto set maximum window size ?



I found this windows function:

Gtk::Window::set_geometry_hints  (Widget& geometry_widget, const
Gdk::Geometry& 	geometry, Gdk::WindowHints geom_mask)

I could use this to set the window maximum size, right ?
Beacause I see that Gdk::WindowHints has HINT_MAX_SIZE enumeration.

Now I have no idea how to use this in practise...

Gtk::Window window;
window.set_geometry_hints(window, ????, HINT_MAX_SIZE); maybe ?


Thanks



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]