The Note class defines a text note. The note may be preformatted or
'flowed', which indicates that it text string is considered to be in
paragraphs, separated by newlines.
|
|
__init__(self,
text='')
Create a new Note object, initializing from the passed string. |
source code
|
|
|
|
|
|
|
|
|
list
|
|
|
|
set(self,
text)
Set the text associated with the note to the passed string. |
source code
|
|
|
str
|
get(self,
markup=False)
Return the text string associated with the note. |
source code
|
|
|
|
append(self,
text)
Append the specified text to the text associated with the note. |
source code
|
|
|
|
|
|
int
|
|
|
|
|
|
str
|
|
|
Inherited from primaryobj.BasicPrimaryObject:
get_change_display,
get_change_time,
get_gramps_id,
get_handle,
get_marker,
has_handle_reference,
has_media_reference,
has_source_reference,
remove_handle_references,
remove_media_references,
remove_source_references,
replace_handle_reference,
replace_media_references,
replace_source_references,
set_gramps_id,
set_handle,
set_marker
Inherited from baseobj.BaseObject:
get_handle_referents,
get_referenced_handles,
get_referenced_handles_recursively,
get_text_data_child_list,
matches_regexp,
matches_string
Inherited from privacybase.PrivacyBase:
get_privacy,
set_privacy
|