[pygtk] Custom widgets.

Mike Bernson mike at mlb.org
Sat Sep 16 07:35:30 WST 2006


I am starting to write a custom widget that I want the style info to
act/look like a entry widget.

How do I go about setting things so it pull the style info from GtkEntry ?

I have some of the basic stuff working. I am looking for info on the
correct way to handle input ?

I want the widget to accept keys from the use input and then change the
output based on what the use types. It also wants a menu attached so
I need to get mouse events to pop up menu to allow the use to interact
with it.

Is there a example of custom widgets that do input, output and menus ?



More information about the pygtk mailing list