Re: GTK+2 on Linux and Windows

2005-07-03 Thread Allin Cottrell
On Thu, 30 Jun 2005, [EMAIL PROTECTED] wrote: i have to develop a portable application with GTK+2 and i just want to be sure it will work. So my question is : is there any difference between GTK+2 for windows and GTK+2 for Linux? From the point of view of functionality available to the user,

Re: Compiling gtk apps on MingW

2005-07-03 Thread zhanglei
Ricardo Malafaia writed: all: test test.exe: test.c gcc.exe $(GTK_CFLAGS) $(GTK_LIBS) teste.c -o test.exe try to put $(GTK_LIBS) to the end of the command line gcc.exe $(GTK_CFLAGS) -o test.exe teste.c $(GTK_LIBS) ___ gtk-app-dev

Re: GTK+2 on Linux and Windows

2005-07-03 Thread Allin Cottrell
On Sat, 2 Jul 2005, Gus Koppel wrote: Somehow I even got i18n support functional on a GTK+ Windows application. IMO, this is unproblematic and expected. If you have the facility to create valid message catalogs, this should Just Work. Allin Cottrell __

Re: sensing window destruction

2005-07-03 Thread Freddie Unpenstein
> > I was wondering how it is possible to sense when a widget is > > closed by the user and send change a specific variable as a > > result. > Either connect to "destroy" signal, or use g_object_weak_ref(). > The handler can change a global variable. If you store the pointer to the window in a g

Re: Compiling gtk apps on MingW

2005-07-03 Thread David Necas (Yeti)
On Sun, Jul 03, 2005 at 09:37:49AM +0200, Gus Koppel wrote: > > Makefiles are not supposed to contain (or evaluate, rather) > "`"-expressions. Why not? Backquotes work with most shells and thus you don't depend on GNU make. Anyway, make never evaluates ``-expressions, see below. I have a Makefi

Re: Compiling gtk apps on MingW

2005-07-03 Thread Gus Koppel
Ricardo Malafaia wrote: > well, my Makefile is like this now > > PREFIX=/mingw > PATH=/d/GtkWin/bin:/usr/bin:/bin:/mingw/bin > CPPFLAGS=-O2 -I/d/GtkWin/include > PKG_CONFIG_PATH=/d/GtkWin/lib/pkgconfig > LD_LIBRARY_PATH=/d/GtkWin/bin:/d/GtkWin/lib:/lib:/usr/lib:/mingw/lib > > GTK_CFLAGS=`pkg-con

Re:Subject: Delete event.

2005-07-03 Thread Muthiah Annamalai
> In my application I am using a widget, say vbox. > When that widget is destroyed, I want to delete all > the associated objects that I allocated. So, I > attached a delete_event and destroy_event callback. > But this callback is not called, when I destroy the > container of the vbox. Im able to