Re: [pygtk] python-gtk3 on windows, any progress?

2014-01-03 Thread John Stowers
Also see this for windows builds http://opensourcepack.blogspot.fr/2013/01/mypaint-and-pygi.html John On Fri, Jan 3, 2014 at 12:16 PM, Timo timomli...@gmail.com wrote: op 02-01-14 20:54, Giuseppe Penone schreef: Hi, is there any progress for an all-in-one installer of python-gtk3 on

Re: [pygtk] How to use GDK locking with pygtk3 ?

2013-12-27 Thread John Stowers
No gtk functions can be called from outside the gtk thread (unless you take the lock - although that doesnt work on windows) This is not specific to infobar. On Fri, Dec 27, 2013 at 4:21 PM, Ronald Sayers sayers...@gmail.com wrote: Solved it, it was caused by infobar which seems have some

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

2012-11-17 Thread John Stowers
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? I think the stupidest mistake in

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

2012-07-16 Thread John Stowers
Works for me. Ubuntu 12.04 I think your install is broken. John On Mon, Jul 16, 2012 at 10:37 AM, Giuseppe Penone gius...@gmail.com wrote: on a clean lubuntu 1204 installation (either 32 and 64 bit), ensured that python-gobject and gir1.2-gtk-3.0 are installed, the attached demo doesn't

Re: [pygtk] gtk.ProgressBar color

2012-07-03 Thread John Stowers
On Mon, Jul 2, 2012 at 8:15 PM, Robert Pinsky rpin...@imsco-us.com wrote: John, I tried the modify_bg call as follows: self.pbar.modify_bg(gtk.STATE_PRELIGHT, self.pbar.get_colormap().alloc_color(yellow)) It accepted the command, but did not actually change the color. (I saw a comment

Re: [pygtk] gtk.ProgressBar color

2012-07-02 Thread John Stowers
Firstly, is there any reason you are not using gtk+-3 and the new PyGObject bindings? Pygtk is not receiving any new features now. John On Mon, Jul 2, 2012 at 6:00 PM, Robert Pinsky rpin...@imsco-us.com wrote: Hi, I am new to working in gtk. I have an application that displays several

Re: [pygtk] PyGTK + OpenCV

2012-02-21 Thread John Stowers
GTK is not threadsafe. If opencv shows a gtk mainwindow in cv.ShowImage, and that occurs in a different thread to the one running gtk_main, then unpredictable crashes and odd behaviour will result. Please check the pygtk FAQ for how to use threading and pygtk. I suggest displaying the image

Re: [pygtk] PyGTK + OpenCV

2012-02-21 Thread John Stowers
     | .| -/(_)\..conquistada. Conquiste a sua também use   | .| - ^^                  G N U / L I N U X                          | +--+ 2012/2/21 John Stowers john.stowers.li...@gmail.com GTK is not threadsafe. If opencv shows a gtk

Re: [pygtk] Updated GTK+ 2.24.5 binaries (and bundle)

2011-07-13 Thread John Stowers
On Mon, 2011-07-11 at 22:22 +0200, Dieter Verfaillie wrote: Hi, Some time ago I've asked Tor how his Windows build environment looked like and he shared everything to be able to recreate it (thanks again!). The various mails we exchanged and the resulting directory structure and scripts can

Re: [pygtk] Is there a gnome keyring api for PyGi?

2011-06-09 Thread John Stowers
On Thu, 2011-06-09 at 18:26 +, Leon Bogaert wrote: Hi all, Is there a Gnome Keyring api for pygi? I tried something like this: from gi.repository import GnomeKeyring But I can't find the module to load. Does someone know if/how I can access the Gnome Keyring api with python

Re: [pygtk] Enabling scroll adjustments in GI

2011-06-05 Thread John Stowers
PS. As a side note: how is this supposed to work with GTK3, as there is not set_scroll_adjustments_signal call there it seems? This isn't really your question, but GTK2 via GI is not supported. The annotations in GTK2 are not up to date. John

Re: [pygtk] gio.Mount.get_default_location()

2011-05-30 Thread John Stowers
On Mon, 2011-05-30 at 22:37 +, Leon Bogaert wrote: Thanks for the help. I think I fail to understand. Well experiment, try all the options... Gio.MountMountFlags.NONE -- works hint: dir(Gio.MountMountFlags) ___ pygtk mailing list

Re: [pygtk] gio.Mount.get_default_location()

2011-05-29 Thread John Stowers
On Sun, 2011-05-29 at 20:49 +, Leon Bogaert wrote: Could somebody try this code on their machine? http://pastebin.com/Q3UqQrND You are reading the wrong docs. The pygobject docs which bind gio are for pre gobject-introspection times. For gobject-introspection you must refer to the C docs

Re: [pygtk] reserve screen space / prevent overlapping

2011-05-27 Thread John Stowers
Hi, The Gtk.Window().get_window() returns an object of type gi.types.gtk.gdk.X11window. Can i do something with that? Nope. I tried to get_properties() on it, but i had to pass an argument and could not introspect to find out which, and i don't know if the set_property() method would help.

Re: [pygtk] reserve screen space / prevent overlapping

2011-05-26 Thread John Stowers
On Wed, 2011-05-25 at 22:50 +0200, Benjamin Trias wrote: Hi list, I am trying to port from Gtk+2 to Gtk+3 using Python (PyGobject Introspection) I am trying to find the equivalent of: gtk.Window.get_toplevel().window.property_change(_NET_WM_STRUT, CARDINAL, 32, gtk.gdk.PROP_MODE_REPLACE,

Re: [pygtk] ANNOUNCE: PyGTK All-in-one Installer 2.24.0

2011-05-08 Thread John Stowers
On Mon, May 9, 2011 at 11:41 AM, Stephen George steve_...@optusnet.com.au wrote: Hi Dieter, Just tried to download from pyGTK main download page http://www.pygtk.org/downloads.html Clicked the all-in-one installer and  link and was taken to

Re: [pygtk] Pygtk toggle hide show with time interval

2011-05-06 Thread John Stowers
Hey thats working, Thanx and can you please explain me why shall I use this flush. I just read that gtk.gdk.flush() creates output and wait until sll requests are processed what does that actually mean Dont write code like this. 1) time.sleep() blocks the

[pygtk] [ANNOUNCE] PyGTK 2.24.0

2011-04-01 Thread John Stowers
for links to posting and querying bug reports for PyGTK. John Stowers ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] gtk from macport with or without x11 ?

