GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Embed a Shell Window

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
abcb



Joined: 15 May 2008
Posts: 2

PostPosted: Thu May 15, 2008 9:29 am    Post subject: Embed a Shell Window Reply with quote

Hi,
i have a problem trying to embed a shell window in my gtk+ progam.
Well, actually i don't really know if it can be done or not. What i would like to do is create a widget and embed inside a shell window so the output of my script can be viewed in my application. I think the solutions are possibly 2:
- There is a way to embed directly the "gnome-terminal" command in a new widget
- Redirecting input/output of a new shell created outside and then display on my application.
I would really appreciate if someone who had the same problem could help me.
Thanks

Edoardo
Back to top
alen121
Familiar Face


Joined: 28 Sep 2007
Posts: 33

PostPosted: Thu May 15, 2008 1:58 pm    Post subject: Reply with quote

http://developer.gnome.org/arch/gnome/widgets/vte.html
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 497
Location: Portland, OR USA

PostPosted: Thu May 15, 2008 3:32 pm    Post subject: Reply with quote

As mentioned, the VTE widget will allow you to embed a terminal directly into your application.

If you are looking to simply show the output of a command or script in your application, this might help: Execute command into a GtkTextView (C and Libglade)
Back to top
abcb



Joined: 15 May 2008
Posts: 2

PostPosted: Tue May 20, 2008 2:09 pm    Post subject: Reply with quote

Thanks for help..that was really what i was looking for.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP