Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-13 Thread Richard Shann
On Wed, 2017-05-10 at 18:34 +0100, Emmanuele Bassi wrote: > On 2017-05-08 at 13:57, Richard Shann wrote: > > On Mon, 2017-05-08 at 12:28 +0100, Emmanuele Bassi wrote: > > > > > But I will have to wait for > > > > Debian to catch up with Gtk 3.20 before I can seriously look at this. > > > > > >

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-10 Thread Emmanuele Bassi
On 2017-05-08 at 13:57, Richard Shann wrote: > On Mon, 2017-05-08 at 12:28 +0100, Emmanuele Bassi wrote: > > > But I will have to wait for > > > Debian to catch up with Gtk 3.20 before I can seriously look at this. > > > > And this is why I suggest you use a CSS class, instead; > > Is that

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-08 Thread Richard Shann
On Mon, 2017-05-08 at 12:28 +0100, Emmanuele Bassi wrote: > On 8 May 2017 at 12:04, Richard Shann wrote: > > >> But I'd strongly recommend you use CSS classes instead of styling the > >> bare element name. > >> > >> CSS selectors in GTK+ work exactly like the HTML

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-08 Thread Emmanuele Bassi
On 8 May 2017 at 12:04, Richard Shann wrote: >> But I'd strongly recommend you use CSS classes instead of styling the >> bare element name. >> >> CSS selectors in GTK+ work exactly like the HTML counterpart; you can >> style "div" or "p" directly, but it's often much

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-08 Thread Richard Shann
On Mon, 2017-05-08 at 08:42 +0100, Emmanuele Bassi wrote: > On 7 May 2017 at 20:57, Richard Shann wrote: > > On Sun, 2017-05-07 at 19:52 +, Emmanuele Bassi wrote: > >> > >> On Sun, 7 May 2017 at 19:53, Richard Shann > >> wrote: > >> > >>

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-08 Thread Emmanuele Bassi
On 7 May 2017 at 20:57, Richard Shann wrote: > On Sun, 2017-05-07 at 19:52 +, Emmanuele Bassi wrote: >> >> On Sun, 7 May 2017 at 19:53, Richard Shann >> wrote: >> >> On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote: >>

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-07 Thread Richard Shann
On Sun, 2017-05-07 at 19:52 +, Emmanuele Bassi wrote: > > On Sun, 7 May 2017 at 19:53, Richard Shann > wrote: > > On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote: > > On 7 May 2017 at 16:52, Richard Shann >

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-07 Thread Emmanuele Bassi
On Sun, 7 May 2017 at 19:53, Richard Shann wrote: > On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote: > > On 7 May 2017 at 16:52, Richard Shann wrote: > > > I have a test program that pops up a label with a customized > > background > >

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-07 Thread Richard Shann
On Sun, 2017-05-07 at 17:54 +0100, Emmanuele Bassi wrote: > On 7 May 2017 at 16:52, Richard Shann wrote: > > I have a test program that pops up a label with a customized > background > > and foreground color. This works in 3.12 using the syntax > > > > "GtkLabel

Re: How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-07 Thread Emmanuele Bassi
On 7 May 2017 at 16:52, Richard Shann wrote: > I have a test program that pops up a label with a customized background > and foreground color. This works in 3.12 using the syntax > > "GtkLabel {background-color: #00;}" > > and > > "GtkLabel {color: #FF00FF;}" > > but

How to find CSS style syntax changes between Gtk 3.12 and Gtk 3.22

2017-05-07 Thread Richard Shann
I have a test program that pops up a label with a customized background and foreground color. This works in 3.12 using the syntax "GtkLabel {background-color: #00;}" and "GtkLabel {color: #FF00FF;}" but fails in 3.22 How can I track changes needed to CSS syntax from one version to