Module LabelBook :: Class ImageInfo
[hide private]
[frames] | no frames]

Class ImageInfo

source code

This class holds all the information (caption, image, etc...) belonging to a single tab in ImageNotebook.

Instance Methods [hide private]
  __init__(self, strCaption="", imageIndex=-1)
Default Class Constructor.
  SetCaption(self, value)
Sets the tab caption.
  GetCaption(self)
Returns the tab caption.
  SetPosition(self, value)
Sets the tab position.
  GetPosition(self)
Returns the tab position.
  SetSize(self, value)
Sets the tab size.
  GetSize(self)
Returns the tab size.
  SetImageIndex(self, value)
Sets the tab image index.
  GetImageIndex(self)
Returns the tab image index.
  SetTextRect(self, rect)
Sets the rect available for the tab text.
  GetTextRect(self)
Returns the rect available for the tab text.

Method Details [hide private]

__init__(self, strCaption="", imageIndex=-1)
(Constructor)

source code 

Default Class Constructor.

Parameters:
Parameters:
  • strCaption - the tab caption;
  • imageIndex - the tab image index based on the assigned (set) wx.ImageList (if any).

SetCaption(self, value)

source code 
Sets the tab caption.

GetCaption(self)

source code 
Returns the tab caption.

SetPosition(self, value)

source code 
Sets the tab position.

GetPosition(self)

source code 
Returns the tab position.

SetSize(self, value)

source code 
Sets the tab size.

GetSize(self)

source code 
Returns the tab size.

SetImageIndex(self, value)

source code 
Sets the tab image index.

GetImageIndex(self)

source code 
Returns the tab image index.

SetTextRect(self, rect)

source code 
Sets the rect available for the tab text.

GetTextRect(self)

source code 
Returns the rect available for the tab text.