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 |