Event propagation in with event controllers

2018-11-02 Thread Eric Williams via gtk-app-devel-list
the "old" way of doing things (connecting motion/enter/leave-notify to the widget itself) works fine. Thanks, -- Eric Williams Software Engineer - Eclipse/SWT Team Red Hat ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome

Re: Trouble with signal ID lookup for "popped-up"

2018-01-10 Thread Eric Williams
Hello, On 01/09/2018 05:58 PM, '-' wrote: Hi, Is GtkMenu a dynamic class? Might need to demand-create it by increasing its reference count, and keep the reference alive, until you no longer need the signal ID. Otherwise ID can be different, or not exist, at the time you try actually using it, a

Trouble with signal ID lookup for "popped-up"

2018-01-09 Thread Eric Williams
Hello, I am trying to lookup the signal ID for "popped-up" (GtkMenu). However the ID returned is always 0. Here is the code I am using: g_signal_lookup ("popped-up", GTK_TYPE_WIDGET) I tried using GTK_TYPE_MENU instead, but then I get the error: unable to lookup signal "popped-up" of unloaded

Re: gtk_rgba_parse retunr wrong color

2017-06-23 Thread Eric Williams
e color should be green but returns blue... Thanks The order of the parameters to cairo_set_source_rgba() are wrong. It should be: cr, red, green, blue, alpha. See: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-set-source-rgba -- Eric Williams Associate Software Engineer - Ec