Re: [pygtk] Custom Entry Widget

2012-04-04 Thread Simon Feltman
Hi Clayton, Before embarking on a widget like this you might consider some potential usability pitfalls. Essentially the framing of an edit box and the lack of framing on static text is a well known idiom for how these widgets behave and what a user expects. So by sticking with what is common you

Re: [pygtk] Custom Entry Widget

2012-04-04 Thread Simon Feltman
at 12:15 AM, Simon Feltman s.felt...@gmail.com wrote: Hi Clayton, Before embarking on a widget like this you might consider some potential usability pitfalls. Essentially the framing of an edit box and the lack of framing on static text is a well known idiom for how these widgets behave

Re: [pygtk] Pygobject TreeView

2012-05-29 Thread Simon Feltman
Hi Sylvain, GObject properties can be set in constructors using keyword args. This allows for setting properties flagged as construct-only. So try this: treemodelsort = Gtk.TreeModelSort(model=self.treeModelFilter) -Simon On Tue, May 29, 2012 at 10:39 AM, sylvain mouquet

Re: [pygtk] Equivalent of GConf.client set_list in GTK+ ?

2012-10-16 Thread Simon Feltman
) whereas the old-way code snippet runs fine, and persists the list fine. Please let me know if any other info is required. On Tue, Oct 16, 2012 at 1:14 PM, Simon Feltman s.felt...@gmail.com wrote: Hi Ajay, Please post a pared down

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

2012-11-17 Thread Simon Feltman
Hi Giuseppe, 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

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

Re: [pygtk] Tracking 'notify::width' events from Gtk.TreeViewColumn - what do to with the GParamSpec parameter

2012-12-07 Thread Simon Feltman
Hi Christian, The ParamSpec gives information about the name and type of the property which changed. To get the value you can use: obj.get_property(pspec.name) or obj.props.width -Simon On Tue, Dec 4, 2012 at 2:27 PM, Christian Mallwitz c.mallw...@gmail.comwrote: Sorry that was sent

Re: [pygtk] install pygtk from source with all its dependencies

2013-09-08 Thread Simon Feltman
Hi, A web search for PyUnicodeUCS4_DecodeUTF8 revealed the following: http://stackoverflow.com/questions/16871799/trying-to-import-a-module-undefined-symbol-pyunicodeucs4-decodeutf8 So, it looks like you need to build the extension with UCS-2 or build Python with UCS-4. The configure step for

Re: [pygtk] PyGTK and gdk_input_add

2013-11-12 Thread Simon Feltman
On Mon, Nov 11, 2013 at 10:18 PM, Paul D. DeRocco pdero...@ix.netcom.com wrote: I'd like to use PyGTK as the basis for a cross-platform (Win/Mac/Linux) controller for MIDI keyboards, but there's no built-in MIDI support, so I'll need to write my own, which will of course involve writing three

[pygtk] PyGObject 3.11.2 released

2013-11-17 Thread Simon Feltman
I am pleased to announce version 3.11.2 of the Python bindings for GObject. This is the second alpha release of the 3.11.x series for GNOME 3.12. An important change with this release is deprecation messages are emitted when using positional arguments with overridden initializers. Positional

[pygtk] PyGObject 3.11.4 Released

2014-01-13 Thread Simon Feltman
: 073bc913bfafcbdad5578a976022d60c4f13707489e7fb83c492ca17327e9ab7 What’s new since PyGObject 3.11.4 = - Add enum and flags member methods (Simon Feltman) (#693099) - overrides: Fix __repr__ for various Gdk structs (Simon Feltman) - python.m4: g/c JD_PYTHON_CHECK_VERSION (Patrick

[pygtk] PyGObject 3.11.5 Released

2014-02-04 Thread Simon Feltman
-3.11.5.tar.xz (680K) sha256sum: 26458b012e5d443d9b4a81d9eb9ad3207f5f050c962f5bd09f16aa034d284685 What's new in PyGObject 3.11.5 = - cache refactoring: Move all cache marshalers into files based on type (Simon Feltman) (#709700) - tests: Add test for an owned boxed

[pygtk] PyGObject 3.12.2 Released

2014-05-26 Thread Simon Feltman
I am pleased to announce version 3.12.2 of the Python bindings for GObject. This is the third release in the stable 3.12.x series for GNOME 3.12. Download The new release is available from ftp.gnome.org: https://download.gnome.org/sources/pygobject/3.12/pygobject-3.12.2.tar.xz (686K)

[pygtk] PyGObject 3.13.2 Released

2014-05-26 Thread Simon Feltman
= - Unification of GLib.GError and GLib.Error. GLib.Error should be used for any exception handling while GLib.GError is a compatibility alias. (Simon Feltman) (#712519) - New API gi.require_foreign() for ensuring cairo marshalling is supported. (Simon Feltman) (#707735) - Automatic marshalling of cairo

[pygtk] PyGObject 3.14.0 Released

2014-09-22 Thread Simon Feltman
type (Christoph Reiter) (#727810) - GLib.GError and GLib.Error are now unified (Simon Feltman) (#712519) - Non-introspected signals support marshaling cairo objects (Simon Feltman) (#694604) - GTypeClass methods show up as Python GObject class methods (Johan Dahlin) (#685218