Dhiraj Thakur(Invincible)
June 16th, 2011, 06:17 AM
hi all,
i am learning Pygtk....so plzzz....recommend some gud books that r explanatory and interesting as well....
if u hv the buk plzz...attach it in ur reply.....
thanks in advance :D
Hairy_Palms
June 16th, 2011, 05:09 PM
http://zetcode.com/tutorials/pygtktutorial/
tutorial i used when i first started is there,not so sure on books, but you might want to keep pygobject in mind, as pygtk is deprecated now and wont be updated for gtk3, the syntax is very similar, with a few case changes.
for example in pygtk
self.upButton = gtk.ToolButton(gtk.STOCK_GO_UP);
self.upButton.set_is_important(True)
self.upButton.set_sensitive(False)
toolbar.insert(self.upButton, -1)
in pygobject
self.upButton = Gtk.ToolButton()
self.upButton.set_stock_id(Gtk.STOCK_GO_UP)
self.upButton.set_is_important(True)
self.upButton.set_sensitive(False)
toolbar.insert(self.upButton, -1)
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.