Change shape of GtkScale with CSS for GTK < 3.20 and > 3.20

2018-05-02 Thread Cyril Richard
Hi, I am trying to change the shape of a GTKScale. To do it I use a CSS sheet. The following CSS code gives something's good, like in attachment. .midtone-scale { background-image: -gtk-gradient(linear, left top, right top, from(black), to(shade(white, 0.95))); padding: 5px; }

How to caught signal from the popup list of a GtkEntryCompletion

2018-04-16 Thread Cyril Richard
, in order to navigate in the completion list with the two arrows and to validate with entry keys. I would like something equivalent to popup-shown from GtkComboBox I guess. In order to know in my function "key-press-event" if the popup is shown or not to deal with it. Cheers, Cyr