Fan

 

abstract class

flux::SideBar

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

SideBar is a plugin used along side the main views. SideBars are registered in the type database via the @fluxSideBar facet.

Slots

frameSource

Frame? frame { internal set }

Get the top level flux window.

hideSource

This hide()

Hide this sidebar in the frame.

onActiveSource

virtual Void onActive(View view)

Callback when specified view is selected as the active tab. This callback is invoked only if showing.

onGotoMarkSource

virtual Void onGotoMark(Mark mark)

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

onHideSource

virtual Void onHide()

Callback when sidebar is hidden in the frame.

onInactiveSource

virtual Void onInactive(View view)

Callback when specified view is unselected as the active tab. This callback is invoked only if showing.

onLoadSource

virtual Void onLoad()

Callback when sidebar is first loaded into memory. This is the time to load persistent state.

onMarksSource

virtual Void onMarks(Mark[] marks)

Callback when the frame's list of marks is updated.

onShowSource

virtual Void onShow()

Callback when sidebar is shown in the frame.

onUnloadSource

virtual Void onUnload()

Callback when sidebar is being unloaded from memory. This is the time to save persistent state. This is called no matter whether the sidebar is shown or hidden.

prefAlignSource

virtual Obj prefAlign()

Get this sidebar's preferred alignment which is used to determine its default position. Valid values are:

  • Halign.left (default)
  • Halign.right
  • Valign.bottom
showSource

This show()

Show this sidebar in the frame.

showingSource

Bool showing := false { internal set }

Is the sidebar currently shown in the frame?