phoenix_title 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 Class Hierarchy

Inheritance diagram for class XLSComment:

method_summary Methods Summary

__init__

Default class constructor.

Draw

Actually draws a small red triangle in the top-right corder of the cell


api 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
  • dc – an instance of wx.DC;

  • rect – an instance of wx.Rect, representing the cell rectangle.