Class ActionTriggerContainer

class ooodev.gui.menu.context.action_trigger_container.ActionTriggerContainer(*args, **kwargs)[source]

Bases: Base, BaseServiceInfo, XIndexContainer, XMultiServiceFactory

Provides container for items.

Parameters:
  • args (Any) –

  • kwargs (Any) –

Return type:

Any

__init__()[source]
acquire()
Return type:

None

append(item)[source]
Parameters:

item (Any) –

createInstance(name)[source]
Parameters:

name (str) –

createInstanceWithArguments(name, args)[source]
Parameters:
  • name (str) –

  • args (Any) –

getAvailableServiceNames()[source]
getByIndex(n)[source]
Return type:

Any

getCount()[source]
getElementType()[source]
Return type:

Any

getImplementationId()
getImplementationName()[source]

Provides the implementation name of the service implementation.

Return type:

str

getSupportedServiceNames()[source]

Provides the supported service names of the implementation, including also indirect service names.

Return type:

Tuple[str]

getTypes()
hasElements()[source]
Return type:

bool

insertByIndex(n, item)[source]
Return type:

None

queryInterface(a_type)
Return type:

Any

Parameters:

a_type (Any) –

release()
Return type:

None

removeByIndex(n)[source]
Return type:

None

replaceByIndex(n, item)[source]
Return type:

None

supportsService(name)[source]

Tests whether the specified service is supported, i.e.

implemented by the implementation.

Return type:

bool

Parameters:

name (str) –