add:
1 column 1, row 0, display step name 2 variable 3 init and quit action
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<!--
|
||||
column 0 column 1 column 2
|
||||
____________________________________________________________
|
||||
row 0 | logo version |
|
||||
row 0 | logo step_name version |
|
||||
row 1 |____________________________________________________________|
|
||||
row 2 | |
|
||||
row 3 | copyright information |
|
||||
@@ -20,10 +20,15 @@ row 4 | quit previous next |
|
||||
</grid_management>
|
||||
<grid_location row='0' column='0' sticky='NSWE'/>
|
||||
|
||||
<variable name='main.step_name' type='StringVar' />
|
||||
<widget type='Label'>
|
||||
<widget_attribute image='/home/zhi/git/install/graphicalinstall/images/linxlogo.gif'/>
|
||||
<grid_location row='0' column='0' sticky='W' padx='5' pady='5'/>
|
||||
</widget>
|
||||
<widget type='Label'>
|
||||
<widget_attribute textvariable='main.step_name'/>
|
||||
<grid_location row='0' column='1' />
|
||||
</widget>
|
||||
<widget type='Label'>
|
||||
<widget_attribute text='#os-name'/>
|
||||
<grid_location row='0' column='2' sticky='E'/>
|
||||
@@ -92,7 +97,8 @@ row 4 | |
|
||||
<configure column='2' weight='1'/>
|
||||
</grid_management>
|
||||
<grid_location row='2' column='0' columnspan='3' sticky='NSWE'/>
|
||||
<variable name='number' type='StringVar'/>
|
||||
<variable name='serial_no.number' type='StringVar' value='123456789012'/>
|
||||
|
||||
<widget type='Text'>
|
||||
<widget_attribute width='40' height='15' state='disabled'/>
|
||||
<grid_location row='0' column='0'/>
|
||||
@@ -105,6 +111,7 @@ row 4 | |
|
||||
<grid_location row='0' column='0' sticky='W'/>
|
||||
</widget>
|
||||
<widget type='Entry'>
|
||||
<action init='serial_no_init' quit='serial_no_quit'/>
|
||||
<widget_attribute width='12' textvariable='serial_no.number'/>
|
||||
<grid_location row='1' column='0'/>
|
||||
</widget>
|
||||
|
||||
Reference in New Issue
Block a user