hasii2011 / albow-python-3 Goto Github PK
View Code? Open in Web Editor NEWAlbow running on Python 3.x
License: MIT License
Albow running on Python 3.x
License: MIT License
The above class needs to be updated to NOT have a dependency on the demo program
TextBox does not respect the #of columns and the # of rows sizing parameters. Also, when those are specified it does not automatically display its scrollbars
Make a page for: https://pypi.org
`
# Pygame 1.9 update
#
# timer_event = Event(USEREVENT, time = time_now)
timer_event = Event(USEREVENT, dict=None)
events = []
`
The event needs to have time included
More compact and self-explanatory
This class is too large; Make it smaller
Original time_base not getting set correctly. Has to do with my non-use of modules
This will be an on going issue; I am doing this as I change files and need to figure all the code
if responses and default is not None:
self.enter_response = responses[default]
if responses and cancel is not None:
self.cancel_response = responses[cancel]
Stopped working after refactor of event loop.
User events that are dispatched via `pygame.time.set_timer()' are currently just eaten by the Albow event processor loop
Does not have ThemeProperties
Currently, Albow loads its current theme via a static method. Make an external JSON file that holds the theme defaults and load them in at runtime; Voila' no code changes to change them just an external configuration file
Currently developers input a list of strings to display; The selected value is the list of strings; Enhance the widget to also accept a list of return values; Then returns those values when the string items is selected.
This seems to be a regression.
.thunk()
# TODO: Fix to include the time attribute
#
# Pygame 1.9 update
#
# event = Event(USEREVENT, time = timestamp())
event = Event(USEREVENT, dict=None)
Image button uses theme properties to set its disabled, enabled, highlighted states. That is not correct. Should be overridable_property
Several print statements are messing up debug output in StarTrekPy. Need a patch release to fix this
Once scrolling is on. Provide an option that defaults to true; When lastInsertedVisible then the scrollbar moves so that the last inserted line is always visible
TODO: draw background and border here
#
# TODO Do not use bare exception
#
Update tab panel to call a method when the focus switches away from a panel and when focus switches to a panel
TODO: This is broken figure out how to fix it
This class is too large; Make it smaller
when specifying to view other than default nRows the listbox partial obscures the last selection
TODO fix screen imports shell & shell imports screen
If you change the text in a label it does not resize to fit
Publish on GitHub or ReadTheDocs
TODO Do a unit test on this class
Triage and fix this error:
ERROR: Widget: Attribute error AttributeError("module 'pygame.event' has no attribute 'pos'",)
These seem to be problematic for me since I use pdoc3 to generate API docs.
Fix TODO:
:param surf:
:param i: TODO remove unused input parameter
:param rect:
:return:
TODO: We need a demo screen for this class
An ImageButton is a button whose appearance is defined by an image.
Fix todo
# TODO: flags
# print "GLSurface.blit:", src, "at", dst, "area =", area ###
.blit and .fill
.set_viewport()
w & h not used
ThemeLoader used the internal ResourceUtility method to look up its resources. Internal resources for the built-in Themes should look them up in an internal resource package.
Turns out that when loading themes the theme loader uses the resource utility module to load fonts. We cannot abide by that. Use our own mechanism and cache to avoid the API standard method
Renamed old References module to legacyReferences; Updated single use in Demo to use References module
# TODO Something about my re-packaging caused me to lose
# visibility to the root widget; Figure it out later
Would be nice to be able to display multiples lines of text. Should include scrollbars when necessary; Should be able to specify size in columns and rows. First version can be read-only
A typing changed caused buttons to stop working
TODO: The alignment of the form is not quite right
The newest list control does not read its them attributes. Update:
I really would like buttons that look 3D'sh; Like this:
https://inventwithpython.com/blog/2012/10/30/designing-a-button-ui-module-for-pygame/
This is broken because of the way I initialized the listbox init method and the way I called the super PaletteView constructor; Essentially, you get two parameters coming in and 2 in the input argument dictionary
I am relying on the PyCharm plugin and option to warn me of these
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.