mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* touching publish.yml * Nuked ContextMenuv2 - use PopverMenu instead * WIP context menu stuff * More robust dispose * Removed ConextMenu; use PopoverMenu instead * Code cleanup * Code cleanup2
This commit is contained in:
@@ -470,6 +470,24 @@ In v1, only Views derived from `Toplevel` could be overlapped. In v2, any view c
|
||||
|
||||
v1 conflated the concepts of
|
||||
|
||||
## `ContextMenu` replaced by `PopoverMenu`
|
||||
|
||||
`PopoverMenu` replaces `ContrextMenu`.
|
||||
|
||||
## `MenuItem` is now based on `Shortcut`
|
||||
|
||||
|
||||
```diff
|
||||
new (
|
||||
Strings.charMapCopyGlyph,
|
||||
"",
|
||||
CopyGlyph,
|
||||
- null,
|
||||
- null,
|
||||
(KeyCode)Key.G.WithCtrl
|
||||
),
|
||||
```
|
||||
|
||||
## Others...
|
||||
|
||||
* `View` and all subclasses support `IDisposable` and must be disposed (by calling `view.Dispose ()`) by whatever code owns the instance when the instance is longer needed.
|
||||
|
||||
Reference in New Issue
Block a user