diff options
author | Bryce Mills <brycemills@proton.me> | 2022-10-11 13:58:21 +0000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-10-12 14:33:54 +0200 |
commit | dbccb1a5a1b5b14b78ea6b27bb562e8cd0a8f317 (patch) | |
tree | ceced8eac5bb8759d602e449064f24f2713bfc64 /qemu-options.hx | |
parent | 82a628f887409f8a863482627c6d6ea6f208d3b2 (diff) | |
download | qemu-dbccb1a5a1b5b14b78ea6b27bb562e8cd0a8f317.zip qemu-dbccb1a5a1b5b14b78ea6b27bb562e8cd0a8f317.tar.gz qemu-dbccb1a5a1b5b14b78ea6b27bb562e8cd0a8f317.tar.bz2 |
gtk: Add show_menubar=on|off command line option.
The patch adds "show_menubar" command line option for GTK UI similar to
"show_tabs". This option allows to hide menu bar initially, it still can
be toggled by shortcut and other shortcuts still work.
Signed-off-by: Bryce Mills <brycemills@proton.me>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <NWO_zx1CT5Aj9vAXsRlqBppXd63gcKwL9V1qM1Meh36M_9tCw-EsCnfpvONXhHjmtKIUoSuCy9OO6cHS7M8b0oHBOCZG6f1jZ4Q2tqgI2Qo=@proton.me>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index 95b998a..bb0979b 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1969,6 +1969,7 @@ DEF("display", HAS_ARG, QEMU_OPTION_display, #if defined(CONFIG_GTK) "-display gtk[,full-screen=on|off][,gl=on|off][,grab-on-hover=on|off]\n" " [,show-tabs=on|off][,show-cursor=on|off][,window-close=on|off]\n" + " [,show-menubar=on|off]\n" #endif #if defined(CONFIG_VNC) "-display vnc=<display>[,<optargs>]\n" @@ -2061,6 +2062,8 @@ SRST ``window-close=on|off`` : Allow to quit qemu with window close button + ``show-menubar=on|off`` : Display the main window menubar, defaults to "on" + ``curses[,charset=<encoding>]`` Display video output via curses. For graphics device models which support a text mode, QEMU can display this output using a |