Questions tagged [kivy-language]

A language created and used in the Kivy framework to describe a widget structure of a project.

Kivy language (kv, kvlang) is a language created and used in the Kivy framework to describe a widget structure of a project.

The concept behind kv is to make maintaining mainly the design part of an application simple. Kv provides features that make building an application easy and readable in large projects:

With these features kv allows very fast prototyping and agile changes to User Interface. It also facilitates a good separation between the logic of an application and its UI, therefore provides possibilities to minimize code size and maximize readability.

For real-time debugging of the kv code you can use KivyCatalog.

2724 questions
0
votes
1 answer

Error in .kv file in python. (May have to do with screen manager. I am not sure)

I am trying to use the Window Manager in kivy but I keep get the following error [INFO ] [Logger ] Record log in C:\Users\Gavin\.kivy\logs\kivy_21-06-03_22.txt [INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.3.2 [INFO …
GCIreland
  • 145
  • 1
  • 16
0
votes
1 answer

Problem adding touch event/click functionality to a widget with Kivy

I was wondering if someone could help me add some touch event/click functionality to a widget. I've tried a few things, including the following, which results in nothing happening at all: from kivy.app import App from kivy.uix.widget import…
jh2399
  • 47
  • 4
0
votes
0 answers

showing save dialogue with filechooseIconView kivy

I'm doing a quick drawing app as my first kivy project, and what I'm trying to currently do is to have i so I can display and select the directory the user selects using FileChooser. However, I've hit a wall where when you go through the user…
0
votes
1 answer

Change TextInput to display only function for Kivy Python

I'm still new to kivy and still relatively new to Python. I have main. py. I plan to have WindowGUI take a number of inputs from main.py and display them in its textbox. Here is what I have: from os import curdir from posixpath import dirname import…
zaraku27
  • 15
  • 6
0
votes
1 answer

how can I do Simultaneous process in kivy?

I want to show gif for 10 minutes and simultaneously scan some file in kivy ? but I don't Know how. Anyone Know That how can I do it ? I want to click on button in kv file and show gif then simultaneously start scan.
siitaw
  • 107
  • 3
  • 12
0
votes
1 answer

Failed to add widgets dynamically in output screen in .kv file using python

I was trying to add the result to a new screen whose content should be dynamic. I tried a few of the trivial ways given in StackOverflow itself but failed to show any content. my code goes as such. I am entering multiple data, separated by ","…
0
votes
2 answers

Kivy Error: Could not find a version that satisfies the requirement kivy.deps.sdl2

I am learning Kivy and following this article https://realpython.com/mobile-app-kivy-python/ I am getting this error. It would be helpful if the explanation is lucid. Os: macOS Big Sur, I am using a Virtual machine to practice. $which…
Paulson Raja L
  • 379
  • 2
  • 11
0
votes
1 answer

(Kivy) How do I display new content on my canvas in Kivy?

This should be a pretty easy fix. I'm new to Kivy. I'm trying to have the canvas cleared on a button press, and then display a new widget to essentially move to another page. When I run it and press the button, the canvas is cleared, but I get…
Capedantic
  • 13
  • 4
0
votes
1 answer

How to fix "inline error" for Kivymd MDDataTable python3

I am using Python3 and kivymd for my python app. I am trying to use the MDDataTable module from kivymd but whenever I run it, it gives this "inline error". Is there anyway to fix this? I already tried reinstalling the kivymd module but that doesn't…
Benshii
  • 1
  • 4
0
votes
2 answers

Making a widget swipeable in kivy

I am trying to make a collection of widgets inside a FLoatLayout that are swipeable and go up and down. Like a showcase or a gallery widget, however, I cannot seem to configure the swipe ability. I thought that maybe I could use the Carousel widget…
Omid Ki
  • 155
  • 3
  • 13
0
votes
1 answer

Updating Values on Main Page - Kivy

Hows it going guys. I have been looking for two days now and I cant seem to connect the dots. Please forgive me I am somewhat experienced with python but OOP concepts are still a little unclear. I have seen a couple similar posts but the python is a…
0
votes
1 answer

How can I remove the slide transition and add more pages under single screen?

I am not able to remove the transition animation during screen change . And also I want add more screens inside all the existing screens and navigate between those screens with the help of buttons. I am very new to kivy and kivymd , your help will…
user14871678
0
votes
1 answer

use id of widget kv file in another kivy class

I have a big problem . I want to use id of widget like "inputText" in another class kivy. Can anyone know that how can I solve it ? actually I want to get inputText from User , and create text file and write it , and then in another class ,read path…
siitaw
  • 107
  • 3
  • 12
0
votes
1 answer

Kivy application on pc opening and instantly closing when run

When I open a kivy application it instantly closes. The terminal is in the picture below. Can not figure this out, cant find anything online about it so i would like is someone gave me some help import kivy from kivy.app import App from…
GCIreland
  • 145
  • 1
  • 16
0
votes
1 answer

ScrollView not scrolling GridLayout

I have a GridLayout which takes some Card widgets that are basically RoundedRectangles and are supposed to be filled with specific information, the problem is that the GridLayout can take many cards and I want the user to scroll the widget.…
Omid Ki
  • 155
  • 3
  • 13
1 2 3
99
100