Added: 1 year ago
From: metalx1000
Views: 4,449
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (11)

Sign In or Sign Up now to post a comment!
  • I am learning a lot thanks to you.

  • @trailingdot: You are welcome.

  • Question: in the destroy function definition, you set up the function to receive three arguments--self, widget, and Data (with data defaulted to NONE, I presume). Yet, you called (or connected) the window to the def without sending any arguments. Why?

  • @tardis2005 self argument is default in python at every class method. Widget parameter is automatically passed. It is defaulted to signal sender (in example when you click the button named "button" and button sends signal "btn_clicked" widget set is gtk.button type object named "button"). Data is passed when connecting signals with list of arguments. I think in function definition data could be skipped (or not, try yourself). The reason why data was not sent is simple: we are not using any.

  • how come you run the function destroy()

    in a paremeter?

  • You convinced me to start with PyGTK after all. i tried PyQt4 a bit but I liked how PyGtk looks like so I'm gonna learn it and then learn PyQt.

  • @ACPCalin: When I'm done with the GTK tutorials, I'm going to be doing Qt4 tutorials. So, keep watching.

  • Did you intend for the video to have so much extra time on it? Thanks for today's tutorial, can't wait for the next one! :)

  • @russjr08: When i capture the video i capture the video in ogv format. The current version of ogv gets messed up when you upload it to Youtube. So, to upload the video i have to first convert it to a mp4 avi. Some times in the conversion it does that.

  • @metalx1000 oh! Good improvising putting the annotation though for the playlist! I would have never guessed :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more