Logo
Explore Help
Sign In
itdominator/Python-With-Gtk-Template
Template
1
0
Fork 0
You've already forked Python-With-Gtk-Template
Code Issues Pull Requests Projects Releases Wiki Activity
Files
a8ad015e05a7d099b0bea99237488b63d696c77a
Python-With-Gtk-Template/plugins/code/commands/split_pane/focus_right_sibling.py

22 lines
332 B
Python
Raw Normal View History

Added more commands to code; refactored container classes; general cleanup
2025-12-15 22:50:28 -06:00
# Python imports
# Lib imports
import gi
gi.require_version('GtkSource', '4')
from gi.repository import GtkSource
# Application imports
def execute(
refactor(command-system): standardize command execution with *args/**kwargs - Refactor exec_with_args to use *args/**kwargs instead of tuple arguments - Add *args/**kwargs to all command execute functions for consistency - Support multiple key bindings per command in registration - Add character-based key binding support via get_char() in KeyMapper - Make execute_plugin async and use asyncio.run for plugin execution - Use MIME type from Gio content_type instead of language for ftype
2026-02-24 22:30:07 -06:00
view: GtkSource.View,
*args,
**kwargs
Added more commands to code; refactored container classes; general cleanup
2025-12-15 22:50:28 -06:00
):
Full 'code' widget refactor to utilize controllers and cross controller event signaling
2026-01-11 17:48:35 -06:00
logger.debug("Command: Focus Right Sibling")
Code Widget refactor; observable refactor
2025-12-28 19:53:05 -06:00
if not view.sibling_right: return
view.sibling_right.grab_focus()
Reference in New Issue Copy Permalink
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API