Re: libglade custom properties
- From: Paolo Molaro <lupus ximian com>
- To: gnome-2-0-list gnome org
- Subject: Re: libglade custom properties
- Date: Fri, 23 Nov 2001 11:36:22 +0100
On 11/23/01 James Henstridge wrote:
> typedef void (* GladeApplyCustomPropFunc)(GladeXML *xml,
> GtkWidget *widget,
> const gchar *propname,
> const gchar *value);
>
> void glade_register_custom_prop(GType type,
> const gchar *prop_name,
> GladeApplyCustomPropFunc apply_prop);
[...]
> Note that this API addition is a "semi public" API -- a normal app
> wouldn't use it, but a library implementing libglade support may need it.
What if a library of widgets written in some language binding
needs to have custom property support as well?
You need the usual user_data/destroy_notify pair in the API.
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus ximian com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]