From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-09-04 01:57:39
|
https://bugzilla.gnome.org/show_bug.cgi?id=628748 gnome-perl | Gtk2 | unspecified Summary: GtkContainer find_child_property() and list_child_properties() Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME target: --- GNOME version: --- Created an attachment (id=169460) View: https://bugzilla.gnome.org/attachment.cgi?id=169460 Review: https://bugzilla.gnome.org/review?bug=628748&attachment=169460 diff incl test case This is a few lines to wrap gtk_container_class_find_child_property() and gtk_container_class_list_child_properties(). It's adapted from the corresponding GObject code and a bit of sharing with it might be possible in the future. I've got it setup to croak on a non-container, which is unlike the GObject bit giving empty/undef. As long as an @ISA is sensible then I suppose the code isn't reached for a non-object/non-container anyway, so it probably doesn't matter much what it does for that case. Starting strictly with a croak could always be loosened in the future. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |