[MonoDevelop] DrawingArea does not trigger mouse events.

longshot bob at flapstar.com
Sun Jun 9 20:10:28 UTC 2013


I am running MonoDevelop in Ubuntu with KDE.
I went from Windows/Visual studio to Linux/MonoDevelop and am converting my
project.

I have problems getting mouse working on my DrawingArea.
I created it in the IDE and i added events in the signals tab of my
DrawingArea just like i did the ExposeEvent.
The ExposeEvent does work, the mouse events don't.

Is this some sort of bug?
Is there workaround?

These are the events, all are in the signals tab of my DrawingArea, none
ever get triggered.

	protected void OnMainChartDragMotion (object o, Gtk.DragMotionArgs args)
	{
		Console.WriteLine("OnMainChartDragMotion");
	}

	protected void OnMainChartButtonPressEvent (object o,
Gtk.ButtonPressEventArgs args)
	{
		Console.WriteLine("OnMainChartButtonPressEvent");
	}

	protected void OnMainChartMotionNotifyEvent (object o,
Gtk.MotionNotifyEventArgs args)
	{
		Console.WriteLine("OnMainChartMotionNotifyEvent");
	}

	protected void OnMainChartKeyPressEvent (object o, Gtk.KeyPressEventArgs
args)
	{
		Console.WriteLine("OnMainChartKeyPressEvent");
	}

	protected void OnMainChartDragDataReceived (object o,
Gtk.DragDataReceivedArgs args)
	{
		Console.WriteLine("OnMainChartDragDataReceived");
	}

	protected void OnMainChartButtonReleaseEvent (object o,
Gtk.ButtonReleaseEventArgs args)
	{
		Console.WriteLine("OnMainChartButtonReleaseEvent");
	}

	protected void OnIndicatorChartButtonPressEvent (object o,
Gtk.ButtonPressEventArgs args)
	{
		Console.WriteLine("OnIndicatorChartButtonPressEvent");
	}




--
View this message in context: http://mono.1490590.n4.nabble.com/DrawingArea-does-not-trigger-mouse-events-tp4659888.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list