e16-epplets/api
Tom Gilbert 4d1ca43a00 Wed Dec 01 23:05:13 GMT 1999
(gilbertt)

api changes.

Ok. I have added some functions to the api, they are not yet perfect, but
they compile cleanly and don't create any problems. Don't use them yet
though, the api may change.

Window Epplet_create_window(int w,int h,int x,int y,char *title);
void Epplet_window_show(Window win);
void Epplet_window_hide(Window win);
void Epplet_window_destroy(Window win);
void Epplet_window_switch_context(Window newwin);
void Epplet_window_reset_context(void);

All of these functions are in place and work. I have yet to add code to
handle delete_events. At the moment, if you close the dialog window, the
epplet exits. This is clearly not intended ;) I'll fix it tomorrow, its late
here now.

You can even switch context and add widgets to your new window with no
problems ;)

Other things to fix tomorrow is the event handling stuff which assumes only
one window will be around...

I am currently using E-ScreenSave as my test epplet for this code, as I know
only about 2 people use it ;) Try it to see the code working.


SVN revision: 1472
1999-12-01 19:12:33 +00:00
..
.cvsignore blah 1999-11-11 00:08:21 +00:00
Makefile.am Sat Nov 21 12:28:37 GMT 1999 1999-11-20 22:23:03 +00:00
epplet.c Wed Dec 01 23:05:13 GMT 1999 1999-12-01 19:12:33 +00:00
epplet.h.in Wed Dec 01 23:05:13 GMT 1999 1999-12-01 19:12:33 +00:00
snprintf.c well that didn't work 1999-11-27 18:27:47 +00:00