How can I set a spin button?

Posted by espectalll123 on Ask Ubuntu See other posts from Ask Ubuntu or by espectalll123
Published on 2012-06-20T19:26:43Z Indexed on 2012/06/21 9:24 UTC
Read the original article Hit count: 410

I've done some spin buttons with Glade for my Python/GTK3 app, but I don't know how to set things like default, lower or higher value. How can I do it?

Using the following things for development:

  • Python 2.7.3
  • GTK 3
  • Glade 3.12.1

1) I need to change things from script, as I need to set default value and maximum value as a variable;

2) I saw the PyGTK documentation before, it's not working for GTK3;

3) please don't direct me to the GTK3 docummentation... I can't understand it :P

© Ask Ubuntu or respective owner

Related posts about application-development

Related posts about gtk3