[pygtk] put small images into a TextView border window

2003-10-30 Thread Pier Carteri
Hi to all, can someone tell me how to put an image into the border window of a gtkTextView? Any examples? Thank you! Best regards Pier Carteri -- Pier Carteri [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED]

[pygtk] working with buttons and images...

2003-10-30 Thread Ivan Hernandez
hello. i had been working a little with pygtk, and i haven't found a way to make a pixmap scale to an arbitrary size. i mean this... i have my button with an image, let's say... image = gtk.Image() image.set_from_file(apple-red.png) image.show() button = gtk.Button() button.add(image)

Re: [pygtk] Re: A possible diagnose...

2003-10-30 Thread Gary Herron
On Thursday 30 October 2003 04:08 am, Christian Robottom Reis wrote: On Thu, Oct 30, 2003 at 09:15:52AM +, Alessandro Bottoni wrote: This morning I just tried to eliminate all pixmap from my Glade1 projects. In particular I eliminated all stock pushbottons (that contains small icons)

Re: [pygtk] Re: A possible diagnose...

2003-10-30 Thread Christian Robottom Reis
On Thu, Oct 30, 2003 at 08:13:27AM -0800, Gary Herron wrote: On Thursday 30 October 2003 04:08 am, Christian Robottom Reis wrote: On Thu, Oct 30, 2003 at 09:15:52AM +, Alessandro Bottoni wrote: This morning I just tried to eliminate all pixmap from my Glade1 projects. In particular I

Re: [pygtk] working with buttons and images...

2003-10-30 Thread Ivan Hernandez
Thanks You Gustavo! your info i helping me a lot and also is a good point to check having now the reference manual from http://yang.inescn.pt/~gjc/pygtk2reference/ ivan hernandez Gustavo J. A. M. Carneiro wrote: A Qui, 2003-10-30 às 15:27, Ivan Hernandez escreveu: hello. i had been

Re: [pygtk] working with buttons and images...

2003-10-30 Thread Gustavo J. A. M. Carneiro
A Qui, 2003-10-30 às 17:36, Ivan Hernandez escreveu: Thanks You Gustavo! your info i helping me a lot and also is a good point to check having now the reference manual from http://yang.inescn.pt/~gjc/pygtk2reference/ Oops, I pasted that link by mistake. That is *not* the official pygtk

[pygtk] gtk.MessageDialog core

2003-10-30 Thread Fernando San Martin W.
hello: i'm runnig this code: m = unicode(mensaje, 'latin-1') dialog = gtk.MessageDialog(window, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,gtk.MESSAGE_INFO, gtk.BUTTONS_OK, m.encode('utf-8')) dialog.run() dialog.destroy() the message dialog is

Re: [pygtk] gtk.MessageDialog core

2003-10-30 Thread Fernando San Martin W.
On Thu, 30 Oct 2003 19:13:48 +, Gustavo J. A. M. Carneiro wrote A Qui, 2003-10-30 às 18:30, Fernando San Martin W. escreveu: hello: i'm runnig this code: m = unicode(mensaje, 'latin-1') dialog = gtk.MessageDialog(window, gtk.DIALOG_MODAL |

Re: [pygtk] gtk.MessageDialog core

2003-10-30 Thread Gustavo J. A. M. Carneiro
A Qui, 2003-10-30 às 18:30, Fernando San Martin W. escreveu: hello: i'm runnig this code: m = unicode(mensaje, 'latin-1') dialog = gtk.MessageDialog(window, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,gtk.MESSAGE_INFO, gtk.BUTTONS_OK, m.encode('utf-8'))

Re: [pygtk] gtk.MessageDialog core

2003-10-30 Thread Christian Robottom Reis
On Thu, Oct 30, 2003 at 03:40:11PM -0400, Fernando San Martin W. wrote: i tested in some diferents machines and i have the same problem, this code is executed by key_press_event on an gtk.entry to advice if something is wrong with the data entered in the entry Can you try to produce a minimal

[pygtk] help: how to build text from keypress and dead/compose keys ?

2003-10-30 Thread alejandro david weil
Hi! I hooked key_press event.. and all was ok until I wanted to 'handle' deadkeys .. well actually.. the deadkey event comes as a keypress. But I can't handle it, I could save it for later use.. but still don't know how can I use that when other key comes. When a keypress comes I do: