mtron
June 25th, 2005, 03:23 PM
Hi! I started to learn some very basic programming and need some help please. i am working with anjuta to create a gui with some buttons.
When a button is clicked i want to run a shell script, that preforms some tasks.
I created the gui with glade, and added the "Clicked" Signal to the button, then i need to attach the actual funcion to the button and that's where i dunno what to do.
in the file "src/callbacks.c"
is the line
on_button1_clicked (GtkButton *button,
gpointer user_data)
{
}
so can someone tell me what to add that it opens a local script in a new terminal?
Thanks!
When a button is clicked i want to run a shell script, that preforms some tasks.
I created the gui with glade, and added the "Clicked" Signal to the button, then i need to attach the actual funcion to the button and that's where i dunno what to do.
in the file "src/callbacks.c"
is the line
on_button1_clicked (GtkButton *button,
gpointer user_data)
{
}
so can someone tell me what to add that it opens a local script in a new terminal?
Thanks!