SYMBOL INDEX (207 symbols across 11 files) FILE: src/appkitgui.py function window (line 49) | def window( function main_view (line 69) | def main_view( class StackView (line 124) | class StackView(NSStackView): method append (line 128) | def append(self, view: NSView): method extend (line 133) | def extend(self, views: Iterable[NSView]): method insert (line 139) | def insert(self, i: int, view: NSView): method remove (line 144) | def remove(self, view: NSView): class ScrolledStackView (line 149) | class ScrolledStackView(NSScrollView): method initWithStack_ (line 152) | def initWithStack_( method append (line 175) | def append(self, view: NSView): method extend (line 180) | def extend(self, views: Iterable[NSView]): method insert (line 186) | def insert(self, i: int, view: NSView): method remove (line 191) | def remove(self, view: NSView): method setSpacing_ (line 195) | def setSpacing_(self, spacing): method setOrientation_ (line 198) | def setOrientation_(self, orientation): method setDistribution_ (line 201) | def setDistribution_(self, distribution): method setAlignment_ (line 204) | def setAlignment_(self, alignment): method setEdgeInsets_ (line 207) | def setEdgeInsets_(self, edge_inset): class LinkLabel (line 211) | class LinkLabel(NSTextField): method initWithText_URL_ (line 214) | def initWithText_URL_(self, text: str, url: str): method resetCursorRects (line 231) | def resetCursorRects(self): method mouseDown_ (line 234) | def mouseDown_(self, event): method mouseEntered_ (line 237) | def mouseEntered_(self, event): method mouseExited_ (line 240) | def mouseExited_(self, event): method attributedStringWithLinkToURL_text_ (line 243) | def attributedStringWithLinkToURL_text_(self, url: str, text: str): class ComboBoxDelegate (line 255) | class ComboBoxDelegate(NSObject): method initWithTarget_Action_ (line 258) | def initWithTarget_Action_(self, target: NSObject, action: Callable | ... method comboBoxSelectionDidChange_ (line 268) | def comboBoxSelectionDidChange_(self, notification): class ComboBox (line 278) | class ComboBox(NSComboBox): method setDelegate_ (line 286) | def setDelegate_(self, delegate: NSObject | None): class ScrollViewWithTextView (line 292) | class ScrollViewWithTextView(NSScrollView): method initWithSize_VScroll_ (line 293) | def initWithSize_VScroll_(self, size: tuple[float, float], vscroll: bo... method string (line 322) | def string(self): method setString_ (line 325) | def setString_(self, text: str): method setEditable_ (line 328) | def setEditable_(self, editable: bool): method setSelectable_ (line 331) | def setSelectable_(self, selectable: bool): method setFont_ (line 334) | def setFont_(self, font: AppKit.NSFont): method setTextColor_ (line 337) | def setTextColor_(self, color: AppKit.NSColor): method setBackgroundColor_ (line 340) | def setBackgroundColor_(self, color: AppKit.NSColor): function hstack (line 349) | def hstack( function vstack (line 395) | def vstack( function hspacer (line 441) | def hspacer() -> NSStackView: function label (line 446) | def label(value: str) -> NSTextField: function link (line 455) | def link(text: str, url: str) -> NSTextField: function button (line 460) | def button(title: str, target: NSObject, action: Callable | str | None) ... function checkbox (line 472) | def checkbox(title: str, target: NSObject, action: Callable | str | None... function radio_button (line 479) | def radio_button( function combo_box (line 488) | def combo_box( function hseparator (line 538) | def hseparator() -> NSBox: function image_view (line 546) | def image_view( function date_picker (line 598) | def date_picker( function time_picker (line 636) | def time_picker( function text_view (line 675) | def text_view( function text_field (line 682) | def text_field( function menu_bar (line 712) | def menu_bar() -> AppKit.NSMenuItem: function menu_main (line 719) | def menu_main() -> AppKit.NSMenu: function menu_with_submenu (line 724) | def menu_with_submenu( function menu_item (line 739) | def menu_item( class MenuItem (line 760) | class MenuItem: function menus_from_dict (line 767) | def menus_from_dict( function min_with_index (line 815) | def min_with_index(values: list[float]) -> tuple[int, int]: function nsdate_to_datetime (line 822) | def nsdate_to_datetime(nsdate: NSDate): function set_hugging_priority (line 852) | def set_hugging_priority( function set_compression_resistance (line 864) | def set_compression_resistance( function constrain_stacks_side_by_side (line 873) | def constrain_stacks_side_by_side( function constrain_stacks_top_to_bottom (line 944) | def constrain_stacks_top_to_bottom( function constrain_to_parent_width (line 1015) | def constrain_to_parent_width( function constrain_to_width (line 1034) | def constrain_to_width(view: NSView, width: float | None = None): function constrain_to_height (line 1045) | def constrain_to_height(view: NSView, height: float | None = None): function constrain_center_x_to_parent (line 1056) | def constrain_center_x_to_parent(view: NSView, parent: NSView | None = N... function constrain_center_y_to_parent (line 1069) | def constrain_center_y_to_parent(view: NSView, parent: NSView | None = N... function constrain_trailing_anchor_to_parent (line 1082) | def constrain_trailing_anchor_to_parent( FILE: src/confirmation_window.py class ConfirmationWindow (line 27) | class ConfirmationWindow(NSObject): method init (line 30) | def init(self): method create_window (line 38) | def create_window(self) -> NSWindow: method show (line 68) | def show(self, text: str, app: Textinator): method buttonCancel_ (line 87) | def buttonCancel_(self, sender): method buttonCopyToClipboard_ (line 92) | def buttonCopyToClipboard_(self, sender): FILE: src/loginitems.py function add_login_item (line 17) | def add_login_item(app_name: str, app_path: str, hidden: bool = False): function remove_login_item (line 26) | def remove_login_item(app_name: str): function list_login_items (line 32) | def list_login_items() -> List[str]: FILE: src/macvision.py function get_supported_vision_languages (line 22) | def get_supported_vision_languages() -> Tuple[Tuple[str], Tuple[str]]: function ciimage_from_file (line 46) | def ciimage_from_file(filepath: str) -> Quartz.CIImage: function detect_text_in_file (line 60) | def detect_text_in_file( function detect_text_in_ciimage (line 79) | def detect_text_in_ciimage( function make_request_handler (line 125) | def make_request_handler(results): function detect_qrcodes_in_file (line 142) | def detect_qrcodes_in_file(img_path: str) -> List[str]: function detect_qrcodes_in_ciimage (line 156) | def detect_qrcodes_in_ciimage(image: Quartz.CIImage) -> List[str]: FILE: src/pasteboard.py class PasteboardError (line 30) | class PasteboardError(Exception): class PasteboardTypeError (line 36) | class PasteboardTypeError(PasteboardError): class Pasteboard (line 42) | class Pasteboard: method __init__ (line 45) | def __init__(self): method copy (line 49) | def copy(self, text): method paste (line 57) | def paste(self): method append (line 64) | def append(self, text: str): method clear (line 73) | def clear(self): method copy_image (line 78) | def copy_image(self, filename: t.Union[str, os.PathLike], format: str): method paste_image (line 89) | def paste_image( method set_text (line 109) | def set_text(self, text: str): method get_text (line 119) | def get_text(self) -> str: method get_image (line 126) | def get_image( method set_image (line 155) | def set_image(self, filename: t.Union[str, os.PathLike], format: str): method get_image_data (line 167) | def get_image_data(self, format: str) -> NSData: method set_image_data (line 186) | def set_image_data(self, image_data: NSData, format: str): method set_text_and_image (line 203) | def set_text_and_image( method set_text_and_image_data (line 218) | def set_text_and_image_data(self, text: str, image_data: NSData, forma... method has_changed (line 232) | def has_changed(self) -> bool: method has_image (line 242) | def has_image(self, format: t.Optional[str] = None) -> bool: method has_text (line 265) | def has_text(self) -> bool: method _has_png (line 272) | def _has_png(self) -> bool: method _has_tiff (line 279) | def _has_tiff(self) -> bool: FILE: src/textinator.py class Textinator (line 68) | class Textinator(rumps.App): method __init__ (line 71) | def __init__(self, *args, **kwargs): method log (line 186) | def log(self, msg: str): method verify_screenshot_access (line 196) | def verify_screenshot_access(self): method load_config (line 215) | def load_config(self): method save_config (line 269) | def save_config(self): method on_language (line 289) | def on_language(self, sender): method on_pause (line 295) | def on_pause(self, sender): method on_toggle (line 306) | def on_toggle(self, sender): method on_clear_clipboard (line 311) | def on_clear_clipboard(self, sender): method on_confidence (line 315) | def on_confidence(self, sender): method on_show_last_detection (line 321) | def on_show_last_detection(self, sender): method clear_confidence_state (line 328) | def clear_confidence_state(self): method get_confidence_state (line 334) | def get_confidence_state(self): method set_confidence_state (line 345) | def set_confidence_state(self, confidence): method set_language_menu_state (line 357) | def set_language_menu_state(self, language): method on_start_on_login (line 364) | def on_start_on_login(self, sender): method on_about (line 378) | def on_about(self, sender): method on_quit (line 390) | def on_quit(self, sender): method start_query (line 399) | def start_query(self): method initialize_screenshots (line 420) | def initialize_screenshots(self, notif): method process_screenshot (line 433) | def process_screenshot(self, notif): method process_image (line 471) | def process_image(self, image: Quartz.CIImage) -> str: method query_updated_ (line 528) | def query_updated_(self, notif): method clipboard_watcher (line 550) | def clipboard_watcher(self, sender): method process_clipboard_image (line 572) | def process_clipboard_image(self): method notification (line 591) | def notification(self, title, subtitle, message): function serviceSelector (line 597) | def serviceSelector(fn): function ErrorValue (line 602) | def ErrorValue(e): class ServiceProvider (line 608) | class ServiceProvider(NSObject): method initWithApp_ (line 616) | def initWithApp_(self, app: Textinator): method detectTextInImage_userData_error_ (line 622) | def detectTextInImage_userData_error_( FILE: src/utils.py function verify_directory_access (line 27) | def verify_directory_access(path: str) -> str | None: function get_screenshot_location (line 49) | def get_screenshot_location() -> str: function verify_screenshot_access (line 79) | def verify_screenshot_access() -> str | None: function get_mac_os_version (line 95) | def get_mac_os_version() -> Tuple[str, str, str]: function get_app_path (line 119) | def get_app_path() -> str: FILE: tests/conftest.py function click_menu_item (line 22) | def click_menu_item(menu_item: str, sub_menu_item: t.Optional[str] = Non... function click_window_button (line 64) | def click_window_button(window: int, button: int) -> bool: function process_is_running (line 93) | def process_is_running(process_name: str) -> bool: function copy_to_desktop (line 109) | def copy_to_desktop(filepath): function mark_screenshot (line 119) | def mark_screenshot(filepath: t.Union[str, pathlib.Path]) -> bool: function pb (line 136) | def pb(): function app_support_dir (line 141) | def app_support_dir() -> pathlib.Path: function log_file (line 147) | def log_file() -> TextIOWrapper: function backup_log (line 156) | def backup_log(): function restore_log (line 163) | def restore_log(): function backup_plist (line 170) | def backup_plist(): function restore_plist (line 177) | def restore_plist(): function setup_teardown (line 185) | def setup_teardown(): function suspend_capture (line 217) | def suspend_capture(pytestconfig): FILE: tests/loginitems.py function add_login_item (line 17) | def add_login_item(app_name: str, app_path: str, hidden: bool = False): function remove_login_item (line 26) | def remove_login_item(app_name: str): function list_login_items (line 32) | def list_login_items() -> List[str]: FILE: tests/pasteboard.py class PasteboardError (line 30) | class PasteboardError(Exception): class PasteboardTypeError (line 36) | class PasteboardTypeError(PasteboardError): class Pasteboard (line 42) | class Pasteboard: method __init__ (line 45) | def __init__(self): method copy (line 49) | def copy(self, text): method paste (line 57) | def paste(self): method append (line 64) | def append(self, text: str): method clear (line 73) | def clear(self): method copy_image (line 78) | def copy_image(self, filename: t.Union[str, os.PathLike], format: str): method paste_image (line 89) | def paste_image( method set_text (line 109) | def set_text(self, text: str): method get_text (line 119) | def get_text(self) -> str: method get_image (line 126) | def get_image( method set_image (line 155) | def set_image(self, filename: t.Union[str, os.PathLike], format: str): method get_image_data (line 167) | def get_image_data(self, format: str) -> NSData: method set_image_data (line 186) | def set_image_data(self, image_data: NSData, format: str): method set_text_and_image (line 203) | def set_text_and_image( method set_text_and_image_data (line 218) | def set_text_and_image_data(self, text: str, image_data: NSData, forma... method has_changed (line 232) | def has_changed(self) -> bool: method has_image (line 242) | def has_image(self, format: t.Optional[str] = None) -> bool: method has_text (line 265) | def has_text(self) -> bool: method _has_png (line 272) | def _has_png(self) -> bool: method _has_tiff (line 279) | def _has_tiff(self) -> bool: FILE: tests/test_textinator.py function test_screenshot_basic (line 24) | def test_screenshot_basic(pb): function test_screenshot_linebreak (line 35) | def test_screenshot_linebreak(pb): function test_screenshot_no_notification (line 46) | def test_screenshot_no_notification(pb): function test_screenshot_append (line 60) | def test_screenshot_append(pb): function test_screenshot_qrcode (line 75) | def test_screenshot_qrcode(pb): function test_screenshot_qrcode_with_text (line 89) | def test_screenshot_qrcode_with_text(pb): function test_screenshot_qrcode_with_text_no_detect (line 102) | def test_screenshot_qrcode_with_text_no_detect(pb): function test_pause (line 113) | def test_pause(pb): function test_confidence (line 133) | def test_confidence(pb): function test_clipboard_basic (line 147) | def test_clipboard_basic(pb): function test_clipboard_text_and_image (line 155) | def test_clipboard_text_and_image(pb): function test_clipboard_no_clipboard (line 165) | def test_clipboard_no_clipboard(pb): function test_clear_clipboard (line 175) | def test_clear_clipboard(pb): function test_confirm_clipboard_changes_yes (line 182) | def test_confirm_clipboard_changes_yes(pb): function test_confirm_clipboard_changes_no (line 197) | def test_confirm_clipboard_changes_no(pb): function test_show_last_text_detection (line 213) | def test_show_last_text_detection(pb): function test_enable_start_on_login (line 228) | def test_enable_start_on_login(): function test_about (line 238) | def test_about(): function test_quit (line 244) | def test_quit():