Re: Designing a 'console' with GtkTextViewer
- From: Diego Jacobi <jacobidiego gmail com>
- To: gtk-list gnome org
- Subject: Re: Designing a 'console' with GtkTextViewer
- Date: Sun, 8 Mar 2009 16:41:40 +0100
The sad thing about libvte is that it is not portable. And makes your
software limited to unixes.
Some time ago i wanted to do a multiplatform software to easily
control a server via ssh, and the most frustrating part was the
unavailability of at least a VT100-terminal library for windows in
gtk.
2009/3/7 Emmanuel Rodriguez <emmanuel rodriguez gmail com>:
> Take a look at libvte it's the Gtk widget used by gnome-terminal. It
> can be embedded easily in any application.
>
> http://library.gnome.org/devel/vte/unstable/VteTerminal.html
>
> On Sat, Mar 7, 2009 at 3:50 PM, Dutta, Seemanta <seemanta qualcomm com> wrote:
>>
>> Hi,
>> I want to design a console based interface to my application. The console would enable the user to manually give commands to my application. Something akin to the python console that you get in RhythmBox.
>>
>> I am planning to use GtkTextViewer widget for this. My main requirement for the console is that It should not allow the user to 'scroll-back' and edit past commands, which would be very inconsistent. In other words it should behave just like a terminal command line, allowing line editing for the current line only. I am not thinking of readline support right now but that can be added later as an enhancement.
>>
>> My question: Is that possible in GtkTextViewer? I always thought that I can set the entire widget as editable or non editable. But if I set it as editable, then I don't want the user to be able to scroll up and fiddle with text that is present above.
>>
>> Can anyone please advise?
>>
>> regards,
>> Seemanta
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtk-list
>>
>
>
>
> --
> Emmanuel Rodriguez
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]