Re: [java-gnome-hackers] org.gnu.gtk.Action
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2003-12-27 18:47:58
|
Hi, Documenting these new classes would be *really* useful - especially for those of us who have never used the c versions. On Sat, Dec 27, 2003 at 01:12:54AM +0100, Luca De Rugeriis wrote: > I'm unsure about the constructor; Should it be: > public Action(int handle) { > super(handle); This should probably not be public. Methods which take an int handle should be used only internally by java-gnome - our users should not need to know about handles and other c things (e.g. memory management). In some cases, they have to be public (where they are constructed by other packages, e.g. pango objects being constructed internally from within gtk package. If this is the case, the javadoc must say that this method should only be used internally by java-gnome. This is probably a case of documentation... but where would you get an Action object from? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |