[pygtk] get the version of gtk / pygtk used

2008-06-16 Thread awalter1
Hi, I'm working with Linux RedHat EL4. a version of gtk+ was installed with the release RedHat : rpm -qa returns this version. Others more recente versions of gtk+ have been installed from sources : not recognize from rpm. Same things for pygtk. My application is written in python. How to know

Re: [pygtk] gtk.set_state question. Change button state

2008-06-16 Thread Timo
Hey, try widget.set_sensitive(0) to disable a widget and widget.set_sensitive(1) to enable a widget. Timo [EMAIL PROTECTED] schreef: Hi group, I desable a button with button.set_state(gtk.STATE_INSENSITIVE) in one procedure. In other I need enable it, but a simple

Re: [pygtk] get the version of gtk / pygtk used

2008-06-16 Thread Alessandro Dentella
On Sun, Jun 15, 2008 at 11:50:42PM -0700, awalter1 wrote: Hi, I'm working with Linux RedHat EL4. a version of gtk+ was installed with the release RedHat : rpm -qa returns this version. Others more recente versions of gtk+ have been installed from sources : not recognize from rpm. Same

Re: [pygtk] get the version of gtk / pygtk used

2008-06-16 Thread Yann Leboulanger
awalter1 a écrit : Hi, I'm working with Linux RedHat EL4. a version of gtk+ was installed with the release RedHat : rpm -qa returns this version. Others more recente versions of gtk+ have been installed from sources : not recognize from rpm. Same things for pygtk. My application is written in

Re: [pygtk] get the version of gtk / pygtk used

2008-06-16 Thread Eike Nicklas
Hi, On Sun, 15 Jun 2008 23:50:42 -0700 (PDT) awalter1 wrote: How to know which versions of gtk+/pygtk is used by my application ? you could have a look at this thread: http://www.daa.com.au/pipermail/pygtk/2008-May/015293.html Cheers, Eike ___

Re: [pygtk] get the version of gtk / pygtk used

2008-06-16 Thread awalter1
Thanks for your reponses The question is now : how to assign a particular gtk+ or pygtk libraries ? For the time being, depending to the version of python used, the version of pygtk if not the same. Thank you awalter1 wrote: Hi, I'm working with Linux RedHat EL4. a version of gtk+ was

[pygtk] Assign pygtk version to python-version (was: get the version of gtk / pygtk used)

2008-06-16 Thread A.T.Hofkamp
awalter1 wrote: The question is now : how to assign a particular gtk+ or pygtk libraries ? For the time being, depending to the version of python used, the version of pygtk if not the same. You cannot assign versions, since each version has its own structure and expectations. (in the same way

Re: [pygtk] Assign pygtk version to python-version (was: get the version of gtk / pygtk used)

2008-06-16 Thread awalter1
You cannot assign versions, since each version has its own structure and expectations. (in the same way that you cannot always use a newer version of a library without re-compiling the application) However, when I compile a c application I point out a given version of X11/Motif libraries via

[pygtk] LCD-style display widget

2008-06-16 Thread Frédéric
Hello, I'm looking for a LCD-style widget, to display numerical values. Does it already exist somewhere, as third-party widget? Thanks, ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:

[pygtk] Re: LCD-style display widget

2008-06-16 Thread Jeffrey Barish
Frédéric wrote: I'm looking for a LCD-style widget, to display numerical values. Does it already exist somewhere, as third-party widget? I noticed that the application gslimp3 (http://jefke.free.fr/coding/python/gslimp3/) has such a display. Perhaps you can find something useful in its code.

Re: [pygtk] Re: LCD-style display widget

2008-06-16 Thread Frédéric Mantegazza
On lundi 16 juin 2008, Jeffrey Barish wrote: I noticed that the application gslimp3 (http://jefke.free.fr/coding/python/gslimp3/) has such a display. Perhaps you can find something useful in its code. Nice! Thanks for the link :o) -- Frédéric http://www.gbiloba.org

[pygtk] gtk.tooltip

2008-06-16 Thread Bertrand Son Kintanar
I was able to create a successful custom tooltip and use it in my treeview as tooltip.set_custom() but i always get an warning message in the terminal that states: ** Message: ATK_ROLE_TOOLTIP object found, but doesn't look like a tooltip. can someone comment on this? my code is something

[pygtk] Scrolling gtk.Viewport to a specific location

2008-06-16 Thread Mitko Haralanov
I have a gtk.ScrolledWindow, which has a gtk.VBox added with a gtk.Viewport. What I would like to do is be able to scroll the gtk.ScrolledWindow to a specific location (one of the gtk.VBox children). I know how to do the actual scrolling (using the h/vadjustments) but how do I determine how much

[pygtk] How to make a browser?

2008-06-16 Thread Paolo Bacci
Hi, I want to know if there's any functional browser in python. If not, how can I make it? Thanks, Paolo Bacci. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ:

Re: [pygtk] How to make a browser?

2008-06-16 Thread Tim Evans
Paolo Bacci wrote: Hi, I want to know if there's any functional browser in python. If not, how can I make it? There is nothing in python that I would call a functional web browser, assuming that's what you're asking for. There are gtk widgets like GtkHTML

Re: [pygtk] putting stock-items into the edit menu

2008-06-16 Thread John Stowers
On Tue, 2008-06-03 at 21:13 +0200, Andre Kuehne wrote: hi, how does one add the predefined actions undo, redo, cut, copy, paste, delete and select all to an applications edit menu? If you are designing your GUI in glade, when you add a gtk.MenuBar it will already have cut,copy,paste, etc

Re: [pygtk] Re: LCD-style display widget

2008-06-16 Thread John Stowers
On Mon, 2008-06-16 at 18:21 +0200, Frédéric Mantegazza wrote: On lundi 16 juin 2008, Jeffrey Barish wrote: I noticed that the application gslimp3 (http://jefke.free.fr/coding/python/gslimp3/) has such a display. Perhaps you can find something useful in its code. Nice! Thanks for the

Re: [pygtk] How to make a browser?

2008-06-16 Thread Bryan Feir
On Tue, Jun 17, 2008 at 01:21:36AM -0300, Paolo Bacci wrote: Hi, I want to know if there's any functional browser in python. Well, there is Grail: http://grail.sourceforge.net/. However, it hasn't really been updated in several years now, and there are probably better libraries to do most of