Re: Disabling right-click behaviour of SpinButton
- From: Daniel Boles <dboles src gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Disabling right-click behaviour of SpinButton
- Date: Thu, 20 Jun 2019 20:50:04 +0100
not sure of the finer details in GTK 2, but you can certainly try connecting a signal handler to button presses, before the default handler, then do nothing and return TRUE if it's a right-click to disable this feature (which i didn't even know about to be honest...)
that would knock out the context menu in the entry region though. i don't know if there'll be a way to figure out where the click landed and only do it if it was on theĀ + or - button.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]