2011-03-30 Thread John Stowers
On Wed, 2011-03-30 at 01:36 +0200, laguillaumie sylvain wrote: so no success :( i updated the Portfile of macport and i tried to build pygtk 2.23.1 and .2... Please contact the macports or gtk-osx mailing list. John ___ pygtk mailing list

Re: [pygtk] gtk from macport with or without x11 ?

2011-03-29 Thread John Stowers
On Tue, 2011-03-29 at 01:36 +0200, laguillaumie sylvain wrote: hi i reinstalled macport and rebuilded all gtk2, gstreamer... with no_x11 and +quartz, this time the app start normally but still the problem with the xid i spend hours on google without finding help... so, in linux i

Re: [pygtk] gtk from macport with or without x11 ?

2011-03-29 Thread John Stowers
GDK_WINDOWING_QUARTZ ... i ll search if i have a build arg to add or edit it directly... I suggest you file a bug against gtk and email the gtk osx mailing list directly. John Le 29 mars 2011 à 23:54, John Stowers a écrit : GDK_WINDOWING_QUARTZ

[pygtk] [ANNOUNCE] PyGTK 2.23.2

2011-03-24 Thread John Stowers
; gtk.require('2.0') statements to the examples (Dieter) * Add GTK-2.24 API (John Stowers) Bug reports, as always, should go to Bugzilla; check out http://pygtk.org/developer.html and http://pygtk.org/feedback.html for links to posting and querying bug reports for PyGTK. John Stowers

Re: [pygtk] Compiling Pango from git needs GTK-Doc which needs docbook DTD

2011-03-23 Thread John Stowers
On Thu, 2011-03-24 at 11:10 +1300, Greg Ewing wrote: It turns out that the currently released version of Pango is not quite up to snuff -- it's missing some annotations on method arguments that leads gobject introspection astray. It looks like these have been fixed in the git repository, so

Re: [pygtk] How to call methods with output parameters using gobject introspection?

2011-03-22 Thread John Stowers
On Tue, 2011-03-22 at 21:28 +1300, Greg Ewing wrote: How are you supposed to call the PangoLayout.get_pixel_size() method using gobject introspection? The C signature is void pango_layout_get_pixel_size( PangoLayout *layout, int *width, int *height); Using the old Python bindings,

Re: [pygtk] How to get default colours in Gtk 3?

2011-03-22 Thread John Stowers
On Tue, 2011-03-22 at 19:29 +1300, Greg Ewing wrote: With Gtk 2 I was using the following technique to find out the default foreground and background colours for a selection: from gtk import Style s = Style() foreground = s.fg[3] background = s.bg[3] However, with Gtk 3 via gi, s.fg is

Re: [pygtk] python and GTK+-3 - possible?

2011-03-15 Thread John Stowers
On Tue, 2011-03-15 at 22:31 -0400, John Lumby wrote: R Park wrote: From what I understand, pygobject can only provide GTK3 and pygtk can only provide GTK2. So if your code includes 'import pygtk' then that is by definition gtk2 you are using, and if instead you have 'from gi.repository

Re: [pygtk] problems porting pygtk app to pygobject on Fed. 14

2011-03-14 Thread John Stowers
from gi.repository import Gdk, Gtk, GObject ... class ToggleBut(Gtk.Window): def __init__(self, parent=None): self.mywindow = Gtk.Window.__init__(self) self.myobject = GObject.__init__() What idiom is this? Why are you constructing self.myobject that way? Why are you

Re: [pygtk] problems porting pygtk app to pygobject on Fed. 14

2011-03-13 Thread John Stowers
On Sun, 2011-03-13 at 18:34 -0400, John Lumby wrote: I am having trouble trying to port a pygtk/python2.6/linux-fedora-14 application to use pygobject. My first try was to convert using pygi-convert.sh, and when I ran that converted .py, I got Firstly, F-14 is probably too old. This

Re: [pygtk] Gtk 3 will be stable?

2011-03-11 Thread John Stowers
On Fri, 2011-03-11 at 10:38 +0100, danieleisca wrote: Hi all, I saw that pygtk 2.22 do not solved problems with the native GdkPixbuf loader since image loading time is too long on Windows. This is why practically Gtk graphic software is not portable except that you use a dated Gtk version.

[pygtk] [ANNOUNCE] PyGTK 2.23.1

2011-03-11 Thread John Stowers
None (Dieter, #638994) * gtk.AboutDialog.set_program_name() should accept None (Dieter) * Add import gtk; gtk.require('2.0') statements to the examples (Dieter) * Add GTK-2.24 API (John Stowers) Bug reports, as always, should go to Bugzilla; check out http://pygtk.org/developer.html and http

Re: [pygtk] PyGtk for Python 3?

2011-03-04 Thread John Stowers
On Fri, 2011-03-04 at 13:29 +0100, Marko Tasic wrote: On Linux everything works as expected, but there is no Python 3.x build for Windows, so I'm forced to use ether Python 2.x build or old PyGtk. Forced is a harsh word. We will get to windows support for gobject-introspection in good time.

Re: [pygtk] PyGtk for Python 3?

2011-03-04 Thread John Stowers
On Fri, 2011-03-04 at 11:25 +1300, Greg Ewing wrote: jors wrote: There won't. You will have to use Python GObject Introspection instead. Does this exist in a usable form yet? The web site says At this point we need documentation, stability and users! which sounds like it's not ready

Re: [pygtk] gtk/pygobject api question

2011-03-04 Thread John Stowers
On Fri, 2011-03-04 at 21:32 +0100, Tom Cato Amundsen wrote: It is explained somewhere how the API will change from pygtk to gtk+pygobject? I'm trying to port GNU Solfege using python-gobject 2.27.91 and gobject-introspection 0.10.3 in ubuntu natty. With pygtk I would do this:

[pygtk] [ANNOUNCE] PyGTK 2.23.0

2011-02-21 Thread John Stowers
; gtk.require('2.0') statements to the examples (Dieter) * Add GTK-2.24 API (John Stowers) Bug reports, as always, should go to Bugzilla; check out http://pygtk.org/developer.html and http://pygtk.org/feedback.html for links to posting and querying bug reports for PyGTK. John Stowers

Re: [pygtk] ANNOUNCE: PyGTK All-in-one Installer 2.22.6

2011-01-19 Thread John Stowers
On Wed, 2011-01-19 at 23:02 +0100, Tim Lebedkov wrote: Hello Dieter, I am really sorry. I have formulated my question so that you have completely misunderstood it. I hope that at least your explanations could be useful for somebody else. Let me explain my concerns in detail. In Npackd

Re: [pygtk] ANNOUNCE: PyGTK All-in-one Installer 2.22.5

2010-12-27 Thread John Stowers
On Sun, 2010-12-26 at 22:56 +0100, Dieter Verfaillie wrote: On 26/12/2010 21:05, Shin Guey Wong wrote: This all in one installer is great for developer. However, the installer contains lots of development files(header, static library, docs..etc) which doesn't need by a user who just want to

Re: [pygtk] PyGTK for Python 3

2010-12-03 Thread John Stowers
On Fri, 2010-12-03 at 10:33 +0100, Davide Iosca wrote: Some News about PyGTK porting to Python 3.x ? I do not plan to do so. PyGTK will be maintained to work with gtk +-2.22/24 and Python 2.X indefinitely. PyGObject + gobject-introspection is the recommended way to develop Python applications

Re: [pygtk] dynamic treestore

2010-11-27 Thread John Stowers
On Sat, 2010-11-27 at 20:40 -0600, alex goretoy wrote: Currently I am having to do this in my application to create dynamic treestore; is the a better way to do this? You could do treestore = gtk.TreeStore(object) where obj contains the list of strings. However you would then have to write

Re: [pygtk] dynamic treestore

2010-11-27 Thread John Stowers
): File stdin, line 1, in module TypeError: could not get typecode from object Thank you, -Alex Goretoy http://launchpad.net/~a1g On Sat, Nov 27, 2010 at 10:39 PM, John Stowers john.stowers.li...@gmail.com wrote: On Sat, 2010-11-27 at 20:40 -0600, alex goretoy wrote

Re: [pygtk] I want to make a example app with two thread and events

2010-11-15 Thread John Stowers
On Mon, 2010-11-15 at 12:21 +0100, MD or MD wrote: Hi. I am a spanish programmer and I start with pyGtk. And I try to make a example that it is a simple window that blink a button with two colours, for test events and threads. But I don't know how to send custom event. Calling GTK code

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-11-07 Thread John Stowers
John [1] http://github.com/nzjrs/pygtk/commits/gtk-3.0 [2] http://github.com/nzjrs/pygobject/tree/gtk-3.0 What's the status of this now? Is there every likely to be a pygtk release for GTK+ 3? I suspended the work during the large round of gtk+ breakage (rendering cleanup

Re: [pygtk] ANNOUNCE: PyGTK 2.22 (and Friends) Windows Installers

2010-11-06 Thread John Stowers
On Sat, 2010-11-06 at 23:50 +0100, Alessandro Dentella wrote: On Fri, Nov 05, 2010 at 12:17:00AM +1300, John Stowers wrote: Hi All, I have updated the official Windows installers for Pycairo, PyGObject and PyGTK. These installers have been tested on XP, Vista and Windows 7

[pygtk] ANNOUNCE: PyGTK 2.22 (and Friends) Windows Installers

2010-11-04 Thread John Stowers
http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/ http://gtk-win.sourceforge.net/home/index.php/Downloads Thanks to all those who helped. John Stowers ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK

Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-11-02 Thread John Stowers
On Thu, 2010-10-28 at 11:52 +1300, John Stowers wrote: On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote: Hi All, I spent some time updating the windows installers for PyGObject, PyGTK and Pycairo. Hi All, Thanks for your feedback and testing. I updated the installers again

Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-28 Thread John Stowers
On Thu, 2010-10-28 at 09:59 +0200, Yann Leboulanger wrote: On 10/28/2010 12:52 AM, John Stowers wrote: On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote: Hi All, I spent some time updating the windows installers for PyGObject, PyGTK and Pycairo. Hi All, Thanks for your

Re: [pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-27 Thread John Stowers
On Sat, 2010-10-16 at 20:00 +1300, John Stowers wrote: Hi All, I spent some time updating the windows installers for PyGObject, PyGTK and Pycairo. Hi All, Thanks for your feedback and testing. I updated the installers again to hopefully correct the bug some were seeing on install. I also

[pygtk] Call For Testing: Updated PyGObject, Pycairo and PyGTK for Windows

2010-10-16 Thread John Stowers
Hi All, I spent some time updating the windows installers for PyGObject, PyGTK and Pycairo. I would appreciate it if those interested tested these installers before they go on the official GNOME servers. The installers are * PyGObject 2.26 (for glib-2.26.0)

Re: [pygtk] AttributeError: 'module' object has no attribute 'DrawingArea'

2010-10-11 Thread John Stowers
On Mon, 2010-10-11 at 19:42 +1300, Rob Brown-Bayliss wrote: Hi Does any one know why am I getting this error in the attached file? Why can't I use DrawingArea in gtk? Because the attached file is called cairo.py; it calls import gtk, which during import I presume calls import cairo, which

Re: [pygtk] Windows installer - all in one

2010-10-01 Thread John Stowers
On Fri, 2010-10-01 at 12:03 +0200, Dieter Verfaillie wrote: Hi, I accidentally replied to sender yesterday, so here's the same message to the list... Quoting Stephen George steve_...@optusnet.com.au: GTK+ 2.16 is an old but in some sense more reliable branch. 2.20 is the current

Re: [pygtk] pygobject matching glib version numbers

2010-09-26 Thread John Stowers
Yes, we agreed on synchronizing with the glib version number but we have not done any release since then. On monday we'll be releasing 2.26.0, will bump it now in git. I see this has been done now, thanks a lot! Sorry to pester, John ___ pygtk

[pygtk] PyGTK Bugzilla Permissions

2010-09-26 Thread John Stowers
Hi, Could one of the PyGTK developers listed here [1] please give me the appropriate permissions / add me to the pygtk developers group on bugzilla? Regards, John [1] https://bugzilla.gnome.org/browse.cgi?product=pygtk ___ pygtk mailing list

Re: [pygtk] pygobject matching glib version numbers

2010-09-25 Thread John Stowers
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 instead of 2.22. The rationale is that it will help people a bit to know what

[pygtk] [ANNOUNCE] PyGTK 2.22.0

2010-09-25 Thread John Stowers
Bug reports, as always, should go to Bugzilla; check out http://pygtk.org/developer.html and http://pygtk.org/feedback.html for links to posting and querying bug reports for PyGTK. John Stowers ___ pygtk mailing list pygtk@daa.com.au http

Re: [pygtk] Windows installer components

2010-09-24 Thread John Stowers
So for each version of python that we decided to support (and using python 2.6.5 in this example) the pygtk installer needs to install: - PyGObject - PyCairo This sounds good, a worthwhile improvement would certainly be to include all the necessary python installers together. So as

Re: [pygtk] Silent installation

2010-09-19 Thread John Stowers
On Sun, 2010-09-19 at 09:28 +0430, Saeed Rasooli wrote: I think there is lake of a Package Manager (like apt-get) in windows to contoll complex dependency structure of libraries and their needing versions. Thats because fully installation of PyGTK (including python, python-gtk, libgtk,

Re: [pygtk] Silent installation

2010-09-19 Thread John Stowers
to point to the install directory. John Regards --Tim On Sun, Sep 19, 2010 at 11:57 AM, John Stowers john.stowers.li...@gmail.com wrote: On Sun, 2010-09-19 at 09:28 +0430, Saeed Rasooli wrote: I think there is lake of a Package Manager (like apt-get) in windows to contoll complex

Re: [pygtk] List admin - info on mpsupport emails

2010-09-07 Thread John Stowers
On Tue, 2010-09-07 at 23:04 +0800, Jason Heeris wrote: Hi, Sorry for the noise, but could a PyGTK list admin please get in touch with me privately regarding the mpsupport.com bounces? Can you fix them? I have already complained on the list about them. No response. I don't know if the list

Re: [pygtk] eventbox and ugly look

2010-09-01 Thread John Stowers
On Tue, 2010-08-31 at 18:56 +0200, Alessandro Dentella wrote: Hi, in order to get tooltips in the header of a TreViewColumn I add a Label to en EventBox. Is this eventbox hack necessary with the new gtk.Tooltip API? (not gtk.Tooltips) See the example code in pygtk-demo John

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

2010-08-25 Thread John Stowers
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 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

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

2010-08-20 Thread John Stowers
On Fri, 2010-08-20 at 17:54 +0200, Tomeu Vizoso wrote: 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

Re: [pygtk] pygobject matching glib version numbers

2010-08-11 Thread John Stowers
On Wed, 2010-08-11 at 11:44 +0200, Simon van der Linden wrote: On Wed, 2010-08-11 at 11:08 +0200, Tomeu Vizoso wrote: 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

Re: [pygtk] [ANNOUNCE] PyGTK 2.21.0

2010-08-10 Thread John Stowers
, GTK+Glib +PyGObject+PyCairo+Python John Thanks. MarkS... On 8/8/2010 11:42 PM, John Stowers wrote: Hi All A new unstable development release of the Python bindings for GTK-2 has been released. The new release is available from ftp.gnome.org and its mirrors as soon as its

Re: [pygtk] [ANNOUNCE] PyGTK 2.21.0

2010-08-10 Thread John Stowers
Hi, Please remember to keep the list in CC Is there a pygobject with introspection available on Windows yet? Nope, not that I am aware. My test environment is not suited for building from source but I could easily start testing if there are suitable win32 binaries made available

Re: [pygtk] use minigtk as backend for Win32

2010-08-08 Thread John Stowers
On Sun, Aug 8, 2010 at 9:44 PM, est electronix...@gmail.com wrote: Hi guys, I've found a great feature about XChat: the gtk lib is so small. It's minigtk http://xchat.org/files/binary/win32/mini-src/ Anyone plans using minigtk as pygtk backend for Windows? This would reduce final app

[pygtk] [ANNOUNCE] PyGTK 2.21.0

2010-08-08 Thread John Stowers
* Many bug fixes Bug reports, as always, should go to Bugzilla; check out http://pygtk.org/developer.html and http://pygtk.org/feedback.html for links to posting and querying bug reports for PyGTK. John Stowers ___ pygtk mailing list pygtk@daa.com.au

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

2010-08-08 Thread John Stowers
On Wed, 2010-08-04 at 01:58 +1200, John Stowers wrote: On Tue, 2010-07-06 at 01:30 +1200, John Stowers 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. Ping? Anyone feel

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

2010-08-06 Thread John Stowers
On Fri, 2010-08-06 at 10:01 +0200, Tomeu Vizoso wrote: 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

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

2010-08-06 Thread John Stowers
On Fri, 2010-08-06 at 10:45 -0700, Smartboy wrote: Hello, I came across the PyGObject bindings today through the fedora mail which was linked to on this list, and since have been wondering why it isn't mentioned anywhere else. I think that a notice should be put somewhere on the PyGTK site

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

2010-08-03 Thread John Stowers
On Tue, 2010-07-06 at 01:30 +1200, John Stowers 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. Ping? Anyone feel like doing this? Can I do it? John Also, would it be worth

Re: [pygtk] Installing PyGTK on Windows?

2010-07-27 Thread John Stowers
On Tue, 2010-07-27 at 11:26 -0700, Smartboy wrote: Hello, Has anyone here ever successfully installed a recent version of PyGTK on Windows successfully? Yes. I regularly install on windows to test the installers I also generate. Please provide *much* more information including the

Re: [pygtk] Pygtk question

2010-07-27 Thread John Stowers
On Wed, Jul 28, 2010 at 5:29 AM, packet fasteliteprogram...@gmail.com wrote: How long does it take to install PyGTK with pip and here the message i get not sure if it is installing or not. I was not aware installing PyGTK using pip/setuptools/distutils/easy_install was even supported... John

Re: [pygtk] PyGtk and gtk-3.0 compatibility

2010-07-16 Thread John Stowers
On Tue, 2010-07-06 at 01:48 +1200, John Stowers 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 back in the gtk-2.0

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

2010-07-10 Thread John Stowers
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, It would be great if we could do a PyGtk stable release to align with the last gtk

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

2010-07-08 Thread John Stowers
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, 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

Re: [pygtk] What is gobject.TYPE_BOXED?

2010-07-07 Thread John Stowers
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 Python not already filled by simply using PYOBJECT? It is used to represent the

Re: [pygtk] idle_add vs. threads_enter/threads_leave

2010-07-07 Thread John Stowers
On Wed, 2010-07-07 at 09:26 +0800, Jason Heeris wrote: Tim Evans wrote: GTK+ 2.14.4 PyGObject 2.14.2 PyGTK 2.12.1 Mine is GTK+ 2.20 PyGObject 2.21.2 PyGTK 2.17.1 A few things about your changes confused me - 1. You call glib.idle_add, but never called glib.threads_init - won't

Re: [pygtk] idle_add vs. threads_enter/threads_leave

2010-07-07 Thread John Stowers
On Wed, 2010-07-07 at 08:00 +0800, Jason Heeris wrote: Antoine Martin wrote: It means that most of your code is not using threads at all, only the bits that are *slow* Those are the only bits that use threads anyway. I've lost track of your particular issue though, so maybe this is

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

2010-07-05 Thread John Stowers
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 advanced GObject features in PyGI - _gsignals_, interface implementation,

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

2010-07-05 Thread John Stowers
This seems a little soft. Please do not take offence, but can this please be treated with similar stability guarantees and respect as gtk+ - if your commit breaks backwards compatibility with no warning then it will be reverted. Sorry, s/will/should I'm not the boss! John Regards,

[pygtk] How About a PyGtk Stable Release?

2010-07-05 Thread John Stowers
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. Also, would it be worth numbering this release as pygtk-2.22? It would be nice if the version numbers matched again. Although this might not be

[pygtk] PyGtk and gtk-3.0 compatibility

2010-07-05 Thread John Stowers
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 back in the gtk-2.0 libraries with import gtk. So I spent a little time trying to

Re: [pygtk] PyGTK 2.17 for Windows

2010-07-01 Thread John Stowers
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, but of course there's no binary installer for PyGTK 2.17. So I grabbed the

[pygtk] STUPID MPCUSTOMER.COM EMAIL AUTO-RESPONDER

2010-07-01 Thread John Stowers
Hi, Excuse the yelling. Does anyone else get these annoying auto-responses from supp...@mpcustomer.com when they reply to the list? Can a list admin please take this email adress out behind a shed and shoot it? Cheers, John ___ pygtk mailing list

Re: [pygtk] PyGTK 2.17 for Windows

2010-07-01 Thread John Stowers
On Fri, Jul 2, 2010 at 2:54 PM, Jason Heeris jason.hee...@gmail.com wrote: So I decided to start this whole thing over, since I went down the wrong path before. I uninstalled pygtk, but kept pycairo 1.8.6 and pygobject 2.20.0. Then I brought up a mingw console and followed the win32 build

Re: [pygtk] PyGTK 2.17 for Windows

2010-07-01 Thread John Stowers
On Fri, Jul 2, 2010 at 3:27 PM, Jason Heeris jason.hee...@gmail.com wrote: On 2 July 2010 10:54, Jason Heeris jason.hee...@gmail.com wrote: AFAIK, this is part of pygtk... so do I need PyGTK already installed to build a new PyGTK? Or have a missed something? No, apparently a reboot was

Re: [pygtk] Error installing some required pyGTK componants

2010-06-13 Thread John Stowers
On Mon, Jun 14, 2010 at 12:24 PM, Anthony Papillion papill...@gmail.com wrote: SYSTEM ENVIROMENT: Microsoft Windows Vista Business PYTHON VERSION: 2.6 I’m developing my very first Python GUI application and I’ve run into some problems. I’m trying to install pyCairo and pygObject which is

Re: [pygtk] [jeenuv.otherinbox.com] Re: Drawing and signals

2010-06-09 Thread John Stowers
On Wed, 2010-06-09 at 22:15 +0530, Jeenu V wrote: On Wed, Jun 9, 2010 at 9:23 PM, Timo timomli...@gmail.com wrote: It is definatly possible with PyGTK. Use a gtk.Drawingarea to draw on using Cairo. But if you do not like to write this all by yourself, someone else has done a pretty good

Re: [pygtk] [jeenuv.otherinbox.com] Re: Import problem for PyGtk on Windows

2010-05-28 Thread John Stowers
On Thu, 2010-05-27 at 11:37 +0200, Rafael Villar Burke (Pachi) wrote: On 27/05/2010 11:03, Jeenu V wrote: I'd suggest replacing the initial part (until glade) with this: Inorder to get PyGTK on Windows, you'd need: * Python interpreter for Windows (for example, see

Re: [pygtk] [jeenuv.otherinbox.com] Re: Import problem for PyGtk on Windows

2010-05-28 Thread John Stowers
On Fri, 2010-05-28 at 13:13 +0200, Rafael Villar Burke (Pachi) wrote: On 28/05/2010 12:06, John Stowers wrote: I'm not sure if it is interesting enough for the average user, but what do you think about putting the build instructions up on the website. I test the build every time something

Re: [pygtk] Import problem for PyGtk on Windows

2010-05-20 Thread John Stowers
2) If you get to the point where you can import pygtk fine, but have trouble with 'import gtk', then I suggest you look at some Microsoft C runtime's, I have often found one of these (not sure which one) helps me on WinXP The Microsoft Visual C++ 2008 Redistributable Package (x86) installs

Re: [pygtk] Packaging pygtk and friends as eggs

2010-04-26 Thread John Stowers
Not sure if I missed something, .. but what do you mean by an all in one installer? I read it as you download one package from http://www.pygtk.org and you would get pyGTK, pyCairo, pyGObject installed as one monolithic package. I ask as I have previously put an NSIS wapper around GTK

Re: [pygtk] Packaging pygtk and friends as eggs

2010-04-24 Thread John Stowers
Hi Thomas, Personally I prefer the package management system of my distro over that of python eggs for many of the reasons others have mentioned. The problem here is that there aren't enough people working on easy installation of GTK+ and PyGTK on windows or OS X, so I'd say that any

Re: [pygtk] Packaging pygtk and friends as eggs

2010-04-24 Thread John Stowers
to provide you with some more information. John On 4/24/2010 10:38 PM, John Stowers wrote: Hi Thomas, Personally I prefer the package management system of my distro over that of python eggs for many of the reasons others have mentioned. The problem here is that there aren't enough

Re: [pygtk] pygtk Digest, Vol 86, Issue 11

2010-04-15 Thread John Stowers
On Thu, 2010-04-15 at 09:32 +0530, satheesh danda wrote: hello friends, i have a doubt regarding the pygtk and glade.how to generate a manual code using glade file in pygtk.please provide the solution to me as soon as possible. Hi, I'm sorry I do not understand your

Re: [pygtk] Packaging pygtk and friends as eggs

2010-04-13 Thread John Stowers
On Tue, 2010-04-13 at 11:59 +0200, Thomas Lotze wrote: Hello everybody, I'm interested in whether there are any plans for packaging pygtk and its dependencies as Python eggs, so they may be properly declared as dependencies of other code distributed as an egg, and installed using de-facto

Re: [pygtk] Windows 7 issue

2010-04-09 Thread John Stowers
On Tue, 2010-04-06 at 21:54 +1200, Mark Schafer wrote: Thanks for the advice Rafael, Alas it has not worked. I uninstalled python 2.6.5 and installed 2.6.4 Then the same packages as before: - pycairo-1.8.6.win32-py2.6.exe - pygobject-2.20.0.win32-py2.6.exe -

Re: [pygtk] How to place widgets on a grid?

2010-03-07 Thread John Stowers
On Sat, 2010-03-06 at 19:26 +0100, Martin Drautzburg wrote: Hello all, I've been struggeling with the following problem: I want to have a grid in the background and I want to put Buttons (or other Widgets) on the Grid. gtk.Table ? John ___

Re: [pygtk] How to place widgets on a grid?

2010-03-07 Thread John Stowers
On Sun, 2010-03-07 at 12:28 +0100, Martin Drautzburg wrote: On Sunday, 7. March 2010 11:11:41 John Stowers wrote: On Sat, 2010-03-06 at 19:26 +0100, Martin Drautzburg wrote: I've been struggeling with the following problem: I want to have a grid in the background and I want to put Buttons

Re: [pygtk] Windows 7 issue

2010-02-25 Thread John Stowers
Traceback (most recent call last): File pyshell#0, line 1, in module import gtk File C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py, line 40, in module from gtk import _gtk ImportError: DLL load failed: The specified procedure could not be found. I have seen a

Re: [pygtk] Making part of a GTK-window transparent and position another window behind

2010-02-24 Thread John Stowers
On Tue, 2010-02-23 at 08:33 +0100, Christoph David Hermann wrote: Hello to all, I'm planning to develop a simulation game using panda3D (http://www.panda3d.org/) and pygtk. Unfortunately, it is not possible export an OpenGL-context from panda3D and directly draw on a GTK widget using an

  1   2   >