chore: abstract ThreadManager class (WIP)

This commit is contained in:
aclist committed 2026-02-21 17:44:11 +09:00
1 parent 42544c6dcc
commit 62da949465
13 files changed
+177 -127

No files matched your search

+8 -1
View File
@@ -1,6 +1,6 @@
import logging
from typing import Optional, TYPE_CHECKING
from typing import Any, Optional, TYPE_CHECKING
from warnings import deprecated
from dzgui.const.constants import SEPARATOR
@@ -188,3 +188,10 @@ class TreeView(CursorMixin, Gtk.TreeView): # type: ignore
return None
row = model[ind]
return row
def get_col_value_by_path_index(self, path: Gtk.TreePath, index: int) -> Any:
model = self.get_model()
if model is None:
return None
value = model[path][index]
return value