Re: Something like console widget
- From: Pavel Syomin <syomin radico ru>
- To: Eduardo M KALINOWSKI <ekalin bol com br>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Something like console widget
- Date: Wed, 20 Apr 2005 17:46:11 +0400
Eduardo M KALINOWSKI wrote:
Pavel Syomin wrote:
Hi, I am going to write GTK+ application, that will use something
like console window as one of possible ways to interact with users. I
looked on libvte, but it's require to have another application to
run, but I need something looked as console widget to integrate it to
my application. Can anybody help me?
If I undestood you concern about libvte, that is, if you think you
need to run an application inside the vte, I can assure you that is
not true. You can have a vte that does not run anything, and use the
vte_terminal_feed() to add text to the terminal. It should similarly
be possible to capture the user input in the vte, but I cannot say
much about that because in my application I use vte's as output-only
I don't think, that such usage of VteTerminal is a really good idea.
I decide to write custom widget, that will use GtkTextView to catch user
input and show output, but I'm in confusion about what GTK-widget should
be parent for my custom widget. Can anybody suggest newbie?
] [Thread Prev