GDK: gdk_setting_get information needed

Hy

I want to catch the double-click event of a Gtk Widget. It works with
g_signal_connect (G_OBJECT (box), "button_press_event",(GCallback)dclk_handler, this);
and
event->type==GDK_2BUTTON_PRESS

but for each double-click 2 single-click events are dispatched also.
So i guess i have to waite after each single-click, to see if it is part of a double click.

The reference says the double-click time of the system can be retrived with
gboolean gdk_setting_get (const gchar *name, GValue *value);

but it is noted nowere which values are allowed for "name"
(it says "FIXME needs a list of valid settings here, or a link to more information")

Does anybody know anything?

Thk a lot
I'd check the GTK forums or documentation.
Topic archived. No new replies allowed.