[Glade-users] gtk/glade programming



On Thu, 2003-09-25 at 13:00, =?iso-8859-1?Q? G=FCnther=20Mittermayer ?=
wrote:
 
/* Plus output it to the console window: */
gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (console_textview)),
_("Buffer text"), -1);
/* How to replace "Buffer text" with "%s", buf ? */

How about a simple buf instead of the whole _() thing? like that:
gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (console_textview)), buf, -1);


Thanks Guenter, this helps. Can I append text to a gtk_text_buffer, by
the way, do you know?

Seb






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