[Glade-users] sliders and spinners

Thank you for the response.
Your comments led me to look at the "Adjustment" things,
which I looked at before, but didn't see that it was relevant.

With a little trial and error, I made it work with a slider.

I am still curious if there isn't some place information like
this would be available to novices like myself. I did see that
you (Tristan) have written some nice documentation, but
for more advanced users, I think.

But, anyway, thanks again. I appreciate the help.

On Wed, Dec 3, 2014 at 4:01 AM, Tristan Van Berkom <
tristan.van.berkom at gmail.com> wrote:

All of these widgets are basically views for the GtkAdjustment datamodel.

In glade you can create a GtkAdjustment and set it as the "adjustment"
property of
any of the said widgets.

You can also have more than one of these widgets share the same adjustment.

Configuring the adjustment values can be a bit tricky, mostly just because
the page size and step increment, the step increment usually indicates how
many units to climb per spin button click, of scrollbar
up/down/left/right button
click - while the page size is normally driven by a scrolled window,
how many units of the overall adjustment size fits in the scrolled window


On Wed, Dec 3, 2014 at 7:21 AM, Walt Brainerd <walt.brainerd at gmail.com>
I have a few of the widgets figured out,
but couldn't have figured out the grouping
of the radio buttons without your help.

I am trying sliders and spinners. I cannot
see how to change their value. I am trying
Horizontal Scale, Vertical Scale and
Spin Button. They show up in Glade, but
I can't get the values to change.

Am I using the right widgets?
Help would be appreciated. Thanks.

Walt Brainerd

Glade-users maillist  -  Glade-users at lists.ximian.com

Walt Brainerd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/glade-users/attachments/20141203/32b25b21/attachment.html>

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