Re: [pygtk] pygi - gtk drawingarea doesn't work?

2012-07-17 Thread Tomeu Vizoso
On Mon, Jul 16, 2012 at 12:21 PM, Giuseppe Penone gius...@gmail.com wrote: ok installing python-gi-cairo made it, this is to be added to the dependencies if drawingarea is used. Hi, looks like this bug should be reported to Ubuntu. Regards, Tomeu On Mon, Jul 16, 2012 at 12:17 PM, Giuseppe

Re: [pygtk] PyGObject 3.3.1 released

2012-05-01 Thread Tomeu Vizoso
On Tue, May 1, 2012 at 09:32, Mark Summerfield m...@qtrac.eu wrote: I'm trying to learn PyGObject but find that a lot of material is actually about PyGtk. Can you---or anyone---provide any links to projects that are using PyGObject 3.x so that I can look at their source code? Hi Mark, do

Re: [pygtk] how do I get a list of windows on my desktop?

2012-03-15 Thread Tomeu Vizoso
On Thu, Mar 15, 2012 at 17:30, John Accoun json...@gmail.com wrote: Thank you Giuseppe, but I think I would still like some more guidance. I had a bit of trouble following x-tile source, but from what I understood, you get the window list by interacting with x11 C library which you load using

Re: [pygtk] building pygtk

2012-03-14 Thread Tomeu Vizoso
On Wed, Mar 14, 2012 at 19:08, cristian abarzúa abarz...@gmail.com wrote: Hi. Install the development packages for gtk ( libgtk2.0-dev) He says to be building those from source. I guess it would help to see the config.log file. Regards, Tomeu Regards. Cristian El 14/03/12 14:45, Wadud

Re: [pygtk] PyObject fails with Gst on signal sync-message::element

2011-11-04 Thread Tomeu Vizoso
On Thu, Nov 3, 2011 at 19:55, Angel Guzman Maeso shaka...@gmail.com wrote: But apparently, the first problem comes, I need compile gir files for create the typelib files. Both .gir and .typelib files should be generated during the build process. Check config.log for reasons why this didn't

Re: [pygtk] SIGBUS error on Mac OS X 10.7 with PyGobject 3.0.1

2011-11-04 Thread Tomeu Vizoso
On Thu, Nov 3, 2011 at 21:06, Arjan Molenaar gap...@gmail.com wrote: On 3 Nov 2011, at 17:25, Tomeu Vizoso wrote: On Wed, Nov 2, 2011 at 08:46, Arjan Molenaar gap...@gmail.com wrote: Hi, I'm working on porting my projects to Gtk3 and PyGobject3. However, I run into a nasty issue. I

Re: [pygtk] SIGBUS error on Mac OS X 10.7 with PyGobject 3.0.1

2011-11-04 Thread Tomeu Vizoso
On Fri, Nov 4, 2011 at 13:06, Arjan Molenaar gap...@gmail.com wrote: On 4 Nov 2011, at 10:08, Tomeu Vizoso wrote: On Thu, Nov 3, 2011 at 21:06, Arjan Molenaar gap...@gmail.com wrote: On 3 Nov 2011, at 17:25, Tomeu Vizoso wrote: On Wed, Nov 2, 2011 at 08:46, Arjan Molenaar gap...@gmail.com

Re: [pygtk] SIGBUS error on Mac OS X 10.7 with PyGobject 3.0.1

2011-11-03 Thread Tomeu Vizoso
On Wed, Nov 2, 2011 at 08:46, Arjan Molenaar gap...@gmail.com wrote: Hi, I'm working on porting my projects to Gtk3 and PyGobject3. However, I run into a nasty issue. I subclass Gtk.DrawingArea in order to provide view functionality for a Gaphas canvas. For this I override some signals.

Re: [pygtk] PyObject fails with Gst on signal sync-message::element

