[java-gnome-hackers] Gnome druid page
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2003-04-13 12:41:55
|
Hi, I've been trying to create a gnome druid and noticed that the DruidPage signals have been done wrong. There are five signals boolean back boolean cancel boolean next void finish void prepare At present, the implementations think that they are all void functions and ignore the druid widget parameter. The boolean return values are to say whether the handler has handled the event (i.e. changed the page manually). If false, the druid will change the page where it can. Finish and prepare are to allow pages to be constructed and destroyed (or set up, etc.) just before/after coming into use. As there are two different groups of events, I would like to split this event system: DruidPageChangeEvent, public boolean changePage( Types BACK, NEXT and CANCEL DruidPagePreparationEvent public void preparePage( Types PREPARE, FINISH I will also make sure that the parameters and return values are done correctly. Does this sound ok? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |