Questions tagged [gtk]
GTK+ is a highly usable, feature-rich toolkit for creating graphical user interfaces (GUIs) that boasts cross platform compatibility and an easy to use API.
13
questions
6
votes
1
answer
901
views
Timer application using GTK
Purpose
The code is for a timer with a starting time of 25 minutes. The goal is to have a very simple pomodoro application with Start, Pause and Reset. Also you can tick a box to make the UI stay in ...
2
votes
1
answer
1k
views
Made a sudoku solver with basic GUI in C++
I've made a sudoku solver which solves a sudoku, given user input, and can also extract digits from a picture of a sudoku to solve it. I've used OpenCV and GTK+ 2.0 to achieve the above. I am very ...
1
vote
0
answers
2k
views
GTK+ CMake setup
I'm mainly working with Java and Gradle, but for my current project I have to use C++ with CMake and thus I would like to have some feedback on my current folder structure and project setup.
...
4
votes
2
answers
463
views
C bit mask calculator written using GTK+ 3
I've been studying C on my own using K&R 2nd Edition, and started exploring GTK+ to practice some of the concepts I've learned by making GUI applications. This is the first GUI application I've ...
3
votes
0
answers
719
views
GUI to control a NZXT cooling and lighting system
I am working since a couple of weeks on my first Python application and I would love to have a review of the code I wrote so far.
The app has the purpose of controlling the cooling and lighting of an ...
5
votes
2
answers
1k
views
An overloaded random number function template using modern C++
I don't mess around a lot with templates (or with GTK), but today I wrote something and would like to know how it can be improved, and hopefully clarify a few things in the process.
So, ...
4
votes
1
answer
156
views
Performance concerns when converting GTK image to greyscale
I have a function which takes GTK Image (It is RGB) and returns a representation of this image as list of grey levels.
This is my code:
...
10
votes
1
answer
843
views
Python magic balls game
I wrote a simple magic balls game in Python with GTK3. If the user clicks on a button with a ball, this ball will move to the selected point. If the user makes 5 consecutive balls horizontally or ...
6
votes
2
answers
480
views
CPU core temperature Unity indicator
Project now on Github: https://github.com/IanCaio/TempI
I just finished a working version of a small Unity indicator in C, that is supposed to take the output of the application "sensors" (...
5
votes
1
answer
1k
views
Simple Python + Gtk.Window
I'm learning Python and Gtk so I decided to write a simple application that will take some image let user annotate with a pen and send results through email or save to a file.
So far I have the ...
3
votes
0
answers
331
views
GTK application in Haskell
I'm new to both GTK and Haskell, so I'd appreciate any in both. I'm making an application which for the purposes of this question is just drawing a window that shows a red circle getting larger until ...
11
votes
1
answer
3k
views
Undo and redo functionality for a GTK+ program
I'm working on a small GTK+ program and I'm now implementing undo and redo capabilities. This is the code that I'm using to handle the different states.
It's just a linked list storing the allocated <...
3
votes
2
answers
406
views
GtkInfobars for a GTK+ application
I instantiate GtkInfobars a lot in my GTK+ application in order to communicate with the user. There are various types of infobars, depending on the message. Basically, any infobar could be a ...