contextoptionseditor module

class contextoptionseditor.ContextOptionsEditor(parent=None)

Bases: sphinx.ext.autodoc.importer._MockObject

class contextoptionseditor.ContextOptionsTable(parent=None)

Bases: sphinx.ext.autodoc.importer._MockObject

appendEntry(name, value)
refreshFromSession()
removeRow(row)
updateAtItem(item)
class contextoptionseditor.HistoriedModel(*args, **kwargs)

Bases: sphinx.ext.autodoc.importer._MockObject

The model stores one previous value for helping ContextOptionsTable remove the old pair when user edits the option’s name in the table. It also checks and renames the option’s name once detected duplicate names in the table.

duplicateCheck(index, value)
myPreviousData = {}
previousData(row, col)
removeRow(row)
setData(index, value, role)
class contextoptionseditor.SimpleLock

Bases: object

Simple read-write lock. Used in ContextOptionsTable for stopping callback calls when building the table.

lock(**kwds)
class contextoptionseditor.TwoWayButton(atext, btext, parent=None)

Bases: sphinx.ext.autodoc.importer._MockObject

A flat two-way button.