Re: commit -- gnome version of the Insert Field dialog box


Subject: Re: commit -- gnome version of the Insert Field dialog box
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon May 22 2000 - 19:58:04 CDT


On Mon, 22 May 2000, [iso-8859-1] Joaquín Cuenca Abela wrote:

> Commited.
>
> A comment, if anybody plans to make gtk+ dialog box, please don't copy &
> paste the code generated by glade without taking a look to the code.
> Glade adds each widget to the hash table associated to the main window
> of the dialog box. This is very useful in C, but in C++ is not so
> useful (you can save the GtkWidget in a private variable of the class).
> It has no sense at all to add the GtkWidget to the hash table *AND* save
> it in a private variable (even if nearly all the gtk+ dialog boxs of
> AbiWord does it :).

I didn't use GLADE but cut and pasted code from elsewhere. At the time I
also wondered if it was necessary but I'm very new to gtk so I went with
what worked :-)

I'm learning all the time :-)

Cheers

Martin



This archive was generated by hypermail 2b25 : Mon May 22 2000 - 19:58:12 CDT