Re: [pygtk] PyGTK bugfix for CentOS 5.1

2008-03-07 Thread John Dennis
://www.centos.org install the centos-yumconf package then yum upgrade pygtk2 -- John Dennis [EMAIL PROTECTED] ___ 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/

Re: [pygtk] Apply button behavior with GtkDialog

2008-02-27 Thread John Dennis
the response and if its OK then call your apply(), e.g.: dlg.connect('response', self.on_response) def on_response(self, dialog, response): if response == gtk.RESPONSE_OK: self.apply() -- John Dennis [EMAIL PROTECTED

Re: [pygtk] Automatically scrolling scrollbar on insertion of text

2008-02-20 Thread John Dennis
Yes, read the FAQ listed at the bottom of every email (see below). You want FAQ entry 14.10. Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ -- John Dennis [EMAIL PROTECTED] ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au

Re: [pygtk] what difference is between Signal and Event

2007-12-17 Thread John Dennis
it's a mechanism for one object to signal an other object something has happened. -- John Dennis [EMAIL PROTECTED] ___ 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/

Re: [pygtk] pyGTK help subsystem?

2007-12-10 Thread John Dennis
. While it's true gtkhtml2 has virtually no documentation, my recollection is mozembed's documentation is also quite limited, albeit a bit better than gtkhtml2, most of the documentation seems to be contained in the example code (some of which is just C). Wishing you success! -- John Dennis [EMAIL

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread John Dennis
-8. -- John Dennis [EMAIL PROTECTED] ___ 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/

Re: [pygtk] Change background color?

2007-06-26 Thread John Dennis
to this question and many others. By the way it's listed at the bottom of every message on this list. Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ -- John Dennis [EMAIL PROTECTED] ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au

Re: [pygtk] Diiference between method and a function

2007-06-14 Thread John Dennis
to bind to via the self parameter. Always passing self is a simplification in CPython so one does not need two interfaces. -- John Dennis [EMAIL PROTECTED] ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read

Re: [pygtk] Re: progressbar for file managing

2007-04-20 Thread John Dennis
On Fri, 2007-04-20 at 06:51 +, Fabian Braennstroem wrote: The chunks copy sounds pretty slow to me, but probably every file manager is doing it, if it got any progressbar. Or run it in a different thread. -- John Dennis [EMAIL PROTECTED

Re: [pygtk] Re: progressbar for file managing

2007-04-17 Thread John Dennis
is completely synchronous in one call (as copytree is) and you only have one thread. -- John Dennis [EMAIL PROTECTED] Learn. Network. Experience open source. Red Hat Summit San Diego | May 9-11, 2007 Learn more: http://www.redhat.com/promo/summit/2007

Re: [pygtk] progressbar for file managing

2007-04-16 Thread John Dennis
self.statusbar.progress.pulse() gobject.timeout_add(100, self.progress_pulse) Greetings! Fabian ___ 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/ -- John Dennis [EMAIL

Re: [pygtk] How do I set radio buttons from a program

2007-04-12 Thread John Dennis
you don't have to handle this Note: choice is the user_data you pass in when you connect the toggled signal to the button. -- John Dennis [EMAIL PROTECTED] Learn. Network. Experience open source. Red Hat Summit San Diego | May 9-11, 2007 Learn more: http://www.redhat.com/promo/summit/2007

Re: [pygtk] font color in a label

2007-04-03 Thread John Dennis
, although note because labels are windowless widgets you can't set the background, see the following for an explanation: http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq07.005.htp -- John Dennis [EMAIL PROTECTED] Learn. Network. Experience open source. Red Hat Summit San Diego | May 9-11

Re: [pygtk] devide statusbar

2007-03-24 Thread John Dennis
had a similar requirement and solved it by writing a custom status bar widget specific to the needs of my application. It wasn't terribly difficult. -- John Dennis [EMAIL PROTECTED] ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman

Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-09 Thread John Dennis
of subclassing is totally undocumented in pygtk other than it appears in the example code. I searched for hours looking for a clear statement of the subclassing behavior and I never found it. To my mind this is a serious documentation omission. -- John Dennis [EMAIL PROTECTED

Re: [pygtk] Re: Re: Cannot subclass gtk.Widget

2007-03-09 Thread John Dennis
On Fri, 2007-03-09 at 10:38 -0500, John Dennis wrote: On Fri, 2007-03-09 at 08:10 -0700, Jeffrey Barish wrote: Gustavo J. A. M. Carneiro wrote: Another, more complex, example can be found here: http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py Thanks to everyone

Re: [pygtk] Controlling a menu structure from an XML file?

2007-03-08 Thread John Dennis
really like the fact I change the definition in exactly one place and every part of the UI is consistently updated. That flexibility and consistency occurs because actions and widgets are independent. -- John Dennis [EMAIL PROTECTED] Learn. Network. Experience open source. Red Hat Summit San Diego

Re: [pygtk] Apportioning space when resizing a box

2007-03-01 Thread John Dennis
(child_rect) -- John Dennis [EMAIL PROTECTED] Learn. Network. Experience open source. Red Hat Summit San Diego | May 9-11, 2007 Learn more: http://www.redhat.com/promo/summit/2007 ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman