| The Following User Says Thank You to DelJaRoo For This Useful Post: | ||
|
|
2011-03-09
, 04:51
|
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#2
|
import gtk
btn1 = gtk.Button('Press Me')
btn2 = gtk.Button('No, Press Me!')
win = gtk.Window()
win.connect('destroy',gtk.main_quit)
vbox = gtk.VBox()
vbox.pack_start(btn1,True)
vbox.pack_start(btn2,True)
win.add(vbox)
win.show_all()
gtk.main()
|
|
2013-04-16
, 12:07
|
|
Posts: 28 |
Thanked: 14 times |
Joined on Jul 2012
@ India
|
#5
|
which was pretty good at first, and shows me how to make all the various gtk/hildon objects, but it in no way shows me how to have more than one at once.
Now, i am quite familiar with java's AWT so I assume I need to make containers and choose layouts. Could anyone show me how to make such things for pygtk? I looked around for various tutorials online, but they were mostly less than useful.
Thanks
(is this the right place to post this even?)