Drag and Drop (DnD) between two win32 Gtk+ Apps

2008-05-08 Thread Aron Rubin
I need to do drag and drop between two Gtk+ processes on win32 and that does not seem to be working. Do I need to set the protocol somewhere? The only place where I see the protocol at the moment is when creating a proxy. If inter-process DnD is not available for win32 through Gtk+, it would be

Re: Setting an image as background in a GtkVbox

2008-05-08 Thread Luiz Rafael Culik Guimaraes
Hi I got this same problem I resolved by using void MyBackWidget(GtkWidget *myVbox,char * szFile,int xPos,int yPos,int sizeH,int sizeV) { GtkWidget * hCtrl; GtkFixed * box = myVbox//getFixedBox( (GObject*) HB_PARHANDLE(1) ); GdkPixbuf * handle = gdk_pixbuf_new_from_file( szFile, NULL

RE: Problems with aligning and spacing widgets

2008-05-08 Thread Vallone, Anthony
When you want vertical or horizontal alignment, use GtkVBox or GtkHBox. For both vertical and horizontal alignment, use GtkTable. Also, you may find it useful to design GUIs with glade. Even if you don't use it for XML or code gen, it will quickly point you in the right direction for layout cho

Re: checking for memory leaks in gtk

2008-05-08 Thread Paul Davis
On Wed, 2008-05-07 at 19:53 +0530, Harinandan S wrote: > Hi All, > > I have observed memory leak in GTK+ too. I have multiple windows > created when some buttons are pressed and destroyed later. I observed > that when i destroy a window memory allocated to it during its > creation is not freed a

Re: Problems with aligning and spacing widgets

2008-05-08 Thread Paul Davis
On Thu, 2008-05-08 at 11:18 +0200, Sandra Derbring wrote: > Hello, > > I am working on a GUI that should present a picture representing a > word, the word and information about it. I have two main problems. The > first one is: I have created two vertical boxes, positioned next to > each other ins

Problems with aligning and spacing widgets

2008-05-08 Thread Sandra Derbring
Hello, I am working on a GUI that should present a picture representing a word, the word and information about it. I have two main problems. The first one is: I have created two vertical boxes, positioned next to each other inside a horizontal box. In the right one, I present all pictures, each in

Re: Lost Pointer when adding GTK+ to an application

2008-05-08 Thread Mathias Hasselmann
Am Donnerstag, den 08.05.2008, 09:04 +0100 schrieb Rob Pearce: > On Thursday 08 May 2008, Diego Rivera wrote: > > I believe i have made no memory errors in my console application, since it > > runs ok every time. However, i haven't seen the correct output from my GTK > > application. > > That's n

Re: Lost Pointer when adding GTK+ to an application

2008-05-08 Thread Rob Pearce
On Thursday 08 May 2008, Diego Rivera wrote: > I believe i have made no memory errors in my console application, since it > runs ok every time. However, i haven't seen the correct output from my GTK > application. That's not a safe assumption. I've seen console apps with huge memory errors keep g