[Gtk-sharp-list] Mouse Button Down Event?

Stifu stifu at free.fr
Wed Oct 13 13:28:51 EDT 2010


I have no GTK# experience, but you can probably apply the same logic as in
WinForms: set a boolean to true on MouseDown, then to false on MouseUp.
Check that boolean to figure out if the user is holding the mouse button.
Then, you might also want to use a Timer, depending on what you want to do.


frychiko wrote:
> 
> I'm new to GTK and Mono / C# development so excuse such a basic question -
> what's the best way to implement a mouse button down event? That is, while
> mouse button is pressed down, continually do some action.
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Mouse-Button-Down-Event-tp2993999p2994089.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list