euporie.core.tabs

Contain various application tab implementations.

Modules

base

Contain tab base class.

console

Contains the Console tab base class.

kernel

Contain kernel tab base class.

notebook

Contain the base class for a notebook tabs.

Functions

dataclass([cls, init, repr, eq, order, ...])

Add dunder methods based on the fields defined in the class.

field(*[, default, default_factory, init, ...])

Return an object to identify dataclass fields.

resolve_name(name)

Resolve a name to an object.

Classes

TabRegistryEntry(path, name, mime_types, ...)

Class to store tab information.

class euporie.core.tabs.TabRegistryEntry(path: str, name: str, mime_types: set = <factory>, file_extensions: dict[str, None] = <factory>, weight: int = 0)

Bases: object

Class to store tab information.

file_extensions: dict[str, None]
mime_types: set
name: str
path: str
property tab_class: type[Tab]

Import and return the tab class.

weight: int = 0