Questions tagged as 'tkinter'

0
answers

Copy content from a FRAME in PDF

I have a desktop application created with Tkinter and in Python 3.6 and I have a frame with a scroll bar where I draw 4 graphics with the matplotlib library. I would like to know if there is any way to copy all the content of that frame into a P...
asked by 27.08.2018 / 18:41
0
answers

Dialog boxes tkMessageBox in Tkinter PYTHON

Can someone tell me how it is possible to change the options of a dialog in Tkinter? More than changing the options, what I want is to show them in another language. I have a box that shows the options YES, NO and I want it to show YES, NO. How...
asked by 27.08.2018 / 10:47
0
answers

Treview Column with buttons or links

Good I have a treeview with several columns and I would like to add another one with buttons. I've been looking at the treeview widget that does not allow you to insert buttons as such, as you could create a column whose cells act as buttons, th...
asked by 22.08.2018 / 16:59
0
answers

How can I create an executable of PYTHON 3 and work on any platform?

I have a project in python3 with Tkinter library and I want to make executable of this project, use this tool pyinstaller yourprogram.py but when I try it on other platforms it does not open anything. Does anyone know if there is any other tool...
asked by 17.08.2018 / 03:03
0
answers

In tkinter, when I add image .png to BUTTON I lose transparency and change to white. How can I maintain the transparency of the image?

#! / usr / bin / python - - coding: utf-8 - -s LIBRARIES from tkinter import Tk, Frame, Label, Button from PIL import ImageTk, Image EVENT EXIT APP WITH KEY -ESC - def close (event):     root.withdraw () # if you want to brin...
asked by 22.08.2018 / 03:44
0
answers

Adapt different levels of grid so as not to affect the different components of the window

I have the following code to make a calendar selector, but the grid of the month change buttons make the calendar appear separate: def setup(self, y, m): left = Button(self.parent, text='<', command=self.go_prev) self.wid.append(lef...
asked by 06.08.2018 / 11:14
0
answers

Display data from sqlite3 table in a DataGridView

How will I show a DataGridView in Tkinter? I have the following code: from tkinter import * from tkinter import messagebox import sqlite3 root = Tk() root.title("Gestión BBDD") root.geometry("300x400+500+300") root.resizable(width=Fals...
asked by 23.07.2018 / 17:47
0
answers

Error using CX_FREEZE with Tkinter application

I'm creating a simple tool that makes use of libraries like tkinter, numpy, matplotlib, etc ... and I have problems when packing everything in an EXE with Cx_freeze I leave my setup.py I use to package it. When I do, I generate the EXE without a...
asked by 17.07.2018 / 09:41
1
answer

Python. Problem with tkinter notebook frame

first of all say that I am new to python. I'm doing an application in python, which uses the ttk. I would like to change the background color of the application (not the gray that comes out by default) but I have tried everything and there is...
asked by 24.07.2018 / 19:56
1
answer

Application created with tkinter and cx_freeze opens and closes immediately

I have an application created with tkinter, python3.6 and packaged with cx_freeze with the following file setup.py: import os from cx_Freeze import setup, Executable os.environ['TCL_LIBRARY'] = "C:\Users\Alfredo\Anaconda3\tcl\tcl8.6" os.envir...
asked by 14.07.2018 / 09:22