Scrolling Problems with a Floating Widget
- From: Andrew <rugby471 gmail com>
- To: gtk-list gnome org
- Subject: Scrolling Problems with a Floating Widget
- Date: Wed, 11 May 2011 17:02:32 +0100
In my application, I want to have a setup so that I have a GtkScrollable
widget with scrollbars. However the issue is that I want to have a
normal GtkWidget above it, that doesn't move when I scroll (or 'floats').
I can achieve this by having a GtkVBox, containing my 'floating widget'
and a GtkScrolledWindow, within which there is the GtkScrollable widget.
However the issue with this is that the scrollbars don't cover the area
ofd the floating widget, so it seems as though they are 'disconnected'
in some way.
So I gathered that I had to use my own GtkHScrollbar and GtkVScrollbar,
However I cannot get this working in GTK3. Can someone point me to an
example, or simply explain the different components in how this can be
achieved, so I can try to get it working?
] [Thread Prev