On Fri, 25 Jan 2002 08:01:13 +0100, Neil Conway wrote:

> On Fri, 2002-01-25 at 01:51, Markus Jais wrote:
>> hello
>> 
>> thank you very much. now it works!
>> do you know why the order of the arguments in "items" is different than
>> in C or PyGtk???
> 
> I'm not sure, but I'll take a look at what PyGtk is doing. From the
> sound of it, Ruby-Gtk gets it wrong -- if that's the case, I'll fix it
> in CVS soon, and it will be fixed in the next release.

hello

this is an axample of PyGtk 0.69 (the current release for gtk 1.2)
which I have from ftp://ftp.gtk.org/pub/gtk/python/v1.2/
it is from the directory examples/neil in the file TAppli5.py:

.....
	itemf.create_items([
			('/_File',          None,         None, 0, '<Branch>'),
			('/_File/_New',     '<control>N', file_cb, 1, ''),
			('/_File/_Open',    '<control>O', file_cb, 2, ''),
			('/_File/_Save',    '<control>S', file_cb, 3, ''),
			('/_File/Save _As', None,         file_cb, 4, ''),
			('/_File/_Close',   None,         file_cb, 5, ''),
......

here the order is like the C version.

regards
markus



> 
> Cheers,
> 
> Neil
>