Manages tags for images.
|
|
|
__repr__(self)
Returns a string summarizing all known images and tags, suitable for
printing on stdout or pasting into a Tags file. |
source code
|
|
|
|
|
write_tag_file(self)
Save the current set of tags to a Tags file chosen from the top-level
directory used in the images we've seen. |
source code
|
|
|
read_tags(self,
dirname)
Read in tags from files named in the given directory, and tag images
in the imagelist appropriately. |
source code
|
|
|
process_tag(self,
tagname,
filenames)
After reading a tag from a tags file, add it to the global tags list
if it isn't there already, and add the given filenames to it. |
source code
|
|
|
|
|
|
|
|
|
toggle_tag(self,
tagno,
img)
Toggle tag number tagno for the given img. |
source code
|
|
|
match_tag(self,
pattern)
Return a list of tags matching the pattern. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|