TopView.st
changeset 4424 c4154f4897e1
parent 4407 d0f371afaa58
child 4438 abc5f1353b01
equal deleted inserted replaced
4423:dc94d8e838e8 4424:c4154f4897e1
   888 
   888 
   889 activate
   889 activate
   890     "added for MS-windows - much like raise.
   890     "added for MS-windows - much like raise.
   891      Raise/Activate seem to work only within my own (ST/X)-windows;
   891      Raise/Activate seem to work only within my own (ST/X)-windows;
   892      they do not raise one of my views above another (for example: command.com)-window.
   892      they do not raise one of my views above another (for example: command.com)-window.
   893      Can anyone tell me what the difference between raise, activate and setForefround 
   893      Can anyone tell me what the difference between raise, activate and setForeground 
   894      really is (I mean really - not what is written in the crappy documentation)"
   894      really is (I mean really - not what is written in the crappy documentation)"
   895 
   895 
   896     drawableId isNil ifTrue:[self create].
   896     drawableId isNil ifTrue:[self create].
   897     device activateWindow:drawableId
   897     device activateWindow:drawableId
   898 
   898 
   953 
   953 
   954     "Created: 28.2.1997 / 22:56:34 / cg"
   954     "Created: 28.2.1997 / 22:56:34 / cg"
   955 !
   955 !
   956 
   956 
   957 raise
   957 raise
   958     "kludge for MS-windows.
   958     "MS-windows:
   959      Raise/Activate seem to work only within my own (ST/X)-windows;
   959      Raise/Activate seem to work only within my own (ST/X)-windows;
   960      they do not raise one of my views above another (for example: command.com)-window.
   960      they do not raise one of my views above another (for example: command.com)-window.
   961      Can anyone tell me what the difference between raise, activate and setForefround 
   961      Can anyone tell me what the difference between raise, activate and setForeground 
   962      really is (I mean really - not what is written in the crappy documentation)"
   962      really is (I mean really - not what is written in the crappy documentation)"
   963 
   963 
   964     drawableId isNil ifTrue:[self create].
   964     drawableId isNil ifTrue:[self create].
   965 
   965 
   966 false ifTrue:[
   966 false ifTrue:[
   982 
   982 
   983 setForegroundWindow
   983 setForegroundWindow
   984     "added for MS-windows - much like raise + focus.
   984     "added for MS-windows - much like raise + focus.
   985      Raise/Activate seem to work only within my own (ST/X)-windows;
   985      Raise/Activate seem to work only within my own (ST/X)-windows;
   986      they do not raise one of my views above another (for example: command.com)-window.
   986      they do not raise one of my views above another (for example: command.com)-window.
   987      Can anyone tell me what the difference between raise, activate and setForefround 
   987      Can anyone tell me what the difference between raise, activate and setForeground 
   988      really is (I mean really - not what is written in the crappy documentation) ?"
   988      really is (I mean really - not what is written in the crappy documentation) ?"
   989 
   989 
   990     drawableId isNil ifTrue:[self create].
   990     drawableId isNil ifTrue:[self create].
   991     device setForegroundWindow:drawableId
   991     device setForegroundWindow:drawableId
   992 
   992 
  1216 ! !
  1216 ! !
  1217 
  1217 
  1218 !TopView class methodsFor:'documentation'!
  1218 !TopView class methodsFor:'documentation'!
  1219 
  1219 
  1220 version
  1220 version
  1221     ^ '$Header: /cvs/stx/stx/libview/TopView.st,v 1.107 2005-07-19 14:10:11 cg Exp $'
  1221     ^ '$Header: /cvs/stx/stx/libview/TopView.st,v 1.108 2005-09-30 08:45:17 cg Exp $'
  1222 ! !
  1222 ! !
  1223 
  1223 
  1224 TopView initialize!
  1224 TopView initialize!