gui.addonStoreGui package

class gui.addonStoreGui.AddonStoreDialog(*args, **kwargs)

Bases: SettingsDialog

@param parent: The parent for this dialog; C{None} for no parent. @param resizeable: True if the settings dialog should be resizable by the user, only set this if

you have tested that the components resize correctly.

@param hasApplyButton: C{True} to add an apply button to the dialog; defaults to C{False} for backwards compatibility.

Deprecated, use buttons instead.

@param settingsSizerOrientation: Either wx.VERTICAL or wx.HORIZONTAL. This controls the orientation of the

sizer that is passed into L{makeSettings}. The default is wx.VERTICAL.

@param multiInstanceAllowed: Whether multiple instances of SettingsDialog may exist.

Note that still only one instance of a particular SettingsDialog subclass may exist at one time.

@param buttons: Buttons to add to the settings dialog.

Should be a subset of {wx.OK, wx.CANCEL, wx.APPLY, wx.CLOSE}.

title = 'Add-on Store'
helpId = 'AddonsManager'
_enterActivatesOk_ctrlSActivatesApply(evt: KeyEvent)

Disables parent behaviour which overrides behaviour for enter and ctrl+s

handleDisplayableError(displayableError: DisplayableError)
makeSettings(settingsSizer: BoxSizer)

Populate the dialog with settings controls. Subclasses must override this method. @param sizer: The sizer to which to add the settings controls. @type sizer: wx.Sizer

_makeBanner()
_createFilterControls(filterCtrlHelper: BoxSizerHelper) None
postInit()

Called after the dialog has been created. For example, this might be used to set focus to the desired control. Sub-classes may override this method.

_onWindowDestroy(evt: WindowDestroyEvent)
_installationPromptTitle = 'Add-on installation'
onClose(evt: CommandEvent)

Take action in response to the Close button being pressed. Sub-classes may extend this method. This base method should always be called to clean up the dialog.

property _requiresRestart: bool
property _statusFilterKey: _StatusFilterKey
property _channelFilterKey: Channel
property _titleText: str
property _listLabelText: str
_setListLabels()
_toggleFilterControls()
onListTabPageChange(evt: <wx.core.PyEventBinder object at 0x06240E30>)
onChannelFilterChange(evt: <wx.core.PyEventBinder object at 0x06240E30>)
onFilterTextChange(evt: <wx.core.PyEventBinder object at 0x062468D0>)
onEnabledFilterChange(evt: <wx.core.PyEventBinder object at 0x06240E30>)
onIncompatibleFilterChange(evt: <wx.core.PyEventBinder object at 0x06240EF0>)
filter(filterText: str)
openExternalInstall(evt: <wx.core.PyEventBinder object at 0x062402B0>)
_abc_impl = <_abc._abc_data object>
gui.addonStoreGui.initialize()

Subpackages