1 |
Damian wrote: |
2 |
> On Tue, Mar 9, 2010 at 12:01 AM, dhk <dhkuhl@×××××××××.net> wrote: |
3 |
>> Is it possible to embed a terminal window in a gtk window? |
4 |
>> |
5 |
>> I want to be able to run a text program as usual, but have it wrapped in |
6 |
>> the GTK window so I can scroll output and other stuff to a textview. |
7 |
> I would look into vte. This may be relevant for you: |
8 |
> http://old.nabble.com/Embedding-the-VTE-Virtual-Terminal-td26529933.html |
9 |
> |
10 |
>> Thanks, |
11 |
>> |
12 |
>> dhk |
13 |
>> |
14 |
>> |
15 |
> |
16 |
> |
17 |
|
18 |
I'm not looking to make major changes to the existing terminal run |
19 |
program. You see, I'm dealing with the corporate mentality. They want |
20 |
to add features that are just not that feasible in a procedural |
21 |
language. I also have to deal with their thousands of users that use |
22 |
the program around the country and their distribution and install |
23 |
procedures. So changing the terminal the program runs in is not an |
24 |
option, that would mean getting security and sysadmins involved etc. So |
25 |
in short a lot will not fly. Management doesn't understand why a |
26 |
procedural application can't have a button or scrolling text, because |
27 |
they see those bells and whistles on websites they think they can have |
28 |
it everywhere. I really don't want to go off on a corporate management |
29 |
tangent. |
30 |
|
31 |
I would like to make some hybrid GUI/text application. The original |
32 |
text application runs in a terminal. I can edit the text program so I |
33 |
can change the main(). So far I've added GTK and can compile and link |
34 |
with GTK. When the text program starts I can open a GTK window which |
35 |
has a vbox in it. In one of the sections to the vbox I would like to |
36 |
know how I can embed the terminal that runs the text program. The other |
37 |
parts of the vbox will have a scroll window and buttons. |
38 |
|
39 |
I thought it may be possible using GTK plugs and sockets or forcing the |
40 |
coordinated of the terminal to be inside the window, but both have |
41 |
obstacles. Is there a way to give management their buttons and |
42 |
scrolling text? |
43 |
|
44 |
Is this do-able? |
45 |
|
46 |
Thanks, |
47 |
|
48 |
dhk |