DisplayRootView.st
changeset 616 56cf67c82664
parent 269 ea536bb319a6
child 626 9f4a3aa6f8e2
equal deleted inserted replaced
615:59b046c2e44f 616:56cf67c82664
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
    12 
    12 
    13 PseudoView subclass:#DisplayRootView
    13 PseudoView subclass:#DisplayRootView
    14 	 instanceVariableNames:''
    14 	instanceVariableNames:''
    15 	 classVariableNames:''
    15 	classVariableNames:''
    16 	 poolDictionaries:''
    16 	poolDictionaries:''
    17 	 category:'Views-Basic'
    17 	category:'Views-Basic'
    18 !
    18 !
    19 
    19 
    20 !DisplayRootView class methodsFor:'documentation'!
    20 !DisplayRootView class methodsFor:'documentation'!
    21 
    21 
    22 copyright
    22 copyright
    48     applications. There may be display systems in which rootViews are not
    48     applications. There may be display systems in which rootViews are not
    49     supported/allowed implemented. So be VERY careful when using them.
    49     supported/allowed implemented. So be VERY careful when using them.
    50 
    50 
    51     To draw in the (Displays) root window:
    51     To draw in the (Displays) root window:
    52 
    52 
    53 	RootView paint:(Color red).
    53         RootView paint:(Color red).
    54 	RootView fillRectangleX:10 y:10 width:100 height:100.
    54         RootView fillRectangleX:10 y:10 width:100 height:100.
    55 
    55 
    56     of course, all stuff from View and its superclasses can be used:
    56     of course, all stuff from View and its superclasses can be used:
    57 
    57 
    58 	RootView paint:(Color red).
    58         RootView paint:(Color red).
    59 	RootView noClipByChildren.
    59         RootView noClipByChildren.
    60 	RootView fillRectangleX:10 y:10 width:100 height:100.
    60         RootView fillRectangleX:10 y:10 width:100 height:100.
    61 
    61 
    62     you have to be careful with some window managers, since what you
    62     you have to be careful with some window managers, since what you
    63     see on the screen is not always really the root window. Some Desktops
    63     see on the screen is not always really the root window. Some Desktops
    64     add their own view in between (although the Xworkstation class does
    64     add their own view in between (although the Xworkstation class does
    65     care for this, it seems not to work correctly on all systems).
    65     care for this, it seems not to work correctly on all systems).
    66     In general, you should never use the RootView for normal applications.
    66     In general, you should never use the RootView for normal applications.
       
    67 
       
    68     [author:]
       
    69         Claus Gittinger
    67 "
    70 "
    68 ! !
    71 ! !
    69 
    72 
    70 !DisplayRootView class methodsFor:'initialization'!
    73 !DisplayRootView class methodsFor:'initialization'!
    71 
    74 
   178 ! !
   181 ! !
   179 
   182 
   180 !DisplayRootView class methodsFor:'documentation'!
   183 !DisplayRootView class methodsFor:'documentation'!
   181 
   184 
   182 version
   185 version
   183     ^ '$Header: /cvs/stx/stx/libview/DisplayRootView.st,v 1.14 1995-11-27 22:27:35 cg Exp $'
   186     ^ '$Header: /cvs/stx/stx/libview/DisplayRootView.st,v 1.15 1996-04-25 17:16:14 cg Exp $'
   184 ! !
   187 ! !
   185 DisplayRootView initialize!
   188 DisplayRootView initialize!