Re: recompute window size after hiding/removing widget
- From: Paul Davis <paul linuxaudiosystems com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: recompute window size after hiding/removing widget
- Date: Fri, 12 Sep 2008 15:10:28 +0200
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,
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]