/ . / CGLtk / OutlineManager.py / Category
Category instance tracks set of related entries
Methods
|
|
|
moveEntry
|
moveEntry (
self,
entry,
before,
)
Move an entry to before another entry
|
|
sortedEntries
|
sortedEntries ( self )
Return entry list sorted by preferred then alphabetical order
|
|
name
|
name ( self )
Return name of category
|
|
sortByName
|
sortByName ( self )
Sort entries alphabetically by name
|
|
setOrder
|
setOrder ( self, order )
Set preferred order of entry presentation
|
|
addEntry
|
addEntry ( self, entry )
Add an entry to category
|
|
removeEntry
|
removeEntry ( self, entry )
Remove an entry from a category
|
|
__init__
|
__init__ (
self,
name,
desc=None,
)
Initialize an empty category
|
|
description
|
description ( self )
Return short description of category
|
|
|