Creating a subwindow

2003-10-13 Thread Don Dudley
I want to open a new window from my main application, then call a shell script via system(..) whose I/O is redirected to that window, and which closes after the script completes. Would I use GdkWindow for this, and can someone give me an example of setting up the window attributes. I have Havoc P

GtkItemFactory items

2003-10-09 Thread Don Dudley
I've created a menu with GtkItemFactory, and I want each item's callback function to be able to access the menu item's name string to use as a new window title. Is there a way to access it from the gpointer argument in the callback function? Thanks, Don __ Do you

Running shell script in separate window

2003-10-09 Thread Don Dudley
I have an app with several functions that call bash or kshell scripts. The scripts produce output, which I want to show in a separate window created by my application, then close it when the script finishes. Is there a way to start a terminal window from my app, or do I somehow redirect output to

Window size

2003-09-26 Thread Don Dudley
When I create a window with just a couple of items in it (menu bar, some labels, check boxes, etc), it packs down to a little tiny window during runtime, big enough only to show the items visible. I add and remove window objects depending on user selection, etc., and I'd like to keep the same ove

Re: more broken installers

2003-09-18 Thread Don Dudley
You might try checking the version of Gnome you're running. I know that if it isn't the latest, and you're trying to install the latest version of some gnome tool, you'll bang into every dependency and sub-dependency of every library and package that the tool requires. Depending on what and how m

Re: Is gtkhtml == libgtkhtml?

2003-09-18 Thread Don Dudley
When you compile your program, you link libraries located in /usr/lib. The library is spedified using the -l option on the gcc command line without it's 'lib' prefix: "-lgtkhtml", or "-lmysqlclient". The -l tells gcc to go look in the $LIB directory (/usr/lib) for the specified file with a 'lib'

Source for testgtk

2003-09-17 Thread Don Dudley
GTK+ comes with a program called testgtk, installed in /usr/bin. Anyone know where one can obtain the source code for it? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com __