Callback data on GtkActionEntry and friends?

Is there any reason that GtkActionEntry, GtkRadioActionEntry, and GtkToggleActionEntry do not include user_data to accompany the callback members?

The lack of such a member means i must completely reimplement gtk_action_group_add_actions() and friends in gtk2-perl. Not the end of the world, but it seems silly to duplicate that effort (and maintenance) if there's a way around it.

(By the way, i realize that a user_data variable gets passed to add_actions; however, for using non-C callbacks, i need a place to store a pointer to the data that gets sent to the marshaler used for all of them.)

"that's it! you're a genius!" "yes. that's what i think. do you think i deserve a raise?"
	- dialogue from 'Godzilla versus Mothra', 1964

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]