Thursday, 28 July 2022

GTK4: Toolbar popups via GtkPopovers

 

Bootstrapped using GtkPopovers to implement popups from LibreOffice's main menubars for GTK4.

Thursday, 19 May 2022

Dark Style Preference with GTK

Added something to track the org.freedesktop.appearance.color-scheme property as used by the GNOME 42 Dark Style Preference setting. Screencast recorded with the new iteration of GNOME's screen built-in recorder which is quite snazzy.

Sunday, 17 April 2022

GTK: Calling attention to a widget in LibreOffice with CSS animation


The motivation here is Use attention-attracting cue when pressing Ctrl+F while in the find bar and do "something" to call attention to the widget. I thought I'd try some of the built-in GTK CSS support. So here we animate the widget to reduce its left and right margins inwards a little and its opacity to 50% before returning to its original properties.

Nothing is ever simple, so in order to repeat the animation (the second time ctrl+f is pressed while the widget has focus) we have to duplicate the animation and use the other copy when the previous copy was last run.

Tuesday, 12 April 2022

GTK4: ComboBox Cell Renderers

 

Custom Gtk Cell Renderer in GTK4 GtkComboBox in LibreOffice now working as hoped for.

Friday, 18 February 2022

GTK4: Using GtkMediaStream in LibreOffice

 



Today's GTK4 version of LibreOffice (towards 7.4) using the first cut of my efforts to use GtkMediaStream + GtkPicture for video playback. Works a lot better than this video of a video suggests ;-)

Friday, 10 December 2021

gtk3: calc autofilter as GtkPopover

 

 

How calc's autofilter looks today under gtk3 + wayland in trunk towards LibreOffice 7.4

Thursday, 28 October 2021

GTK4: Toolbars in Sidebar

 

GTK4 port of Libreoffice now supports the "widebutton" Toolbar MenuButtons that show a preview of the selected color.