DisplayRootView.st
author Claus Gittinger <cg@exept.de>
Mon, 20 Jan 1997 11:49:15 +0100
changeset 1256 4a633daff594
parent 1254 6bb4afe072f1
child 1584 03d62f063935
permissions -rw-r--r--
on: -> onDevice:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
48194c26a46c Initial revision
claus
parents:
diff changeset
     1
"
6
7ee0cfde237d *** empty log message ***
claus
parents: 3
diff changeset
     2
 COPYRIGHT (c) 1988 by Claus Gittinger
71
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
     3
	      All Rights Reserved
0
48194c26a46c Initial revision
claus
parents:
diff changeset
     4
48194c26a46c Initial revision
claus
parents:
diff changeset
     5
 This software is furnished under a license and may be used
48194c26a46c Initial revision
claus
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
48194c26a46c Initial revision
claus
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
48194c26a46c Initial revision
claus
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
48194c26a46c Initial revision
claus
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
48194c26a46c Initial revision
claus
parents:
diff changeset
    10
 hereby transferred.
48194c26a46c Initial revision
claus
parents:
diff changeset
    11
"
48194c26a46c Initial revision
claus
parents:
diff changeset
    12
727
bf23a306b6f2 renamed PseudoView to DisplaySurface
Claus Gittinger <cg@exept.de>
parents: 626
diff changeset
    13
DisplaySurface subclass:#DisplayRootView
616
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    14
	instanceVariableNames:''
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    15
	classVariableNames:''
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    16
	poolDictionaries:''
626
9f4a3aa6f8e2 class category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
    17
	category:'Views-Special'
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    18
!
48194c26a46c Initial revision
claus
parents:
diff changeset
    19
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    20
!DisplayRootView class methodsFor:'documentation'!
45
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    21
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    22
copyright
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    23
"
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    24
 COPYRIGHT (c) 1988 by Claus Gittinger
71
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
    25
	      All Rights Reserved
45
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    26
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    27
 This software is furnished under a license and may be used
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    28
 only in accordance with the terms of that license and with the
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    29
 inclusion of the above copyright notice.   This software may not
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    30
 be provided or otherwise made available to, or used by, any
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    31
 other person.  No title to or ownership of the software is
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    32
 hereby transferred.
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    33
"
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    34
!
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    35
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    36
documentation
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    37
"
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    38
    this class describes Xs rootWindow (which is the background window and
180
claus
parents: 134
diff changeset
    39
    can be used for drawing outside of Views i.e. for dragging between Views).
89
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    40
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    41
    For historic and compatibility reasons, there is a global variable 
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    42
    called 'RootView', which is bound to the default displays ('Display')
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    43
    rootview. We recommend, not to access this variable, instead, get a
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    44
    displays rootView via the #rootView message (sent to the device).
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    45
    Otherwise, your application will not work in a multiScreen environment.
180
claus
parents: 134
diff changeset
    46
claus
parents: 134
diff changeset
    47
    Instances of myself (i.e. these rootViews) are light-weight views; 
claus
parents: 134
diff changeset
    48
    they do not support events, models etc.
claus
parents: 134
diff changeset
    49
    They are pure drawing canvases and should be only used for special
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    50
    applications (i.e. dragging). 
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    51
    There may be display systems in which rootViews are not
180
claus
parents: 134
diff changeset
    52
    supported/allowed implemented. So be VERY careful when using them.
134
claus
parents: 109
diff changeset
    53
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    54
    Be aware, that the rootView is not always visible - some
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    55
    windowManagers install another (pseudoRoot), into which icons and
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    56
    windowManager menus are drawn. If that is the case, your paining
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    57
    into the rootView may not be visible, unless you set the #noClipByChildren
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    58
    option (see below).
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    59
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    60
    In general, you should never use the rootView for normal applications.
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    61
134
claus
parents: 109
diff changeset
    62
    To draw in the (Displays) root window:
89
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    63
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    64
        |rootView|
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    65
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    66
        rootView := Screen current rootView.
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    67
        rootView paint:(Color red).
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    68
        rootView fillRectangleX:10 y:10 width:100 height:100.
89
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    69
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    70
    of course, all stuff from View and its superclasses can be used:
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    71
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    72
        |rootView|
89
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    73
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    74
        rootView := Screen current rootView.
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    75
        rootView paint:(Color red).
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    76
        rootView noClipByChildren.
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    77
        rootView fillRectangleX:10 y:10 width:100 height:100.
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    78
616
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    79
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    80
    [author:]
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    81
        Claus Gittinger
45
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    82
"
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    83
! !
d2d5bc481ebb *** empty log message ***
claus
parents: 23
diff changeset
    84
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    85
!DisplayRootView class methodsFor:'initialization'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    86
48194c26a46c Initial revision
claus
parents:
diff changeset
    87
initialize
48194c26a46c Initial revision
claus
parents:
diff changeset
    88
    Display isNil ifTrue:[
71
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
    89
	Workstation initialize
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    90
    ].
48194c26a46c Initial revision
claus
parents:
diff changeset
    91
    super initialize
48194c26a46c Initial revision
claus
parents:
diff changeset
    92
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
    93
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
    94
!DisplayRootView class methodsFor:'instance creation'!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    95
1256
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
    96
onDevice:aDisplay
89
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    97
    "since there is only one RootView - catch new and return
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    98
     the one and only rootView."
ea2bf46eb669 *** empty log message ***
claus
parents: 71
diff changeset
    99
134
claus
parents: 109
diff changeset
   100
    aDisplay == Display ifTrue:[
1256
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
   101
        RootView notNil ifTrue:[^ RootView].
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
   102
        RootView := super onDevice:aDisplay.
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
   103
        ^ RootView
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   104
    ].
