Python code for Num Pad GUI

Al Johnson openmoko at mazikeen.demon.co.uk
Fri Sep 18 00:49:28 CEST 2009


On Thursday 17 September 2009, RANJAN wrote:
> Hi,
>
> How to create a grid of buttons like the Dialer,I was able to get a single
> button with GTK running but I did not know how to modify the code to have a
> grid of buttons.

The pygtk tutorial gives a good introduction to most of the widgets and layout 
options, and has example code. You probably want to use a gtk.Table for this. 

[1] http://www.pygtk.org/tutorial.html
[2] http://www.pygtk.org/pygtk2tutorial/sec-PackingUsingTables.html



More information about the devel mailing list