Ticket #1159 (closed enhancement: wontfix)
Aditional data in EventM
| Reported by: | guest | Owned by: | axel |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.11.0 |
| Component: | general (Gtk+, Glib) | Version: | 0.9.13 |
| Keywords: | Cc: |
Description
There's an 'eventCoordinates' available inside an EventM that returns a point as (Double,Double). Using points as (Double,Double) is also a convention in Cairo. When answering to expose events, as well as mouse events, we usually have to ask 'widgetGetSize', which returns (Int,Int), and the conversion to (Double,Double) usually make nice code look dirty. What if we had an 'eventWindowSize' with a (Double,Double) return?
Change History
Note: See
TracTickets for help on using
tickets.