Darren Hiebert wrote: [...] Just few comments. ... GTK has been ported to Windows, so that Eiffel apps written using eGTK should be portable to Windows (I...
209
Richie Bielak
richieb@...
Jul 6, 1999 2:46 am
Hi, I've updated the C files in the CVS. The new files are as follows: C/eif_gtk.c C/se/eif_gtk.h C/se/eif_gtk_se.c C/se/Makefile.se C/ise/eif_gtk.h ...
210
Richie Bielak
richieb@...
Jul 9, 1999 3:31 am
I fixed the Ace and Makefiles to work with the new C files. I still can't get the Makefile for fixed_text to work, although egtkbuild works just fine.... ...
211
Oliver Elphick
olly@...
Jul 10, 1999 9:29 pm
I committed these changes today: Removed set_insertion_point from GTK_EDITABLE and moved it to GTK_TEXT (because it is not supported in GTK_ENTRY). Corrected a...
212
Richie Bielak
richieb@...
Jul 11, 1999 2:02 am
I started to adapt the classes to the new GTK_EXTERNALs files. So far I got the menu example compiled with ISE. ISE found some syntax errors that were missed...
213
Oliver Elphick
olly@...
Jul 11, 1999 7:32 am
... Hmm... looking at the diffs, I seem to have left some garbage around. I dealt with existing features first and don't seem to have come back to these...
214
Oliver Elphick
olly@...
Jul 11, 1999 9:36 pm
Re this change: RCS file: /cvs/eiflib/eiflibs/eGTK/lib/gtk/externals/gtk_main_externals.e,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2...
215
Richie Bielak
richieb@...
Jul 12, 1999 1:32 am
Oliver Elphick wrote: [...] ... My mistake. It should come from gtk_application_externals. I'll fix it. ..richie -- "It is a good day to code."...
216
Richie Bielak
richieb@...
Jul 13, 1999 2:42 am
I have updated more files to use the new GTK_xxx_EXTERNALS classes. So far I'm only working with ISE compiler. At this point I can compiler test_gtk without...
217
Richie Bielak
richieb@...
Jul 13, 1999 2:46 am
Hi, How should we handle constants? At the moment some of them are placed inside the GTK_xxx_EXTERNALS files, which seems wrong to me, as this forces...
218
Jason Stokes
jstok@...
Jul 13, 1999 2:29 pm
I'm wrangling with latest version of egtk off CVS at the moment. I notice that gtk_adjustment inherits all its boilerplate C code (eg. gtk_adjustment_new) from...
219
Dave E Martin XXIII
xxiii@...
Jul 13, 1999 5:24 pm
We also have a few cases (particularly where they were enums in the C code) where the constants are incorporated into their own classes to consider. ...
220
Richie Bielak
richieb@...
Jul 14, 1999 2:16 am
... Right. Except that we settled on the name of the form: GTK_xxx_EXTERNALS In case of gtk_adjustment, the name should be gtk_adjustment_externals. The files...
221
Richie Bielak
richieb@...
Jul 14, 1999 2:20 am
... Hmm. I'd prefer not to make classes out of each enum type. However, perhaps together with constant definitions we can add routines that check that a...
222
Richie Bielak
richieb@...
Jul 14, 1999 3:04 am
Hi, I've updated two more examples (hello and fixed_test) to use new externals. I wound up fixing GTK_ADJUSTMENT, since the external file already exists. More...
223
Dave E Martin XXIII
xxiii@...
Jul 14, 1999 6:46 pm
... It wouldn't be as much of a pain, if we had in-place object creation (did ISE add this?) In any case, I think the routines should have require (or check,...
224
Jason Stokes
jstok@...
Jul 15, 1999 1:10 am
Ok, I really needed gtkctree in my application, so I've gotten started on it. gtkctree is hard, because it uses C-specific data structures which are useless...
225
Jason Stokes
jstok@...
Jul 15, 1999 1:23 am
Just disregard all the mistakes in my last posting. I'm having a bad grammar and spelling day. ... eGroups.com home:...
226
Richie Bielak
richieb@...
Jul 15, 1999 2:17 am
Jason Stokes wrote: [...] ... You have to use "dispose", which is inherited from MEMORY. Dispose gets called when the object in question is collected. ... I'd...
227
Richie Bielak
richieb@...
Jul 15, 1999 2:18 am
... I must be tired. I didn't notice any..... ...richie -- "It is a good day to code." http://www.netlabs.net/~richieb ... eGroups.com home:...
228
Richie Bielak
richieb@...
Jul 16, 1999 2:57 am
Hi, I finished the switch to the new externals files. GTK_EXTERNALS are now obsolete. Both SE and ISE are done. ...richie -- "It is a good day to code."...
229
Richie Bielak
richieb@...
Jul 16, 1999 2:57 am
Dave E Martin XXIII wrote: [...] ... I'm not sure how you were thinking of setting up these classes. Can you post a small example? ...richie -- "It is a good...
230
Dave E Martin XXIII
xxiii@...
Jul 16, 1999 4:20 am
... Take a look at gtk_position_value.e and gtk_scale.e/set_value_pos (it occurs to me though that gtk_position_value (and other _value classes that I did)...
231
Oliver Elphick
olly@...
Jul 16, 1999 9:32 pm
Sorry for my silence hitherto; I've been working away, with no email. ... The reason I put constants in the ...EXTERNALS classes was that I thought they were...
232
Richie Bielak
richieb@...
Jul 17, 1999 2:02 am
... Nice to have you back! [...] ... Not really. There are cases when you need constants outside the widget classes. For example in test_gtk I had to add these...
233
Jason Stokes
jstok@...
Jul 17, 1999 3:01 am
... One solution would be to have GTK_xxx_CONSTANTS classes which clients can inherit as needed. The global class solution, apart from cluttering up the class...
234
Jason Stokes
jstok@...
Jul 17, 1999 3:04 am
... However, the solution I'd prefer is simply to have the constants in the widget classes, and export them to all and sundry. ... eGroups.com home:...
235
Oliver Elphick
olly@...
Jul 17, 1999 5:28 am
... Well, that's the way it is now with the ...EXTERNALS classes. As I say in another post, my preference is to write higher-level wrapper features that will...
236
Oliver Elphick
olly@...
Jul 17, 1999 5:28 am
... True, but it has the great advantage that it makes it clear that Gtk_can_default belongs to a GTK_BUTTON only. It much reduces the chance of a...
237
Richie Bielak
richieb@...
Jul 17, 1999 5:55 pm
Oliver Elphick wrote: [...] ... But a button is also a widget, so all widget flags apply to buttons also. For example Gtk_can_default is declared in...