[pygtk] Improved Masked Entry

2009-09-03 Thread Aidin Gharibnavaz
Hi guys! I improved my masked entry a little. There's still some other things that can be done to make it better. Improved widget is attached to this mail, and there's a change file which explains what's new. I like to make it more standard, but to be honest, I couldn't found any guide or

[pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Alexandre González
Hi guys! I have an application that has two windows in the .glade: a main window and a help window. When I run the application, the two windows are showed, so I .hide() the help window... well.. here is the problem. Is It a good way to do it? In Ubuntu with gnome, (rox+xfce)... no problem! But

Re: [pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Timo
Alexandre González schreef: Hi guys! I have an application that has two windows in the .glade: a main window and a help window. When I run the application, the two windows are showed, so I .hide() the help window... well.. here is the problem. Is It a good way to do it? Why not set the

Re: [pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Alexandre González
Good! It's solved... sorry, this is a stupid question because I've used glade-3 since I develop python+pygtk, but this application is old and need glade-2 and I've never see this option so, I think that it isn't allowed in glade-2 ;) Thanks for a good answer to my stupid question ;D Álex González

[pygtk] GTK: ERROR

2009-09-03 Thread Luis Javier Peris
Hello guys, I'm writing here because I don't know where tell this issue. I'm writing an app using pygtk and after calling the run method of a gtk.Dialog (response = self.widgets.get_widget(dialogQuestion).run()), I get the following error:

Re: [pygtk] GTK: ERROR

2009-09-03 Thread Pietro Battiston
Il giorno gio, 03/09/2009 alle 17.15 +0200, Luis Javier Peris ha scritto: Hello guys, I'm writing here because I don't know where tell this issue. I'm writing an app using pygtk and after calling the run method of a gtk.Dialog (response = self.widgets.get_widget(dialogQuestion).run()), I

Re: [pygtk] Gtkmozembed

2009-09-03 Thread Jeffrey Barish
Jeffrey Barish wrote: Does anyone know why this test program works with one string but not the other? Using the load_url method works in both cases. For the benefit of posterity, the problem is that gtkmozembed cannot swallow boluses of data larger than some amount. If you feed the html to

[pygtk] Make a square Window

2009-09-03 Thread Hidura
Good evening list, With what property in Cairo i can make a square like this. -- Hidura attachment: Square.png___ 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] pygtk Digest, Vol 79, Issue 5

2009-09-03 Thread Luis Javier Peris
Type: application/x-bzip2 Size: 6059 bytes Desc: not available Url : http://www.daa.com.au/pipermail/pygtk/attachments/20090903/80bb9fbe/attachment-0001.bin -- Message: 2 Date: Thu, 3 Sep 2009 10:58:33 +0200 From: Alexandre Gonz?lez a...@rianxosencabos.com

Re: [pygtk] Trying to change the pen color just before I draw a line

2009-09-03 Thread Rick Hightower
Thanks. That worked very well. Thanks for taking the time to respond. In celebration, I have added a green rectangle. Here is the working code: import pygtk pygtk.require(2.0) import gtk from gtk import Window, Button class Base: def handle_color_change(self, widget, data) :

Re: [pygtk] Make a square Window

2009-09-03 Thread Pietro Battiston
Il giorno gio, 03/09/2009 alle 15.38 -0400, Hidura ha scritto: Good evening list, With what property in Cairo i can make a square like this. square?! That is not a square. And I'm afraid this is not a list about Cairo properties Anyway, take a look at cairo snippets. Pietro

Re: [pygtk] Gtkmozembed

2009-09-03 Thread John Stowers
On Thu, 2009-09-03 at 10:33 -0600, Jeffrey Barish wrote: Jeffrey Barish wrote: Does anyone know why this test program works with one string but not the other? Using the load_url method works in both cases. I would also recommend moving to PyWebitGtk asap. GtkMozembed is a train wreck.

Re: [pygtk] Gtkmozembed

2009-09-03 Thread Jeffrey Barish
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? -- Jeffrey Barish ___ pygtk

[pygtk] Fwd: Make a square Window

2009-09-03 Thread Hidura
Does have Cairo a Mailing List? -- Forwarded message -- From: Pietro Battiston too...@email.it Date: Thu, Sep 3, 2009 at 4:35 PM Subject: Re: [pygtk] Make a square Window To: Hidura hid...@gmail.com Cc: pygtk@daa.com.au Il giorno gio, 03/09/2009 alle 15.38 -0400, Hidura ha

Re: [pygtk] Fwd: Make a square Window

2009-09-03 Thread Pietro Battiston
Il giorno gio, 03/09/2009 alle 20.21 -0400, Hidura ha scritto: Does have Cairo a Mailing List? Searching cairo mailing list on google returns as first result: http://lists.cairographics.org/mailman/listinfo/cairo (but really, you find everything you need in the snippets:

Re: [pygtk] Circular Button

2009-09-03 Thread Pietro Battiston
Il giorno mer, 02/09/2009 alle 21.13 +, hid...@gmail.com ha scritto: How could i create a Circular Button? The attached is ugly code I had somewhere, but it can give you an idea. I'm not sure however it will work outside Linux. Pietro import gtk, gobject N,M=200,200 drag_icon_xpm = [