GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.WithImages — wxPython 4.3.2 Docs
|
Sets the image list for the page control and takes ownership of the list. |
|
Return the number of images in this control. |
|
Returns the associated image list, may be nullptr. |
|
Returns the image list updated to reflect the |
|
Return |
|
Sets the image list to use. |
|
Set the images to use for the items in the control. |
Properties Summary¶See |
|
See |
Class API¶Possible constructors:
WithImages() -> None
A mixin class to be used with other classes that use a ImageList.
None
Sets the image list for the page control and takes ownership of the list.
This function exists for compatibility only, please use SetImages in the new code.
imageList (wx.ImageList)
None
See also
Return the number of images in this control.
The returned value may be 0 if there are no images associated with the control.
int
Added in version 4.1/wxWidgets-3.1.6.
See also
Returns the associated image list, may be nullptr.
Note that the new code should use GetUpdatedImageListFor instead.
See also
Returns the image list updated to reflect the DPI scaling used for the given window if possible.
If SetImages has been called, this function creates the image list containing the images using the DPI scaling in effect for the provided win, which must be valid.
Otherwise it behaves as GetImageList , i.e. returns the image list previously set using SetImageList or AssignImageList , and just returns nullptr if none of them had been called.
win (wx.Window)
Possibly null pointer owned by this object, i.e. which must not be deleted by the caller.
Added in version 4.1/wxWidgets-3.1.6.
Return True if the control has any images associated with it.
bool
Added in version 4.1/wxWidgets-3.1.6.
See also
Sets the image list to use.
It does not take ownership of the image list, you must delete it yourself.
This function exists for compatibility only, please use SetImages in the new code.
imageList (wx.ImageList)
None
See also
Set the images to use for the items in the control.
This function allows to specify the images to use in multiple different resolutions, letting the control to select the appropriate one for its DPI scaling. For this reason, it should be preferred to using the functions taking wx.ImageList, which has a fixed size, in the new code.
images (Vector) – Non empty vector of bitmap bundles. Valid image indexes for the items in this control are determined by the size of this vector.
None
Added in version 4.1/wxWidgets-3.1.6.
See GetImageCount
See GetImageList and SetImageList