Questions tagged as 'gtk'

1
answer

C programming using GTK

I have to make a game like work in college (Scrabble). The problem is as follows. When the event_box of the player's lectern is pressed I call a callback function, so that the image that is in the% pressed% is removed and then adds ano...
asked by 20.11.2015 / 02:30
1
answer

How to manipulate widgets of the main window through a signal function (C and GTK +)?

I have very little experience and I am coding a program for a college job. I'm using the GTK + 2.0 library. There are several widgets in the main window, among them a button that I connected to a function. The problem is that I would like...
asked by 27.12.2014 / 17:48
1
answer

How to center one window in the other in GTK?

I have a main window and want to display small text in a small window, open in the center of the main window. I still can not get the small window to open in the center of the main. I tried to use GTK_WINDOW_TOPLEVEL and GTK_WINDOW_...
asked by 06.02.2014 / 19:51
2
answers

How to use gtkmm-3 and standard input together?

I want to make a program with Gtk that reads data from standard input and interprets by doing drawings in a DrawingArea . The concept is simple, but I came across a problem: after I call Gtk::Application::run the only code writte...
asked by 28.03.2014 / 05:31
0
answers

QT versus GTK + difference in resources [closed]

Before we start with some considerations: The object of this topic is to search for facts / objects, therefore assumptions / kicks / flames will not be accepted as answers. All responses should take into account a GNU / Linux environment w...
asked by 28.11.2014 / 20:02
0
answers

How do I define a listStore to render a progress bar in gtk2?

I'm looking for an example to create a listStore (to use in a treeView) that can contain a field of type progress bar. I'm writing in C (not in c ++) and using gtk2 in my code: store=gtk_liststore_new(3,G_TYPE_STRING,G_TYPE_INT, G_TYPE?...
asked by 30.03.2017 / 00:29
0
answers

Doubt about the GTK + graphics library (Drawing a Tree B in 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 operations, rebuilding the tree at every step....
asked by 09.06.2016 / 16:37
0
answers

Is there an MDI form for GTK 3 or 2 in Ruby?

Is there 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 one window opens inside another, that is, it is in the scope...
asked by 29.01.2014 / 17:00
1
answer

Why does not font change in Raspberry Pi?

I have a graphical application using Gtk in Python, the program has font definitions and font sizes. When running the program in linux works correctly, but when running on Raspberry the font is not changed. Does anyone know why this happens?...
asked by 06.02.2018 / 19:28
1
answer

Manage window switching Gtk +

Save Galley, I'm trying to do a program with Gtk + (python3) to save some information in a DB but I also want to identify the users by login, (Quick explanation on how the program works). The user executes the program (opens a screen), type the...
asked by 22.09.2018 / 06:05