]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/iconbndl.tex
change configure to better detect gstreamer. Check create is valid in mediaplayer...
[wxWidgets.git] / docs / latex / wx / iconbndl.tex
CommitLineData
9a6a5530
MB
1\section{\class{wxIconBundle}}\label{wxiconbundle}
2
3This class contains multiple copies of an icon in different sizes,
4see also \helpref{wxDialog::SetIcons}{wxdialogseticons} and
9ce8d05e 5\helpref{wxTopLevelWindow::SetIcons}{wxtoplevelwindowseticons}.
9a6a5530
MB
6
7\wxheading{Derived from}
8
9No base class
10
11\latexignore{\rtfignore{\wxheading{Members}}}
12
13\membersection{wxIconBundle::wxIconBundle}\label{wxiconbundlewxiconbundle}
14
15\func{}{wxIconBundle}{\void}
16
17Default constructor.
18
19\func{}{wxIconBundle}{\param{const wxString\& }{file}, \param{long }{type}}
20
21Initializes the bundle with the icon(s) found in the file.
22
23\func{}{wxIconBundle}{\param{const wxIcon\& }{icon}}
24
25Initializes the bundle with a single icon.
26
27\func{}{wxIconBundle}{\param{const wxIconBundle\& }{ic}}
28
29Copy constructor.
30
31\membersection{wxIconBundle::\destruct{wxIconBundle}}\label{wxiconbundledtor}
32
33\func{}{\destruct{wxIconBundle}}{\void}
34
35Destructor.
36
37\membersection{wxIconBundle::AddIcon}\label{wxiconbundleaddicon}
38
39\func{void}{AddIcon}{\param{const wxString\& }{file}, \param{long }{type}}
40
41Adds all the icons contained in the file to the bundle;
42if the collection already contains icons with the same
43width and height, they are replaced by the new ones.
44
45\func{void}{AddIcon}{\param{const wxIcon\& }{icon}}
46
47Adds the icon to the collection; if the collection already
48contains an icon with the same width and height, it is
49replaced by the new one.
50
51\membersection{wxIconBundle::GetIcon}\label{wxiconbundlegeticon}
52
53\constfunc{const wxIcon\&}{GetIcon}{\param{const wxSize\& }{size}}
54
55Returns the icon with the given size; if no such icon exists,
56returns the icon with size wxSYS\_ICON\_X/wxSYS\_ICON\_Y;
57if no such icon exists,
58returns the first icon in the bundle. If size = wxSize( -1, -1 ),
59returns the icon with size wxSYS\_ICON\_X/wxSYS\_ICON\_Y.
60
61\constfunc{const wxIcon\&}{GetIcon}{\param{wxCoord }{size = -1}}
62
63Same as GetIcon( wxSize( size, size ) ).
64
65\membersection{wxIconBundle::operator=}\label{wxiconbundleoperatorassign}
66
67\func{const wxIconBundle\&}{operator=}{\param{const wxIconBundle\& }{ic}}
ba637f22
JS
68
69Assignment operator.
70