public void Popup()
{
Popup(null);
}
UserMenu::Popup ( Gtk.Widget widget ) : void |
private void userList_ButtonPressEvent(object o, Gtk.ButtonPressEventArgs args) { TreePath path; if (userList.GetPathAtPos((int)args.Event.X, (int)args.Event.Y, out path)) { userList.Selection.SelectPath(path); } else { userList.Selection.UnselectAll(); } var node = GetSelectedNode(); if (map != null) { map.SelectNode(node); } if (args.Event.Button == 3) { if (node != null) { UserMenu menu = new UserMenu(node.Network, node); menu.Popup(); } } }