awsc.meta.CommanderOptionsLister
- class awsc.meta.CommanderOptionsLister(*args, **kwargs)
List page for available command palette options.
- Attributes:
- phonydict
Deprecated. Legacy map of commands mapped to titles for bare ListControl subclasses.
Methods
Autohotkey(key[, tooltip, is_validated, ...])Decorator that automatically assigns a hotkey to a function upon instantiation.
add_block(block)Adds a new child block to this block.
add_column(column[, min_size, index])Adds a new column to the ListControl.
add_entry(entry)Adds a new entry to the ListControl.
add_hotkey(hotkey, action[, tooltip, ...])Adds a new hotkey to the control.
autohotkey_condition(hotkey)Autohotkey condition callback.
before_paint()Hook function for acting on the block before any blocks are painted for the current frame.
before_paint_critical()Critical section for the pre-paint hook.
bottomright()Returns the coordinates of the bottom right corner of the block.
clear_blocks([tag])Removes all blocks with the matching tag from the child blocks of this block.
describe(_)Describe autogenerated action hotkey callback.
end(*args)Hotkey callback for KEY_END.
handle_finalization_critical()Critical section for the finalization of new entries.
handle_new_entries_critical(entries)Critical section for the new entry hook.
home(*args)Hotkey callback for KEY_HOME.
input(key)Input handler hook function.
list_down(*args)Hotkey callback for KEY_DOWN.
list_up(*args)Hotkey callback for KEY_UP.
open(_)Hotkey callback for opening the list control for the current selection.
opener(**kwargs)Session-aware initializer for this class.
pagedown(*args)Hotkey callback for KEY_PAGEDOWN.
pageup(*args)Hotkey callback for KEY_PAGEUP.
paint()Hook function for painting the block.
reload()Reloads the list of available commands, repopulating the control.
remove_block(block)Removes a specific block from this block.
reparent()Shorthand function for removing a Block from its parent and re-adding it.
select_and_close(_)Select autogenerated action hotkey callback if control is in selector mode.
selector(callback, **kwargs)Session-aware initializer for this class which opens it in selector mode.
sort()Sorts the list of entries.
topleft()Returns the coordinates of the top left corner of the block.
validate_hotkey(key)Validates whether a hotkey can be used based on the state of the control.
on_become_frame
- __init__(*args, **kwargs)
Initializes a CommanderOptionsLister.
Methods
__init__(*args, **kwargs)Initializes a CommanderOptionsLister.
add_block(block)Adds a new child block to this block.
add_column(column[, min_size, index])Adds a new column to the ListControl.
add_entry(entry)Adds a new entry to the ListControl.
add_hotkey(hotkey, action[, tooltip, ...])Adds a new hotkey to the control.
autohotkey_condition(hotkey)Autohotkey condition callback.
before_paint()Hook function for acting on the block before any blocks are painted for the current frame.
before_paint_critical()Critical section for the pre-paint hook.
bottomright()Returns the coordinates of the bottom right corner of the block.
clear_blocks([tag])Removes all blocks with the matching tag from the child blocks of this block.
describe(_)Describe autogenerated action hotkey callback.
end(*args)Hotkey callback for KEY_END.
handle_finalization_critical()Critical section for the finalization of new entries.
handle_new_entries_critical(entries)Critical section for the new entry hook.
home(*args)Hotkey callback for KEY_HOME.
input(key)Input handler hook function.
list_down(*args)Hotkey callback for KEY_DOWN.
list_up(*args)Hotkey callback for KEY_UP.
on_become_frame()open(_)Hotkey callback for opening the list control for the current selection.
opener(**kwargs)Session-aware initializer for this class.
pagedown(*args)Hotkey callback for KEY_PAGEDOWN.
pageup(*args)Hotkey callback for KEY_PAGEUP.
paint()Hook function for painting the block.
reload()Reloads the list of available commands, repopulating the control.
remove_block(block)Removes a specific block from this block.
reparent()Shorthand function for removing a Block from its parent and re-adding it.
select_and_close(_)Select autogenerated action hotkey callback if control is in selector mode.
selector(callback, **kwargs)Session-aware initializer for this class which opens it in selector mode.
sort()Sorts the list of entries.
topleft()Returns the coordinates of the top left corner of the block.
validate_hotkey(key)Validates whether a hotkey can be used based on the state of the control.
Attributes
borderReturns the border of the control.
cornersRead-only property for calculating the four corners of the block.
describerfilterAllows for filtering the list entries without removing them.
filteredRead-only property that returns the list of filtered entris.
heightRead-only property for the height of the block.
innerRead-only property for calculating the four inner corners of the block.
prefixrowsRead-only property which contains the number of visible rows in the control.
selectionRead-only property which contains the currently selected list entry.
titlew_inRead-only property for the inner width of the block.
widthRead-only property for the width of the block.