After having used gob2 extensively I finally and for the first time got stuck on something that I could not find in the documentation. How do I define a property that is defined by Gtk and not by Glib? It seems like the name mangling of the property name always sticks on G_TYPE_ to the property name. Shouldn't this be modifyable
e.g. by doing GTK:ADJUSTMENT to make the property GTK_TYPE_ADJUSTMENT instead of G_TYPE_ADJUSTMENT?
In particular, I'm trying to convert the following code from my gtk_image_viewer widget to gob:
g_object_class_install_property (gobject_class,
PROP_HADJUSTMENT,
g_param_spec_object ("hadjustment",
("Horizontal adjustment"),
("The GtkAdjustment that determines the values of the horizontal position for this image_viewer."),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
Thanks a lot for gob!
Regards,
Dov
--
to unsubscribe:
send mail to
minimalist@... with "unsubscribe gob-list" in the subject