sys::Obj fwt::Widget fwt::Pane fwt::ContentPane fwt::Window flux::Frame
Frame is the main top level window in flux applications.
Lookup a predefined command by id or return null if not found. See
CommandIdfor the predefined id strings.
Convenience for getting the console sidebar.
Lookup a frame by its id within the VM. If the frame cannot be found and checked is true then throw an Err, otherwise return null. This method can only be called on the UI thread.
const Str id
Get the id of this frame within the VM. The id may be used as an immutable pointer to the frame to pass between threads. See
findByIdto resolve a frame by id. The id is an opaque string, no attempt should be made to interpret the format.
Load the specified resource Uri in the active tab. The default mode will replace the current tab.
Load the specified mark's Uri in the active tab. If the current tab is already at the specified uri, then it is not reloaded.
Mark marks := Mark[,].ro
The current mark list for the frame. This is the list of uris with optional line/col numbers which the user can currently cycle thru using the jumpPrev and jumpNext commands. This list is always readonly, set the field to update the marks and invoke the onMarks callback for each view.
Select the active view tab.
Get the sidebar for the specified SideBar type. If the sidebar has already been created for this frame then return that instance. Otherwise if make is true, then create a new sidebar for this frame. If make is false return null.
Get the sidebars which are currently created for this frame. This list includes both showing and hidden sidebars.
Get the active view. A given frame always has exactly one view active.
Get the list of views this frame has opened in tabs.