callback_type in gtk_item_factory_create_item
- From: Andreas Tille <tille physik uni-halle de>
- To: GTK User-List <gtk-list redhat com>
- Subject: callback_type in gtk_item_factory_create_item
- Date: Mon, 15 Mar 1999 16:11:24 +0100 (MET)
Hello,
the only documentation for item_factory I could find is testgtk. There
is an example for gtk_item_factory_create_items which contains no
parameter callback_type. In the source it calls gtk_item_factory_create_item
with callback_type explicitely set to 1. What is the sense of this
parameter? It has only two valid vlues 1 or 2. All others will be
ignored (cause errors).
Here are the relevant header informations:
void gtk_item_factory_create_item (GtkItemFactory *ifactory,
GtkItemFactoryEntry *entry,
gpointer callback_data,
guint callback_type);
void gtk_item_factory_create_items (GtkItemFactory *ifactory,
guint n_entries,
GtkItemFactoryEntry *entries,
gpointer callback_data);
Kind regards
Andreas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]