wxMaxima
Loading...
Searching...
No Matches
WorksheetContextMenu.h
Go to the documentation of this file.
1// -*- mode: c++; c-file-style: "linux"; c-basic-offset: 2; indent-tabs-mode: nil -*-
2//
3// Copyright (C) 2004-2015 Andrej Vodopivec <andrej.vodopivec@gmail.com>
4// (C) 2012-2013 Doug Ilijev <doug.ilijev@gmail.com>
5// (C) 2015-2026 Gunter Königsmann <wxMaxima@physikbuch.de>
6//
7// This program is free software; you can redistribute it and/or modify
8// it under the terms of the GNU General Public License as published by
9// the Free Software Foundation; either version 2 of the License, or
10// (at your option) any later version.
11//
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16//
17//
18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21//
22// SPDX-License-Identifier: GPL-2.0+
23
35#ifndef WORKSHEETCONTEXTMENU_H
36#define WORKSHEETCONTEXTMENU_H
37
38class Worksheet;
39class wxMenu;
40
51void PopulateWorksheetContextMenu(Worksheet &worksheet, wxMenu &popupMenu,
52 int downx, int downy, bool clickInSelection);
53
54#endif // WORKSHEETCONTEXTMENU_H
void PopulateWorksheetContextMenu(Worksheet &worksheet, wxMenu &popupMenu, int downx, int downy, bool clickInSelection)
Appends the context-menu items matching the worksheet's current state.
Definition: WorksheetContextMenu.cpp:40
The canvas that contains the spreadsheet the whole program is about.
Definition: Worksheet.h:113