/[papo]/gnue/designer/src/forms/wizards/AddBox.py
ViewVC logotype

Diff of /gnue/designer/src/forms/wizards/AddBox.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by styxman, Fri Nov 8 16:46:03 2002 UTC revision 1.3.4.1 by anthonyl, Tue Mar 4 22:11:40 2003 UTC
# Line 16  Line 16 
16  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
17  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
18  #  #
19  # Copyright 2001-2002 Free Software Foundation  # Copyright 2001-2003 Free Software Foundation
20  #  #
21  # FILE:  # FILE:
22  # forms/wizards/AddBox.py  # forms/wizards/AddBox.py
# Line 62  class AddBoxWizard(FormPrePositioningTem Line 62  class AddBoxWizard(FormPrePositioningTem
62    
63      # Create element      # Create element
64      self.AddElement( 'box',      self.AddElement( 'box',
65                       self.current.findParentOfType('GFPage'),                       self.current['page'],
66                       { 'name': 'Box_1',                       { 'name': self.GetUniqueName('Box1'),
67                         'label': 'I am a Box',                         'label': 'I am a Box',
68                         'x': self.x,                         'Char:x': self.x,
69                         'y': self.y,                         'Char:y': self.y,
70                         'width': self.width > 2 and self.width or 10,                         'Char:width': self.width > 2 and self.width or 10,
71                         'height': self.height > 2 and self.height or 4})                         'Char:height': self.height > 2 and self.height or 4})
72    
73      return 1      return 1
74    
# Line 86  TemplateInformation = { Line 86  TemplateInformation = {
86      'Version' : VERSION,      'Version' : VERSION,
87      'Author' : 'The GNUe Designer Team',      'Author' : 'The GNUe Designer Team',
88      'Behavior': TEMPLATE,      'Behavior': TEMPLATE,
89      'Location' : 'Tools|Insert|Box'      'Location' : 'Edit|Insert|Box'
90  }  }
91    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26