PropDescription & extradata
- From: lidiriel <lidiriel coriolys org>
- To: dia mailling <dia-list gnome org>
- Subject: PropDescription & extradata
- Date: Tue, 22 Aug 2006 17:20:09 +0200
Hi,
in the PropDescription structure can i put a gpointer as extradata ?
exemple :
GList *foo;
and in the table :
static PropDescription bar[] = {
...,
{ "fooValue", PROP_TYPE_STRINGLIST, PROP_FLAG_VISIBLE, N_("string
list"), NULL, foo},
...
}
and the foo pointer will be modify in the update_object function.
And how i made this ?? because the now i have an error "initializer
element is not constant"
Have you any idea ?
Lidiriel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]