From: Kevin M. <qk...@lm...> - 2001-07-12 12:13:42
|
How do I apply constraints to a GridBag? >>> from pawt import swing, awt, GridBag >>> >>> frame = swing.JFrame() >>> c = awt.GridBagConstraints() >>> button = swing.JButton() >>> gridbag = GridBag(frame.contentPane) >>> gridbag.setConstraints(button,c) Traceback (innermost last): File "<console>", line 1, in ? AttributeError: setConstraints >>> _________________________________________________ Name/Title : Kevin McNamee, Software Consultant Phone : +46 13 32 1165 E-Mail : kev...@er... |