Srichand Pendyala wrote: > Hi! > > On Tue, 2007-03-27 at 12:17 +0530, renuka prasad wrote: > >> hello, >> >> Im the young aspirant who has just now started 2 work on solaris. >> 1) I want details or flow about how 2 create a command button in >> GTK and when i click on the command button it has to create a >> directory with default name in the root! >> 2) want 2 know where should i write the code for the above how >> should i link the front end `(GTK ) and the terminal where the command >> has 2 execute in background for creatin the directory! >> > > GTK+ is a nice cross platform toolkit to write GUI code! Which language > do you want to program in? C/C++/Python or Java? > > Assuming you want to write in C, check http://www.gtk.org/tutorial/ . > You should find all you want right there. If your GUI is anything more > than a window and a button, you might want to look at Glade interface > designer too. http://glade.gnome.org/ >
In addition if you want to programmatically execute commands in C, use either system() or fork()/exec(). You do not require a terminal for that. Regards, Moinak. > Hope that helps! > > Srichand. > > > ------------------------------------------------------------------------ > > _______________________________________________ > ug-bosug mailing list > List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org > List-Owner: mailto:ug-bosug-owner at opensolaris.org > List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54 >