Re: [pygtk] Re: pygtk.org mockup

2006-07-20 Thread Brian
On Thu, 2006-20-07 at 18:39 +0300, Panos Laganakos wrote: > I did a 1024x768 version so you can have a better look at it, and did > some other visual improvements too, which brings the mockup to version > 03: > > http://panos.solhost.org/mockups/pygtk-03.png > > On 7/20/06, Panos Laganakos <[EMAI

Re: [pygtk] Re: pygtk.org mockup

2006-07-20 Thread Johan Dahlin
Panos Laganakos skrev: On 7/20/06, Lawrence Oluyede <[EMAIL PROTECTED]> wrote: I really like your mockups but I'm not in charge of the decisions :-) Anyway, good job Panos! Thanks Lawrence :) I'm waiting to hear from the pygtk maintainers, their opinion on it, and if positive, I can start impl

[pygtk] passing arguments to functions

2006-07-20 Thread Christopher Spears
I am trying to create a GUI in glade that will allow me to convert temperatures. Here is the code for the backend: #!/usr/bin/env python import sys try: import pygtk pygtk.require("2.0") except: pass try: import gtk import gtk.glade except: sys.exi

Re: [pygtk] Re: pygtk.org mockup

2006-07-20 Thread Panos Laganakos
On 7/20/06, Lawrence Oluyede <[EMAIL PROTECTED]> wrote: I really like your mockups but I'm not in charge of the decisions :-) Anyway, good job Panos! Thanks Lawrence :) I'm waiting to hear from the pygtk maintainers, their opinion on it, and if positive, I can start implementing the actual styl

Re: [pygtk] hide pyatk_rectangle_from_pyobject

2006-07-20 Thread John Finlay
Rafael Espíndola wrote: The attached patch makes pyatk_rectangle_from_pyobject static. Rafael Index: atkrectangle.override === --- atkrectangle.override

Re: [pygtk] tutorials for beginners

2006-07-20 Thread mc collilieux
Christopher Spears wrote: Can anyone recommend any Glade tutorials for PyGTK users? Unfortunately, I have not been happy with the three that I have tried. Do you know this one ? I am also a beginner, it is easy to understand. http://www.jmoiron.net/docs/python/glade2 -- Marie-Claude Collilieu

[pygtk] FW: [Tutor] Help me make it look pretty!

2006-07-20 Thread John CORRY
  Good evening all.   I am writing a program using python 2.4, glade 2 and pygtk.  It takes input from the user using textentry boxes.  The input should be a number.  When the user keys the data in, it automatically left justifies.  The function below, takes the input for four boxes and

Re: [pygtk] hide *_register_boxed_types

2006-07-20 Thread Rafael Espíndola
it's just me or the file is empty? Oops. Sorry. cheers Best Regards, Rafael Index: atkrectangle.override === --- atkrectangle.override (revision 7) +++ atkrectangle.override (revision 8) @@ -59,7 +59,7 @@ PyAtkRectangle_to_value(

Re: [pygtk] hide *_register_boxed_types

2006-07-20 Thread Gian Mario Tagliaretti
2006/7/20, Rafael Espíndola <[EMAIL PROTECTED]>: The attached patch hides the *_register_boxed_types functions. More of cleanup then a speedup :-) it's just me or the file is empty? cheers -- Gian Mario Tagliaretti http://www.parafernalia.org/pygtk/ http://pygstdocs.berlios.de

Re: [pygtk] Re: pygtk.org mockup

2006-07-20 Thread Lawrence Oluyede
I really like your mockups but I'm not in charge of the decisions :-) Anyway, good job Panos! -- Lawrence http://www.oluyede.org/blog ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.a

[pygtk] why is pygtk_custom_destroy_notify duplicated?

2006-07-20 Thread Rafael Espíndola
pygtk_custom_destroy_notify in implemented in gtk/gtkobject-support.c and in gtk/gtkunixprint.override. Why is this function duplicated? Best Regards, Rafael ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the

[pygtk] Re: pygtk.org mockup

2006-07-20 Thread Panos Laganakos
I did a 1024x768 version so you can have a better look at it, and did some other visual improvements too, which brings the mockup to version 03: http://panos.solhost.org/mockups/pygtk-03.png On 7/20/06, Panos Laganakos <[EMAIL PROTECTED]> wrote: I saw that gtkmm.org received a style update, so

Re: [pygtk] gtk+ have a entry only can input number

2006-07-20 Thread Gustavo J. A. M. Carneiro
On Qui, 2006-07-20 at 21:45 +0800, Frank Zheng wrote: > I only found gnome have a widget like this > gnome number entry gtk.SpinButton. -- Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> The universe is always one step beyond logic. __

[pygtk] gtk+ have a entry only can input number

2006-07-20 Thread Frank Zheng
I only found gnome have a widget like thisgnome number entry ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] hide pyatk_rectangle_from_pyobject

2006-07-20 Thread Rafael Espíndola
The attached patch makes pyatk_rectangle_from_pyobject static. Rafael Index: atkrectangle.override === --- atkrectangle.override (revision 8) +++ atkrectangle.override (working copy) @@ -22,7 +22,7 @@ %% headers -gboolean +static

[pygtk] hide *_register_boxed_types

2006-07-20 Thread Rafael Espíndola
The attached patch hides the *_register_boxed_types functions. More of cleanup then a speedup :-) Best Regards, Rafael ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq

Re: [pygtk] layout + key-press-event

2006-07-20 Thread Gustavo J. A. M. Carneiro
On Qui, 2006-07-20 at 15:12 +0200, Tobias Bengtsson wrote: > Hi, I'm trying to trap a key-press-event in a Layout. > I've previously successfully trapped the event in an Entry, but now I > need to trap it in the surrounding Layout. The attached minimal code > does not work, why? This is missing:

[pygtk] layout + key-press-event

2006-07-20 Thread Tobias Bengtsson
Hi, I'm trying to trap a key-press-event in a Layout. I've previously successfully trapped the event in an Entry, but now I need to trap it in the surrounding Layout. The attached minimal code does not work, why? Regards Tobias import gtk import pygtk def cb_key_press(widget, event): print "

[pygtk] pygtk.org mockup

2006-07-20 Thread Panos Laganakos
I saw that gtkmm.org received a style update, so I thought I'd give a try at a new look for pygtk.org Keep in mind that it'll look small on normal resolutions (1280 > ) 'cause I hacked it on a 800x600 CRT (yuck!). http://panos.solhost.org/mockups/pygtk-01.png http://panos.solhost.org/mockups/pyg

[pygtk] FileChooserButton hickup on win32

2006-07-20 Thread Mark Doukidis
Caveat: I am a win32 user and new to gtk and unfamiliar with Linux. I am having trouble using gtk.FileChooserButton. FilechooserButton widget appears to be performing correctly but I get this warning message popping up: import gtk fb = gtk.FileChooserButton('mytitle') __main__:1: GtkWarning: C

Re: [pygtk] tutorials for beginners

2006-07-20 Thread Preben Randhol
Christopher Spears <[EMAIL PROTECTED]> wrote on 20/07/2006 (04:22) : > Can anyone recommend any Glade tutorials for PyGTK > users? Unfortunately, I have not been happy with the > three that I have tried. Which three have you tried and what are you missing. Preben

Re: [pygtk] Creating a vertical button

2006-07-20 Thread regis
Le jeudi 20 juillet 2006 à 01:26 -0400, Shivanand Chanderbally a écrit : > If you are using glade2, there is an option to set the angle for the > text. I am not sure how to get it done by setting text attributes > though.. With Glade 2 : create a button, set an icon. Select the Icon and press del