Re: Adding custom buttons to a scrolled window



On 12/6/06, Michael 'Mickey' Lauer <mickeyl linuxtogo org> wrote:
I need to implement a version of a GtkScrolledWindow that
features a custom button as part of the scrollbar. Please find a

Your graphic got lost (put it on a webpage and post a link), but the
usual answer to these questions is to use a table to do the layout.

Put two scrollbars plus a viewport in a table and add any other
buttons you need. Make your work area the child of the viewport.
Connect the scrollbar adjustments to the viewport.

http://developer.gnome.org/doc/API/2.0/gtk/GtkViewport.html

John



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