Re: Cross compilation for windows

2007-03-02 Thread Allin Cottrell
On Fri, 2 Mar 2007, naveen wrote: > I thought of running my application on windows, so i searched in > google and i got the script to setup cross compilation > environment for window.And I succeded in setting up the > environment for cross-compilation using the sources > > binutils-2.11.2.tar.b

Re: Problem to open a new window using libglade

2007-03-02 Thread Karl H. Beckers
Well, there's prolly several ways of doing it, but smth. along the following lines should work: GladeXML *gxml = glade_xml_new (GLADE_FILE, "dialog1", NULL); GtkWidget *dialog = glade_xml_get_widget(gxml, "dialog1"); g_assert(dialog); GtkResponseType result;

Re: Problem to open a new window using libglade

2007-03-02 Thread patrick
Thanks for your answer. > if I'm not completely mistaken here, this has nothing to do with glade. > The thing just is, that you need to return to the main loop from the > callback for the widgets to be drawn properly. > That is prolly why you put in your gtk_main_iteration though I doubt > there i

Re: integrating Gtk with Artoolkit

2007-03-02 Thread Freddie Unpenstein
> hi.sorry i sent an incomplete message.it was an error.well, am > trying to build a gui that will interact with ARtoolkit which also > uses C as language and contain OpenGl libraries as well.i`ve manage > to copy some of the header files (e.g callback.h, interface.h,etc) Are you trying to embed

Re: Problem to open a new window using libglade

2007-03-02 Thread Karl H. Beckers
Am Freitag, den 02.03.2007, 11:33 -0500 schrieb [EMAIL PROTECTED]: > >>> void > >>> on_button1_clicked(GtkButton *button, gpointer data) > >>> { > >>> /* the button was clicked */ > >>> //Print out to console > >>> g_print("Beginn break\n"); > >>> > >>> //Create the new "pro

Re: a GList of g_object_add_weak_pointer()s

2007-03-02 Thread Rick Jones
> Exactly, except for the `dummy area' which reveals some > misunderstanding. The pointer passed to g_list_append() is > just a value. I think I may picked that up from the book. Its example it gives allocates a pointer to an int, puts a value in that space, and then adds the pointer to the l

Re: Not disabling menu item accelerator when hiding menu bar, ...

2007-03-02 Thread Daniel Yek
Hi David, I didn't receive your reply in my inbox and only found it in the archive when I checked yesterday. Thank you for being so helpful. I'm very grateful. So, you created a duplicated, somewhat redundant, pop-up menu so that when the menu bar is unmapped and disabled, there is another men

Re: Problem to open a new window using libglade

2007-03-02 Thread Micah Carrick
Sorry, just use gtk_widget_show() - Micah Carrick Developer | http://www.micahcarrick.com | http://www.gtkforums.com patrick wrote: > If I compile it with "gtk_window_show_now" I get the following compiler error: > implicit declaration of function 'gtk_window_show_now' > I also tried it with

Re: Tooltips for GtkTreeView?

2007-03-02 Thread Michael Ekstrand
Jan-Oliver Wagner wrote: > well, yes and no. I am bound to use GTK 2.4. > I was hoping for a pointer at some sample code (even inefficient). > > I also am wondering if someone fidled this based on callbacks via > gtk_tree_view_column_set_cell_data_func() ? IIUC, this would > be the other way ar

Re: Cross compilation for windows

2007-03-02 Thread Cédric Lucantis
Hi, > I thought of running my application on windows, so i searched in google > and i got the script to setup cross compilation environment for > window.And I succeded in setting up the environment for > cross-compilation using the sources > > binutils-2.11.2.tar.bz2 > gcc-2.95.3.tar.gz > mingw-ru

Re: Problem to open a new window using libglade

2007-03-02 Thread patrick
If I compile it with "gtk_window_show_now" I get the following compiler error: implicit declaration of function 'gtk_window_show_now' I also tried it with 'gtk_widget_show_now', but there is no difference. 2007/3/2, Micah Carrick <[EMAIL PROTECTED]>: > A quick "cheap trick" you could do is: > > gt

Cross compilation for windows

2007-03-02 Thread naveen
Hi all, I thought of running my application on windows, so i searched in google and i got the script to setup cross compilation environment for window.And I succeded in setting up the environment for cross-compilation using the sources binutils-2.11.2.tar.bz2 gcc-2.95.3.tar.gz mingw-runtime-1.0.1

Re: a GList of g_object_add_weak_pointer()s

2007-03-02 Thread Yeti
On Thu, Mar 01, 2007 at 06:38:48PM -0800, Rick Jones wrote: > I am in the midst of fitfully trying to convert netperf4 > (http://www.netperf.org/svn/netperf4/trunk/ to use GObject. In netperf4 > there are these things (soon to be objects) called "tests" and a test > can be dependent upon anothe