Re: [pygtk] how to install pyGTK

2006-05-30 Thread David M. Cook
On Tue, May 30, 2006 at 09:14:13AM -0700, arya jain wrote: > am not able to install the graphic tool kit pyGTK from the site You need to install the following: Gtk+/Win32 Development Environment: http://gladewin32.sourceforge.net/modules/news/ pycairo and pygtk: http://www.mapr.ucl.ac.b

Re: [pygtk] how to install pyGTK

2006-05-30 Thread John Pye
Hi, You need to install GTK+ first, then install PyGTK. If you haven't yet installed GTK+, then I'd suggest using GTK+ 2.6.10-rc1 from this page: http://gladewin32.sourceforge.net/modules/wfdownloads/viewcat.php?cid=8 This will also install the Glade interface builder, which you will find useful.

Re: [pygtk] how to install pyGTK

2006-05-30 Thread Magnus Therning
On Tue, May 30, 2006 at 09:14:13 -0700, arya jain wrote: >hi i am new to python. i am consulting a book under wrox publication >(beginning python) and just reached to a chapter on python GUI. now i >am not able to install the graphic tool kit pyGTK from the site >mentioned in the book. it is not li

[pygtk] how to install pyGTK

2006-05-30 Thread arya jain
hi i am new to python. i am consulting a book under wrox publication (beginning python) and just reached to a chapter on python GUI. now i am not able to install the graphic tool kit pyGTK from the site mentioned in the book. it is not like the regular installation i do on windows. can u please te

Re: [pygtk] pygtk-codegen, enum/flags issue

2006-05-30 Thread Magnus Therning
On Tue, May 30, 2006 at 07:35:39PM +0100, Gustavo J. A. M. Carneiro wrote: >On Ter, 2006-05-30 at 08:26 +0100, Magnus Therning wrote: [..] >> I have two questions: >> 1. What's the difference between enum and flags for pygtk-codegen, and >> when should I use which? > > enums are mutually excl

Re: [pygtk] pygtk-codegen, enum/flags issue

2006-05-30 Thread Gustavo J. A. M. Carneiro
On Ter, 2006-05-30 at 08:26 +0100, Magnus Therning wrote: > There's a patch for libwnck so that it implements a method for setting > the geometry for a window (wnck_window_set_geometry() in the patch for > GNOME bug 342899[1]). In my attempts to add a python binding for this > I've run into some pr

[pygtk] Mouse wheel focus / disabling

2006-05-30 Thread Sebastien Aubry
Hello, I have an application with a PyGtk NoteBook. The tabs of this notebook contain ScrollableWindows, which may contain various fields, including SpinButtons. I would like the mouse wheel to _always_ scroll the displayed ScrollableWindow, wherever the mouse pointer is. Currently, - if t

[pygtk] Where are enums/flags?

2006-05-30 Thread Magnus Therning
Now this may sound silly, but I can't find the enums/flags in wnck. That isn't a big problem when a function returns an enum/flag, but it's more problematic when a function takes an enum as an argument. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED]

[pygtk] Re: gnome.ui.App.install_menus_hints missing?

2006-05-30 Thread Gustavo J. A. M. Carneiro
On Ter, 2006-05-30 at 03:54 +0200, Axel Thimm wrote: > On Mon, May 29, 2006 at 11:50:38PM +0100, Gustavo J. A. M. Carneiro wrote: > > Seg, 2006-05-29 às 14:04 +0200, Axel Thimm escreveu: > > > Hi, > > > > > > (is this the right place to ask about gnome-python?) > > > > > > I'd like to use gnome.u

[pygtk] pygtk-codegen, enum/flags issue

2006-05-30 Thread Magnus Therning
There's a patch for libwnck so that it implements a method for setting the geometry for a window (wnck_window_set_geometry() in the patch for GNOME bug 342899[1]). In my attempts to add a python binding for this I've run into some problems with one of the enums: wnck.c: In function '_wrap_wnck_wi