Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs Update #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update README.txt
  • Loading branch information
iRajMishra authored Oct 1, 2020
commit 1d69cb6e2ca47719f8f3f4d1df495d33d5f9def5
13 changes: 8 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ running operation, providing a visual cue that processing is underway.

The ProgressBar class manages the current progress, and the format of the line
is given by a number of widgets. A widget is an object that may display
differently depending on the state of the progress bar. There are three types
of widgets:
- a string, which always shows itself
differently depending on the state of the progress bar.

- a ProgressBarWidget, which may return a different value every time its
There are mainly three types of widgets. They are :

First - a string, which always shows itself
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the formatting is good, but I don't think "First", "Second", "Third" are necessary. There's also another pull request changing this to markdown which may conflict with this one.


Second - a ProgressBarWidget, which may return a different value every time its
update method is called

- a ProgressBarWidgetHFill, which is like ProgressBarWidget, except it
Third - a ProgressBarWidgetHFill, which is like ProgressBarWidget, except it
expands to fill the remaining width of the line.

The progressbar module is very easy to use, yet very powerful. It will also
automatically enable features like auto-resizing when the system supports it.