-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
666 additions
and
687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ API documentation | |
:maxdepth: 2 | ||
|
||
visualdialog.rst | ||
error.rst | ||
utils.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Exceptions | ||
========== | ||
|
||
**Visual-dialog** defined several exceptions raised by library. | ||
|
||
.. autoexception:: visualdialog.error.ValueNotInBound | ||
|
||
.. autoexception:: visualdialog.error.PanicError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,43 @@ | ||
Text boxes | ||
========== | ||
|
||
.. IMPORTANT:: | ||
**Visual-dialog** contains two **modules**: ``visualdialog.box`` and ``visualdialog.dialog``. | ||
These two **modules** are both imported when you import ``visualdialog``. | ||
.. important:: | ||
**Visual-dialog** provides two classes but only :class:`DialogBox` is destined to be instantiated. | ||
|
||
Two **classes** are defined in these modules but only ``DialogBox`` is destined to be instantiated. | ||
|
||
TextBox | ||
------- | ||
BaseTextBox | ||
----------- | ||
|
||
.. autoclass:: visualdialog.box.BaseTextBox | ||
:members: | ||
:undoc-members: | ||
|
||
.. automethod:: __init__ | ||
|
||
The following methods are public: | ||
|
||
.. autoproperty:: position | ||
|
||
.. autoproperty:: dimensions | ||
|
||
.. automethod:: framing_box | ||
|
||
.. automethod:: get_input | ||
|
||
DialogBox | ||
--------- | ||
|
||
.. autoclass:: visualdialog.dialog.DialogBox | ||
:undoc-members: | ||
:members: | ||
|
||
.. automethod:: __init__ | ||
|
||
The following methods are public: | ||
|
||
.. automethod:: __repr__ | ||
|
||
.. automethod:: __enter__ | ||
|
||
.. automethod:: __exit__ | ||
|
||
.. automethod:: __lt__ | ||
|
||
.. automethod:: char_by_char | ||
|
||
.. automethod:: word_by_word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.