Re: text_view + vscrollbar communication
- From: Annamalai Gurusami <annamalai gurusami EMAIL masconit com>
- To: David Morse <dcmorse gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: text_view + vscrollbar communication
- Date: Wed, 20 Jul 2005 14:07:16 +0530
David Morse <dcmorse gmail com> writes:
How do I make a gtk_text_view react to a gtk_scrollbar?
I am not sure what you want to achieve. But by putting the
GtkTextView inside a GtkScrolledWindow, you get a text view in which
you can do the scrolling. Is that what you want?
GtkTextView *text_view = gtk_text_view_new();
GtkScrolledWindow *scroll = gtk_scrolled_window_new(NULL, NULL);
gtk_container_add( GTK_CONTAINER(scroll), text_view );
Rgds,
anna
--
Open Movie: Not only will the project be realized with Open
Source/Free Software, but also the resulting movie will be published
under an open public license. This makes it an exciting premiere as
first ever "Open Movie" project! [ http://orange.blender.org ]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]