guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use [gtk-object-]destroy ?


From: Andreas Rottmann
Subject: Re: how to use [gtk-object-]destroy ?
Date: Tue, 15 Jun 2004 18:59:55 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Andy Wingo <address@hidden> writes:

> Hi Jan,
>
> On Sun, 2004-06-13 at 22:42 +0200, Jan Nieuwenhuizen wrote:
>> I wondered when taking on the canvas defs, why are functions being
>> defined only to be ignored?
>
> I had been treating the .defs file as a purely machine-generated, modulo
> the include directive, and any syntactically bogus output of h2defs.py.
> Any changes were being put into the overrides file.
>
I did the same, modulo additions that are not generated by h2def.py,
such as default values. On that topic: we should write a .defs merge
tool sometime, which takes two .defs files and produces a superset of
them, asking the user for resolution of conflicts...

> (WRT destroy: The support is there in gtkobject (see gtk.scm), but I
> always used it on windows and widgets, which do define methods that
> aren't ignored. The fact that the method on <gtk-object> isn't defined
> is just a bug.
>
Yeah, feel free to patch the ignore-glob away.

> I think I (or someone) hand-edited the gtk defs file a long time
> ago, that's why you don't see a lot of other functions that do
> deserve ignoring (from back in the days before GObject).)
>
I think I reinroduced most of the hand-removed functions in upgrading
the .defs to GTK 2.4. I think I introduced ignore overrides for those
that didn't make sense, but am not sure now.

>> Apropos, I noticed that quite a number of (2.2) gdk functions are not
>> available, is there any reason not to add some of those when I find
>> them?
>
> Re-generate the defs file, then tweak the overrides file as necessary.
>
I'd merge the old and new .defs, so you can keep manual additions.

Andy
-- 
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden
http://yi.org/rotty      | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

The best way to accelerate a Windows machine is at 9.81 m/s^2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]