2011-11-02 Thread Tomeu Vizoso
On Tue, Nov 1, 2011 at 20:04, Angel Guzman Maeso shaka...@gmail.com wrote: 2011/11/1 Tomeu Vizoso to...@sugarlabs.org On Tue, Nov 1, 2011 at 19:37, Angel Guzman Maeso shaka...@gmail.com wrote: Where I can find 0.11 (1.0) for download and compile on Ubuntu? I need to fix this ASAP (I am

Re: [pygtk] PyObject fails with Gst on signal sync-message::element

2011-11-01 Thread Tomeu Vizoso
Hi, what version of GStreamer are you using? I think only 0.11 (future 1.0) can be used through introspection. There are other programs that are being ported to introspection and that use GStreamer, such as Pitivi, I would look at them for ideas. Regards, Tomeu On Tue, Nov 1, 2011 at 12:05,

Re: [pygtk] PyObject fails with Gst on signal sync-message::element

2011-11-01 Thread Tomeu Vizoso
On Tue, Nov 1, 2011 at 19:37, Angel Guzman Maeso shaka...@gmail.com wrote: Where I can find 0.11 (1.0) for download and compile on Ubuntu? I need to fix this ASAP (I am doing a app for my dissertation). If you are in such a hurry, may be better to stay with the old static bindings. Regards,

Re: [pygtk] gtk_clipboard_set_with_data: (skip)

2011-08-30 Thread Tomeu Vizoso
On Fri, Jul 1, 2011 at 14:25, Pavel Holejsovsky pavel.holejsov...@gmail.com wrote: Hi Giuseppe, On 7/1/2011 10:21 AM, Giuseppe Penone wrote: I'm a GTK+ developer that used to work in pygtk2 and now ported the code to pygobject introspection. For my (GPL) application

[pygtk] parallel installable PyGObject for GNOME 3.2

2011-08-10 Thread Tomeu Vizoso
Hi all, this is just a heads up about how PyGTK and PyGObject+introspection applications are going to coexist in GNOME 3.2. The next stable release of PyGObject will be 3.0 and will be parallel installable with 2.28. This way applications using the static bindings will just pick up 2.28 without

Re: [pygtk] pygtk2 to pygobject/introspection

2011-06-30 Thread Tomeu Vizoso
On Thu, Jun 30, 2011 at 12:56, Giuseppe Penone gius...@gmail.com wrote: Did anybody notice that the function gtk_clipboard_set_with_data () is missing from the bindings? method name=set_with_data   c:identifier=gtk_clipboard_set_with_data   introspectable=0 This

Re: [pygtk] pygtk2 to pygobject/introspection

2011-06-30 Thread Tomeu Vizoso
software. Regards, Tomeu Anyway I'm sorry if I offended somebody, I apologise. Regards, Giuseppe. On Thu, Jun 30, 2011 at 13:18, Tomeu Vizoso to...@sugarlabs.org wrote: On Thu, Jun 30, 2011 at 12:56, Giuseppe Penone gius...@gmail.com wrote: Did anybody notice that the function

Re: [pygtk] pygtk2 to pygobject/introspection

2011-06-30 Thread Tomeu Vizoso
On Fri, Jul 1, 2011 at 05:48, Just Fill Bugs mozbug...@yahoo.com.au wrote: On 07/01/2011 04:35 AM, Giuseppe Penone wrote: +1: provide us a tutorial so that we can learn how to add missing binded functions ourself and then provide the patch. Take a look at

Re: [pygtk] Porting to Intospection

2011-04-28 Thread Tomeu Vizoso
On Thu, Apr 28, 2011 at 18:49, Avi Levy avi...@gmail.com wrote: Hi all, I am new here so I'm not sure what is considered ontopic. I am trying to get familiar with the new additions in gtk3 and pygobject by porting an application written using gtk2 and no introspection, and libglade

Re: [pygtk] How to use GtkStyleContext?

2011-03-25 Thread Tomeu Vizoso
On Wed, Mar 23, 2011 at 07:22, Greg Ewing greg.ew...@canterbury.ac.nz wrote: Are there any examples of using gi to access a GtkStyleContext? I'm completely failing to get anything useful out of it. Hi, see here:

Re: [pygtk] GtkTextView widget insists on resizing itself

2011-03-25 Thread Tomeu Vizoso
On Fri, Mar 25, 2011 at 09:09, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: I have a GtkTextView inside a GtkFrame which is on a GtkLayout. In Gtk 2, if you typed more text than would fit in the visible area of the widget, it would auto-scroll. But in Gtk 3, the TextView *enlarges

Re: [pygtk] Problem compiling gobject-introspection on Snow Leopard

2011-03-21 Thread Tomeu Vizoso
On Sun, Mar 20, 2011 at 00:52, Greg Ewing greg.ew...@canterbury.ac.nz wrote: I'm trying to compile gobject-introspection-0.10.4 on MacOSX 10.6.4 and getting the following errors: /usr/include/libkern/i386/_OSByteOrder.h:49: syntax error, unexpected '{', expecting ',' or ';' in '{' at '{'

Re: [pygtk] Problem compiling gobject-introspection on Snow Leopard

2011-03-21 Thread Tomeu Vizoso
On Mon, Mar 21, 2011 at 09:31, Greg Ewing greg.ew...@canterbury.ac.nz wrote: Tomeu Vizoso wrote: After some hunting around I found the gir-repository package, which looks like it should help, so I tried to compile and install it. However, it fails trying to generate .gir files for Gtk-2.22

Re: [pygtk] gtk/pygobject api question

2011-03-07 Thread Tomeu Vizoso
On Fri, Mar 4, 2011 at 21:38, Andrew Steele steeley...@gmail.com wrote: You can still specify arguments at construction time, e.g. sizegroup = Gtk.SizeGroup(mode=Gtk.SizeGroupMode.BOTH). The important thing to remember is to 'name' the argument with 'mode='. As for you're other questions, I'd

Re: [pygtk] On figuring out what to do with the nautilus-python bindings

2011-03-07 Thread Tomeu Vizoso
On Fri, Mar 4, 2011 at 21:53, Adam Plumb adampl...@gmail.com wrote: I'm the developer for nautilus-python, the python bindings for the nautilus extension framework.  I'm having trouble figuring out where to begin with porting the bindings from PyGTK to PyGI. Hi, I suggest that you look at how

Re: [pygtk] problem pasting clipboard content from arabic website (target text/html)

2011-01-12 Thread Tomeu Vizoso
On Wed, Jan 12, 2011 at 13:34, Giuseppe Penone gius...@gmail.com wrote: Hi, I have a problem with gtk.clipboard() and gtk.selectiondata() in my open source app http://giuspen.com/cherrytree when pasting clipboard content from arabic website taking data from the target text/html. What browser

Re: [pygtk] problem pasting clipboard content from arabic website (target text/html)

2011-01-12 Thread Tomeu Vizoso
://mxr.mozilla.org/mozilla-central/source/widget/src/gtk2/nsClipboard.cpp#707 HTH, Tomeu but what I get is 猼慰瑳汹㵥昢湯⵴楳敺›㌱┰∻㰾灳湡猠祴敬∽潣潬㩲爠摥∻㰾灳湡猠祴敬∽潣潬㩲戠慬正∻䐾㑅䡇‱❈ㅄ☧‹䥁✠❄⼵ㄧ✠ⱄ䨯  䔪✠䐵ⴧ⠠㘹✠㥄䑄䠠䔪㤠䑅⼼灳湡㰾猯慰㹮⼼灳湡 Regards, Giuseppe. On Wed, Jan 12, 2011 at 3:17 PM, Tomeu Vizoso to...@sugarlabs.org wrote

Re: [pygtk] PyGObject directory issue again, taking a stand

2010-11-24 Thread Tomeu Vizoso
On Tue, Nov 23, 2010 at 20:15, Dieter Verfaillie diet...@optionexplicit.be wrote: Quoting Tomeu Vizoso to...@sugarlabs.org: On Tue, Nov 23, 2010 at 13:46, Dieter Verfaillie diet...@optionexplicit.be wrote: Quoting Tomeu Vizoso to...@sugarlabs.org: It's not up to me to decide anything

Re: [pygtk] PyGObject directory issue again, taking a stand

2010-11-23 Thread Tomeu Vizoso
On Fri, Nov 19, 2010 at 13:30, Dieter Verfaillie diet...@optionexplicit.be wrote: Quoting John Palmieri jo...@redhat.com: If you feel this is a really bad idea, speak now. It's a great idea, maybe a bit overdue even ;) Some questions/thoughts: * Where are the following going to be

Re: [pygtk] PyGObject directory issue again, taking a stand

2010-11-23 Thread Tomeu Vizoso
On Tue, Nov 23, 2010 at 13:46, Dieter Verfaillie diet...@optionexplicit.be wrote: Quoting Tomeu Vizoso to...@sugarlabs.org:  Building on the above, we could have part of a reliably method to  detect [2] if the static bindings get imported but you already have  imported gi (but not necessarily

Re: [pygtk] PyGObject porting help -- constants

2010-10-07 Thread Tomeu Vizoso
On Wed, Oct 6, 2010 at 22:28, Robert Park rbp...@exolucere.ca wrote: On Tue, Oct 5, 2010 at 12:56 AM, Tomeu Vizoso to...@sugarlabs.org wrote: It would be great if you could help making that page more useful (and maybe easier to find), right now the number of contributors is ridiculously small

Re: [pygtk] PyGObject porting help -- constants

2010-10-05 Thread Tomeu Vizoso
On Mon, Oct 4, 2010 at 23:52, Robert Park rbp...@exolucere.ca wrote: Since nobody's replied and Google doesn't even really know, I emailed John Palmieri directly, who kindly explained that the file /usr/share/gir-1.0/Gtk-2.0.gir holds all the answers. It's the introspection data in XML format,

Re: [pygtk] PyGObject porting help -- constants

2010-10-05 Thread Tomeu Vizoso
On Tue, Oct 5, 2010 at 10:42, jors worby...@gmail.com wrote: El mar, 05-10-2010 a las 08:56 +0200, Tomeu Vizoso escribió: On Mon, Oct 4, 2010 at 23:52, Robert Park rbp...@exolucere.ca wrote: Since nobody's replied and Google doesn't even really know, I emailed John Palmieri directly, who

Re: [pygtk] PyGObject porting help -- constants

2010-10-05 Thread Tomeu Vizoso
On Tue, Oct 5, 2010 at 13:56, jors worby...@gmail.com wrote: El mar, 05-10-2010 a las 10:51 +0200, Tomeu Vizoso escribió: On Tue, Oct 5, 2010 at 10:42, jors worby...@gmail.com wrote: El mar, 05-10-2010 a las 08:56 +0200, Tomeu Vizoso escribió: On Mon, Oct 4, 2010 at 23:52, Robert Park rbp

Re: [pygtk] Possible memory leak in pygi-invoke.c

2010-09-27 Thread Tomeu Vizoso
On Mon, Sep 27, 2010 at 09:50, Damien Caliste damien.cali...@cea.fr wrote: Hello, Le 24/09/2010, Tomeu Vizoso to...@sugarlabs.org a écrit : Can you verify it's the same on your end in case we have some problem that is dependent on the environment? Ok, the last trunk (with the patch) still

Re: [pygtk] pygobject matching glib version numbers

2010-09-26 Thread Tomeu Vizoso
On Sun, Sep 26, 2010 at 00:48, John Stowers john.stowers.li...@gmail.com wrote: On Wed, 2010-08-11 at 10:07 +0200, Tomeu Vizoso wrote: Hi, John Stowers has proposed that PyGObject changes it's version numbering to match that of glib. This means that the next stable version will be 2.26

Re: [pygtk] Possible memory leak in pygi-invoke.c

2010-09-24 Thread Tomeu Vizoso
On Tue, Sep 21, 2010 at 18:28, Damien Caliste damien.cali...@cea.fr wrote: Hello,   I've worked on a patch to correct the memory leak in invoke() function. The patch has been submitted, see: https://bugzilla.gnome.org/show_bug.cgi?id=630271 Le 03/09/2010, Tomeu Vizoso to...@sugarlabs.org

Re: [pygtk] moving some stuff from pygobject to pygtk

2010-08-25 Thread Tomeu Vizoso
On Sat, Aug 21, 2010 at 02:13, John Stowers john.stowers.li...@gmail.com wrote: On Fri, 2010-08-20 at 17:54 +0200, Tomeu Vizoso wrote: I know that pygtk doesn't have an excess of maintainers right now, but these modules should be relatively mature already. Agree. I was one of the first large

Re: [pygtk] moving some stuff from pygobject to pygtk

2010-08-25 Thread Tomeu Vizoso
On Sat, Aug 21, 2010 at 22:37, John Palmieri jo...@redhat.com wrote: Hmm, seems my original e-mail never made it to the list.  Thanks for posting this Tomeu. - John Stowers john.stowers.li...@gmail.com wrote: On Fri, 2010-08-20 at 17:54 +0200, Tomeu Vizoso wrote: Hi all, as you

Re: [pygtk] moving some stuff from pygobject to pygtk

2010-08-25 Thread Tomeu Vizoso
On 08/25/2010 01:22 PM, John Stowers wrote: On Wed, Aug 25, 2010 at 9:08 PM, Tomeu Vizoso tomeu.viz...@collabora.co.uk wrote: On Sat, Aug 21, 2010 at 22:37, John Palmierijo...@redhat.com wrote: Hmm, seems my original e-mail never made it to the list. Thanks for posting this Tomeu

Re: [pygtk] PyGObject and introspection concerns (was Re: PyGTK 2.17 for Windows)

2010-08-24 Thread Tomeu Vizoso
On Mon, Jul 5, 2010 at 15:22, John Stowers john.stowers.li...@gmail.com wrote: I just sent a mail to the python-hackers list with some of my queries. Replying here as well as application authors will be interested. Cool. But my concerns are basically * What is the state of the more

[pygtk] moving some stuff from pygobject to pygtk

2010-08-20 Thread Tomeu Vizoso
Hi all, as you may know J5 is working on the Python3 port of PyGObject and he has found that porting the gio static bindings is a lot of work and somewhat useless as the rest of the static bindings aren't likely to be ported to Python 3 at all. I would like to put for consideration the idea of

Re: [pygtk] PyPy Support

2010-08-16 Thread Tomeu Vizoso
On Mon, Jul 19, 2010 at 18:30, pogipogia pogipogia pogipo...@gmail.com wrote: I'm not sure if this is the right place to ask but are the any future plans on integrating pygtk with pypy. Hi, I can only say about PyPy that the move to introspection will make it easier because there will be less

Re: [pygtk] pygobject matching glib version numbers

2010-08-11 Thread Tomeu Vizoso
On Wed, Aug 11, 2010 at 10:57, Simon van der Linden svdlin...@gnome.org wrote: On Wed, 2010-08-11 at 10:07 +0200, Tomeu Vizoso wrote: The rationale is that it will help people a bit to know what to expect from a given PyGObject release. He's already numbering his PyGtk releases matching Gtk

Re: [pygtk] Notice on pygtk.org and pygtk gnome wiki about PyGObject dynamic bindings?

2010-08-07 Thread Tomeu Vizoso
Hi Jens, On Sat, Aug 7, 2010 at 06:55, Jens Knutson jens.knut...@gmail.com wrote: I am organizing a sprint for my local Python user group to try to port (at least partially) a widely used module to P3k.  (We're looking at Mutagen right now.) If this goes well, or at the very least, if it

Re: [pygtk] How About a PyGtk Stable Release?

2010-08-06 Thread Tomeu Vizoso
On Fri, Aug 6, 2010 at 09:56, Andrew Steele steeley...@gmail.com wrote: On 3 August 2010 14:58, John Stowers john.stowers.li...@gmail.com wrote: Ping? Anyone feel like doing this? Can I do it? John Looks like you should go for it. A release now would be useful for end-users so its in

Re: [pygtk] pyobject missing G_MAXUINT

2010-07-13 Thread Tomeu Vizoso
On Tue, Jul 13, 2010 at 15:45, Paolo Losi paolo.l...@gmail.com wrote: Hi all, I'm trying to compile pygobject 2.10.1 on Centos 5.5. I need to recompile since we're using a custom python 2.5. 2.10.1 is the most recent version of pygobject that supports the version of glib shipped with centos

Re: [pygtk] How About a PyGtk Stable Release?

2010-07-12 Thread Tomeu Vizoso
On Sun, Jul 11, 2010 at 05:46, John Stowers john.stowers.li...@gmail.com wrote: On Fri, 2010-07-09 at 15:32 +1200, John Stowers wrote: On Thu, 2010-07-08 at 09:57 +0200, Tomeu Vizoso wrote: On Mon, Jul 5, 2010 at 15:30, John Stowers john.stowers.li...@gmail.com wrote: Hi All

[pygtk] [ANNOUNCE] PyGObject 2.21.5 - unstable

2010-07-12 Thread Tomeu Vizoso
Hi, I am pleased to announce version 2.21.5 of the Python bindings for GObject. The new release is available from ftp.gnome.org as and its mirrors as soon as its synced correctly: http://download.gnome.org/sources/pygobject/2.21/ What's new since PyGObject 2.21.4? - Shut up some

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-07-09 Thread Tomeu Vizoso
the API provided by g-i for compatibility with the static bindings. The idea is that this will make easier to port existing software and will make existing documentation useful for a longer time. Regards, Tomeu 2010/7/8 Tomeu Vizoso to...@sugarlabs.org: On Thu, Jul 8, 2010 at 16:19, Gerald

Re: [pygtk] What is gobject.TYPE_BOXED?

2010-07-08 Thread Tomeu Vizoso
On Thu, Jul 8, 2010 at 05:56, John Stowers john.stowers.li...@gmail.com wrote: On Thu, Jul 8, 2010 at 2:48 PM, Jason Heeris jason.hee...@gmail.com wrote: Looking through the PyGTK gobject type constants[1], I noticed the gobject.TYPE_BOXED constant. What is it, exactly? Does it have a use in

Re: [pygtk] How About a PyGtk Stable Release?

2010-07-08 Thread Tomeu Vizoso
On Mon, Jul 5, 2010 at 15:30, John Stowers john.stowers.li...@gmail.com wrote: Hi All, It would be great if we could do a PyGtk stable release to align with the last gtk-2.0 release. I am happy to do this if no-one else wants to. I guess you should go for it. Also, would it be worth

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-07-08 Thread Tomeu Vizoso
On Mon, Jul 5, 2010 at 15:48, John Stowers john.stowers.li...@gmail.com wrote: Hi, First of all, PyGI and GObject introspection is the way forward. Now, that being said, it seems a little silly to spend all this effort porting C apps in GNOME to gtk-3.0 only to see the first PyGtk app drag

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-07-08 Thread Tomeu Vizoso
On Thu, Jul 8, 2010 at 16:19, Gerald Britton gerald.brit...@gmail.com wrote: On Thu, Jul 8, 2010 at 4:03 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Jul 5, 2010 at 15:48, John Stowers john.stowers.li...@gmail.com wrote: Hi, First of all, PyGI and GObject introspection is the way

Re: [pygtk] PyGTK 2.17 for Windows

2010-07-01 Thread Tomeu Vizoso
On Thu, Jul 1, 2010 at 08:52, Jason Heeris jason.hee...@gmail.com wrote: I'm trying to get a PyGTK app going on a Windows XP installation. It requires PyGTK 2.17. I have Python 2.6 and GTK 2.18 set up just fine, but of course there's no binary installer for PyGTK 2.17. So I grabbed the source

Re: [pygtk] STUPID MPCUSTOMER.COM EMAIL AUTO-RESPONDER

2010-07-01 Thread Tomeu Vizoso
On Thu, Jul 1, 2010 at 15:17, John Stowers john.stowers.li...@gmail.com wrote: Hi, Excuse the yelling. Does anyone else get these annoying auto-responses from supp...@mpcustomer.com when they reply to the list? Yup, though I'm not sure how to find the email address that is causing it, sounds

Re: [pygtk] PyGTK 2.17 for Windows

2010-07-01 Thread Tomeu Vizoso
On Thu, Jul 1, 2010 at 15:13, John Stowers john.stowers.li...@gmail.com wrote: On Thu, Jul 1, 2010 at 6:52 PM, Jason Heeris jason.hee...@gmail.com wrote: I'm trying to get a PyGTK app going on a Windows XP installation. It requires PyGTK 2.17. I have Python 2.6 and GTK 2.18 set up just fine,

Re: [pygtk] PyGTK 2.17 for Windows

2010-07-01 Thread Tomeu Vizoso
On Thu, Jul 1, 2010 at 17:04, Jason Heeris jason.hee...@gmail.com wrote: On 1 July 2010 21:13, John Stowers john.stowers.li...@gmail.com wrote: I have been generating the python installers for windows. Good work :) This, and the fact that PyGtk has effectively been deprecated an replaced

Re: [pygtk] How to remain visible on to p of fullscreen application?

2010-06-30 Thread Tomeu Vizoso
On Wed, Jun 30, 2010 at 12:03, Francesco Fumanti francesco.fuma...@gmx.net wrote: Hi, Thanks for your reply. Onboard already users that flag but unfortunately it does not keep it above other applications. However, onscreen keyboard users usually don't have access to a hardware keyboard,

Re: [pygtk] How to remain visible on to p of fullscreen application?

2010-06-30 Thread Tomeu Vizoso
/sugar/repos/mainline/blobs/master/src/jarabe/frame/framewindow.py Regards, Tomeu Thanks nevertheless for telling me your idea. Francesco. On 06/30/2010 02:02 PM, Tomeu Vizoso wrote: On Wed, Jun 30, 2010 at 12:03, Francesco Fumanti francesco.fuma...@gmx.net  wrote: Hi, Thanks for your

[pygtk] [ANNOUNCE] PyGObject 2.21.4 - unstable

2010-06-29 Thread Tomeu Vizoso
the cairo shim as a python module so the _gi module stops linking to it (Tomeu Vizoso) - add drawing area demo (John (J5) Palmieri) - sort the demo list (John (J5) Palmieri) - rename iter to treeiter so we aren't using a python reserved word (John (J5) Palmieri) - Fixup

[pygtk] [ANNOUNCE] PyGObject 2.21.3 - unstable

2010-06-21 Thread Tomeu Vizoso
handling of null-ok in virtual methods (Ludovic L'Hours) - Fall back to use the floating references API in glib if there isn't a sinkfunc defined. (Tomeu Vizoso) - Revert Drop sinkfuncs. (Tomeu Vizoso) - [giounix] Make it possible to compile on glib 2.20 (Johan Dahlin

[pygtk] [ANNOUNCE] PyGObject 2.21.2 - unstable

2010-06-11 Thread Tomeu Vizoso
sinkfuncs. (Tomeu Vizoso) - Clear error if we failed the import (Colin Walters) - Added missing , to keyword list of gio.GFile.set_attribute (John Ehresman) - Fix arg conversion in gio.GFile.set_attribute (John Ehresman) - Set constants under python 2.5 or before

[pygtk] [ANNOUNCE] PyGI 0.6.0

2010-06-04 Thread Tomeu Vizoso
in configure. Tomeu Vizoso tomeu.viz...@collabora.co.uk (12) * Pre-release version bump 0.6.0 * Wrap C arrays in structs as GArrays before converting to Python * Install pre-commit hook that checks the code changes for style conformance * Apply consistent whitespace formatting

[pygtk] help wanted

2010-05-07 Thread Tomeu Vizoso
Hi, is anybody interested in lending a hand with PyGI and the port to Python 3? We need help with reviewing the PyGI patch queue and also need someone who pushes the Python 3 effort forward. This is the PyGI review queue:

Re: [pygtk] PyGi patch review weekend!

2010-04-23 Thread Tomeu Vizoso
On Thu, Apr 22, 2010 at 16:50, Zachary Goldberg zgoldb...@src.gnome.org wrote: Hey Folks PyGi is building up a bunch of patches that need review.  It'd be great if we could have some people take a look and review these this weekend (Simon and Tomeu, i'm looking at you guys =P). Count on me

Re: [pygtk] Python 3 and introspection hackfest

2010-03-06 Thread Tomeu Vizoso
On Fri, Mar 5, 2010 at 20:56, David Malcolm dmalc...@redhat.com wrote: On Tue, 2010-02-09 at 16:47 +, Tomeu Vizoso wrote: On Fri, Feb 5, 2010 at 22:22, Zachary Goldberg zgold...@gmail.com wrote: On Fri, Feb 5, 2010 at 1:16 PM, John Palmieri jo...@redhat.com wrote: - Tomeu Vizoso

Re: [pygtk] building pygtk applications using python3.1

2010-03-01 Thread Tomeu Vizoso
On Mon, Mar 1, 2010 at 12:52, A.T.Hofkamp a.t.hofk...@tue.nl wrote: goli wrote: Hi all, I am a newbie to the python language, I used pygtk with python2.6 for a week, now I want to switch to python3. You should not do that, it is too early to use Python 3. I installed python3.1 and wrote a

Re: [pygtk] Python 3 and introspection hackfest

2010-02-18 Thread Tomeu Vizoso
On Wed, Feb 17, 2010 at 22:17, Zachary Goldberg z...@zachgoldberg.com wrote: On Wed, Feb 17, 2010 at 2:44 PM, Tomeu Vizoso to...@tomeuvizoso.net wrote: On Wed, Feb 17, 2010 at 19:25, Tomeu Vizoso to...@tomeuvizoso.net wrote: Zach suggested when2meet, please record your preferences: http

Re: [pygtk] Python 3 and introspection hackfest

2010-02-17 Thread Tomeu Vizoso
On Tue, Feb 16, 2010 at 12:09, Tomeu Vizoso to...@tomeuvizoso.net wrote: On Mon, Feb 15, 2010 at 16:56, John Palmieri jo...@redhat.com wrote: - Tomeu Vizoso to...@tomeuvizoso.net wrote: Hi all, looks like we have agreed on a set of tasks and we have people with the will and capacity

Re: [pygtk] Python 3 and introspection hackfest

2010-02-17 Thread Tomeu Vizoso
On Wed, Feb 17, 2010 at 19:15, Simon van der Linden svdlin...@src.gnome.org wrote: On 02/17/2010 08:07 PM, Zachary Goldberg wrote: . What about dates? I don't have any strong preference, but I'm going to propose April 1-5 just for the sake of starting the discussion. That may be a rough

Re: [pygtk] Python 3 and introspection hackfest

2010-02-17 Thread Tomeu Vizoso
On Wed, Feb 17, 2010 at 19:25, Tomeu Vizoso to...@tomeuvizoso.net wrote: On Wed, Feb 17, 2010 at 19:15, Simon van der Linden svdlin...@src.gnome.org wrote: On 02/17/2010 08:07 PM, Zachary Goldberg wrote: . What about dates? I don't have any strong preference, but I'm going to propose April 1

Re: [pygtk] Python 3 and introspection hackfest

2010-02-16 Thread Tomeu Vizoso
On Mon, Feb 15, 2010 at 16:56, John Palmieri jo...@redhat.com wrote: - Tomeu Vizoso to...@tomeuvizoso.net wrote: Hi all, looks like we have agreed on a set of tasks and we have people with the will and capacity to work on them during the hackfest. This concrete set of tasks may seem

[pygtk] Python 3 and introspection hackfest

2010-02-13 Thread Tomeu Vizoso
Hi all, looks like we have agreed on a set of tasks and we have people with the will and capacity to work on them during the hackfest. This concrete set of tasks may seem small at first, but I think it's just what is left to do in order to keep Python as a compelling language on which to develop

Re: [pygtk] Python 3 and introspection hackfest

2010-02-09 Thread Tomeu Vizoso
On Fri, Feb 5, 2010 at 22:22, Zachary Goldberg zgold...@gmail.com wrote: On Fri, Feb 5, 2010 at 1:16 PM, John Palmieri jo...@redhat.com wrote: - Tomeu Vizoso to...@tomeuvizoso.net wrote: Hi, there's interest in having a hackfest sponsored by the GNOME Foundation that would give a push

Re: [pygtk] Python 3 and introspection hackfest

2010-02-09 Thread Tomeu Vizoso
-ZG On Tue, Feb 9, 2010 at 11:47 AM, Tomeu Vizoso to...@tomeuvizoso.net wrote: On Fri, Feb 5, 2010 at 22:22, Zachary Goldberg zgold...@gmail.com wrote: On Fri, Feb 5, 2010 at 1:16 PM, John Palmieri jo...@redhat.com wrote: - Tomeu Vizoso to...@tomeuvizoso.net wrote: Hi, there's

[pygtk] Python 3 and introspection hackfest

2010-02-05 Thread Tomeu Vizoso
Hi, there's interest in having a hackfest sponsored by the GNOME Foundation that would give a push to some issues that are important to the Pygtk community: support for Python 3.x and gobject-introspection. How does it sound? Regards, Tomeu ___ pygtk

Re: [pygtk] Python 3.x

2010-02-04 Thread Tomeu Vizoso
On Wed, Feb 3, 2010 at 21:16, Stephen George steve_...@optusnet.com.au wrote: Hi All, I've searched the archives, and pyGTK web site, I can't find any information about how the Python 3.x port is going. Does anyone know where I should hang out to find out more about the python 3.x port of

Re: [pygtk] How to organize my app?

2010-01-22 Thread Tomeu Vizoso
Sorry for not directly replying your question, but (if you have the interest) I would recommend reading up about object oriented design and design patterns. Code organization is an important aspect of controlling complexity. http://en.wikipedia.org/wiki/GRASP_%28Object_Oriented_Design%29

Re: [pygtk] Handling new foreign windows in pygtk app.

2010-01-21 Thread Tomeu Vizoso
On Tue, Jan 19, 2010 at 11:44, Radek Vykydal rvyky...@redhat.com wrote: Hello list, I am trying to solve this problem: In root-only environment (Anaconda installer) we are running very simple C window manager (only taking care of setting focus of windows), Anaconda pygtk GUI, and on demand

Re: [pygtk] Porting pygtk to python 3

2009-11-09 Thread Tomeu Vizoso
On Mon, Nov 9, 2009 at 09:22, Rafael Villar Burke (Pachi) pa...@rvburke.com wrote: Alex Dedul wrote: Hi! Any news on porting pygtk to python 3 ? I would be glad to help maybe almost full-time on this. Just would be good to know current status on this matters first.. And if none projects or

[pygtk] plans for introspection support

2009-10-24 Thread Tomeu Vizoso
Hi all, as you may know, work has been going on to add gobject-introspection support to PyGObject. This would mean that we can use from python any GObject-based library that has introspection support without having to write and build specific bindings for that library. Most commonly used

Re: [pygtk] introspection pygobject branch

2009-10-20 Thread Tomeu Vizoso
Ping On Sun, Oct 18, 2009 at 12:23, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Oct 13, 2009 at 18:40, Simon van der Linden svdlin...@src.gnome.org wrote: On 13 Oct 2009, at 18:40, Colin Walters wrote: Does anyone know the status of merging the Summer of Code branch for improving

Re: [pygtk] introspection pygobject branch

2009-10-20 Thread Tomeu Vizoso
On Tue, Oct 20, 2009 at 18:44, Johan Dahlin jo...@gnome.org wrote: On Sun, Oct 18, 2009 at 9:23 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Oct 13, 2009 at 18:40, Simon van der Linden svdlin...@src.gnome.org wrote: On 13 Oct 2009, at 18:40, Colin Walters wrote: Does anyone know

Re: [pygtk] introspection pygobject branch

2009-10-18 Thread Tomeu Vizoso
On Tue, Oct 13, 2009 at 18:40, Simon van der Linden svdlin...@src.gnome.org wrote: On 13 Oct 2009, at 18:40, Colin Walters wrote: Does anyone know the status of merging the Summer of Code branch for improving the GObject Introspection support? Nothing has been merged yet. A bug has been

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread Tomeu Vizoso
On Sat, Oct 17, 2009 at 17:12, René 'Necoro' Neumann li...@necoro.eu wrote: Well -- you are not initializing gtk.Image. So it's your very own mistake. I don't see a pygtk issue here. This is Python, any crash is a bug. Regards, Tomeu ___ pygtk

[pygtk] crash in the gsoc2009 branch of pygobject

2009-10-15 Thread Tomeu Vizoso
Hi, have found a double free and I'm not sure what is the proper fix. To reproduce, instantiate a boxed: python -c from gi.repository import Pango; Pango.FontDescription() This fixes it, but may not be the right thing to do: diff --git a/gi/pygi-info.c b/gi/pygi-info.c index 6f16bb6..d5f8105

Re: [pygtk] crash in the gsoc2009 branch of pygobject

2009-10-15 Thread Tomeu Vizoso
On Thu, Oct 15, 2009 at 17:43, Simon van der Linden svdlin...@src.gnome.org wrote: On Thu, 2009-10-15 at 17:27 +0100, Tomeu Vizoso wrote: have found a double free and I'm not sure what is the proper fix. Thanks for finding it, Tomeu! To reproduce, instantiate a boxed: python -c from

[pygtk] Bug 596612 - gtk_widget_get_snapshot bindings are missing caller-owns-return

2009-10-06 Thread Tomeu Vizoso
Hi, anybody has any feedback on this patch? We are leaking 2MB per window switch in Sugar because of this, so would be very convenient to get it pushed to git so we can ask distros to ship it as a patch. https://bugzilla.gnome.org/show_bug.cgi?id=596612 Thanks, Tomeu -- «Sugar Labs is anyone

Re: [pygtk] Gtkmozembed

2009-09-04 Thread Tomeu Vizoso
On Fri, Sep 4, 2009 at 01:37, Jeffrey Barishjeff_bar...@earthlink.net wrote: John Stowers wrote: I would also recommend moving to PyWebitGtk asap. GtkMozembed is a train wreck. Can you say more about what's wrong with GtkMozembed?  Also, can you direct me to documentation for PyWebkitGtk?

Re: [pygtk] Animation performance - limitation or my code?

2009-09-01 Thread Tomeu Vizoso
On Tue, Sep 1, 2009 at 07:34, Kim Adilka...@proactiveindustrial.net wrote: I once wrote a gtk program in C that displayed about 30 animations on a drawing area and they moved around the screen, and performance was excellent. The drawingarea size was 1600x1200 and the animations were very

Re: [pygtk] Animation performance - limitation or my code?

2009-09-01 Thread Tomeu Vizoso
now on and you should profile the C side. For a first quick try, sysprof has worked well for me in the past. systemtap is good as well but has a steeper learning curve. HTHs, Tomeu Thanks, Kim Tomeu Vizoso wrote: On Tue, Sep 1, 2009 at 07:34, Kim Adilka...@proactiveindustrial.net wrote

Re: [pygtk] I couldn't find this in the FAQ or RoadMap

2009-07-30 Thread Tomeu Vizoso
On Thu, Jul 30, 2009 at 06:13, Rick Hightowerrichardhighto...@gmail.com wrote: I read the release notes and it seems you don't support Python 3 yet. I even tried running some PyGTK examples with Python 3 and they do not work. Is Python3 on your roadmap? I could not find mention of it in your

Re: [pygtk] Saving a pixmap to a file

2009-07-21 Thread Tomeu Vizoso
On Tue, Jul 21, 2009 at 12:09, Xenofon Papadopoulosxpa...@gmail.com wrote: Is it possible to save a gtk.Pixmap to an image file? (i.e. a .png file) You can create a pixbuf from that pixmap, then save it: pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, has_alpha=False, bits_per_sample=8,

Re: [pygtk] Is pynotify (or similar) for MS Windows available?

2009-07-09 Thread Tomeu Vizoso
On Thu, Jul 9, 2009 at 05:02, Wubin Ququwu...@gmail.com wrote: Hi, Is there any modules or softwares have the same function as pynotify has on MS Windows? GIO (included in pygobject) can help you monitor files and directories, though I haven't tested it in Windows:

[pygtk] making pygobject_register_sinkfunc a noop?

2009-05-22 Thread Tomeu Vizoso
Hi, I'm working on pybank and have found a problem when removing the floating reference after construction. The current plan is to base pybank on pygobject, so pybank would basically create at runtime the equivalent of the code generated for the gtk, gstreamer, etc bindings. I'm wondering now

Re: [pygtk] making pygobject_register_sinkfunc a noop?

2009-05-22 Thread Tomeu Vizoso
On Fri, May 22, 2009 at 12:01, Tomeu Vizoso to...@sugarlabs.org wrote: Hi, I'm working on pybank and have found a problem when removing the floating reference after construction. The current plan is to base pybank on pygobject, so pybank would basically create at runtime the equivalent