[Y-devel] Widget set progress
mtenhagen at quicknet.nl mtenhagen at quicknet.nl
Fri Apr 16 19:09:57 BST 2004
We should use doxygen to create xml documentation of the widgets.
We could then design/plan changes in a new set of xml documents.
Then it would be easy to compare the current arch version to the planned functionality.
Maybe we shouldnt do this for the widgets only but for the entire arch tree. If there will be several widgetsets in the future this might be different.
> > Is there a more complete list of proposed Widgets with methods and
> > properties outlined somewhere than the vague outline shown on
> > www.y-windows.org?
> >
> > Is there going to be a design doc published? If so, will it be
> edittable> on the Wiki?
> >
> > I've heard in the past that the widget set was going to use the idea
> > that everything is a container. Can anyone clarify this?
>
> I haven't received much response to my inquery so I'm going to
> follow-up
> on it now.
>
> I've looked over the ToDo list posted on the Wiki. I'm looking for
> morethan that; I want to know what properties, events and methods
> will be
> added to the existing Widgets as well as what new Widgets to
> expect to
> be included in 0.3.
>
> I'd like to recommend the following be added at a bear minimum:
>
> Widget
> ================================================
> Events: FocusRequested, MouseEntered, MouseExitted, MouseMoved,
> MousePressed (all passing the x,y coordinates [relative to the Widget
> not the Desktop] as well as the button state)
> Properties: Enabled (boolean), Focussed (boolean), Parent (Widget),
> Visible (boolean)
> Methods: RequestFocus
>
>
> Window
> ================================================
> Events: requestClose changed to closeRequested (for consistency
> ... use
> past tense like 'clicked' in the Button and CheckBox widgets)
> Properties: Child (Widget), FocussedWidget (Widget), Location (uint
> x,uint y), WindowState (enum -- Normal,Minimized,Maximized,etc)
> Methods: Close (just calls destroy internally), Hide
>
> * replace SetChild method with Child property (returning 0 for the
> object Id if none)
> ** replace SetFocussedWidget method with FocussedWidget property
> (returning 0 for the object Id if none)
>
>
> I'm definitely looking forward to comments. I think the Widget API
> discussion is long overdue so if you have any annoyances with the
> current API please speak up now rather later.
>
> --
> Casey Winans <casey at cwinans.com>
>
>
>
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved