Fan

 

class

flux::Console

sys::Obj
  fwt::Widget
    fwt::Pane
      fwt::ContentPane
        flux::SideBar
          flux::Console

@fluxSideBar

Console is used to run external programs and capture output.

Slots

appendSource

This append(Str s)

Write the string to the end of the console

busySource

readonly Bool busy := false

Return true if the console is busy executing a job.

clearSource

This clear()

Write the string to the end of the console

execSource

This exec(Str[] command, File? dir := null)

Execute an external process and capture its output in the console. See sys::Process for a description of the command and dir parameters.

onGotoMarkSource

override Void onGotoMark(Mark mark)

Overrides flux::SideBar.onGotoMark

Doc inherited from flux::SideBar.onGotoMark

Callback before the current view is jumped to the specified mark.

onLoadSource

override Void onLoad()

Use Frame.console to get the console.

prefAlignSource

override Obj prefAlign()

Console is aligned at the bottom of the frame.