Here's another page which kind of summarizes the difference between gtk and pygtk. If you are into creating UI using gtk, I would suggest using some wrapper module like wx or QT.
-- Sayantan On Thu, Jul 24, 2014 at 12:38 AM, Gora Mohanty <[email protected]> wrote: > On 22 July 2014 21:27, Ankita Rath <[email protected]> wrote: > > > > Hi, > > > > I am using pygtk for GUI. We can import gtk module for this. But lot of > > places i have seen pygtk module along with gtk module. So can somebody > tell > > me what is the use of this pygtk module. > > > > import pygtk > > import gtk > > > > we can do everything with gtk module only. So when is this pygtk module > is > > useful. > > > pygtk has pretty decent documentation, which you might want to read > carefully: > Please see the right-hand sidebar at http://www.pygtk.org/ > > From the tutorial: "The variables and functions that are defined in the > PyGTK > module are named as gtk.*. So, you are very likely using functions from > pygtk, > even when they are named as gtk.XXX. If you are so inclined, you can look > into > the two modules to figure out what is defined where. > > Regards, > Gora > _______________________________________________ > BangPypers mailing list > [email protected] > https://mail.python.org/mailman/listinfo/bangpypers > -- Sayantan Bhattacharya _______________________________________________ BangPypers mailing list [email protected] https://mail.python.org/mailman/listinfo/bangpypers
