Re: how to execute another software in gtk+2.0



Hi, you can use the system() call to start another program.

  void
  button_click( void )
  {
    system( "xterm &" );
  }

John

Ng Sio Lei wrote:
> Dear all,
> Hello, i wanna execute another software in a interface built up by
> gtk+2.0. e.g., press a button to open a new terminal window.
> 
> Thank your for your attention.
> 
> lee
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 



========================================================== 

Current Exhibition: 

T I T I A N 

Until 18 May 2003 

Advance Booking Recommended 
Open every day 
Wed-Sat late opening until 9pm 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/titian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]