[Y-devel] Widget Design Doc
Fred P. fprog26 at hotmail.com
Thu Feb 26 09:53:23 GMT 2004
I started writting a design document for the Widget
based on current things being discussed on the mailling list.
It can be found here:
https://y-win-wiki.jciteassist.org/y-win-wiki/Widget
Other design documents proposal:
https://y-win-wiki.jciteassist.org/y-win-wiki/FrontPage#DesignDocuments
In summary:
- Widget default drawing action should be common (Widget composition)
by calling theme drawing for each common action.
- Widget behavior should be common to all themes (unless specifics)
- Qt/GTK will be available using an Adapter/Wrapper over Ylib
- Normal widget event handling should be common with callback function
pointer for specifics.
i.e. a theme want the button to flash when you click it...
- A function interface for each widget must be designed.
- Object deletion should be done using parent-child approach,
you kill the parent, you kill all the childrens.
- Each container as an owner, the first owner is the Application Container
which is deleted on exit.
(atexit:
https://www.qnx.com/developers/docs/qnx_6.1_docs/neutrino/lib_ref/a/atexit.html)
- Raw events handling are supported but discouraged.
- Cooked events handling is the default behavior.
Fred.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
https://join.msn.com/?page=features/junkmail
https://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved