On Tue, Nov 11, 2008 at 11:26 AM, pierre <k.pierre.k@gmail.com> wrote:
On Mon, Nov 10, 2008 at 05:55:45PM -0500, David Sankel wrote:Wouldn't enomous size of WidgetHeiarchy and WidgetHeiarchyStates be
>
> Hrm, I'm having trouble understanding the situation here. What would the
> context around mkButton look like? Are you looking for something like the
> following?
>
> data WidgetHeiarchy = Button Identifier (Event ())
> | Frame Identifyer [WidgetHeiarchy]
> | ...
>
> data WidgetHeiarchyStates = SButton Color
> | ...
>
> adapt :: Glade -> (WidgetHeiarchy -> Behavior WidgetHeiarchyStates ) -> IO()
problematic?