Most voted "gtk" questions
GTK+ is a multiplatform Toolkit used for creating graphical interfaces, being a free software part of the GNU project.
Learn more…31 questions
Sort by count of
-
15
votes1
answer736
viewsC programming using GTK
I have to make a game like college work (Scrabble). The problem is this. When the event_box of the atrial player is pressed call a callback function, so that the image that is in the event_box…
-
4
votes1
answer134
viewsHow to center one window on the other in GTK?
I have a main window and I want to display small text in a small window, open in the center of the main window. I still can’t get the small window to open in the center of the main. I tried to use…
-
4
votes2
answers92
viewsHow to use Gtkmm-3 and standard input together?
I want to make a program with Gtk that reads data from the standard input and interprets making drawings in a DrawingArea. The concept is simple, but I came across a problem: after I called…
-
4
votes1
answer216
viewsHow to manipulate Widgets from the main window through a signal function ( C and GTK+)?
I have very little experience and am coding a program for a college job. I am using the GTK+ 2.0 library. There are several widgets in the main window, among them a button that I connected to a…
-
3
votes0
answers1928
viewsDifference of QT versus GTK+ in features
Before we begin some considerations: The object of this topic is to search for facts/objects, therefore assumptions/kicks/spreads will not be accepted as answers. All responses should take into…
-
3
votes3
answers2952
viewsWhat is the concept of GTK? Is it recommended to use it?
GTK is to 'create' desktop applications using PHP, I want to know how it works, is a modified browser, with its own server? I’m interested in doing something similar, something to turn development…
-
2
votes0
answers174
viewsIs there an MDI form for GTK 3 or 2 in Ruby?
There is a class that defines an MDI form in Ruby GTK 2 or 3, similar to that found in other languages like Delphi, C#, VB etc.? Note: MDI is that form for desktop applications that a window is…
-
2
votes0
answers187
viewsDoubt about the GTK+ graphic library (Drawing a Tree B in the C language)
Good afternoon, Recently I had a job that was basically the implementation in C Language with graphical interface of a B-Tree, the program should allow and show the insertion, removal and search…
-
2
votes0
answers45
viewsHow to define a listStore to render a progress bar in gtk2?
I am looking for an example to create a listStore (to use in a treeview) that may contain a progress bar type field. I am writing in C (not in c++) and using gtk2 in my code:…
-
1
votes1
answer62
viewsHow to allow the user to select a directory/folder using a Filechooserdialog?
Maybe you can add a directory filter to achieve this.
-
1
votes1
answer95
viewsWebview with GTK
In Swift I have a webview which is basically a safari window, in C#. NET I have a webview which is practically a IE window. But in other cross-platform languages that use for example GTK for window…
-
1
votes1
answer649
viewsHow to place the mouse cursor in a specific position of a text field?
I’m trying to format a field like entry gtk I’m using for date entry and wanted to add the character / in certain positions confirm the user will typing.. And the only thing missing is positioning…
-
1
votes0
answers47
viewsHow to use dialogs in GTK+
I’ve been looking on the internet how to use dialogs in GTK+, and I ended up finding a handful of articles in English and none in Portuguese. Reading the articles in English, since I have an…
-
1
votes1
answer28
viewsGtkliststore, invalid string type
The code is giving invalid format string error when passing the Gtkcomboboxtext for a Gtkliststore. Error: (System:18726): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()…
-
1
votes1
answer1025
viewsIs there an IDE for developing GTK graphical interface?
I want to develop programs with Linux interface. My question is the following: Is there an IDE to develop a GTK GUI in the same style as Microsoft’s Visual Studio? The style I refer to is the "drag…
-
1
votes0
answers60
viewsAttributeerror('Handler %s not found') python3 gtk3
I recently made a code in python3.x and for the interface I used a file . However when I execute the code the interface opens but does not perform any action and interpreter returns me the error…
-
1
votes1
answer495
viewsMultiprocessing with python infinite loop functions
I’m doing a graphical interface with Gtk in python, and I have a serial script that keeps sending and receiving data from a microcontrolled system. The serial script is in an infinite loop (while…
-
1
votes1
answer2885
viewsHow to open a Python file selection window with GTK?
I have a Python application using GTK graphical user interface. This interface consists of a screen with data input a button, the goal of the program is to save data in spreadsheets in a specific…
-
1
votes1
answer98
viewsWhat signal to use for firing methods from a pygtk thread?
I have a Tree View that I need popular with data obtained in a thread, but if I do it from it the program presents several random problems and errors. Researching found that the ideal is to trigger…
-
1
votes1
answer73
viewsWhy is the source not changed in Raspberry Pi?
I have a graphical application using Gtk in Python, the program has font definitions and font sizes. When running the program on linux works correctly, but when running on Raspberry the source is…
-
1
votes1
answer267
viewsManage Gtk+ window swapping
Hail to you guys, I’m trying to make a program with Gtk+ (python3) to save some information in a comic book but I also want to identify users by login, (Quick explanation on how the program works).…
-
1
votes1
answer101
viewsHow to run a Gtkmm C++ application on Windows without MSYS2?
To use (as far as I know) Gtkmm graphic libraries in Windows, I have to install such libraries in MSYS2. So far so good. Every time I install and write a C++ file and compile by g++ on MSYS2,…
-
0
votes1
answer179
viewsSet the behavior of the Python window when the mouse is over and outside it
I am using Pygtk in Python 2.7 and would like to set win.set_decorated(False) when the mouse is outside the window and win.set_decorated(True) when the mouse is over the window. How to do?…
-
0
votes0
answers53
viewsSchema Gtk/Glade error
Good evening guys, all good ? I have an error running an interface created for a C program using GTK/GLADE. The program compiles normally but at the time of execution it claims that libgtk-3-0.dll…
-
0
votes1
answer455
viewsConfiguring Visual Studio to use GTK+
I’ve been researching and the only place where I found something similar was in stackoverflow in English, where the configuration for use of GTK+ is described in Visual Studio 2010. From the little…
-
0
votes1
answer147
viewsHow to disable text cursor?
I have a project in Gtk, which uses a Gtk.Entry text input and I need to disable the text cursor, or make it invisible. How can I do this? Or if I can’t, you can disable the linux system cursor?…
-
0
votes1
answer51
viewsCompile and Run GUI on Android
I use c4droid to compile C code using gcc, in my studies I want to enter the graphical interface, but as I am without computer I thought to use the android itself. Well, I installed the GNU Root…
-
0
votes1
answer28
viewsHow to check the state of a Gtk::Radiomenuitem object?
I am building a dynamic menu using Gtkmm. The menu is built as follows: Gtk::RadioButtonGroup appRadioGroup; bool groupInitialized = false; Gtk::Menu *driverSubMenu = Gtk::manage(new Gtk::Menu);…
-
0
votes0
answers60
viewsButtons on a Gtk.Cellrenderer
I’m trying to make a program that saves some information in a comic, I can present the information in the window without any problem, but I wanted to add 2 buttons per line an "Edit" and another…
-
0
votes1
answer14
viewsPygtk + Glade: No handler button fires click another button
Hello, everyone! I am developing a Python application using Pygtk+ 3.0 with Glade 3.22.2 (and Python 3.8.1). Everything was working fine, but suddenly my program started to show strange behavior. I…
-
-2
votes1
answer66
viewsHow to create a message in Zenity for all users logged in to Ubuntu?
Use a script that is run by cron every 1 hour that has the purpose of fetching updates and updating the system. He wanted the user to be warned that he started the update so that he did not turn off…