[pygtk] Installing GTK+

2008-01-09 Thread Kevin Goodspeed
I'm trying to install a program called Symbide from scratch and two of its three dependencies are GTK+ and PyGTK. The link to download GTK+ as given by the Symbide installation instructions leads me to http://www.gimp.org/~tml/gimp/win32/downloads.html. However, the installation instructions give

Re: [pygtk] increase number in gtk.entry by pressing '+'

2008-01-09 Thread Germán Poó-Caamaño
El jue, 10-01-2008 a las 00:23 +0100, Eike Nicklas escribió: > Hi all, > > I am currently learning PyGTK and got stuck on the following problem: > > I have myentry = gtk.Entry() containing an integer (actually a string, > of course, but int(myentry.get_text()) works) and want to increase this > i

[pygtk] increase number in gtk.entry by pressing '+'

2008-01-09 Thread Eike Nicklas
Hi all, I am currently learning PyGTK and got stuck on the following problem: I have myentry = gtk.Entry() containing an integer (actually a string, of course, but int(myentry.get_text()) works) and want to increase this integer by one if the button '+' is pressed. Here's what I tried: myentry.

[pygtk] Widgets not respect can focus = False

2008-01-09 Thread Maximiliano Robaina
Hi, I need avoid what, some widgets (buttons), don't take focus when tab key is pressed. I set Can Focus and Has Focus to False, but this don't work. I'am using python 2.5, GTK 2.10.11, pyGTK 2.0 and glade 2.12.1 Thanks in advance. ___ pygtk mailin

[pygtk] gtk.PrintOperation config

2008-01-09 Thread Eduardo Willians
PyFriends, Im having problems on priting trough gtk.PrintOperation. It doesn't print on the way it should. Instead of printing "PRINT OUT THIS!!", its printing something like this: """ RINT OUT HIS!! """ Here is the code: SETTINGS = None def draw_page(operation, context, page_nr):

Re: [pygtk] Liststore and Decimal

2008-01-09 Thread Juan Pablo Daniel
I finally make it work using object for the type. I added a cell renderer wich sets "text" to str(myDecimal) On Jan 7, 2008 6:29 PM, Juan Pablo Daniel <[EMAIL PROTECTED]> wrote: > On Jan 7, 2008 5:44 PM, Johan Dahlin <[EMAIL PROTECTED]> wrote: > > On Jan 7, 2008 3:33 PM, Juan Pablo Daniel <[EMAIL

Re: [pygtk] Syntax completeion example

2008-01-09 Thread Maximilian Wilson
I'm not 100% sure what you're asking, but if you're looking for an IDE with good Intellisense for PyGTK try WingIDE from WingWare. It's generally quite good at inferring types, and if you add statements like assert isinstance(obj, FooType) it leverages those statements into Intellisense support, al

[pygtk] Syntax completeion example

2008-01-09 Thread [EMAIL PROTECTED]
I have already built and have a functional completion system. However, I would also like to add the complete constructor via a tooltip. (e.g. gtk.Window(type=gtk.WINDOW_TOPLEVEL) ) Thus if you had gtk.Window( then a tooltip would give constructor. Has anyone seen an example of same? Thanks Jo