[Glade-users] Output text to TextView widget. How?
- From: asr baldi cc (Ahmad Al-rasheedan)
- Subject: [Glade-users] Output text to TextView widget. How?
- Date: Sat, 21 Jun 2003 17:42:55 +0300
I started using Glade 2 days ago and have zillions of questions.
Can you please help in the following code? I basically need to
display "Hi there" in the TextView widget upon pressing of a button.
---
on_button5_clicked (GtkButton *button,
gpointer user_data)
{
gchar output[50]= "Hi there";
GtkWidget *target = NULL;
target = lookup_widget(GTK_WIDGET(button), "textview1");
/ *
Don't know what to put here to have "Hi there" display in the
TextView widget
*/
}
--
Ahmad Al-rasheedan (http://webhost.fasttelco.com/asr)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]