Re: how to open application on button click from another application
- From: John Cupitt <john cupitt ng-london org uk>
- To: neeraj sharma <neeraj_champion yahoo com>
- Cc: gtk-devel-list gnome org
- Subject: Re: how to open application on button click from another application
- Date: Mon, 05 Nov 2001 12:14:59 +0000
neeraj sharma wrote:
I am working on gtk and I want to run an already
created application from my program on button click.I
am unable to find any solution till now.
Hi Neeraj, on *nix systems you can just use system():
static void
button_clicked( GtkWidget *button, MyData *datas )
{
if( system( "xv myfile.jpg" ) )
alert( "unable to run gimp!" );
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]