Re: disabling mouse scroll on GtkComboBox and spin buttons
- From: jcupitt gmail com
- Cc: gtk-app <gtk-app-devel-list gnome org>
- Subject: Re: disabling mouse scroll on GtkComboBox and spin buttons
- Date: Sun, 22 May 2016 11:52:20 +0100
On 22 May 2016 at 10:57, Florian Pelz <pelzflorian pelzflorian de> wrote:
On 05/22/2016 11:54 AM, jcupitt gmail com wrote:
x = gtk_combo_box_new_text();
g_signal_connect(x, "scroll-event", G_CALLBACK(true_cb), NULL);
...
Ah yes, this is a much better way.
I'm not sure it'd work for spin buttons though :-(
Something like your event masks, Florian, would probably be necessary for that.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]