Questions tagged as 'gui'

0
answers

Link bi-directionally the values of Slider and SpinBox controls?

I am trying to link two common controls in graphical interfaces, a Slider and a SpinBox. They belong to a library in Python, specifies for the Blackmagic Fusion program. The thing is, the way I'm trying seems to be overwriting the control of the...
asked by 12.05.2018 / 12:16
0
answers

JavaFx - ComboBox Scrolling to the selected item

Is it possible to scroll to a selected position in a ComboBox using JavaFX? If I execute: comboBox.getSelectionModel().select(i) The record is selected and takes the focus but the scroll bar does not move to that place, if it is too...
asked by 09.04.2018 / 18:11
0
answers

get label variables tkinter python

I have the following code, and I want to get the string with the value of the file to use in the function: def openBioActFile(): finestra.openfile = tk.filedialog.askopenfilename(initialdir = cwd,title = "Select file",filetypes = (("text file...
asked by 05.02.2018 / 10:17
1
answer

why do not the buttons, JtextFields and Jlabels appear in a Jpanel to which you add a background image?

I leave you the Jpanel class code and then an excerpt of the JFrame code. I appreciate your answers in advance. God bless us. import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.Dimension;...
asked by 05.02.2018 / 02:57
0
answers

How to pass a reference to it to a constructor of the main class?

The fact is that I am doing a calculator for my programming classes, nothing complicated but this is stuck in the end. I have a VentanaPrincipal class that is the graphical interface created with swing. And I have a PanelOperations class, where...
asked by 29.01.2018 / 00:03
1
answer

Move window without borders

Good afternoon community. I would like someone to help me with the following code: import tkinter as tk root = tk.Tk() root.overrideredirect(True) w, h = 800, 500 canvas = tk.Canvas(root, width=w, height=h, highlightthickness=0) canvas.pac...
asked by 30.01.2018 / 18:44
0
answers

Doubt with Graphical Interface in Python

Hello community, my question is simple, I would like to know if there is any way to make this interface in python. And if possible, how can I generate changes like this in the windows with python ... to be able to create custom styles....
asked by 29.01.2018 / 20:05
0
answers

Top level window is stunned in Python TKinter 2.7

I need support. In the application that I am developing I put a button to open a top level window with the fields that my table has MySQL and so modify any record already created, in turn I want that top level appears a drop-down menu to selec...
asked by 16.01.2018 / 16:09
1
answer

Daughter window widgets created with Toplevel are displayed in the main window

I need help with Python Tkinter 2.7 since I am developing a small graphical interface to manage a database in mysql. What I want is that by pressing a button, it opens a new window Toplevel that already contains labels and Entrys. I tr...
asked by 10.01.2018 / 23:33
1
answer

Error in MySQL / JAVA syntax

Good morning, I have the following code and I do not know why it is failing me. I think it's an error in my syntax because writing the following code was where the program stopped recognizing all my variables. import java.sql.Connection;...
asked by 25.11.2017 / 22:24