Poppler.AnnotText¶
- Subclasses:
 None
Methods¶
- Inherited:
 Poppler.AnnotMarkup (14), Poppler.Annot (14), GObject.Object (37)
- Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Class Details¶
- class Poppler.AnnotText(**kwargs)¶
 - Bases:
 - Abstract:
 No
- classmethod new(doc, rect)¶
 - Parameters:
 doc (
Poppler.Document) – aPoppler.Documentrect (
Poppler.Rectangle) – aPoppler.Rectangle
- Returns:
 A newly created
Poppler.AnnotTextannotation- Return type:
 
Creates a new Text annotation that will be located on rect when added to a page. See
Poppler.Page.add_annot()New in version 0.16.
- get_icon()¶
 - Returns:
 a new allocated string containing the icon name
- Return type:
 
Gets name of the icon of self.
- get_is_open()¶
 - 
Retrieves the state of self.
 
- get_state()¶
 - Returns:
 Poppler.AnnotTextStateof self.- Return type:
 
Retrieves the state of self.
- set_icon(icon)¶
 - Parameters:
 icon (
str) – the name of an icon
Sets the icon of self. The following predefined icons are currently supported:
Poppler.ANNOT_TEXT_ICON_COMMENTPoppler.ANNOT_TEXT_ICON_NEW_PARAGRAPHPoppler.ANNOT_TEXT_ICON_PARAGRAPHPoppler.ANNOT_TEXT_ICON_INSERTPoppler.ANNOT_TEXT_ICON_CIRCLENew in version 0.16.