Re: GtkScale widget mouse events on thumb



I thought of recomputing the thumb shape and position based on the
style information and then comparing to the event coordinates.

Christophe.



On 2/5/07, Tristan Van Berkom <tvb gnome org> wrote:
On Wed, 2007-01-31 at 20:54 +0100, Christophe Dehais wrote:
> Hi list!
>
> Does someone know if it is possible to receive (or filter) button
> pressed events received on a GtkScale thumb only ?

If you are implementing a GtkScale derivated object then it should
be quite clear to make the distinction between the thumb and
the trough.

Cheers,
               -Tristan






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