Re: recompute window size after hiding/removing widget



On Fri, 2008-09-12 at 15:10 +0200, Paul Davis wrote:
> On Fri, 2008-09-12 at 13:52 +0200, Murray Cumming wrote:
> > 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.
> > "
> 
> I read that but .... it doesn't appear to be "officially" deprecated,

It looks plenty deprecated to me.

> and worse, gtk_window_set_resizable() doesn't seem to provide the same
> functionality. I know that's a GTK issue, not a gtkmm one.

Could you investigate on gtk-list, please, as someone who understand the
issues.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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