PDA

View Full Version : Subclassing WindowClass Objects



dulux-oz
March 27th, 2014, 04:32
Hu Guys,

Is it possible to subclass a WindowClass so that the common aspects of a series of WindowClasses could be placed in one Object?

If so, how would we use such a template - as normal or in a different way?

Example Code of what I mean follows:


<template name="">
<windowclass>
<All the normal WindowClass "stuff">
</windowclass>
</template>


Cheers

Mgrancey
March 27th, 2014, 17:02
Yes-ish, pretty much everything you open is a window class based on template. What do you mean/want in particular? Just a universal window or something specific?

Moon Wizard
March 28th, 2014, 03:14
No. There is no mechanism for inheritance among windowclass objects. It would essentially require a new tag type, like the template tag; but for windowclasses. It's not a small project and not necessarily needed, so it's lower priority than many other features at this point.

Regards,
JPG

dulux-oz
March 28th, 2014, 03:51
It's not a small project and not necessarily needed, so it's lower priority than many other features at this point.

It wasn't a request, more of an interest question/intellectual exercise - thanks for clarifying, JPG. :)