Questions tagged [appjar]

Appjar is a cross-platform Python library for creating Graphical User Interfaces. It's not a builtin module, so you will have to install it before you can use it.

25 questions
0
votes
1 answer

How do I get the path of a file I want to upload by a file entry?

I want to upload a file by a file entry and then when I click on "Save" I want to get the path of this selected file. The next step would be to create either a .txt or a yaml file with this path in it as output. Could someone help me with this?…
0
votes
0 answers

How do I know what option the user has selected from this LabelOptionBox function?

I have this OptionBox. How do I actually know what option the user has chosen? app.addLabelOptionBox("Item", ["Choose an item from this list", "Apple", "Orange", "Pear", "kiwi", "- Pets -", "Dogs", "Cats", "Fish", "Hamsters"]) Its from the…
TableTop
  • 79
  • 8
0
votes
0 answers

How to add a 1st 2nd 3rd function in turtle racer?

My goal is to create a podium like effect so that the turtles will line up in the order they finished in after they finish the race. The problem is that whenever the red turtle finishes the other turtles stop and no matter where the red turtle…
Brad
  • 21
  • 6
0
votes
1 answer

appjar close login window open chat window python

I have an appjar python application that is supposed to have a login window and another window that opens after you login. The login window works, but when I try to call the function for the second window I get maximum recursion depth…
Sean
  • 1
0
votes
1 answer

Grid layout manipulation for AppJar

I've just started playing around with AppJar as a GUI for python a few days ago and I've encountered an issue which I can't seem to solve. It's about the grid management in AppJar and kind of difficult to sum up in words. So let me show you: I've…
-1
votes
2 answers

Why am I getting this error when creating two buttons in python appJar?

I am building a simple GUI using appJar for a library system I made for school. I'm trying to make a function that allows users to either upvote or downvote a book (books are stored in a sqlite3 database) given the book ID (one of the columns for…
x1n0_
  • 39
  • 5
-1
votes
1 answer

Am I using the PIL library in a wrong way?

So, first of all, I'm only on my first year of my IT apprenticeship, so I'm no pro by any means. My current project is a meme generator with Python. The goal is to enter the top text and bottom text into fields, and then that text gets "drawn" on a…
-1
votes
1 answer

Modualrize Python program with appJar GUI

How do you modularize an appJar app? When I try to use the example code and move the press() function into an own file, this functions doesn't know the app variable. I guess it's best if you look at the Image below - if not I'll update the…
karkraeg
  • 445
  • 4
  • 18
-1
votes
1 answer

Why does my code crash after i close my tKinter/appJar GUI?

First question here. I'm new to Python, trying to make a text-based game using appJar for a UI - problem is, recently my GUI crashes my code when I exit out of it. Whether I close the window or use an Exit button that stops the GUI, I get this error…
-2
votes
1 answer

IndexError: string index out of range keeps coming up

I am learning the app Jar module so I decided to make an encoder but I keep getting this error and I don't get what it means. I have looked it up on here and it talks about indexes but I haven't got any I don't think. My code is below an I hope you…
1
2