Re: Viewports and scrollbars
- From: Paul Davis <paul linuxaudiosystems com>
- To: Lars Luthman <larsl users sourceforge net>
- Cc: gtkmm-list gnome org
- Subject: Re: Viewports and scrollbars
- Date: Tue, 21 Dec 2004 15:42:51 -0500
>That's basically what I did - but I wanted to layout the scrollbars
>differently, so I used my own scrollbars and set their adjustments to
>the adjustments of the ScrolledWindow. The on_size_request() hack was to
>prevent the ScrolledWindows from resizing to the size of their child
>when I turned off their internal scrollbars.
you have entered a dark and frightening world of
using-GTK-in-ways-not-anticipated-by-its-designers.
the only way i have ever gotten this to work was to add a timeout for
configure events, and if some time (say, 0.25 seconds) elapsed without
another configure event, then use the last configured size at that
time.
its deeply ugly.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]