Re: GtkButton and double clicks



On Mon, 2004-09-20 at 06:02, Sven Neumann wrote:
> Hi,
> 
> Russell Shaw <rjshaw netspace net au> writes:
> 
> 
> > It would be useful to have a "double-clicked" signal built into
> > relevant widgets, and have the double-click time interval settable
> > from somewhere such as .gtkrc or with something like
> > gtk_widget_set_doubleclick_interval().
> 
> This does (more or less) exist already (for a long time actually) as
> GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS events. There is also a way to
> configure the double click behaviour:
> 
>  gdk_display_set_double_click_time()
>  gdk_display_set_double_click_distance()

These functions aren't meant to be set by the application. If you
are running GNOME you can set it through the mouse capplet, otherwise
you can set:

 gtk-double-click-time = <msec>

in your ~./.gtkrc.

Regards,
					Owen


Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]