Re: [java-gnome-hackers] Init code for gnome.
Brought to you by:
afcowie
From: Jeffrey M. <ku...@zo...> - 2002-09-08 12:51:40
|
On Sat, 2002-09-07 at 23:10, Philip A. Chapman wrote: > Everyone, > > I've put the gnome program initialization code in > org.gnu.gnome.Program. It is taken almost whole-sale from the old > GnomeProgram class file. There are 4 methods which do initialization. > initLibgnome0, initLibgnome1, initLibgnomeui0, and initLibgnomeui1. > Because initLibgnome0 and initLibgnome1 have the same number and types > of arguments as initLibgnomeui0 and initLibgnomeui1 (respectively) I > could not create four constructors. Therefore, I created a protected > constructor and four public static methods which will make the > appropriate native calls, create a new instance of > org.gnu.gnome.Program, and return it. I can't wait to look at it. Keep up the good work. > I updated TestGNOME to use initLibgnomeui1 through the appropriate > static method. It seems to be working in that it can build and display > the main window. However, every time I mouse into the window, I get a > segmentation fault. Is anyone aware of any issues with the handling of > mouse events? The TestGNOME program does not listen for mouse events. > I could add it if it would help in the debugging process. There are several problems with events at the present time. I am trying to debug them now. -Jeff |