VariableVerticalPanel.st
author ca
Sat, 10 Feb 1996 10:36:47 +0100
changeset 351 24a527f86c7b
parent 294 667773990289
child 585 8f395aba0173
permissions -rw-r--r--
allow multiple patterns sep'd by semi
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
     1
"
5
claus
parents: 3
diff changeset
     2
 COPYRIGHT (c) 1991 by Claus Gittinger
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
     3
	      All Rights Reserved
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
     4
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
     5
 This software is furnished under a license and may be used
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    10
 hereby transferred.
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    11
"
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    12
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    13
VariablePanel subclass:#VariableVerticalPanel
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    14
	 instanceVariableNames:''
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    15
	 classVariableNames:''
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    16
	 poolDictionaries:''
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    17
	 category:'Views-Layout'
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    18
!
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    19
38
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    20
!VariableVerticalPanel class methodsFor:'documentation'!
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    21
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    22
copyright
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    23
"
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    24
 COPYRIGHT (c) 1991 by Claus Gittinger
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    25
	      All Rights Reserved
38
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    26
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    27
 This software is furnished under a license and may be used
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    28
 only in accordance with the terms of that license and with the
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    29
 inclusion of the above copyright notice.   This software may not
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    30
 be provided or otherwise made available to, or used by, any
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    31
 other person.  No title to or ownership of the software is
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    32
 hereby transferred.
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    33
"
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    34
!
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    35
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    36
documentation
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    37
"
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    38
    This class is only here for backward compatibility;
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    39
    all functionality is now in VariablePanel. Its orientation can now
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    40
    be changed dynamically.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    41
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    42
    A View to separate its subviews vertically by a movable bar;
