Re: Some queries about 'configurability' of GtkButton.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>In my app, I wanted to be able to have 'multi-function' buttons (a la XFig
>for those old enough to remember this app) : basically, according to the
>mouse button that is pressed to activate the Gtk button, the behaviour would
>not be the same... The problem is that it seems that buttons only react to
>left mouse clicks and to no others.
>
>Then I told myself, 'oh well, you could try Shift-Click or Control-Click'
>then... The problem here is that the event that generates the 'activate'
>signal (basically, a mouse release while in the Button area) is not passed
>to the 'activate' callback. So this does not work either...

use the button_release_event signal of the button widget.

--p
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux