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(aServiceSpecifier)[source]

Raises NotImplementedError

Parameters:

aServiceSpecifier (str) –

createInstanceWithArguments(ServiceSpecifier, Arguments)[source]

Raises NotImplementedError

Parameters:
  • ServiceSpecifier (str) –

  • Arguments (Any) –

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

Any

Parameters:

Index (int) –

getCount()[source]
Return type:

int

getElementType()[source]
Return type:

Any

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]

hasElements()[source]
Return type:

bool

insertByIndex(Index, Element)[source]
Return type:

None

Parameters:
  • Index (int) –

  • Element (Any) –

queryInterface(aType)
Return type:

Any

Parameters:

aType (Any) –

release()
Return type:

None

removeByIndex(Index)[source]
Return type:

None

Parameters:

Index (int) –

replaceByIndex(Index, Element)[source]
Return type:

None

Parameters:
  • Index (int) –

  • Element (Any) –

supportsService(ServiceName)[source]

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

implemented by the implementation.

Return type:

bool

Parameters:

ServiceName (str) –