Skip to content

fontlab.flAbstractEditor · declarations 001

Back to fontlab.flAbstractEditor

activate

activate() -> Any

activate()

Makes this editor visible and gives it keyboard focus. After calling this, key presses from the user go to the editor's input field rather than the canvas tool. Call this when the user clicks on a value that should become editable.

Source: FontLab Proteus API documentation

changed

changed() -> Any

changed()

checkInitHistoryState

checkInitHistoryState(history_ix: int) -> Any

checkInitHistoryState(uint history_ix)

clearAboveHistory

clearAboveHistory(history_ix: int) -> Any

clearAboveHistory(uint history_ix)

clearFlag

clearFlag(f: int) -> Any

clearFlag(uint f)

clearFlags

clearFlags() -> Any

clearFlags()

clone

clone(*args: Any, **kwargs: Any) -> Any

Clone the object

cloneObject

cloneObject(*args: Any, **kwargs: Any) -> Any

flObject cloneObject(const flObject&);

createObject

createObject(*args: Any, **kwargs: Any) -> Any

flObject/Nothing createObject(int);

currentHistoryState

currentHistoryState(*args: Any, **kwargs: Any) -> Any

currentHistoryIx()

deactivate

deactivate() -> Any

deactivate()

Hides the editor and returns keyboard focus to the canvas. Call this when the user presses Enter or Escape, or clicks somewhere else.

Source: FontLab Proteus API documentation

flObjectFlags instance-attribute

flObjectFlags: dict

flag

flag(f: int) -> Any

flag(uint f)

getProperties

getProperties(*args: Any, **kwargs: Any) -> Any

Get object's properties list

getProperty

getProperty(*args: Any, **kwargs: Any) -> Any

getProperty('key') - get object property by 'key' or number

getPropertyFloat

getPropertyFloat(*args: Any, **kwargs: Any) -> Any

getPropertyFloat('key') - get float object property by 'key'

getPropertyInt

getPropertyInt(*args: Any, **kwargs: Any) -> Any

getPropertyInt('key') - get int object property by 'key'

hasChanges instance-attribute

hasChanges: Any

bool

hasHistoryState

hasHistoryState(history_ix: int) -> Any

hasHistoryState(uint history_ix)

hasHistoryStates instance-attribute

hasHistoryStates: Any

bool

haveObject

haveObject(*args: Any, **kwargs: Any) -> Any

bool haveObject(uint);

historyStates

historyStates(accepted_state: bool) -> Any

historyStates(bool accepted_state)

id instance-attribute

id: Any

object id

independedAll

independedAll() -> Any

independedAll()

initialHistoryState

initialHistoryState(*args: Any, **kwargs: Any) -> Any

initialHistoryIx()

instanceType

instanceType(*args: Any, **kwargs: Any) -> Any

int instanceType();

isChanged instance-attribute

isChanged: Any

bool

isEqual

isEqual(arg0: flObject) -> Any

isEqual(flObject)

isNull instance-attribute

isNull: Any

bool

isPresent instance-attribute

isPresent: Any

bool

isReleased instance-attribute

isReleased: Any

bool

isValid instance-attribute

isValid: Any

bool

name instance-attribute

name: Any

object name

propertyNames

propertyNames(*args: Any, **kwargs: Any) -> Any

propertyNames(): sorted snapshot of dynamic property keys

refCnt instance-attribute

refCnt: Any

object references count

release

release() -> Any

release()

remove

remove(*args: Any, **kwargs: Any) -> Any

remove([flObject])

removeChild

removeChild(arg0: flObject) -> Any

removeChild(flObject)

restoreHistoryState

restoreHistoryState(history_ix: int) -> Any

restoreHistoryState(uint history_ix)

setFlag

setFlag(*args: Any, **kwargs: Any) -> Any

setFlag(uint f [, bool value])