[Gtk-sharp-list] How to show Popup in TreeView using Shift-F10?
MarLOne
InfoSeeker002 at gmail.com
Thu May 29 01:11:27 UTC 2014
Hi,
With no suggested way of fixing my problem being offered, I experimented and
here is the way I have got it working. Remember ShowContextMenu() was also
used by intercepting the Right Mouse Click.
Here is the modified version of OnTreeview1PopupMenu()
protected void OnTreeview1PopupMenu (object o, PopupMenuArgs args)
{
Debug.WriteLine( "TreeView Popup Menu click" );
Application.Invoke( delegate {
ShowContextMenu();
}
}
This is akin to PostMessage() in WinForm and Win32SDK in Windows
programming.
Any comments?
MarL
--
View this message in context: http://mono.1490590.n4.nabble.com/How-to-show-Popup-in-TreeView-using-Shift-F10-tp4662938p4662953.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list
mailing list