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
New container - side menu #342
Comments
Tried the new demo for side menu - got.
Traceback (most recent call last):
File "issue342.py", line 36, in <module>
size=(600,400), sticky="news", labelFont=20, buttonFont=15, transparency=98) as app:
File "/home/mark/.local/lib/python3.6/site-packages/appJar/appjar.py", line 547, in __init__
self.configure(**kwargs)
File "/home/mark/.local/lib/python3.6/site-packages/appJar/appjar.py", line 2265, in configure
if icon is not None: self.icon = icon
File "/home/mark/.local/lib/python3.6/site-packages/appJar/appjar.py", line 4998, in __setattr__
super(gui, self).__setattr__(name, value)
File "/home/mark/.local/lib/python3.6/site-packages/appJar/appjar.py", line 2545, in setIcon
container.wm_iconbitmap(image)
File "/usr/lib/python3.6/tkinter/__init__.py", line 1868, in wm_iconbitmap
return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "favicon.ico" not defined |
Try removing the `icon` parameter from the main constructor, or put a copy of the favicon in the folder
|
Yep that worked, however it doesn't play nice with ttk. |
early days :) |
I wouldn't say this is a side menu it's more a paged side menu, especially given the previous / next buttons. A side menu would be more akin to ttk's notebook like here. |
I have noticed a small thing though - on Windows, the text in a listbox is underlined when it is active (and it appears that on Mac/Linux this doesn't happen). I feel that it makes the menu on the side a bit odd for some reason - (looks too much like a hyperlink I think). |
The next/previous buttons just cycle through the tabs, they could be easily enabled/disabled. I googled the underline - looks like the "activestyle" config of the listbox defaults to underlined, although you're right, I've never noticed this on a mac. I think setting that to "none" might remove the underline... |
* Now has flag to show buttons * Removed activestyle
@jarvisteach Yep - that removed the underline. |
Long lists add a scrollbar - ruins the colours :( |
A new container - with a menu down the left and panes on the right - similar to installation/setup screens.
This could be achieved fairly easily with a listbox and multiple frames
The text was updated successfully, but these errors were encountered: