[Gtk-sharp-list] Naming thoughts
19 Jun 2002 13:17:56 -0500
A fix to the "EmitAdd" problem that doesn't require extensive metadata
hacking occured to me last night:
As far as I can tell, nearly all of the signal/method collisions in
which the method truly only emits a signal are void(void) methods. So
perhaps the resolution process should look like:
a) If the method signature is void(void), prepend "Emit" to the method.
b) Elsewise, append "Emitted" to the signal.
 In the case of the GtkEditable interface, GtkEntry for some bizarre
reason defines a CopyClipboard signal _and_ implements a void(void)
CopyClipboard method from GtkEditable. Why the signal and method were
broken up I don't know, but I note this as an exception because
(currently) in such cross-interface collisions, one cannot perform the
resolution process I proposed, but instead change the name of whichever
collides in the implementing class.