Menu

How to use TkSheet with PAGE

2025-01-26
2025-01-27
  • Stéphane LAMBELIN

    Hello,
    I wonder what is the best way to add a TkSheet widget to an app created with PAGE. Would it be possible to add this widget to the list ?

    Thanks

     
  • Anonymous

    Anonymous - 2025-01-26

    Hello Stéphane,

    Unfortunately, at this time, it isn't possible for PAGE to host anything in the toolbox other than Tcl/Tk widgets, since it's written in Visual Tcl.

    However, I wrote a couple of demo programs showing how to use the TkSheet widget a while ago. Don was kind enough to include them in the PAGE 8 distribution. You can find them in the /examples/custom/ folder. The tksheet_2 folder includes a sample program and a PDF of the article that I wrote for Full Circle Magazine.

    It's a little out of date, so it might not work with the current version of TkSheet, since I wrote it back in 2020, but it should give you enough information to get started.

    Greg

     
  • Greg Walters

    Greg Walters - 2025-01-27

    Hello again Stéphane,

    I've created a quick demo using PAGE 8 and the latest version of TkSheets.

    I'm trying to attach it here. Eventually, I will get a GitHub repository set up for it.

    You will need to decompress the file into a folder of your choosing.

    Also, be sure to run the requirements.txt file in pip3...

    pip3 install -r requirements.txt

    This way, you will make sure you have all the requirements for TkSheets and Pandas.

    Sincerely Greg

     
  • Greg Walters

    Greg Walters - 2025-01-27

    Stéphane and any other interested PAGE users,

    I just created a GitHub repository for this project. You can find it at https://github.com/gregwa1953/tkSheets7

    Sincerely,
    Greg

     
  • Greg Walters

    Greg Walters - 2025-01-27

    Hello again Stéphane and others,

    One of my wonderful unpaid and under appreciated testers caught a small bug in the support module.

    You can replace the existing tksheet7_support.py file from the above zip file with the one in this zip or just replace the the entire project from the download from the github repository...
    https://github.com/gregwa1953/tkSheets7

    Either way, you won't fall into the bug unless you press cancel when in the askopenfilename dialog.

    Good luck to all,

    Greg

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.