Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-08 Thread Torsten Schoenfeld
On 08.02.2013 04:08, Simon Feltman wrote: I've created a ticket and proposed patch for GTK+: https://bugzilla.gnome.org/show_bug.cgi?id=693393 I am looking for feedback to see if this type of thing is even acceptable and if it's worthy of further pursuit. Won't gobject-introspection silently

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-08 Thread Simon Feltman
On Fri, Feb 8, 2013 at 3:05 AM, Torsten Schoenfeld kaffeeti...@gmx.dewrote: Won't gobject-introspection silently turn the (transfer full) annotation into (transfer none) due to the special handling for GInitiallyUnonwed descendants? It seems to pick it up correctly. The problem was actually

Making GtkEntry::scroll-offset read/write?

2013-02-08 Thread David Trowbridge
I'm trying to port libview (http://view.sourceforge.net/) to Gtk+ 3.x, and something that I've run into is that the way that view::FieldEntry sets tabstops into the parent entry's PangoLayout causes the cursor position logic inside GtkEntry to break quite a bit. The way it's solved today is to

Re: Making GtkEntry::scroll-offset read/write?

2013-02-08 Thread Matthias Clasen
On Thu, Feb 7, 2013 at 7:06 PM, David Trowbridge dav...@vmware.com wrote: I'm trying to port libview (http://view.sourceforge.net/) to Gtk+ 3.x, and something that I've run into is that the way that view::FieldEntry sets tabstops into the parent entry's PangoLayout causes the cursor position

Re: Making GtkEntry::scroll-offset read/write?

2013-02-08 Thread Nicola Fontana
Il Fri, 8 Feb 2013 09:38:44 -0500 Matthias Clasen matthias.cla...@gmail.com scrisse: Would be nice to have such a validating entry subclass in GTK+ itself too; if you are willing to consider a move from C++ to C. I've a custom widget that performs regex validation providing visual feedback