doubleClickItem
doubleClickItem(objectOrName, itemText, x, y)
doubleClickItem(objectOrName, itemText, x, y, modifierState, button)
This function double-clicks the mouse on the item with the specified itemText
inside the given objectOrName
view widget. The double-click is made at position x
and y
(in the itemText
item's coordinates). The button
and modifierState
parameters are optional; if they are not specified, the double-click is made with the left mouse button and using a null keyboard modifier state. If the button
and modifierState
are given, the double-click is made with the specified button and keyboard modifier state.
The supported view widgets are List, Combo, and ToolBar for the SWT toolkit, and JList, JTable, JTree, List, and Choice for the AWT/Swing toolkit.
See Java Convenience Function Parameters for which values are valid for the modifierState
and for the button
arguments.
© 2024 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.