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

[Feature] Use modern-looking GUIs #101

Open
ghost opened this issue Apr 16, 2023 · 2 comments
Open

[Feature] Use modern-looking GUIs #101

ghost opened this issue Apr 16, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 16, 2023

Looking at the current GUI in organise_desktop/Clean.py, it's pretty simple and made with Tkinter.

I think the codebase could be converted to use Tkinter's ttk widgets which are a lot cleaner, modern-looking, and well designed. Another option is the customtkinter module, which too has modern widgets. I believe customtkinter, tkinter, and tkinter.ttk can all be used/combined together.

  • customtkinter is open source.
  • A great tutorial on modern GUIs with Tkinter's ttk and customtkinter can be found here.

I am not affiliated with ClearCode on Youtube.

@ghost ghost changed the title Use modern-looking GUIs [Feature] Use modern-looking GUIs Apr 16, 2023
@Swish78
Copy link

Swish78 commented Oct 14, 2023

Hello,

I've taken a look at the current GUI in organise_desktop/Clean.py, and I'd like to suggest an enhancement. We can modernize the GUI by switching to Tkinter's ttk widgets. Here's a straightforward plan to start:

For checkboxes:

def make_checkbutton(self, text):
    cb = ttk.Checkbutton(self, text=text, command=lambda: self.check(text))
    cb.state(['!alternate'])
    cb.state(['selected'])
    cb.pack(side='top', fill='x')
    return cb

For buttons:

def make_button(self, text, command):
    btn = ttk.Button(self, text=text, command=command)
    btn.pack(side='left')
    return btn

These changes will give the GUI a more modern and cleaner look. Please consider assigning this task to me, and I'll get started on the improvements.

@blavejr
Copy link
Owner

blavejr commented Oct 23, 2023

hey @Swish78 and @dishb guys you are always welcome to put in a pull request, I do not get much time to work on this project anymore but its still dear to my heart, please feel free to make improvements and put in a pull request and I will attend to it.

Genius-Raptor added a commit to Genius-Raptor/OrganiseDesktop that referenced this issue Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants