RE: how to bind the mouse click with the key status?



Sorry, I findout the answer, never mind.

Thanks.

-----Original Message-----
From: gtk-app-devel-list-admin gnome org [mailto:gtk-app-devel-list-admin gnome org] On Behalf Of Tom Liu
Sent:
Friday, December 26, 2003 10:18 AM
To: gtk-app-devel-list gnome org
Subject: how to bind the mouse click with the key status?

 

I want to bind the Ctrl_Mouseclick and Shift_Mouseclick.

How can I do that?

 

Right now I can think is to connect mouse and keypress signal, record the ctrl and shift key status.

 

Is there better way to do this? I check the gtkTreeView code, looks they use a function called
gtk_binding_entry_add_signall,

But the document didn’t say much about this function.

 

Thanks.

 



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