conda_tui.widgets package#

Submodules#

conda_tui.widgets.progress module#

class conda_tui.widgets.progress.PackageUpdateProgress(*args, package, **kwargs)[source]#

Bases: Static

can_focus: bool = False#

Widget may receive focus.

can_focus_children: bool = True#

Widget’s children may receive focus.

on_mount()[source]#
Return type:

None

async update_package()[source]#
class conda_tui.widgets.progress.ShellCommandProgress(*commands, **kwargs)[source]#

Bases: Static

can_focus: bool = False#

Widget may receive focus.

can_focus_children: bool = True#

Widget’s children may receive focus.

on_mount()[source]#
Return type:

None

async run_command(command, log)[source]#

Module contents#

Bases: Static

A static display of the conda logo

Widget will highlight links automatically.

can_focus: bool = False#

Widget may receive focus.

can_focus_children: bool = True#

Widget’s children may receive focus.

disabled: Reactive[bool]#

Is the widget disabled? Disabled widgets can not be interacted with, and are typically styled to look dimmer.

expand: Reactive[bool]#

Rich renderable may expand beyond optimal size.

Load the text for the ASCII art.

Ensure all lines same length and beginning with blank non-whitespace character.

Return type:

Text

has_focus: Reactive[bool]#

Does this widget have focus? Read only.

The currently highlighted link id. Read only.

highlight_style: Style | None#
hover_style: Reactive[Style]#

The current hover style (style under the mouse cursor). Read only.

mouse_over: Reactive[bool]#

Is the mouse over this widget? Read only.

scroll_x: Reactive[float]#

The scroll position on the X axis.

scroll_y: Reactive[float]#

The scroll position on the Y axis.

show_horizontal_scrollbar: Reactive[bool]#

Show a horizontal scrollbar?

show_vertical_scrollbar: Reactive[bool]#

Show a horizontal scrollbar?

shrink: Reactive[bool]#

Rich renderable may shrink below optimal size.

styles: RenderStyles#
virtual_size: Reactive[Size]#

The virtual (scrollable) [size][textual.geometry.Size] of the widget.

class conda_tui.widgets.PackageUpdateProgress(*args, package, **kwargs)[source]#

Bases: Static

Widget will highlight links automatically.

can_focus: bool = False#

Widget may receive focus.

can_focus_children: bool = True#

Widget’s children may receive focus.

disabled: Reactive[bool]#

Is the widget disabled? Disabled widgets can not be interacted with, and are typically styled to look dimmer.

expand: Reactive[bool]#

Rich renderable may expand beyond optimal size.

has_focus: Reactive[bool]#

Does this widget have focus? Read only.

The currently highlighted link id. Read only.

highlight_style: Style | None#
hover_style: Reactive[Style]#

The current hover style (style under the mouse cursor). Read only.

mouse_over: Reactive[bool]#

Is the mouse over this widget? Read only.

on_mount()[source]#
Return type:

None

scroll_x: Reactive[float]#

The scroll position on the X axis.

scroll_y: Reactive[float]#

The scroll position on the Y axis.

show_horizontal_scrollbar: Reactive[bool]#

Show a horizontal scrollbar?

show_vertical_scrollbar: Reactive[bool]#

Show a horizontal scrollbar?

shrink: Reactive[bool]#

Rich renderable may shrink below optimal size.

styles: RenderStyles#
async update_package()[source]#
virtual_size: Reactive[Size]#

The virtual (scrollable) [size][textual.geometry.Size] of the widget.