Re: Re:GtkScrolledWindow/GtkViewport question
Hi John, alright, thanks for the answer! I thought, there'd be an easy way to do it nicely. Anyway my method works alright. Cheers, Michael On Wed, 2012-03-07 at 09:08 +, jcup...@gmail.com wrote: Hi Michael, Unfortunately I don't think this is easy. You need o do some kind of crazy hack, like realizing but not mapping the dialog, measuring the size you get, guessing the amount of chrome the theme is adding from that, then setting the default window size and finally mapping. I'd love to be proved wrong though. Yuk! John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Re:GtkScrolledWindow/GtkViewport question
Hi Michael, Unfortunately I don't think this is easy. You need o do some kind of crazy hack, like realizing but not mapping the dialog, measuring the size you get, guessing the amount of chrome the theme is adding from that, then setting the default window size and finally mapping. I'd love to be proved wrong though. Yuk! John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Re:GtkScrolledWindow/GtkViewport question
Hi, On Fri, 2012-03-02 at 13:04 +0800, Xi Yang wrote: In Gtk2, there are two properties hscrollbar-policy and vscrollbar-policy. If set to GTK_POLICY_AUTOMATIC, the The scrollbar will appear and disappear as necessary. Yes, that is true. I'm already using it. It's not the answer to my question though. :) Cheers, Michael ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list