# wx.lib.agw.xlsgrid.XLSComment¶

This is a class which holds information about the content of the “comment window” (aka note) in Excel.

Note

If Mark Hammonds’ pywin32 package is not available, this class can not be used.

## Class Hierarchy¶

Inheritance diagram for class XLSComment:

## Methods Summary¶

 __init__ Default class constructor. Draw Actually draws a small red triangle in the top-right corder of the cell

## Class API¶

class XLSComment(object)

This is a class which holds information about the content of the “comment window” (aka note) in Excel.

Note

If Mark Hammonds’ pywin32 package is not available, this class can not be used.

### Methods¶

__init__(self, comment)

Default class constructor.

Parameters

comment – the actual text contained in the Excel cell comment (note).

Draw(self, dc, rect)

Actually draws a small red triangle in the top-right corder of the cell to indicate that a comment is present.

Parameters