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
29 Types:
30
31 Filename = unicode:chardata()
32
33 See external documentation.
34 Also:
35 new(Loc) -> wxIcon() when
36 Loc::wx:wx_object().
37
38
39 Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP |
40 ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE |
41 ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE |
42 ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE |
43 ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA |
44 ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA |
45 ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE |
46 ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE |
47 ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE |
48 ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE |
49 ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE |
50 ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE |
51 ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE |
52 ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE |
53 ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA |
54 ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE |
55 ?wxBITMAP_TYPE_ANY
56
57 new(Filename, Options::[Option]) -> wxIcon()
58
59 Types:
60
61 Filename = unicode:chardata()
62 Option = {type, wx:wx_enum()} | {desiredWidth, integer()} |
63 {desiredHeight, integer()}
64
65 See external documentation.
66 Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP |
67 ?wxBITMAP_TYPE_BMP_RESOURCE | ?wxBITMAP_TYPE_RESOURCE |
68 ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE |
69 ?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE |
70 ?wxBITMAP_TYPE_XBM | ?wxBITMAP_TYPE_XBM_DATA |
71 ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA |
72 ?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE |
73 ?wxBITMAP_TYPE_GIF | ?wxBITMAP_TYPE_GIF_RESOURCE |
74 ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE |
75 ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE |
76 ?wxBITMAP_TYPE_PNM | ?wxBITMAP_TYPE_PNM_RESOURCE |
77 ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE |
78 ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE |
79 ?wxBITMAP_TYPE_ICON | ?wxBITMAP_TYPE_ICON_RESOURCE |
80 ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF | ?wxBITMAP_TYPE_TGA |
81 ?wxBITMAP_TYPE_MACCURSOR | ?wxBITMAP_TYPE_MACCURSOR_RESOURCE |
82 ?wxBITMAP_TYPE_ANY
83
84 copyFromBitmap(This, Bmp) -> ok
85
86 Types:
87
88 This = wxIcon()
89 Bmp = wxBitmap:wxBitmap()
90
91 See external documentation.
92
93 destroy(This::wxIcon()) -> ok
94
95 Destroys this object, do not use object again
96
98 <>
99
100
101
102 wx 1.8.7 wxIcon(3)