Re: text and lines



On Thu, 30 Sep 2004 21:59:52 -0600
"Maximo Pech" <makz linuxmail org> wrote:

Hi, i have to create a gui for a text application and i need to
display some text and lines in a single area, also it has to be
scrollable but i don't know what widgets can i use for doing this. Can
you tell me please what do i need to do that? i'd like to not use
nothing from gnome, pure gtk if possible. thanks and sorry for my bad
english.-- 

Hi,
You can use a simple Text View. I have developed a little tool which
does exactly what you are trying to do. It is written with gtk2 perl
binding, but it should be quite simple to translate into other
languages. Here is a screenshot
http://sclog.slackit.org/index_eng.html#screenshots. On the same page
you can download the source code.
If you need a C sample you can look at the "Text Widget (Multiple
Views)" demo from gtk-demo (you should have it already installed, since
it comes with gtk2 distribution).

Luca



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