Re[2]: Adding custom buttons to a scrolled window
- From: Michael 'Mickey' Lauer <mickeyl linuxtogo org>
- To: gtk-app-devel-list gnome org
- Subject: Re[2]: Adding custom buttons to a scrolled window
- Date: Wed, 6 Dec 2006 18:07:55 +0100
John Cupitt wrote:
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.
Understood - thanks.
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.
Will that do everything that embedding a child widget in a
GtkScrolledWindow can do? gtkscrolledwindow.c is twice as large as
gtkviewport.c -- what does it more?
Basically what I'd need is to get a GtkScrolledWindow but make it talk
to my scrollbars, not to its.
Regards,
:M:
--
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]