How to operate dynamicly allocated data
- From: "Daniel Lewandowski" <dereach gmail com>
- To: gtk-list gnome org
- Subject: How to operate dynamicly allocated data
- Date: Fri, 22 Feb 2008 22:30:47 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]