Window Methods |
The Window type exposes the following members.
Name | Description | |
---|---|---|
![]() | addEventListener | Obsolete.
Registers an event listener on the specified event.
|
![]() | adoptWindow |
Reparents the passed HWND with the current AppDesktop window.
|
![]() | animate |
Performs the specified window transitions.
|
![]() | blur |
Removes focus from the window.
|
![]() | BringParentToFront |
Will set the focus on the Parent container, in the case of windows being embeded.
|
![]() | bringToFront |
Brings the window to the front of the window stack.
|
![]() | close |
Closes the window.
|
![]() | disableFrame |
Prevents a user from changing a window's size/position when using the window's frame.
![]()
'disabled-frame-bounds-changing' is generated at the start of and during a user move/size operation.
'disabled-frame-bounds-changed' is generated after a user move/size operation.
The events provide the bounds that would have been applied if the frame was enabled.
'frame-enabled' is generated when a disabled frame has becomes enabled.
|
![]() | Dispose |
Disposes the current window reference and unhooks all subscribed events.
|
![]() | embedInto |
Embeds a window in a target hWin
|
![]() | enableFrame |
Re-enables user changes to a window's size/position when using the window's frame.
![]()
'disabled-frame-bounds-changing' is generated at the start of and during a user move/size operation.
'disabled-frame-bounds-changed' is generated after a user move/size operation.
The events provide the bounds that would have been applied if the frame was enabled.
'frame-enabled' is generated when a disabled frame has becomes enabled.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | executeJavascript |
Executes JavaScript on the content of the Window
|
![]() | ExecuteJavascriptAsync | (Inherited from WebContents.) |
![]() | FindInPageAsync | (Inherited from WebContents.) |
![]() | flash |
Draws attention to the window by flashing the taskbar and window caption.
This effect continues until explicitly removed by calling stopFlashing |
![]() | focus |
Gives focus to the window.
|
![]() | FocusAsync | (Inherited from WebContents.) |
![]() | getBounds |
Gets the current bounds (top, left, width, height) of the window.
|
![]() | getGroup |
Passes a list of wrapped windows in the same group.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | getName | Obsolete.
Returns the name of the window As registered with the AppDesktop.
|
![]() | getNativeId |
Gets the window's platform specific identifier.
|
![]() | getOptions |
Returns the current options as stored in the desktop.
|
![]() | getParentApplication | Obsolete.
Returns the wrapped application that this window belongs to.
|
![]() | getParentWindow |
Returns the wrapped main window of the application that this window belongs to.
|
![]() | GetPrintersAsync | (Inherited from WebContents.) |
![]() | getSnapshot |
Gets a base64 encoded PNG snapshot of the window.
|
![]() | getState |
Gets the current state ("minimized", "maximized", or "restored") of the window.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | getUuid | Obsolete.
Returns the parent Application's UUID.
|
![]() | GetViewsAsync |
Gets all active platform views for a window.
|
![]() | getZoomLevel |
Gets the current zoom level of the window
|
![]() | GetZoomLevelAsync | (Inherited from WebContents.) |
![]() | hide |
Hides the window.
|
![]() | isShowing |
Determines if the window is currently showing.
|
![]() | joinGroup |
Joins the same window group as the specified window.
|
![]() | leaveGroup |
Leaves the current window group so that the window
can be move independently of those in the group.
|
![]() | maximize |
Maximizes the window.
|
![]() | mergeGroups |
Merges the instance's window group with the same window group as the specified window.
|
![]() | minimize |
Minimizes the window.
|
![]() | moveBy |
Moves the window by a specified amount.
|
![]() | moveTo |
Moves the window to a specified location.
|
![]() | moveToSync |
Moves the window to a specified location. synchronously
|
![]() | navigate |
Navigates the Widnow to the specified address.
|
![]() | NavigateAsync | (Inherited from WebContents.) |
![]() | navigateBack |
Navigates the Widnow to the previous content.
|
![]() | NavigateBackAsync | (Inherited from WebContents.) |
![]() | navigateForward |
Navigates the Widnow to the forward content.
|
![]() | orphanWindow |
Unparents the window identified by HWND and moves it to left, top.
|
![]() | parentWindowMovedCalibration |
In an embedded window scenario, when the parent window moves there is calibration needed.
|
![]() | parentWindowMoveStartCalibration |
In an embedded window scenario, when the parent window starts to move there is calibration needed.
|
![]() | PrintAsync | (Inherited from WebContents.) |
![]() | refresh |
Causes the Window to refresh.
|
![]() | reload |
Reloads the Widnow content.
|
![]() | ReloadAsync | (Inherited from WebContents.) |
![]() | removeEventListener | Obsolete.
Removes a previously registered event listener from the specified event.
The listener is passed an event object containing information related to the event. |
![]() | resizeBy(Int32, Int32, AckCallback, AckCallback) |
Resizes the window by the specified amount with a "top-left" anchor
|
![]() | resizeBy(Int32, Int32, String, AckCallback, AckCallback) |
Resizes the window by the specified amount.
|
![]() | resizeTo(Int32, Int32, AckCallback, AckCallback) |
Resizes the window to the specified dimensions with a "top-left" anchor.
|
![]() | resizeTo(Int32, Int32, String, AckCallback, AckCallback) |
Resizes the window to the specified dimensions.
|
![]() | restore |
Restores the window to its normal state (i.e., unminimized, unmaximized).
|
![]() | setAsForeground |
Set's the window as the foreground window.
The window is activated(focused) and brought to front. |
![]() | setBounds |
Set's the bounds (top, left, width, height) of the window.
|
![]() | setZoomLevel |
Sets the zoom level of the window
|
![]() | show |
Shows the window if it is hidden.
|
![]() | showAt |
Shows the window if it is hidden at the specified location.
If the toggle parameter is set to true, the window will alternate between showing and hiding. |
![]() | showDeveloperTools |
Shows window's developer tools.
|
![]() | ShowDeveloperToolsAsync | (Inherited from WebContents.) |
![]() | StopFindInPageAsync | (Inherited from WebContents.) |
![]() | stopFlashing |
Removes a flashing taskbar/window caption effect if present.
|
![]() | StopNavigationAsync | (Inherited from WebContents.) |
![]() | stopWindowNavigation |
Stops currently loading Widnow content.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | updateOptions |
Changes a window's options that were defined upon creation.
|
![]() ![]() | wrap | Obsolete.
Attaches a Window object to an application Window that already exists.
|