regarding scrolled window
- From: Sohel <itsmy_emale yahoo com>
- To: Gtk User <gtk-app-devel-list gnome org>
- Subject: regarding scrolled window
- Date: Sat, 8 Sep 2007 11:08:30 -0700 (PDT)
Hi,
I have a paned window which consists of a listwindow at the top and textwindow at the bottom. The text window
gets periodically updated but I am unable to see the complete text as the scroll bars are not scrolling
completely.
//Declare a scroll window widget
GtkWidget *scroll_window;
//Declare a textview widget
GtkWidget *textviewer;
//Create a new text viewer window
textviewer = gtk_text_view_new ();
scroll_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
//later i add textwindow to scroll window
Is there more to be done in this code ??
thanks
sohel
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]