I am trying to add hover effect using css to a Gtk.Box but without any luck.
I am using fedora 36, with xfwm.
$ xfwm4 --version
This is xfwm4 version 4.14.2 (revision bb38fd909) for Xfce 4.14
Released uynder the terms of GNU General Public License.
Compiled against GTK+-3.24.28, using GTK+-3.24.28.
Are the version that I use support hover effect? or there something I need to add?
Pointer tracking in GTK3 depends on having an input window associated to a widget. GtkBox, like most containers, does not have a window, so you cannot track if the pointer entered the widget or left it.
At most, you can pack the box inside an EventBox, and then use that to deal with crossing events.