no joy...
- From: Gary Kline <kline thought org>
- To: GTK Devel List <gtk-app-devel-list gnome org>
- Subject: no joy...
- Date: Tue, 20 Dec 2011 14:52:10 -0800
thanks to those who have tried to help, mostly off-list. i can't
believe how hard this is.
i want to open a base window:
gtk_window_set_title(GTK_WINDOW(window),"testing");
gtk_widget_set_usize(GTK_WIDGET(window),200,300);
...
and then only a text window --upon button press-- and display
some text:
text = gtk_text_view_new();
gtk_container_add(GTK_CONTAINER(window),text);
buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text));
"
and fopen some file and display the text in the buffer. The
question remains: how? what am i missing to display some
miscellaneous words in the text window?
thanks in a advance.
gary
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]