added:
authorClaus Gittinger <cg@exept.de>
Fri, 22 Oct 2010 13:55:11 +0200
changeset 13103 2cbf8acd98c3
parent 13102 832cd9df04a1
child 13104 39e5ff75d48a
added: #forceWindowsIntoMonitorBounds #forceWindowsIntoMonitorBounds: category of:13 methods
UserPreferences.st
--- a/UserPreferences.st	Fri Oct 22 13:54:47 2010 +0200
+++ b/UserPreferences.st	Fri Oct 22 13:55:11 2010 +0200
@@ -1260,6 +1260,31 @@
     "Modified: / 11.9.1998 / 00:09:59 / cg"
 !
 
+forceWindowsIntoMonitorBounds
+    "if true, windows are forced to be placed into a monitor's bounds completely;
+     if false, they may be placed as to cross a boundary. This only affects initial placement,
+     not window movement."
+
+    ^ self at:#forceWindowsIntoMonitorBounds ifAbsent:true
+
+    "Created: / 22-10-2010 / 10:59:10 / cg"
+!
+
+forceWindowsIntoMonitorBounds:aBoolean
+    "if true, windows are forced to be placed into a monitor's bounds completely;
+     if false, they may be placed as to cross a boundary. This only affects initial placement,
+     not window movement."
+
+    ^ self at:#forceWindowsIntoMonitorBounds put:aBoolean
+
+    "
+     UserPreferences current forceWindowsIntoMonitorBounds:false
+     UserPreferences current forceWindowsIntoMonitorBounds:true
+    "
+
+    "Modified: / 22-10-2010 / 11:13:54 / cg"
+!
+
 motionDistanceToStartDrag
     "the motion distance (in pixel) to start drag (as opposed to adding to the selection)"
 
@@ -3100,7 +3125,7 @@
     ^ self at:#verboseBacktraceInDebugger put:aBoolean
 ! !
 
-!UserPreferences methodsFor:'default settings'!
+!UserPreferences methodsFor:'default settings - syntax colors'!
 
 listOfPredefinedSyntaxColoringSchemes
     "return a list of pre-defined syntax highlightning styles
@@ -3320,9 +3345,9 @@
 !UserPreferences class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.253 2010-08-24 16:07:14 sr Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.254 2010-10-22 11:55:11 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.253 2010-08-24 16:07:14 sr Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.254 2010-10-22 11:55:11 cg Exp $'
 ! !