Re: Combobox disable item

2017-06-23 Thread Eric Cashon via gtk-app-devel-list
Add an extra column to your list and use that to set your "sensitive" property for the row. Eric /* gcc -Wall combo_filter2.c -o combo_filter2 `pkg-config --cflags --libs gtk+-3.0` Tested on GTK3.18 and Ubuntu16.04 */ #include static void combo2_changed(GtkComboBox *combo2, gpoint

Re: Header bar: Keyboard accessibility?

2017-06-23 Thread Michael Torrie
On 06/23/2017 12:35 PM, Yuri Khan wrote: > On Sat, Jun 24, 2017 at 1:21 AM, Michael Torrie wrote: > >>> I’m on 3.18, and here’s my test application/mockup: >>> >>> http://yurikhan.github.io/images/20170623-gtk-header-bar.png >> >> Oh I see. Yes th

Re: Header bar: Keyboard accessibility?

2017-06-23 Thread Yuri Khan
On Sat, Jun 24, 2017 at 1:21 AM, Michael Torrie wrote: >> I’m on 3.18, and here’s my test application/mockup: >> >> http://yurikhan.github.io/images/20170623-gtk-header-bar.png > > Oh I see. Yes that's different. The application menu usually refers (at > least i

Re: Header bar: Keyboard accessibility?

2017-06-23 Thread Michael Torrie
On 06/23/2017 11:15 AM, Yuri Khan wrote: > What GTK3 version are you on? Could you make a screenshot so I could > see we’re talking about the same thing? Gtk 3.20 here. > > I’m on 3.18, and here’s my test application/mockup: > > http://yurikhan.github.io/images/20170623-gtk-

Re: gtk_rgba_parse retunr wrong color

2017-06-23 Thread Eric Williams
Hello, On 06/23/2017 10:54 AM, Rúben Rodrigues wrote: Hi, Someone knows why gdk_rgba_parse returns worng color? I have this gdk_rgba_parse(&front_color,"rgb(8,178,23)"); cairo_set_source_rgba(cr, front_color.red, front_color.blue, front_color.green, front_color.alpha); The color should be

gtk_rgba_parse retunr wrong color

2017-06-23 Thread Rúben Rodrigues
Hi, Someone knows why gdk_rgba_parse returns worng color? I have this gdk_rgba_parse(&front_color,"rgb(8,178,23)"); cairo_set_source_rgba(cr, front_color.red, front_color.blue, front_color.green, front_color.alpha); The color should be green but returns blue... Thanks --- Este e-mail foi

Re: Header bar: Keyboard accessibility?

2017-06-23 Thread Yuri Khan
ng different than your app? What GTK3 version are you on? Could you make a screenshot so I could see we’re talking about the same thing? I’m on 3.18, and here’s my test application/mockup: http://yurikhan.github.io/images/20170623-gtk-header-bar.png In my testing, F10 focuses the first focusable co

Creating custom widget linker error

2017-06-23 Thread Rúben Rodrigues
Hi, I'm trying to create a custom widget like in this example: http://djcj.org/gtk/ The example works, but when i try to make something similar i get a linker error, and don't understand why! Error: make all Building target: ConsolaGrafica Invoking: Cross GCC Linker arm-linux-gnueabihf-gcc -L

Re: Combobox disable item

2017-06-23 Thread Mike Martin
I am trying to make entries "greyed-out" ie: disabled, rather than hidden eg the Combobox model contains ('Scandvb','DVB module','DVDb5-Scan') There is another comboox with a configuration file chosen I want to be able to make one or more of the entries unselectable if prerequites are not availa