mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 13:20:44 +01:00
Add Window::show_window_menu
Add a method to request a system menu. The implementation is provided only on Windows for now. Co-authored-by: daxpedda <daxpedda@gmail.com> Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
This commit is contained in:
1 parent
0f9b95814e
commit
976023bfc0
10 files changed
+154
-19
No files matched your search
@@ -929,6 +929,9 @@ impl Window {
|
||||
))
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn show_window_menu(&self, _position: Position) {}
|
||||
|
||||
pub fn set_cursor_hittest(&self, _hittest: bool) -> Result<(), error::ExternalError> {
|
||||
Err(error::ExternalError::NotSupported(
|
||||
error::NotSupportedError::new(),
|
||||
|
||||
Reference in new issue
Block a user