ZoomableViewΒΆ
class ZoomableView
A zoomable layout
Hierarchy
class ZoomableView < class Window
Members
| getnodepath | ( ) | Returns the edited node path (is nil if the method is not supported) |
| getvirtualrect | ( ) | Get the view coordinates in the virtual node space. This space is the same than the Node.NodePos plug. |
| getzoompos | ( ) | Get the zoom and display origin of the ZoomableView |
| setnodepath | (
|
|
| setzoompos | (
|
Change the zoom and display origin of the ZoomableView |
| tozoomable | (
|
Transform a couple of window coordinates to the ZoomableView virtual node coordinates. This space is the same than the Node.NodePos plug. |
Inherited from class Window
| addtracker | (
|
Add a tracker to this window. A tracker receives notification when the tracked window is invalidated or destroyed. A tracker may implement onTrackedDestroyed and onTrackedInvalidated to get notifications on such events |
| destroy | ( ) | Destroy the window and all its children windows |
| disable | ( ) | Disable the window |
| enable | ( ) | Enable the window |
| getchild | (
|
Get a child window |
| getcontainer | ( ) | Get the main container of a window |
| geth | ( ) | Get the window height |
| getnodepath | ( ) | Returns the edited node path (is nil if the method is not supported) |
| getparent | (
|
Get the first parent window of given class (immediate parent if no class is provided) |
| getroot | ( ) | Return the root window of this window |
| getw | ( ) | Get the window width |
| getx | ( ) | Get the window X coordinate in the parent space |
| gety | ( ) | Get the window Y coordinate in the parent space |
| hide | ( ) | Hide the window |
| removetracker | (
|
Remove a tracker of this window. |
| setcolor | (
|
Change the window color, see also ui.color function |
| setfocus | ( ) | Set the focus to the window |
| seth | (
|
Set the window height |
| setnodepath | (
|
|
| settitle | (
|
Change the window title |
| settopmost | ( ) | Set the window as top most in children order |
| setw | (
|
Set the window width |
| setx | (
|
Set the X window placement |
| sety | (
|
Set the Y window placement |
| show | ( ) | Show the window |
Documentation
Returns the edited node path (is nil if the method is not supported)
path The path to the edited node
Get the view coordinates in the virtual node space. This space is the same than the Node.NodePos plug.
left,right,top,bottom The current left, right, top and bottom virtual coordinate of the view
Get the zoom and display origin of the ZoomableView
zoom,x,y The current zoom and origin of the ZoomableView
path The path of the node to edit
Change the zoom and display origin of the ZoomableView
zoom the new zoomx the X coordinate of the left border of the ZoomableViewy the Y coordinate of the top border of the ZoomableView
Transform a couple of window coordinates to the ZoomableView virtual node coordinates. This space is the same than the Node.NodePos plug.
x The window X coordinatey The window Y coordinate
x,y The input coordinates in ZoomableView space