gtk function with argv



Why guys,

I have a doubt that is more about C language that gtk+ but it's to apply 
to gtk+.

I have this function:

GtkChart vChart_Init(GtkWidget *widget, GtkSeries *series)

My doubt is: How can i use function like this: 
vChart_Init(GTK_WIDGET(widget), "Series A", "Series B", "Series C");

I need that second parameter is dynamic  and is a string (that contains 
the name of serie)

THanks



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