2005-01-10 | Paul Boddie | raw annotate files changeset graph | Added a Tkinter wrapping example based on the Python 2.2.2 library reference example. |
1 public class Application extends tkjava.Frame { 2 private tkjava.Button quit, hiThere; 3 4 public Application() { 5 super(); 6 this.pack(); 7 this.createWidgets(); 8 } 9 10 public void createWidgets() { 11 this.quit = new tkjava.Button(this); 12 this.quit.pack(); 13 this.hiThere = new tkjava.Button(this); 14 this.hiThere.pack(); 15 } 16 }