Re: [pygtk] Turning the PyGTK+ brand into something more than it currently is

2012-11-18 Thread Giuseppe Penone
Hi Simon, On Sat, Nov 17, 2012 at 1:26 PM, Giuseppe Penone gius...@gmail.com wrote: I read that there's no need of reference because gtk3 reference is enough, well I'm a gtk3 and gtkmm3 developer over a pygtk developer (my most used app is www.giuspen.com/cherrytree) but still I miss pygtk

[pygtk] Interesting issue with a DrawingArea inside a subclassed togglebutton.

2012-11-18 Thread Nox Deleo
I came across a weird problem when subclassing a GTK+ ToggleButton in Python in order to add a DrawingArea inside. It's chronicled in the following forum thread: http://www.gtkforums.com/viewtopic.php?f=3t=178226 The short version is that the DrawingArea inside the widget never got realized

[pygtk] GFileInfo.get_modification_time() changed behaviour

2012-11-18 Thread Christian Mallwitz
Hi, I've noticed some change behaviour around GFileInfo.get_modification_time() Some system information: $ uname -a Linux si3655 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 i686 i686 i386 GNU/Linux $ lsb_release -c Codename: precise $ ls -l ~/foo -rw-rw-r-- 1 christian

Re: [pygtk] Turning the PyGTK+ brand into something more than it currently is

2012-11-18 Thread Pachi
El 17/11/2012 23:28, John Stowers escribió: I think we could do a lot more with the PyGTK+ name and http://www.pygtk.org/ to promote gobject-introspection as our new, exciting solution. If nothing else, it rolls off the tongue much easier. Say it a few times. Anybody have any other ideas here?

Re: [pygtk] Good way to determine which version of PyGObject is installed

2012-11-18 Thread Osmo Salomaa
18.11.2012 20:00, Christian Mallwitz wrote: There was a time one could do import gtk gtk.pygtk_version (2, 17, 0) How can I do the same with gi.repository.Gtk when using gobject-introspection from within Python 2? How about GLib and/or Gio? from gi.repository import GObject

Re: [pygtk] Good way to determine which version of PyGObject is installed

2012-11-18 Thread Simon Feltman
Versioning seems a bit convoluted at the moment. If you are looking for specific Gtk+ features based on version (not pygobject features) use the Gtk+ library versions (Gtk.MAJOR_VERSION, Gtk.MINOR_VERSION, Gtk.MICRO_VERSION) PyGObject is only providing overrides for the gtk+ typelib, so I would