dgbpy.uibokeh
Module Contents
Classes
Generic enumeration. |
|
Generic enumeration. |
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create text value for a progress div widget |
|
Find percentage between current and total |
|
Returns the current and total iteration from msgstr |
|
Returns the current and total iteration from Div widget in ProgBar |
|
Attributes
- dgbpy.uibokeh.but_width = 80
- dgbpy.uibokeh.but_height = 32
- dgbpy.uibokeh.but_spacer = 5
- dgbpy.uibokeh.go_lbl = ▶ Run
- dgbpy.uibokeh.stop_lbl = ◼ Abort
- dgbpy.uibokeh.pause_lbl = ❚❚ Pause
- dgbpy.uibokeh.resume_lbl = ► Resume
- dgbpy.uibokeh.timerkey = timerobj
- dgbpy.uibokeh.parent_bar = epoch_bar
- dgbpy.uibokeh.child_bar = iter_bar
- dgbpy.uibokeh.widget_margin = [4, 0, 0, 0]
- dgbpy.uibokeh.RunState
- dgbpy.uibokeh.getButton(nm, type=enums.ButtonType.default, callback_fn=None)
- dgbpy.uibokeh.getRunStopButton(callback_fn=None)
- dgbpy.uibokeh.getPauseResumeButton(callback_fn=None)
- dgbpy.uibokeh.getPbar()
- dgbpy.uibokeh.getRunButtonsBar(progress, runact, abortact, pauseact, resumeact, progressact, timercb)
- dgbpy.uibokeh.startStopCB(cb, run_fn, abort_fn, progress_fn, timer_fn, repeat=2000)
- dgbpy.uibokeh.isAborted(runbutbar)
- dgbpy.uibokeh.pauseResumeCB(cb, pause_fn, resume_fn)
- dgbpy.uibokeh.timerCB(cb, timer_fn)
- dgbpy.uibokeh.isReady(runbutbar)
- dgbpy.uibokeh.isRunning(runbutbar)
- dgbpy.uibokeh.setRunning(runbutbar, start_fn=None)
- dgbpy.uibokeh.startBarUpdateCB(cb, ret)
- dgbpy.uibokeh.endBarUpdateCB(ret)
- dgbpy.uibokeh.setReady(runbutbar)
- dgbpy.uibokeh.setPaused(runbutbar)
- dgbpy.uibokeh.setResumed(runbutbar)
- dgbpy.uibokeh.setTabFromButton(cb, panelnm, tabnm)
- dgbpy.uibokeh.setActiveTab(tabspanelwidget, tabnm)
- dgbpy.uibokeh.integerListContains(listobj, index)
- dgbpy.uibokeh.getGroup(grpnm, options, groups, keywd)
- dgbpy.uibokeh.getAllUiFlds(objects)
- class dgbpy.uibokeh.ProgBar(value, parent=None, **kw)
- first_init(self, value)
- reset(self)
- visible(self, bool)
- set(self, current, total)
- get(self)
- fail(self)
- panel(self)
- dgbpy.uibokeh.setProgValue(type=None, current=0, total=0)
Create text value for a progress div widget
- dgbpy.uibokeh.percentage(current, total)
Find percentage between current and total
- dgbpy.uibokeh.getProgMsg(msgstr)
Returns the current and total iteration from msgstr
- dgbpy.uibokeh.getProgValue(text)
Returns the current and total iteration from Div widget in ProgBar
- class dgbpy.uibokeh.ProgState
Bases:
enum.Enum
Generic enumeration.
Derive from this class to define new enumerations.
- Ready = 0
- Running = 1
- Started = 2
- class dgbpy.uibokeh.TrainStatus
Bases:
enum.Enum
Generic enumeration.
Derive from this class to define new enumerations.
- Default = 0
- Success = 1
- Failed = 2
- dgbpy.uibokeh.set_augment_mthds(info)
- dgbpy.uibokeh.augment_ui_map