Aditya Siram

Results 138 comments of Aditya Siram

It's so one can [call base class methods](http://hackage.haskell.org/package/fltkhs-0.8.0.0/docs/Graphics-UI-FLTK-LowLevel-FLTKHS.html#g:24). While the type signatures are the same the underlying [method call](https://github.com/deech/fltkhs/blob/master/src/Graphics/UI/FLTK/LowLevel/Base/Button.chs#L69) is [different](https://github.com/deech/fltkhs/blob/master/src/Graphics/UI/FLTK/LowLevel/Base/Button.chs#L84).

Yes exactly and I admit this is confusing. Basically the inheritance chain looks like: ``` ABase -> A | v BBase -> B | V CBase -> C | v...

If you want to create your own button you'd use [`buttonCustom`](https://github.com/deech/fltkhs/blob/master/src/Graphics/UI/FLTK/LowLevel/Base/Button.chs#L39) which allows you to customize a small set of [essential functions](https://github.com/deech/fltkhs/blob/master/src/Graphics/UI/FLTK/LowLevel/Base/Widget.chs#L130). Overriding arbitrary functions in the inheritance chain is...

Also while this is limiting you can do quite a bit with just those. The entire [fltkhs-themes](https://github.com/deech/fltkhs-themes) package relies mostly custon `draw` and `handle` to get a completely different look-and-feel.

Ah yes, they do crop up in return types, you're right. You don't want a `Ref Group` there because it is only guaranteed to be a `GroupBase` (ie. `Fl_Group`) since...

Hmm.. let me think about that. You maybe right, you can't really add member functions to a child when you override so a `Foo` could be used safely as `BaseFoo`...

The original goal was to release the c-bindings seperately. If you look in the `c-examples` directory, for instance, there are a number of pure C demos. It might be worth...

That's a great point. I think it's probably time to do that. I'm working on other things at the moment and since we already have a decent install story I'm...

I'm ok changing it to GPL2 so long as the exceptions for static linking can also be applied to the binding.

From the output it looks like you _might_ have the wrong version of `fltk` installed. What is the output of `fltk-config --version`? If it is `1.3.3` can you post the...