Re: How to change font size

2007-11-15 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here's a snippet of python using PyGTK: self.value = gtk.Label() valuefont = pango.FontDescription() valuefont.set_family(monospace) valuefont.set_absolute_size(300*pango.SCALE)

Re: A selectable sequence of EventBoxes

2007-11-13 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin M. Schwartz wrote: I tried wrapping each row in a gtk.EventBox with 'can-focus' set to True, but none of the EventBoxes ever received focus. How can I build this GUI? Solved. I was able to do this by setting 'can-focus' True, but placing

A selectable sequence of EventBoxes

2007-11-12 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to make a GUI with a number of widget groups. You can see a draft screenshot at: http://dev.laptop.org/~bemasc/screenshot.png I would like to allow the user to operate the GUI by keyboard alone. The user should be able to use the arrow