minwin
app
button
canvas
combo
component
dialog
event
font
geometry
group
icon
image
label
layout
listbox
menu
multidg
paint
peer
peerimpl
scroll
text
window
|
minwin.peerimpl
Mixin template to implement heavyweight peer for window children.
Plus PeerWrapper to insert peer children into the MinWin tree.
- WindowChild PeerToWindowChild(WindowChildPeer_ peer);
- Get the Component associated with the given peer. Return null if none.
- void setWindowChildPeer(WindowChild c, WindowChildPeer_ peer);
- Associate the given peer with the given WindowChild. The association must be broken when the peer is destroyed.
- template WindowChildImpl()
- Basic peer support for heavyweight WindowChild subclasses.
Implement and override WindowChild functions to handle a peer.
- class PeerWrapper: minwin.component.WindowChild;
- Wrapper around a platform-specific window child peer.
- this(Component parent, WindowChildPeer_ peer);
- Construct a MinWin wrapper for a window child peer and insert it into the MinWin component tree.
The peer must already be parented to the result of calling parent.getPeerForAdd.
The peer is stored as a FOREIGN_PEER so it will not be destroyed if the PeerWrapper is destroyed.
You can override this by setting hasPeer=OWNS_PEER.
|