https://bugs.documentfoundation.org/show_bug.cgi?id=168409

--- Comment #9 from Jean-Pierre Ledure <[email protected]> ---
> The demand is simply: which are the (push)buttons in a toolbar, their
> coordinates and the commands associated with a click ?
> Is this stored elsewhere in a UNO instance ?

Suggestion for a workaround
---------------------------

By reworking my own code, I can manage the list of buttons with the
com.sun.star.comp.framework.LayoutManager and derivatives.

However I could not find a way to identify the coordinates of the pushed
button. OTOH a click on a button currently does not pass any event structure
(simply a zero integer value) to the invoked routine.
Would it be feasible to pass a structure identical or similar to a
com.sun.star.awt.MouseEvent ? In particular, containing the X and Y coordinates
of the mouse click vs. the parent toolbar position ?

What do you think ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to