Questions tagged [gtkmm]

gtkmm is the official C++ interface for the GUI library GTK+.

is a GUI library written in C, gtkmm is its official binding to C++.

External links:

958 questions
-1
votes
1 answer

gtkmm multi-touch device not recognized (Windows)

Version: Gtkmm v3.22 (installed via vcpkg) I've plugged in a multi-touch device that uses the standard Windows driver "HID-compliant touch screen". I've verified that the native Windows WM_TOUCH is capable of multi-touch digitizing with this…
-1
votes
1 answer

C++ GTKMM, getting a weird output in a text-buffer

I'm new to Gtkmm and trying to load a txt-file into a Text-Buffer. When I start my program I get a output like this: Output My code for filling the Text-Buffers looks like this: void ExampleGui::fill_buffers() { FILE *fp =…
Gustav K.
  • 11
  • 3
-1
votes
1 answer

C++ GTKMM gui circular dependencies

I have been attempting to write a GTKMM gui application in C++. In my earlier projects in Java I started by making so-called 'Screen' objects which would each contain the layout of, and objects in, different screens. So I tried that in C++ as well,…
-1
votes
1 answer

GTKmm: program crashes when trying to connect a button clicked signal

I have a GTKmm application inside a class (named Main) object. I use a method of Main as callback function for the click action of a button. I initialize the button with: #define GTK_LOGIN_BUTTON_LOGIN…
Ale B.
  • 26
  • 1
  • 4
-1
votes
1 answer

Errors including gtkmm.h

I wanted to compile a C++ program which includes the gtkmm.h file to build a small application. I took the code fromt the Gnome Developer site (Link). I am currently on ArchLinux with kernel 4.1.15 on a x64 Laptop using the i3 desktop. The…
Lorenz
  • 39
  • 6
-1
votes
2 answers

sporadic segfaults when changing label of gtkmm widget

Hy, i have a gtkmm application, which does some async network-requests, to ask the server for additional properties of the gtk-widgets. This means for example, that the application should be able to change the label of a widget. In this example I…
byteunit
  • 991
  • 4
  • 15
-1
votes
1 answer

Implement "open with" for a text editor in C++

I tried to make a simple text editor in C++ and gtkmm and I want to know how to open a text file with that program using "open with". To be better understood let's say I have a text file called "test.txt" and I want to open that file with my program…
23ars
  • 647
  • 3
  • 16
  • 37
-1
votes
1 answer

How to add a label to a gtkmm statusicon object?

I am writing a simple application in gtkmm that displays a status icon in the task bar. I'd like to have a label widget appear when the mouse hovers over the icon but am having no luck finding an example. How would one go about doing such a thing?
-2
votes
2 answers

Gtk is licenced under GPL and Gtkmm is under LGPL, but Gtkmm links with Gtk,am I allowed to relese my app without opensourcing it when I use Gtkmm?

Gtk is licensed under GPL and Gtkmm is under LGPL, but Gtkmm links with Gtk. am I allowed to relese my app without opensourcing it when I use Gtkmm only?
DeanSinaean
  • 2,297
  • 4
  • 16
  • 19
-3
votes
1 answer

Divide Gtkmm program into functions (part 1)

I know that this will seem a very basic question, but actually it is not something obvious because of the use of pointers, scopes and GTK especific types of variables and others. I really was not able to find an answer. I have got to divide the GUI…
Ffff
  • 73
  • 1
  • 3
  • 14
-4
votes
1 answer

gtkmm text on a picture

I'd like to have a picture element in my gui with text on it. My goal is to load pictures (for example a waterdrop) and place text on it which stands for a measured humidity (values come from MQTT). What would be the best way to do this? I don't…
Narase
  • 490
  • 2
  • 12
-4
votes
1 answer

How to show Output as a text instead of number?

I use this code for print number 0 to 11 in a button: colorize_combo = gtk_combo_box_text_new_with_entry(); for (int i = 0; i <= 2; i += 1) gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(colorize_combo), g_strdup_printf("%d",…
user5363744
-6
votes
1 answer

How to setup a GUI in C++

I'm a beginner when it comes to c++ and overall including libraries, so I spent the good part of my last 3 days trying to install various GUI libraries and trying to make them work with Visual Studio, but none of these tries were successful. It…
mxOx2kL
  • 3
  • 9
1 2 3
63
64