Am 09.08.22 um 15:24 schrieb andy pugh:
On Tue, 9 Aug 2022 at 13:39, Hans Unzner <hansunz...@gmail.com> wrote:
Sorry, I don't really got it. What do you mean with 'passing-through a
click on the + or - buttons.'?
Do you want to react only to a click in text/value area but not to a
click on the +/- buttons?
If the user clicks in the text area then I want to bring up the
onscreen keyboard. If they click + or - I want the usual
increment/decrement behaviour controlled by the GTK adjustment in the
usual way.
So, default behaviour for + / - and my special keyboard for the text area.
I thought about the 'focus-in-event' but that is also generated when you
click the +/- button.
I think it's not possible because it is one widget. You could change the
HAL_SpinButton so that it will be assembled of a Gtk.Entry and two
buttons. Then it would be possible I guess but not sure if it's worth
the effort.
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers