[hafqa] [hafqa] [Bug 2195] Request to change type of argument 'id' in HildonBreadCrumbTrail's push methods and signals

From: bugzilla-daemon at lists.maemo.org bugzilla-daemon at lists.maemo.org
Date: Fri Nov 2 22:09:01 EET 2007
https://bugs.maemo.org/show_bug.cgi?id=2195





------- Comment #3 from lauro.neto at openbossa.org  2007-11-02 22:09 GMT+3 -------
Good point.

What about using the Crumb clicked as the second argument and adding a "get_id"
method to it? That way the signal can be handled correctly and in the bindings
we'll just have to override it to convert the id back to python.

That's an approach more consistent with other Gtk+ widgets, like the
GtkTreeView (Rough  comparison). The 'row-activated' signal returns a
GtkTreePath instance and a GtkTreeColumn instance. They can be pointing to a
string or an int, but are a well defined interface that the user can use to
access his data later.

AFAIR, the only common case that Gtk+ uses gpointer is for user_data.


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list