Re: GtkTextBuffer + integers?

Hi all, hi Ben!

Of course that this will not function, therefore the
function gtk_text_buffer_set_text needs gchar and not
a integer, then what you must do, is to transform its
integer to one string, you can use sprintf().

Best regards,
Adriano Bonat

 --- Ben LeMasurier <uidzer0 hotmail com> wrote: 
> I am trying to output an integer to a gtktextbuffer,
> the widget only seems 
> to take a gchar as data and when i try to cast the
> integer to a char it 

Yahoo! Mail
O melhor e-mail gratuito da internet: 6MB de espaço, antivírus, acesso POP3, filtro contra spam.

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