Skip to content

Gui status bar #30

@e3rd

Description

@e3rd

This code adds a status bar

        # status bar would look like this
        status_var = StringVar()
        status_var.set("|".join(self.shortcuts))
        status_label = Label(self.frame, textvariable=status_var, relief="sunken", anchor="w", padx=5)
        status_label.pack(side="bottom", fill="x", pady=(20, 0))

That looks like this:

Image

We'd like to have a code that displays only shortcuts when they are available.

  • Focusing date_entry.py spinbox.bind("<Up>", self.increment_value) will display F4
  • Defocusing it will hide the status bar.
  • Do not have the status bar visible for F1/Enter/Esc (as it looks bad when having a small form)

The testing show case might be run that way: $ mininterface showcase 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions