libreofficekit: add a way to invoke getCommandValues()

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 30 November 2022 09:26 UTC

- add a new button to the toolbar to invoke the getCommandValues() LOK API with user-provided command name (and parameters)

- log the result using g_info(), which is visible on the console if gtktiledviewer is started with G_MESSAGES_DEBUG=all

- change some labels to tooltip texts that actually show up on mouse hover so you can understand what button does what

- tweak the icons, so the question mark icon is the getter and the info icon is the setter

Change-Id: If6984d2dde3d669b42aafcc3f58a0ca757ccaaff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143477

2c149dc99833 libreofficekit: add a way to invoke getCommandValues()
.../qa/gtktiledviewer/gtv-main-toolbar.cxx | 1 +
.../qa/gtktiledviewer/gtv-signal-handlers.cxx | 35 ++++++++++++++++++++++
.../qa/gtktiledviewer/gtv-signal-handlers.hxx | 2 ++
libreofficekit/qa/gtktiledviewer/gtv.ui | 20 +++++++++++--
4 files changed, 55 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share