Removin all Widgets from a VBox

2005-06-07 Thread Guenther Sohler
I have written an application, where I have Dialog which contains a vbox, which should have different contents in different situations.(there is a next button in the dialog, if you press it, the content of the vbox underneath vbox shall change) I plan is to delete all widgets of the vbox underneath

Clist append error (malloc_consolidate)

2005-06-07 Thread sripurna mutalik
HI, I am new to this member. I am having trouble with clist. My program is a multithreaded one and it goes some thing like this. I create a thread after the first window comes up. That thread waits for some data to come over the network and when any data comes, it appends the data into the c

Re: Checking for window inactivity

2005-06-07 Thread Luke McOmber
Scanning all the children to see who has the focus seems to work good enough, except for the case of bringing up any of the right click popup menus. The popup menu of the textview doesn't seem to be considered a child of the textview. And from what I remember of a comment in gtkmenu.h, menu's can't

Re: Memory problems with gdk_pixbuf

2005-06-07 Thread John Coppens
On Tue, 07 Jun 2005 21:58:43 +0200 Maciej Katafiasz <[EMAIL PROTECTED]> wrote: > The successor to GGAD book is The Official GNOME 2 Developer's Guide by > Matthias Warkus, see http://www.nostarch.com/frameset.php?startat=gnome Hi Maciej... Thanks - that was very complete. I wonder if there is an

Re: Memory problems with gdk_pixbuf

2005-06-07 Thread Maciej Katafiasz
Dnia 07-06-2005, wto o godzinie 13:22 -0300, John Coppens napisał: > > > The sentence: > > > > > > gtk_object_destroy(GTK_OBJECT(img_item)); > > > > > > Does not destroy the pxb item - the ref_count is not changed to 0... I > > > scanned over the gnomecanvas.c code, but I cannot find any cod

Re: ComboBox on Windows application

2005-06-07 Thread Gus Koppel
Alf Stockton wrote: > I have a screen already built using Glade and a whole bunch of code > that now needs maintaining. > Is it recommended that I carry on using Glade? There are no alternatives for GTK+, except if you're willing to code either C source or XML by hand to design your GUI. > Glade

Re: Memory problems with gdk_pixbuf

2005-06-07 Thread John Coppens
On Tue, 07 Jun 2005 17:13:16 +0200 Maciej Katafiasz <[EMAIL PROTECTED]> wrote: > Dnia 06-06-2005, pon o godzinie 21:11 -0300, John Coppens napisał: > > The sentence: > > > > gtk_object_destroy(GTK_OBJECT(img_item)); > > > > Does not destroy the pxb item - the ref_count is not changed to 0..

Re: ComboBox on Windows application

2005-06-07 Thread Maciej Katafiasz
Dnia 07-06-2005, wto o godzinie 15:09 +0200, Alf Stockton napisał: > I have a screen already built using Glade and a whole bunch of code that > now needs maintaining. > Is it recommended that I carry on using Glade? > Glade has built an interface.c that I now need to alter to get a > combobox to

Re: Memory problems with gdk_pixbuf

2005-06-07 Thread Maciej Katafiasz
Dnia 06-06-2005, pon o godzinie 21:11 -0300, John Coppens napisał: > The sentence: > > gtk_object_destroy(GTK_OBJECT(img_item)); > > Does not destroy the pxb item - the ref_count is not changed to 0... I > scanned over the gnomecanvas.c code, but I cannot find any code for > unreferencing th

Re: ComboBox on Windows application

2005-06-07 Thread Hubert Sokołowski
On Tue, 07 Jun 2005 15:09:36 +0200 Alf Stockton <[EMAIL PROTECTED]> wrote: > I have a screen already built using Glade and a whole bunch of code > that > now needs maintaining. > Is it recommended that I carry on using Glade? > Glade has built an interface.c that I now need to alter to get a > c

Re: Memory problems with gdk_pixbuf

2005-06-07 Thread Tristan Van Berkom
John Coppens wrote: On Mon, 06 Jun 2005 14:34:59 -0400 Tristan Van Berkom <[EMAIL PROTECTED]> wrote: img_item = gnome_canvas_item_new(root, gnome_canvas_pixbuf_get_type(), "pixbuf", pxb, "x", 0.0, "y", 0.0, "width", pxb_w, "height",

ComboBox on Windows application

2005-06-07 Thread Alf Stockton
I have a screen already built using Glade and a whole bunch of code that now needs maintaining. Is it recommended that I carry on using Glade? Glade has built an interface.c that I now need to alter to get a combobox to display a number of entries I will retrieve from a SQL database, however a