Re: Passing a gint to a label...



"G.Gabriele" a écrit :
> 
> Hi all,
> 
> I need to put in a label a gint value...
> 
> void pass-help (gint value)
> {
>     gtk_label_set_text( GTK_LABEL(label),  value);
> }
> 
> How could I do that ?
Why don't you use g_strdup_printf("%d",value) ?

-- 
Florent DEVIN




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