Need a quick rundown on pyGTK

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • true911m
    New Member
    • Dec 2006
    • 92

    Need a quick rundown on pyGTK

    After seeing a few references, I checked out the web page for pyGTK, but it seems to be written for someone who knows what it does. I did find a print interface that seems a little more intuitive than the wxPython printout library, so it seems intriguing.

    Can someone sum up what the package addresses overall? I'm on Windows, in case it's for some other platform -- I couldn't tell.

    Thanks!
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by true911m
    After seeing a few references, I checked out the web page for pyGTK, but it seems to be written for someone who knows what it does. I did find a print interface that seems a little more intuitive than the wxPython printout library, so it seems intriguing.

    Can someone sum up what the package addresses overall? I'm on Windows, in case it's for some other platform -- I couldn't tell.

    Thanks!
    Looks like another cross-platform (including windows) GuiTooKit to me.

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      Originally posted by bartonc
      Looks like another cross-platform (including windows) GuiTooKit to me.
      Upon further investigation, Windows support look functional, but perhaps dicey:

      Originally posted by http://www.async.com.b r/faq/pygtk/index.py?req=sh ow&file=faq21.0 01.htp
      21.1. How do I get PyGTK running on MS Windows?
      (Assuming you really want to do this, you should be aware that PyGTK works reasonably well on Windows, much to the credit of GTK+, Python and PyGTK developers and porters)
      Cédric Gustin maintains the primary windows pygtk site containing win32 ports: [www.pcpm.ucl.ac.be]

      Note that, to run pygtk2, you will need a number of prerequisite DLLs. FAQ 21.2 describes the steps to get pygtk running, including getting the dependencies installed and configured.

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Here's what wx has to say about it:
        wxGTK port
        wxGTK is a port of wxWidgets using the GTK+ library available from www.gtk.org. It makes use of GTK+'s native widgets wherever possible and uses wxWidgets' generic controls when needed. GTK+ itself has been ported to a number of systems, but so far only the original X11 version is supported. Support for the recently released GTK+ 2.0 including Unicode support is work in progress.
        I'm taking "GTK+ native" to mean Linux. I can see why a person would want to use this setup after looking at the GTK docs. wx has a cleaner, more organized class hierarchy and overall structure (not to mention better widgets). For example, in this post a combo box is a mash of smaller widgets.

        Comment

        • bartonc
          Recognized Expert Expert
          • Sep 2006
          • 6478

          #5
          You can look here and here to get a feel for usage and documentation.

          Comment

          • true911m
            New Member
            • Dec 2006
            • 92

            #6
            Originally posted by bartonc
            You can look here and here to get a feel for usage and documentation.
            Thanks. I'm getting all this, I've just been distracted.

            Comment

            Working...