[pygtk] installing a pygtk app

2007-03-09 Thread Rob Brown-Bayliss
Hi, any pointers on where to start for installing a pygtk app on linux machines? I am not meaning distutils etc as the app is not a python module, but a generic gnome app. Thanks -- Rob ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/

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

2007-03-09 Thread Paul Pogonyshev
John Dennis wrote: > Could it be that 'do_' method naming is not subclassing but rather > auto-magic signal connecting via method naming convention? Either way, I > never did find any documentation on it. It could be, but is not the case. do_*() methods *do* override default class handlers. Paul

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

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

2007-03-09 Thread John Dennis
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 for the examples. Is there documentation anywhere on the >

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

2007-03-09 Thread Jeffrey Barish
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 for the examples. Is there documentation anywhere on the do_ methods that they all contain? I guess that when a Widget receive

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

2007-03-09 Thread Gustavo J. A. M. Carneiro
On Sex, 2007-03-09 at 03:04 +0200, Paul Pogonyshev wrote: > Jeffrey Barish wrote: > > I still don't understand what to do if my widget is composed of other > > widgets (rather than Cairo drawing and text). > > Normally, you just use boxes or something else to align those widgets. > Or subclass e.g

Re: [pygtk] Text Tag "direction" property not respected?

2007-03-09 Thread Volker Helm
I would guess this is a bug (or feature)! If you insert the text starting with a letter, it works like it should. But numbers and hyphen (maybe more) at the beginning are ignored. Bye, Volker Original-Nachricht Datum: Fri, 9 Mar 2007 11:32:54 +0100 Von: "Fredrik Corneliusson

[pygtk] Text Tag "direction" property not respected?

2007-03-09 Thread Fredrik Corneliusson
Hi, I have a BIDI question regarding the Text Tag property "direction". It says in the documentation it can be set to TEXT_DIR_LTR, TEXT_DIR_RTL or TEXT_DIR_NONE. However I cant detect that it makes any difference. The only way I can get the desired behaviour is using Unicode directional markers b

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

2007-03-09 Thread Geoff Bache
On Thu, 2007-03-08 at 11:00 +0100, Geoff Bache wrote: Hello, I'm wondering about defining a menu structure using gtk.UIManager and an XML file. What confuses me a bit is that it seems to be necessary to define which menus and submenus I have in the Python code, even if I can then control