[pygtk] Re: LCD-style display widget

John Stowers john.stowers.lists at gmail.com
Sun Jun 22 08:36:34 WST 2008


On Sat, 2008-06-21 at 11:17 +0200, Frédéric wrote:
> On mardi 17 juin 2008, John Stowers wrote:
> 
> > You can zoom in and out with scroll
> > wheel (and change brightness with ctrl+scroll). Double click to change
> > text.
> >
> > I attached the files also.
> 
> Hello,
> 
> I'm trying to use this code, and I would like to first create a real PyGTK 
> widget, with the same interface as, say, label widget (for the most 
> usefull part at first).
> 
> But I'm not familiar enough with PyGTK... Could you drive me on the right 
> way? I think to inherits from gtk.Misc, as gtk.Label does. Is it a good 
> idea? Then, what methods do I need to overwrite? What methods in this 
> gslimp3 example code should I use/rewrite?

This sounds like more of a OOP/gtk question than a pyGTK question I
think.

Google reveals the following might be useful
http://www.pygtk.org/articles/writing-a-custom-widget-using-pygtk/writing-a-custom-widget-using-pygtk.htm
http://davyd.livejournal.com/237414.html

John

> 
> Thanks for your help.
> 



More information about the pygtk mailing list