1wxIcon(3) Erlang Module Definition wxIcon(3)
2
3
4
6 wxIcon - See external documentation: wxIcon.
7
9 See external documentation: wxIcon.
10
11 This class is derived (and can use functions) from:
12 wxBitmap
13
15 wxIcon():
16
17
18 An object reference, The representation is internal and can be
19 changed without notice. It can't be used for comparsion stored on
20 disc or distributed for use on other nodes.
21
23 new() -> wxIcon()
24
25 See external documentation.
26
27 new(Filename) -> wxIcon()
28 new(Loc) -> wxIcon()
29
30 Types:
31
32 Filename = unicode:chardata()
33 Loc = wx:wx_object()
34
35 See external documentation.
36 Also:
37 new(Loc) -> wxIcon() when
38 Loc::wx:wx_object().
39
40
41 Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP |
42 ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE |
43 ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE |
44 ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE |
45 ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA |
46 ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA |
47 ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE |
48 ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE |
49 ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE |
50 ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE |
51 ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE |
52 ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE |
53 ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE |
54 ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE |
55 ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA |
56 ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE |
57 ?wxBITMAP_TYPE_ANY
58
59 new(Filename, Options::[Option]) -> wxIcon()
60
61 Types:
62
63 Filename = unicode:chardata()
64 Option = {type, wx:wx_enum()} | {desiredWidth, integer()} |
65 {desiredHeight, integer()}
66
67 See external documentation.
68 Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP |
69 ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE |
70 ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE |
71 ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE |
72 ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA |
73 ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA |
74 ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE |
75 ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE |
76 ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE |
77 ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE |
78 ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE |
79 ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE |
80 ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE |
81 ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE |
82 ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA |
83 ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE |
84 ?wxBITMAP_TYPE_ANY
85
86 copyFromBitmap(This, Bmp) -> ok
87
88 Types:
89
90 This = wxIcon()
91 Bmp = wxBitmap:wxBitmap()
92
93 See external documentation.
94
95 destroy(This::wxIcon()) -> ok
96
97 Destroys this object, do not use object again
98
100 <>
101
102
103
104 wx 1.9.3.1 wxIcon(3)