#!/usr/bin/python
import sys
from gi.repository import Gtk

class MyWindow(Gtk.Window):

    def __init__(self):
        Gtk.Window.__init__(self, title="Hello World")

        self.button = Gtk.SpinButton(adjustment=Gtk.Adjustment(value=0, lower=0, upper=sys.float_info.max, step_incr=0, page_incr=0, page_size=0))
        self.add(self.button)

win = MyWindow()
win.connect("delete-event", Gtk.main_quit)
win.show_all()

Gtk.main()
