Re: [gtk-list] Itemfactory data



Stephen Witkop wrote:

> I am in the process of converting over to the item_factory for my menus
> and I'm having a problem with passing data to my callbacks. From looking
> through the source, the only way I can see to do this is through the
> call to gtk_item_factory_create_items() but from what I can see, that
> would associate the same data with all the menus. It seems like I must
> be missing something simple here.
>

You can call gtk_item_factory_create_item() and pass data through that. You
would have to call that for each item you want to create though...

> TIA,
> --
>                 Stephen
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


Marsel



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