Comments (10)
Ok, root.set_widget_cycle_key(forward_cycle_key=py_cui.keys.KEY_TAB, reverse_cycle_key=None)
helped me to reproduce the behavior.
That was indeed a bug, just pushed a PR to fix it 😉
from py_cui.
Awesome @PabloLec
Terrific work
Does this fix #121 ?
from py_cui.
Awesome @PabloLec Terrific work
Does this fix #121 ?
Yes indeed! I didn't see that issue. Good call, I'll add it in the PR.
from py_cui.
I can't reproduce this behavior.
Using v0.1.4
I can use the example scripts without any exception.
Could you also paste the error type? You just provided the traceback.
And do you have any code to be tested? In order to reproduce the error.
from py_cui.
the only error output I get is:
KeyError: 5
I am getting this error, when I run my own local program that I'm building with py_cui.
Its local code, not a program installed with pip
I set a cycle widget key in my program, maybe that's where it is coming from.
aka.
root.set_widget_cycle_key(forward_cycle_key=py_cui.keys.KEY_TAB, reverse_cycle_key=None)
from py_cui.
Thanks.
What about #116 ?
It may not be fixed, but it's certainly related
from py_cui.
Thanks.
What about #116 ?
It may not be fixed, but it certainly related
Not this one 😄
This one should be closed by the way as it was resolved by #125
When cycling through widgets, status_bar
get refreshed at some point which is expected behavior. Here, the user set status_bar
to None
in order to hide it. That caused an exception obviously.
#125 introduced two new methods for status_bar
, .show()
and .hide()
which will avoid the need to unset it. So now I guess raising an exception when status_bar
is None is acceptable as there is no reason it should be.
from py_cui.
Ahh, right.
Thanks for the info. It is helpful; I haven't coded with python before now
from py_cui.
Great to begin with a TUI 😃 I also created my first open-source Python project that way.
from py_cui.
That's cool.
I'm almost finished my first iteration with this project.
I just need to work out how to 'turn off' the CUI temporarily, and I'll be able to finish it and push.
I won't say much more here, I'm trying not to hijack the thread
from py_cui.
Related Issues (20)
- Skip focus for certain widgets HOT 3
- ....
- Add an outer border around the textbox popup
- Cannot update widgets in a for or while loop HOT 3
- Possibility to delete color rules HOT 2
- CUI not accessable, after posting terminal output to window HOT 7
- Cycling widgets does not respect the non selectable widget option
- ScrollTextBlock not rending text correctly once text row length is GTE viewport rows/y dimension
- [not-a-bug][help-wanted] How to change border colors of selected buttons HOT 1
- Error when running .clear() on text_block HOT 3
- Allow multi-line items for scroll_menu
- [FIX] For list index out of range when clicking blank space with mouse in a MenuPopup HOT 1
- Add option for dumping py_cui interface as xml (machine readable) file
- Can only select text with a right click and cannot drag mouse to select on demand HOT 1
- HOME and END in TextBoxPopup places cursor outside of popup box HOT 1
- getting ModuleNotFoundError: import py_cui while running examples HOT 1
- Trouble installing via pip on Windows HOT 2
- [notabug][helpwanted] Not sure how popup is meant to work ? HOT 1
- Executing code with `py_cui` yields no results on my terminal (cmd) on my windows 11 platform HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py_cui.