User Tools

Site Tools


en:code:core:window

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:code:core:window [2011/04/20 20:47] – code:core:window renamed to en:code:core:window jmgren:code:core:window [2021/02/13 11:23] (current) – external edit 127.0.0.1
Line 223: Line 223:
  
 ==== rect ==== ==== rect ====
-Returns a [[code:core:rect|Rect]] representing the rectangle of the window.+Returns a [[en:code:core:rect|Rect]] representing the rectangle of the window.
  
 === Syntax === === Syntax ===
Line 229: Line 229:
 myObject.rect(); myObject.rect();
 </code> </code>
 +<code javascript>
 +myObject.rect(useBorders);
 +</code>
 +
 +=== Arguments ===
 + - useBorders - (bool) use window borders when resizing the window (default: true) [//Added in Actionaz 3.2.0.//]
  
 === Returns === === Returns ===
-  * (Rect) a [[code:core:rect|Rect]] representing the rectangle of the window+  * (Rect) a [[en:code:core:rect|Rect]] representing the rectangle of the window
  
 === Exceptions === === Exceptions ===
Line 237: Line 243:
  
 ==== process ==== ==== process ====
-Returns a [[code:core:processhandle|ProcessHandle]] representing the process owning the window.+Returns a [[en:code:core:processhandle|ProcessHandle]] representing the process owning the window.
  
 === Syntax === === Syntax ===
Line 245: Line 251:
  
 === Returns === === Returns ===
-  * (ProcessHandle) a [[code:core:processhandle|ProcessHandle]] representing the process owning the window+  * (ProcessHandle) a [[en:code:core:processhandle|ProcessHandle]] representing the process owning the window
  
 === Exceptions === === Exceptions ===
Line 334: Line 340:
  
 === Arguments === === Arguments ===
-  - point - ([[code:core:point|Point]]) point where to move the window+  - point - ([[en:code:core:point|Point]]) point where to move the window
  
 === Returns === === Returns ===
Line 349: Line 355:
 <code javascript> <code javascript>
 myObject.resize(size); myObject.resize(size);
 +</code>
 +<code javascript>
 +myObject.resize(size, useBorders);
 </code> </code>
  
 === Arguments === === Arguments ===
-  - size - ([[code:core:size|Size]]) the new size of the window+  - size - ([[en:code:core:size|Size]]) the new size of the window 
 +  - useBorders - (bool) use window borders when resizing the window (default: true) [//Added in Actionaz 3.2.0.//]
  
 === Returns === === Returns ===
en/code/core/window.1303332428.txt.gz · Last modified: 2021/02/13 11:23 (external edit)