Skip to content

"Add" button to create new textblocks #64

@GeorgeCiesinski

Description

@GeorgeCiesinski

Description:

Add a button to create new textblocks.

Solution:

  1. An add button is placed on the root window under the textblocks display. Clicking this opens a toplevel widget with:
  • A dropdown list containing the directories setup in the config file & label naming the dropdown
  • A text input field for the shortcut & label naming the text input field
  • A text input field for the textblock & label naming the text input field
  • A save button
  1. Clicking save checks if both fields are filled out. If yes, it creates a new file in the selected directory & names it the user input for the shortcut input field, and saving the textblock text within this file.
  2. Ascertain that the text file has been created.
  3. Automatically reload textscript.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions