Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes

# Icon Class Reference

List of all members.

## Public Member Functions
def | __init__
def | addImage
def | makeICNS
def | makeICO
## Public Attributes
| images
## Static Public Attributes
tuple | notify = directNotify.newCategory("Icon")

## Detailed Description

    This class is used to create an icon for various platforms.

## Constructor & Destructor Documentation

def __init__ | ( |  | self | ) |

## Member Function Documentation

def addImage | ( |  | self,
|  |  | image
| ) |  |

    Adds an image to the icon.  Returns False on failure, True on success.
    Only one image per size can be loaded, and the image size must be square.

def makeICNS | ( |  | self,
|  |  | fn
| ) |  |

    Writes the images to an Apple ICNS file.  Returns True on success.

def makeICO | ( |  | self,
|  |  | fn
| ) |  |

    Writes the images to a Windows ICO file.  Returns True on success.

## Member Data Documentation

images

tuple notify = directNotify.newCategory("Icon")`[static]`

All Classes Namespaces Functions Variables Enumerations Enumerator Properties