Re: Disabling right-click behaviour of SpinButton

Daniel Boles via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAKChMKNPJQ1cyzPZNs9c_xdMv8fLxmUWs9sY9Qc6=a-A1hOu8g@mail.gmail.com>
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.

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.