no luck with dialogs and ecrooolbars, and gtktext..



        Sorry, crummy  Subject line before::

n Tue, Dec 20, 2011 at 02:52:10PM -0800, Gary Kline wrote:
Date: Tue, 20 Dec 2011 14:52:10 -0800
From: Gary Kline <kline thought org>
Subject: no joy...
To: GTK Devel List <gtk-app-devel-list gnome org>


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

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

-- 
 Gary Kline  kline thought org  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 8.57a release of Jottings: http://jottings.thought.org
             Twenty-five years of service to the Unix community.




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