MinWin API Reference

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.icon

Icon class

alias IconPeer;
Windows Alias for the native type for icons.

Windows HICON

class Icon;
Encapsulates an icon resource.

IconPeer_ peer;
Windows Native icon peer.

this(char[] iconName);
Windows Loads icon from the iconName resource

this(IconPeer_ p);
Windows Creates icon directly from peer. Does not take ownership.

void dispose();
Windows Dispose of the system resource associated with this object if it owns the peer.

int hasPeer;
Windows Peer ownership state.

void disposePeer();
Windows Dispose of the system resource associated with this object if it owns the peer.