1256
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
   105
    ^ super onDevice:aDisplay
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
   106
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
   107
    "Created: 18.1.1997 / 18:23:22 / cg"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   108
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
   109
48194c26a46c Initial revision
claus
parents:
diff changeset
   110
!DisplayRootView methodsFor:'accessing'!
48194c26a46c Initial revision
claus
parents:
diff changeset
   111
48194c26a46c Initial revision
claus
parents:
diff changeset
   112
controller
180
claus
parents: 134
diff changeset
   113
    "I have no controller"
claus
parents: 134
diff changeset
   114
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   115
    ^ nil
23
4a7e02de7b72 *** empty log message ***
claus
parents: 6
diff changeset
   116
!
4a7e02de7b72 *** empty log message ***
claus
parents: 6
diff changeset
   117
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   118
name
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   119
    ^ 'RootWindow'
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   120
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   121
23
4a7e02de7b72 *** empty log message ***
claus
parents: 6
diff changeset
   122
sensor
180
claus
parents: 134
diff changeset
   123
    "I have no sensor"
claus
parents: 134
diff changeset
   124
claus
parents: 134
diff changeset
   125
    ^ nil
claus
parents: 134
diff changeset
   126
!
claus
parents: 134
diff changeset
   127
claus
parents: 134
diff changeset
   128
windowGroup
claus
parents: 134
diff changeset
   129
    "I have no windowGroup"
claus
parents: 134
diff changeset
   130
23
4a7e02de7b72 *** empty log message ***
claus
parents: 6
diff changeset
   131
    ^ nil
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   132
! !
48194c26a46c Initial revision
claus
parents:
diff changeset
   133
71
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   134
!DisplayRootView methodsFor:'destroying'!
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   135
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   136
destroy
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   137
    "catch destroy - some windowmanagers get confused if
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   138
     we destroy the rootWindow if its a virtual root window"
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   139
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   140
    ^ self
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   141
! !
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   142
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   143
!DisplayRootView methodsFor:'initialization'!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   144
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   145
initialize
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   146
    super initialize.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   147
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   148
    width := device width.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   149
    height := device height.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   150
    drawableId := device rootWindowFor:self.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   151
    realized := true.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   152
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   153
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   154
reinitialize
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   155
    "reinit after snapin"
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   156
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   157
    width := device width.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   158
    height := device height.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   159
    drawableId := device rootWindowFor:self.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   160
    realized := true.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   161
    gcId := nil.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   162
! !
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   163
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   164
!DisplayRootView methodsFor:'queries'!
48194c26a46c Initial revision
claus
parents:
diff changeset
   165
48194c26a46c Initial revision
claus
parents:
diff changeset
   166
canDrop:anObjectOrCollection
48194c26a46c Initial revision
claus
parents:
diff changeset
   167
    "return true, if anObjectOrCollection can be
48194c26a46c Initial revision
claus
parents:
diff changeset
   168
     dropped in the receiver. This method should be
48194c26a46c Initial revision
claus
parents:
diff changeset
   169
     redefined in views which can take objects"
48194c26a46c Initial revision
claus
parents:
diff changeset
   170
48194c26a46c Initial revision
claus
parents:
diff changeset
   171
    ^ false
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   172
!
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   173
919
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   174
isRootView
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   175
    "yes, I am a rootview"
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   176
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   177
    ^ true
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   178
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   179
    "Created: 5.7.1996 / 13:48:24 / cg"
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   180
    "Modified: 5.7.1996 / 14:57:44 / cg"
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   181
!
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   182
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   183
isWindowManagerRunning
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   184
    "answer true, if a window manager is currently running.
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   185
     This is done by performing an action (enabling button events of
23
4a7e02de7b72 *** empty log message ***
claus
parents: 6
diff changeset
   186
     root window), which will fail if a window manager is running."
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   187
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   188
    |errorOccured|
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   189
48194c26a46c Initial revision
claus
parents:
diff changeset
   190
    errorOccured := false.
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   191
    device class deviceErrorSignal handle:[:ex |
71
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   192
	errorOccured := true.
6a42b2b115f8 *** empty log message ***
claus
parents: 54
diff changeset
   193
	ex return
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   194
    ] do:[
134
claus
parents: 109
diff changeset
   195
	self enableButtonEvents.
180
claus
parents: 134
diff changeset
   196
	device flush.
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   197
    ].
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   198
    ^ errorOccured
23
4a7e02de7b72 *** empty log message ***
claus
parents: 6
diff changeset
   199
134
claus
parents: 109
diff changeset
   200
    "
claus
parents: 109
diff changeset
   201
     DisplayRootView new
claus
parents: 109
diff changeset
   202
     RootView isWindowManagerRunning
claus
parents: 109
diff changeset
   203
    "
919
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   204
!
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   205
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   206
shown
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   207
    "a rootview is always assumed to be visible"
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   208
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   209
    ^ true
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   210
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   211
    "Created: 5.7.1996 / 13:48:05 / cg"
47b7aff0f1e4 added #isRootView & #shown queries
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   212
    "Modified: 5.7.1996 / 14:57:34 / cg"
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   213
! !
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   214
1254
6bb4afe072f1 commentary
Claus Gittinger <cg@exept.de>
parents: 919
diff changeset
   215
!DisplayRootView class methodsFor:'documentation'!
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   216
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   217
version
1256
4a633daff594 on: -> onDevice:
Claus Gittinger <cg@exept.de>
parents: 1254
diff changeset
   218
    ^ '$Header: /cvs/stx/stx/libview/DisplayRootView.st,v 1.20 1997-01-20 10:49:15 cg Exp $'
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   219
! !
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   220
DisplayRootView initialize!