Re: [gtkmm] canvas event hierarchy
- From: Nabil Sayegh <gtkmm e-trolley de>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] canvas event hierarchy
- Date: 07 Apr 2003 17:20:00 +0200
Am Mon, 2003-04-07 um 16.01 schrieb Paul Davis:
> no, its not a full event handling system. the code you have to write
> is just part of the motion_notify_event and button_press_event
> handlers (which you have to write anyway). my code has a core function
> that returns the relevant object given a certain coordinate. in both
Ok, that sounds reasonable.
> of the event handlers, i call this function, and then proceed with
> various actions depending on the item that the event is in. my stuff
> is dragging visual representations of regions of audio files around:
> they can be dropped in some places, but not in others. i also have
> "sticky" motion, so that when you cross an area in which dropping is
> not possible, the item stays where it is. lots more too. just write
> the item lookup code, and you'll be all set.
Thanks a lot.
cu
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : www.e-trolley.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]