From dc4c4f08c716c6275979904d837e3cded05f0565 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Tue, 9 Apr 2019 16:04:06 +0300 Subject: window-list: Show window previews on hover When hovering on taskbar entries, display a popup with a thumbnail of the associated window. Popup goes away when leaving the button. If a window has not been mapped since the applet started, it will not display a thumbnail. Once mapped, however, it will use its latest available thumbnail as preview, even when minimized. Thumbnails can be turned on or off, and the size can be changed in the applet preferences dialog. --- applets/wncklet/window-list.ui | 144 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 138 insertions(+), 6 deletions(-) (limited to 'applets/wncklet/window-list.ui') diff --git a/applets/wncklet/window-list.ui b/applets/wncklet/window-list.ui index 851a72a0..174285a0 100644 --- a/applets/wncklet/window-list.ui +++ b/applets/wncklet/window-list.ui @@ -1,5 +1,5 @@ - + @@ -17,6 +17,9 @@ 5 Window List Preferences normal + + + True @@ -157,6 +160,138 @@ 0 + + + True + False + vertical + 6 + + + True + False + Window Thumbnails + 0 + + + + + + False + False + 0 + + + + + True + False + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 12 + + + True + False + vertical + 6 + + + Show _thumbnails on hover + True + True + False + True + True + + + False + False + 0 + + + + + _Hide thumbnails on hover + True + True + False + True + True + show_thumbnails_radio + + + False + False + 1 + + + + + + + False + True + 1 + + + + + True + False + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 12 + + + True + False + 6 + + + True + False + Thumbnail width in pixels. Window aspect ratio will be maintained. + Thumbnail width: + + + False + False + 0 + + + + + True + True + 3 + False + px + number + 1 + True + 200 + + + False + False + 1 + + + + + + + False + True + 2 + + + + + False + True + 1 + + True @@ -251,7 +386,7 @@ False True - 2 + 3 @@ -332,7 +467,7 @@ False True - 3 + 4 @@ -348,8 +483,5 @@ help_button done_button - - - -- cgit v1.2.1