Re: manipulating a text



El mar, 10 de 02 de 2004 a las 19:20, Harring Figueiredo escribiÃ:


G_CONST_RETURN gchar* gtk_entry_get_text    (GtkEntry *entry);

http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html

Hope this helps.

Other solution is:

GtkEntry* entry;
gchar* text;

text = gtk_editable_get_chars(GTK_EDITABLE(entry),0,-1);

[...]

g_free( text );


regards
-- 
Iago Rubio                http://www.iagorubio.com          
GPGkey pgp.rediris.es id 0x909BD4DD  fingerprint =
D18A B950 5F03 BB9A DD89  AA75 FEDF 1978 909B D4DD
********** iago.rubio(AT)hispalinux.es  **********     
--------------------------------------------------

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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