38
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    43
    the size-ratios of the subviews can be changed by moving this bar.
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    44
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    45
    The bar-handle is either an exposed knob (style == #motif)
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    46
    or the forms defined in Scroller (style ~~ #motif)
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    47
    or nothing.
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    48
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    49
    The subvies dimensions MUST be given as relative sizes;
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    50
    typically creation is done as:
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    51
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    52
	p := VariableVerticalPanel in:superView.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    53
	v1 := <someViewClass> origin:0.0 @ 0.0
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    54
			      corner:1.0 @ 0.5
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    55
				  in:p.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    56
	v2 := <someViewClass> origin:0.0 @ 0.5 
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    57
			      corner:1.0 @ 0.8 
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    58
				  in:p.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    59
	v3 := <someViewClass> origin:0.0 @ 0.8 
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    60
			      corner:1.0 @ 1.0
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    61
				  in:p.
38
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    62
63
f4eaf04d1eaf *** empty log message ***
claus
parents: 60
diff changeset
    63
"
f4eaf04d1eaf *** empty log message ***
claus
parents: 60
diff changeset
    64
!
f4eaf04d1eaf *** empty log message ***
claus
parents: 60
diff changeset
    65
f4eaf04d1eaf *** empty log message ***
claus
parents: 60
diff changeset
    66
examples
f4eaf04d1eaf *** empty log message ***
claus
parents: 60
diff changeset
    67
"
38
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    68
   example:
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    69
	|top p v1 v2 v3|
38
4b9b70b2cc87 2.10.3 pre-final version
claus
parents: 24
diff changeset
    70
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    71
	top := StandardSystemView new.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    72
	top extent:300@300.
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
    73
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    74
	p := VariableVerticalPanel 
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    75
		 origin:0.0 @ 0.0
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    76
		 corner:1.0 @ 1.0
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
    77
		 in:top.
175
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    78
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    79
	v1 := View origin:0.0@0.0 corner:1.0@(1/3) in:p.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    80
	v2 := View origin:0.0@(1/3) corner:1.0@(2/3) in:p.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    81
	v3 := View origin:0.0@(2/3) corner:1.0@1.0 in:p.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    82
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    83
	v1 viewBackground:(Color red).
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    84
	v2 viewBackground:(Color green).
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    85
	v3 viewBackground:(Color yellow).
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    86
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    87
	top open
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    88
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    89
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    90
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    91
   example:
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    92
	|top p v1 v2 v3|
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    93
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    94
	top := StandardSystemView new.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    95
	top extent:300@300.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    96
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    97
	p := VariableVerticalPanel 
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    98
		 origin:0.0 @ 0.0
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
    99
		 corner:1.0 @ 1.0
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   100
		 in:top.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   101
	p handleLevel:-1.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   102
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   103
	v1 := View origin:0.0@0.0 corner:1.0@(1/3) in:p.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   104
	v2 := View origin:0.0@(1/3) corner:1.0@(2/3) in:p.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   105
	v3 := View origin:0.0@(2/3) corner:1.0@1.0 in:p.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   106
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   107
	v1 viewBackground:(Color red).
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   108
	v2 viewBackground:(Color green).
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   109
	v3 viewBackground:(Color yellow).
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   110
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   111
	top open
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   112
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   113
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   114
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   115
    example:
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   116
	|top p v1 v2 v3|
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   117
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   118
	top := StandardSystemView new.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   119
	top extent:300@300.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   120
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   121
	p := VariableVerticalPanel 
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   122
		 origin:0.0 @ 0.0
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   123
		 corner:1.0 @ 1.0
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   124
		 in:top.
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   125
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   126
	v1 := ScrollableView for:SelectionInListView in:p.
79
6d917a89f7b7 *** empty log message ***
claus
parents: 70
diff changeset
   127
	v1 origin:0.0 @ 0.0 corner:1.0 @ 0.5.
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   128
	v1 list:(FileDirectory directoryNamed:'/etc') contents.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   129
	v1 action:[:selNr |
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   130
		|fullName stream text|
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   131
		fullName := '/etc/' , v1 selectionValue.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   132
		stream := fullName asFilename readStream.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   133
		stream notNil ifTrue:[
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   134
		    text := stream contents.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   135
		    v2 contents:text.
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   136
		    v3 contents:text
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   137
		]
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   138
	].
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
   139
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   140
	v2 := TextView 
79
6d917a89f7b7 *** empty log message ***
claus
parents: 70
diff changeset
   141
		 origin:0.0 @ 0.5 corner:1.0 @ 0.8 in:p.
6d917a89f7b7 *** empty log message ***
claus
parents: 70
diff changeset
   142
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   143
	v3 := ScrollableView 
79
6d917a89f7b7 *** empty log message ***
claus
parents: 70
diff changeset
   144
		 for:TextView 
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   145
		 in:p.
79
6d917a89f7b7 *** empty log message ***
claus
parents: 70
diff changeset
   146
	v3 origin:0.0 @ 0.8 corner:1.0 @ 1.0.
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   147
	top open
0
e6a541c1c0eb Initial revision
claus
parents:
diff changeset
   148
202
01f3cbb8e20e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
   149
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   150
    example: (dynamically adding/removing views):
202
01f3cbb8e20e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
   151
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   152
	|top p v1 v2 b|
202
01f3cbb8e20e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
   153
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   154
	top := StandardSystemView new.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   155
	top extent:300@300.
202
01f3cbb8e20e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
   156
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   157
	b := Toggle label:'show' in:top.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   158
	b showLamp:false.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   159
	b origin:0.0 @ 0.0 corner:(1.0 @ 40).
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   160
	b action:[:state |
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   161
		state ifTrue:[
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   162
		    b label:'hide'.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   163
		    v1 origin:0.0 @ 0.0 corner:1.0 @ 0.5.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   164
		    v2 := ScrollableView for:EditTextView.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   165
		    v2 origin:0.0 @ 0.5 corner:1.0 @ 1.0.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   166
		    v2 contents:'another text'.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   167
		    p addSubView:v2.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   168
		] ifFalse:[
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   169
		    b label:'show'.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   170
		    v2 destroy.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   171
		    v1 origin:0.0 @ 0.0 corner:1.0 @ 1.0
175
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   172
		]
59
450ce95a72a4 *** empty log message ***
claus
parents: 38
diff changeset
   173
	    ].
175
bb91e76dae76 new handleStyle: #line
Claus Gittinger <cg@exept.de>
parents: 174
diff changeset
   174
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   175
	p := VariableVerticalPanel
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   176
		origin:0.0 @ 0.0
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   177
		corner:1.0 @ 1.0
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   178
		in:top.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   179
	p topInset:50.
99
abb8fe62848f *** empty log message ***
claus
parents: 95
diff changeset
   180
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   181
	v1 := ScrollableView for:EditTextView in:p.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   182
	v1 origin:0.0 @ 0.0 corner:1.0 @ 1.0.
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   183
	v1 contents:'some text'.
105
3d064ba4a0cc *** empty log message ***
claus
parents: 99
diff changeset
   184
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   185
	top open
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   186
"
99
abb8fe62848f *** empty log message ***
claus
parents: 95
diff changeset
   187
! !
abb8fe62848f *** empty log message ***
claus
parents: 95
diff changeset
   188
abb8fe62848f *** empty log message ***
claus
parents: 95
diff changeset
   189
!VariableVerticalPanel methodsFor:'initializing'!
abb8fe62848f *** empty log message ***
claus
parents: 95
diff changeset
   190
202
01f3cbb8e20e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
   191
initialize
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   192
    orientation := #vertical.
202
01f3cbb8e20e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 175
diff changeset
   193
    super initialize.
99
abb8fe62848f *** empty log message ***
claus
parents: 95
diff changeset
   194
! !
abb8fe62848f *** empty log message ***
claus
parents: 95
diff changeset
   195
205
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 202
diff changeset
   196
!VariableVerticalPanel class methodsFor:'documentation'!
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 202
diff changeset
   197
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 202
diff changeset
   198
version
294
667773990289 merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   199
    ^ '$Header: /cvs/stx/stx/libwidg/VariableVerticalPanel.st,v 1.26 1996-01-18 00:09:24 cg Exp $'
205
6814c0bf8df8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 202
diff changeset
   200
! !