How to operate dynamicly allocated data

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

 



Hi,
I'd like to ask about idea how to make in program written in C/gtk
operation on dynamic allocated data between few callback function.

I  have two buttons.
On clicked first I call callback and inside this function I read data
from file. Data is  allocated inside dynamic structure like this one:

X = g_new0 (gfloat, number_of_my_data_in_file);
	
Now I'd like to have access to this data when I clicked other button
later, in other callback function.

How to do this ?


Daniel
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux