Canvas Toolkit
← Class index

CStyleOptionKeySequenceEdit

GUI and styling · extends CStyleOption

Contains style information used to render a key sequence edit.

Module gui/CStyleOptionKeySequenceEdit.js. This class is available through the browser modules in the download.

Declared members

keySequence: string;

Returns or updates the key sequence value.

constructor(other?: CStyleOptionKeySequenceEdit | null);

Creates a new CStyleOptionKeySequenceEdit instance. @param other Other.

initFromKeySequenceEdit(edit: CKeySequenceEdit): void;

Initializes this style option from the specified key sequence edit. @param edit Edit.