aboutsummaryrefslogtreecommitdiff
path: root/qapi/ui.json
diff options
context:
space:
mode:
authorFelix xq Queißner <xq@random-projects.net>2022-07-12 15:37:53 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-07-19 14:36:42 +0200
commitc34a933802071aae5288e0aa3792756312e3da34 (patch)
tree64b5cd3cbc92dac07d13c6e425cb2efe2778e4e8 /qapi/ui.json
parent04fcb215b8e61042ecd592f4920fe96faf3de36b (diff)
downloadqemu-c34a933802071aae5288e0aa3792756312e3da34.zip
qemu-c34a933802071aae5288e0aa3792756312e3da34.tar.gz
qemu-c34a933802071aae5288e0aa3792756312e3da34.tar.bz2
gtk: Add show_tabs=on|off command line option.
The patch adds "show_tabs" command line option for GTK ui similar to "grab_on_hover". This option allows tabbed view mode to not have to be enabled by hand at each start of the VM. Signed-off-by: Felix "xq" Queißner <xq@random-projects.net> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220712133753.18937-1-xq@random-projects.net> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi/ui.json')
-rw-r--r--qapi/ui.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/qapi/ui.json b/qapi/ui.json
index 413371d..cf58ab4 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -1195,12 +1195,17 @@
# assuming the guest will resize the display to match
# the window size then. Otherwise it defaults to "off".
# Since 3.1
+# @show-tabs: Display the tab bar for switching between the various graphical
+# interfaces (e.g. VGA and virtual console character devices)
+# by default.
+# Since 7.1
#
# Since: 2.12
##
{ 'struct' : 'DisplayGTK',
'data' : { '*grab-on-hover' : 'bool',
- '*zoom-to-fit' : 'bool' } }
+ '*zoom-to-fit' : 'bool',
+ '*show-tabs' : 'bool' } }
##
# @DisplayEGLHeadless: