I added GtkSpinButton to my dialog with Glade and is disabled by default:
What to do to turn on the arrows?
You need to configure GtkSpinButton with the Adjustment object as follows (approximate values):
adj = gtk.Adjustment(1, 1, 99, 1, 1, 1) spinBtn = self.builder.get_object("spinbutton1") spinBtn.configure(adj, 1, 0)
Source: https://habr.com/ru/post/1385649/More articles:advantages of c ++ interface? - c ++Javascript: how to create a multidimensional array? (Sample code required) - javascriptRails TDD - what to write first - ruby-on-railsAdd Image to UIView - iosIntelliJ can't see Android SDK classes - androidWhat data structure / class can I use to represent a one-to-many relationship? - c #How to save the Z-order control in the MFC dialog? - c ++Flash scroll indicators when scrolling up - iosHow to vectorize the estimate of bilinear and quadratic forms? - pythonGet the value of the next input - jqueryAll Articles