|
|
|
@ -856,6 +856,12 @@ Gui module
|
|
|
|
|
|
|
|
|
|
Returns the focus string of the current viewscreen.
|
|
|
|
|
|
|
|
|
|
* ``dfhack.gui.getViewscreenByType(type [, depth])``
|
|
|
|
|
|
|
|
|
|
Returns the topmost viewscreen out of the top ``depth`` viewscreens with
|
|
|
|
|
the specified type (e.g. ``df.viewscreen_titlest``), or ``nil`` if none match.
|
|
|
|
|
If ``limit`` is not specified or is less than 1, all viewscreens are checked.
|
|
|
|
|
|
|
|
|
|
* ``dfhack.gui.getSelectedWorkshopJob([silent])``
|
|
|
|
|
|
|
|
|
|
When a job is selected in *'q'* mode, returns the job, else
|
|
|
|
|