[pygtk] Re: bash shell in some gtk widget

2006-11-18 Thread Fabian Braennstroem
Hi to all,

* On 16 Nov 2006 * Christian Becke wrote:

> Hi,
> 
> Am Donnerstag, den 16.11.2006, 11:55 -0800 schrieb David Keogh:
> 
> > You can also do something like this to at least get a look at what the
> > module contains:
> > 
> > import vte
> > print dir(vte.Terminal)
> 
> Maybe better:
> 
> import vte
> help (vte.Terminal)

thanks, I see what I understand...

Greetings!
Fabian
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Re: bash shell in some gtk widget

2006-11-16 Thread Christian Becke
Hi,

Am Donnerstag, den 16.11.2006, 11:55 -0800 schrieb David Keogh:

> You can also do something like this to at least get a look at what the
> module contains:
> 
> import vte
> print dir(vte.Terminal)

Maybe better:

import vte
help (vte.Terminal)


Regards,

Christian


___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Re: bash shell in some gtk widget

2006-11-16 Thread David Keogh

On 11/16/06, Fabian Braennstroem <[EMAIL PROTECTED]> wrote:


Hi Gian,

* On 14 Nov 2006 * Gian Mario Tagliaretti wrote:

> 2006/11/14, Fabian Braennstroem <[EMAIL PROTECTED]>:
>
> >I just wonder, if there exists anything like a small bash or
> >tcsh shell as a widget!? I would like to be able to display
> >and run some linux shell programs, e.g. vim inside pygtk.
> >Is that anyhow possible?
>
> of course, there are VTE python bindings available.

Thanks, but somehow I am not able to find any example or
even a good web site about vte!?



Here's the C API for VTE:
http://developer.gnome.org/doc/API/2.0/vte/vteterminal.html

Here's a link for the ruby binding:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Vte%3A%3ATerminal

It's unfortunate that there's no Python documentation, but it's still fairly
easy to translate.

You can also do something like this to at least get a look at what the
module contains:

import vte
print dir(vte.Terminal)
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] Re: bash shell in some gtk widget

2006-11-16 Thread Fabian Braennstroem
Hi Gian,

* On 14 Nov 2006 * Gian Mario Tagliaretti wrote:

> 2006/11/14, Fabian Braennstroem <[EMAIL PROTECTED]>:
> 
> >I just wonder, if there exists anything like a small bash or
> >tcsh shell as a widget!? I would like to be able to display
> >and run some linux shell programs, e.g. vim inside pygtk.
> >Is that anyhow possible?
> 
> of course, there are VTE python bindings available.

Thanks, but somehow I am not able to find any example or
even a good web site about vte!?

Greetings!
Fabian
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/