summaryrefslogtreecommitdiff
path: root/urwid/graphics.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #215 from abadger/linebox-can-omit-sidesAndrew Dunai2018-01-071-26/+71
|\ | | | | Additional linebox functionality
| * Correct problem with defining no left line character breaking later widget ↵Toshio Kuratomi2018-01-061-0/+4
| | | | | | | | layout
| * Additional listbox functionalityToshio Kuratomi2018-01-031-26/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add title_align as a new keyword argument to construct a ListBox. It allows justifying a ListBox to the left or right in addition to centering it. This can be useful for constructing columns out of ListBoxes. * Implement borderless sides. If a ListBox is created with lines or corners set to the empty string then do not create a border element for them. This allows adjoining list boxes to share a single border, or two ListBoxes to seamlessly merge into one another. Fixes #211
* | Python dual support (#266)Andrew Dunai2018-01-041-4/+35
|/ | | | | | | | | | | | | | | | | | | | * WIP * Metaclasses * String literal fixes * Remove 2to3 and make tests compatible with both Python 2 & 3 * Removed debug code. * Added tests for ProgressBar * Fixed examples. * future division & font literals fix * Cleaner fonts initialization.
* Fixed issue with Unicode characters in ProgressBar (#261)Andrew Dunai2018-01-021-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed issue with unicode characters in ProgressBar * Fixed Travis build - replaced deprecated 3.2_with_system_site_packages with 3.4_with_system_site_packages. * Fixed typo. * Fixing build for Python 3.2 * Fix for Python 3.2 & tornado/twisted * Setup script update in regards to #216 * Travis fix * Dependencies for Travis * Removed Python 3.2 from Travis dependency list as deprecated * Regression fix. * Removed bogus lines. * Docs.
* fix hlines in BarGraph.set_data(): sort descendingHeiko Noordhof2014-11-041-0/+1
|
* fix lots of small typosPaul Ivanov2014-02-211-1/+1
|
* pep8 fixes for graphics.pyPatrick Totzke2012-12-131-199/+196
|
* fix sphinx warnings and errosIan Ward2012-07-181-34/+37
| | | | | --HG-- branch : feature-sphinx
* clean up many warnings from pyflakesIan Ward2012-03-171-1/+1
|
* document deprecation of {Flow,Fixed,Box}Widget as base classes and add ↵Ian Ward2011-12-271-8/+18
| | | | | | | missing _sizing and sizing() definitions --HG-- branch : feature-containers
* fix typo in LineBoxMatthijs Kooijman2011-10-151-1/+1
| | | | | | | | This typo caused part of the top line to be drawn using the string for the bottom line. --- urwid/graphics.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
* LineBox actually respects overriding border chars.Julian Berman2011-09-221-36/+28
|
* ProgressBar: make text alignment configurableIan Ward2011-09-071-2/+5
|
* ProgressBar: use properties for done, current. render() requires Text ↵Ian Ward2011-09-051-13/+12
| | | | widget, so move widget creation back out of new and possibly overridden get_text() method.
* ProgressBar: Separates text and bar rendering.Jacob Courtneay2011-09-031-5/+15
| | | | | --HG-- extra : transplant_source : %BF%F4y%09mw%EFt%D5%C6%C4%C8%06%98%AA.%0F%09B%EA
* fix for empty PileIan Ward2011-07-111-1/+2
| | | | | --HG-- extra : transplant_source : 5q%BF%88%9CEk%FF%98%85Nw%C4%F3%DE%5D%C0%F1%ABi
* fix for rendering empty GraphVScaleIan Ward2011-07-091-0/+3
| | | | | --HG-- extra : transplant_source : %E1%8B%BB%29N%3A%2C%20%DA.xsX%87A%DA%9Bf%8B%06
* fix test_urwid unit tests under python3Ian Ward2011-01-141-3/+3
| | | | | --HG-- branch : python3
* remove some meaningless deltasIan Ward2010-12-281-11/+11
| | | | | --HG-- branch : python3
* Merge remote branch 'wardi/master'Wendell2010-07-231-18/+58
|\ | | | | | | | | | | Conflicts: urwid/graphics.py urwid/vterm.py
| * Allow to set a title for LineBox.aszlig2010-07-081-3/+34
| |
| * Use kwargs lines/edges in LineBox to allow for easy overriding.aszlig2010-07-081-18/+26
| |
* | Updated to work with python 3.Wendell2010-05-241-12/+11
|/ | | | After running 2to3, testurwid.py and test_input.py both work!
* Remove unnecessary use of "except:" (without an exception class).Marien Zwart2010-03-071-1/+1
|
* Stop calling type() on literals.Marien Zwart2010-03-071-7/+7
|
* nested_scopes is always set in python 2.2 and up.Marien Zwart2010-03-071-2/+0
|
* Stop using backticks for reprs.Marien Zwart2010-03-071-6/+6
|
* Convert implicit relative to absolute imports.Marien Zwart2010-03-071-7/+7
|
* Remove unused local variables (do not merge blindly! perhaps some of them ↵Marien Zwart2010-02-111-1/+0
| | | | *should* be used?)
* Import cleanup: remove most uses of "import *", remove unused imports.Marien Zwart2010-02-111-5/+8
|
* LineBox is a WidgetDecoration implemented with WidgetWrap (so inherit from both)Ian Ward2009-11-041-4/+6
|
* untab graphics.pyIan Ward2009-11-041-794/+794
|
* split container and wimp widgets into their own files, minor docstring changesian2008-04-111-1/+33
| | | | | --HG-- extra : convert_revision : 766987edbdc32548e121a7c52e8478cef4cf98a6
* fix for #30ian2008-02-151-1/+1
| | | | | --HG-- extra : convert_revision : 21726a274d9d32bbae4f859fc9b181bd7e722188
* continue removing tuple parametersian2007-09-111-7/+13
| | | | | --HG-- extra : convert_revision : aaa1cf54ce8f4626be2d2301f7969d136344fb86
* add PollingListWalker (backwards compatible default list walker), allow old ↵ian2007-03-181-7/+2
| | | | | | | list walker classes to be used with ListBox, rename `ListDetectModifications` to MonitoredList, allow 0-width widgets within Padding widget (fix for empty BigText) --HG-- extra : convert_revision : 9e02335748b8228d2a515b82fa35d6d3d8785d0d
* keep compatibility with old `BarGraph.get_data()` methodrelease-0.9.8ian2007-03-141-1/+28
| | | | | --HG-- extra : convert_revision : a51cfa54f5cd9eb75db199e9b68555bcc26b1830
* hide widget_info setting in Widget metaclassian2007-03-111-9/+8
| | | | | --HG-- extra : convert_revision : 38572f0f11d33121517284279678b7ec5c94c0b3
* fix coding: lines, fix `ProgressBar`, update edit.pyian2007-03-111-1/+3
| | | | | --HG-- extra : convert_revision : 33fee8e3f5cece36a341df175794d3dae21b1e18
* rename Widget.invalidate to Widget._invalidate and remove from example ↵ian2007-03-061-4/+4
| | | | | | | calc.py. Add Widget._emit method. --HG-- extra : convert_revision : 87d31996ea4ac4506ae9c74874c623098c590534
* CanvasCache deuglification - automatic caching of render and rowsian2007-02-261-4/+12
| | | | | --HG-- extra : convert_revision : 7c391e11db44e2101878253dfd66cccf0573ed26
* cache BarGraph, WidgetWrapian2007-02-221-2/+5
| | | | | --HG-- extra : convert_revision : ebe45ed790c818e5d9480399969db4ebef302c52
* fix bugs in WidgetWrap and graph.pyian2007-02-191-7/+8
| | | | | --HG-- extra : convert_revision : e9c7d7b9fae263293da11cb78ac737cae19213d9
* add Widget base class, cache more widget canvasesian2007-02-191-0/+3
| | | | | --HG-- extra : convert_revision : ebf02e864f89ee860fb02e49a33b3df08a4e188b
* Canvas breakage: rename Canvas to TextCanvas. add widget_info, coords and ↵ian2007-02-121-23/+19
| | | | | | | shortcuts to new Canvas base class. add children to CompositeCanvas --HG-- extra : convert_revision : 73eb118cb7c15782f1628ef5284574b9c44d7679
* new CompositeCanvas, CanvasCache classes. Drop python 2.1 supportian2007-01-261-3/+2
| | | | | | --HG-- rename : urwid/utable.py => urwid/str_util.py extra : convert_revision : 5631e8cfea10000d6e63009a3cfc02513b75e8ad
* performance improvements as discussed on listian2006-12-091-1/+1
| | | | | --HG-- extra : convert_revision : b9b4835297509d010a244d49288a02929350e85b
* release 0.9.7release-0.9.7ian2006-10-011-0/+55
| | | | | --HG-- extra : convert_revision : ba9ea5bad833b377739bd193bb8124e8b90e7507
* release 0.9.6release-0.9.6ian2006-08-221-11/+12
| | | | | --HG-- extra : convert_revision : 11453ae4522218c9be3deafb4d187aae3d00553d