Category "gtk"

user pointer in g_signal_connect is not passed correctly

I have a gtk scale with range, and my goal is to capture when the user releases the click from the scale. (value-changed is called even when the slider is still

Changing the broadway 2.0 tab name (GTK+3.0)

When running Broadway back-end, the default tab name is "broadway 2.0". I wish to change this to something more meaningful but I'm running into a couple of dead

PyGTK how to pass a Liststore row value to another class in another python file

In Glade, I created a Liststore that shows me a list of people. When I click on a line, then the line number is inserted into the self.radek_k_editaci variable

How to adjust the log output level of GTK4?

When developing an application based on GTK4, a log will be printed every time it is started. How can I get rid of it? (conquerdocker:17460): Gtk-WARNING **: 09

Flutter Desktop click through window

I'm building a transparent app using Flutter Desktop for Linux, is there a way to click through the main app window, still showing the app? I'm trying to write

how can I modify the content of GtkListStore inside a Composed Widgets after its initialisiation in julia?

I want to use GTK in a Julia program to display a list of properties that changes over time. I am now to both GTK and Julia I tried to combine the tutorial for

Trouble getting gtkmm-4.0 to work on macOS Monterey

I'm having trouble getting gtkmm-4.0 to work on Mac OS Monterey. Here is a simple C++ application that uses gtkmm4. // helloworld.cpp #include <gtkmm.h>

Does GTK ListView not allow space after the last column?

I have searched Google Images for "GTK ListView" and I could not see a single example of a GTK ListView having an empty space after the last column, like that o

'undefined reference to' when using GTK with CMake

I'm trying to build basic GTK+ code(one of its tutorials) with CMake, but I keep getting 'undefined reference to *' where * is any GTK function that is in the c

Generate BackSpace event gtk/C

In GTK/C, I want to propagate the backspace keypress to a button clicked. Following the suggestion in this previous post, I tried with a small program: create a

How to retrieve the bounding box of an object with cairo

I'm making drawings with the Haskell cairo binding and I want to align some object vertically. To do that, I need to know the width (the bounding box or partial

How to Scroll a ScrolledWindow with arrow keys in Gtk 3.24.5?

I have a gtk entry right below the scrolled window which has the default focus , left and right keys move the cursor in the entry ,I am able to catch the key pr

How to use compile GTK in C on Mac OS

I'm getting started in c and would like to create GUI, so I tied using GTK. I followed the tutorial they gave on https://www.gtk.org/docs/getting-started/hello-

PyGIWarning: Gtk and Rsvg were imported without specifying a version first. Use gi.require_version

$ python -c 'from gi.repository import Gtk' -c:1: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before

How to collapse Gtkmm notebook tabs?

So I am making a Gtkmm application using a Gtk::notebook and during run-time I'm adding new tabs to the notebook. But when I add more tabs than there is space o

Rust compilation error " failed to run custom build command for `freetype-sys v0.13.1' " win 10

I am trying to build a Rust program on Windows 10 having a GUI. When trying to compile a Rust file with gtk dependency on Windows 10 I keep getting the followin

Why GTK4 seems to use only 48x48 icons for displaying minimized application in all context?

In GTK4 the icon system for displaying the apps have changed. In GTK3/GTK2 we could use simple commands like gtk_window_set_icon() or gtk_window_set_default_ico

How is an 'undefined symbol' error possible if shared dependencies provide that symbol?

I'm trying to compile GTK 3.24.33 from source. At some point in the build process I got the following error Cannot load module /home/felix/apps/src/libraries/gt

GTK Image from String

I am trying to display an image based on a string of hex pixel data. The string object being transmitted to me is similar to the following: std::string image_b

GTK 4 and applications icons : how to include an application icon in a portable way?

I have difficulties to understand the icon system in GTK 4 (I work in C language). In GTK 2 and 3 that was easy to instruct the OS about the icon to use for dis