Need a per-subscription callback context parameter
Bug #901692 reported by
Jussi Pakkanen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Geis |
Triaged
|
Wishlist
|
Stephen M. Webb | ||
geis (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Suppose you have an application with an unspecified number of windows, which need e.g. drag gestures. Currently you can only have one function (existing at compile time) that as a callback. Thus the application can not tell which window should receive which gesture unless they maintain their own window id -> window object mapping table. This is cumbersome and extra work for developers.
An alternative is that the user can specify a per-subscription context (void pointer) that they can then extract from the event object, just like the callback parameters in Gtk+ and Qt.
Changed in utouch-geis: | |
status: | New → Triaged |
assignee: | nobody → Stephen M. Webb (bregma) |
importance: | Undecided → High |
Changed in utouch-geis (Ubuntu): | |
importance: | Undecided → Medium |
Changed in utouch-geis: | |
importance: | High → Medium |
Changed in utouch-geis (Ubuntu): | |
status: | New → Triaged |
Changed in utouch-geis: | |
importance: | Medium → Wishlist |
Changed in utouch-geis (Ubuntu): | |
importance: | Medium → Wishlist |
affects: | utouch-geis (Ubuntu) → geis (Ubuntu) |
To post a comment you must log in.