From fdb89d9b0744b98dcc8ceacd53fcdd255fbc0b1e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 13 Oct 2021 23:36:58 +0300 Subject: GTK: Support for Xembed protocol via --xembed * This was surprisingly easy to implement as Gtk+ 3 already supports it via GtkPlug. * Allows embedding SciTECO into other Xembed-aware applications. * Unfortunately there are very few generic Xembed hosts. tabbed (https://tools.suckless.org/tabbed/) would be one of them. It could be used to add tabs to SciTECO even on non-tiling window managers: $ tabbed sciteco --xembed * Unfortunately, it does not seem to be possible to use this feature to let SciTECO replace the contents of a terminal window even though many terminal emulators provide $WINDOWID. --- TODO | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 44c8430..ca073c3 100644 --- a/TODO +++ b/TODO @@ -352,8 +352,10 @@ Features: rid of the attached console window. * On Unix/X11, it may be possible to draw the Gtk+ UI into the same window as the current terminal. - Urxvt has $WINDOWID for instance which could be automatically - passed into sciteco by wrapping it in a shell function/alias. + SciTECO now supports Xembed via the --xembed option. + Urxvt and many other terminal emulators have $WINDOWID. + But the two won't work together. Urxvt and XTerm are apparently + not real Xembed hosts. * Currently, you cannot pass UTF-8 parameters to SciTECO macros. This is not critical since we don't support Unicode anyway. Sooner or later however we should use g_win32_get_command_line(). -- cgit v1.2.3