Lines Matching full:folder
18 particular collection of folders, :class:`Folder`, which represents a single
19 folder, and :class:`Message`, which represents a single message.
27 .. class:: Folder(mh, name)
29 The :class:`Folder` class represents a single folder and its messages.
32 .. class:: Message(folder, number[, name])
34 :class:`Message` objects represent individual messages in a folder. The Message
63 Return the current folder name.
68 Set the current folder name.
83 Return a list of direct subfolders of the given folder.
88 Return a list of all subfolders of the given folder.
93 Create a new folder.
98 Delete a folder -- must have no subfolders.
103 Return a new open folder object.
106 .. _mh-folder-objects:
108 Folder Objects
111 :class:`Folder` instances represent open folders and have the following methods:
114 .. method:: Folder.error(format[, ...])
119 .. method:: Folder.getfullname()
121 Return the folder's full pathname.
124 .. method:: Folder.getsequencesfilename()
126 Return the full pathname of the folder's sequences file.
129 .. method:: Folder.getmessagefilename(n)
131 Return the full pathname of message *n* of the folder.
134 .. method:: Folder.listmessages()
136 Return a list of messages in the folder (as numbers).
139 .. method:: Folder.getcurrent()
144 .. method:: Folder.setcurrent(n)
149 .. method:: Folder.parsesequence(seq)
154 .. method:: Folder.getlast()
156 Get last message, or ``0`` if no messages are in the folder.
159 .. method:: Folder.setlast(n)
164 .. method:: Folder.getsequences()
166 Return dictionary of sequences in folder. The sequence names are used as keys,
170 .. method:: Folder.putsequences(dict)
172 Return dictionary of sequences in folder name: list.
175 .. method:: Folder.removemessages(list)
177 Remove messages in list from folder.
180 .. method:: Folder.refilemessages(list, tofolder)
182 Move messages in list to other folder.
185 .. method:: Folder.movemessage(n, tofolder, ton)
187 Move one message to a given destination in another folder.
190 .. method:: Folder.copymessage(n, tofolder, ton)
192 Copy one message to a given destination in another folder.