Re: recompute window size after hiding/removing widget



On Fri, 2008-09-12 at 11:55 +0200, Paul Davis wrote:
[snip]
> the relevant function is: gtk_window_set_policy() and i believe
> that if you set auto-shrink to true, you will get the behaviour you
> want.
> 
> Murray - is there a reason this function isn't wrapped?

If it's not wrapped then that's probably because it must have been
deprecate since before gtkmm 2.0:
"
gtk_window_set_policy is deprecated and should not be used in
newly-written code. Use gtk_window_set_resizable() instead.
"

That's wrapped:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Window.html#1ec816449fe941e5fe330bfa509eeb7f

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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