gtk3 Questions

1

I'm building a GUI with GTK-3 in Python using Glade. There is also a ListStore with its columns defined in the Glade file. Now I want to fill the ListStore with numeric values (there are int & ...
Gettysburg asked 5/2, 2020 at 10:42

3

Solved

I am trying to capture the Enter key when it is pressed in a GtkEntry. Most of the resources I have found suggest connecting to the activate signal, but the documentation for GtkEntry states (empha...
Hayseed asked 15/12, 2011 at 13:3

3

How can I set the font name and size for a text_view? Or do I have to set the font information at the buffer or at the window? Do I have to create some sort of style-sheet? #include <gtk/gtk.h&...
Silky asked 30/3, 2017 at 10:40

4

Solved

We are trialing Gtk3/Vala/Genie for the development of application user interfaces using Gnome-Builder/Meson/Glade/Flatpak. While there are many examples of Gtk.HeaderBar.pack_start( ... ) and Gtk....
Bumble asked 2/2, 2018 at 10:51

3

Solved

I want my GTK application to have a status icon in the system tray, I have got this working quite nicely using a StatusIcon, however this has been deprecated: gtk_status_icon_new has been deprecat...
Pokpoke asked 29/1, 2017 at 5:26

4

Goal: Compile and run flutter examples emulating Linux Desktop on CentOS 7 docker container (Note: Can't use snapd - not supported within Docker) Installed manually Managed to get everything else c...
Railroader asked 27/9, 2021 at 19:23

3

Solved

I'm using g++ GTK3 VSCode How do I get the following to work: Intellisense / code completion for gtk Buiding inside VSCode Debugging with VSCode Problem: VSCode does not find includes - es...
Qintar asked 7/11, 2019 at 15:19

4

Solved

I would like to replace deprecated functions gdk_threads_enter()/leave() in my application that uses threads. The application as it is now, works perfect (although i am not sure if this is the righ...
Siu asked 2/6, 2015 at 22:5

3

I am looking for a possibility to add autocompletion for gtk3 libs to vim. I have already tried vim-jedi as it seems the state of the art autocompletion mechanism for vim and python (also recommend...
Mistrust asked 14/5, 2014 at 10:32

3

Solved

Running into this issue when working with Hugo and the AWS CLI on Ubuntu 18.04. ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared ob...
Squalid asked 18/12, 2018 at 3:7

1

I have a project using GTK+ 3 only for certain tasks, for example to provide file open dialog with gtk_file_chooser_dialog_new. I have to set parent to NULL as I have no "main" GTK window. However ...
Doughboy asked 17/4, 2016 at 1:0

1

Solved

I'm working on learning the CSS styling part of GTK3, and I have noticed that the reference GTK documention talks about the CSS nodes that get created, but not what properties are valid for the com...
Zing asked 23/6, 2020 at 20:48

2

Solved

Good morning, I'm trying to add a Gtk.Entry to a Gtk.MessageDialog. With the following code it seems that I added the Gtk.Entry but it's not visible on the dialog window (Python3/Gtk3): #!/usr/bi...
Maishamaisie asked 20/12, 2012 at 10:48

1

Solved

I am displaying a UI in a rust based application using gtk3. I am parsing the arguments in the main method for a --config argument in order to find a custom configuration file. The gtk::Application...
Biogeochemistry asked 22/5, 2021 at 3:14

1

Solved

I have a GTK3 GUI called by a simple Python 3 code. Icon is located in the /usr/share/icons/hicolor/scalable/actions/ directory. My current theme color is dark and icons look white. When I switch t...
Unpleasant asked 13/9, 2021 at 8:46

2

Solved

I have looked all over the place and can't seem to find the CSS ID's for Evolution.. I want to be able to customize the colors in Evolution. I have found some CSS tags that were changing sizes bu...
Muldrow asked 25/5, 2017 at 1:46

2

Solved

I'm trying to redesign some Gtk3 widgets in my application (like scrollbars or paned) but was unable to set borders and other properties for paned specifically. I then found some CSS data in /usr/...
Merrie asked 2/10, 2014 at 16:22

2

Solved

I'm trying to add to the "recently used" files list from Python 3 on Ubuntu. I am able to successfully read the recently used file list like this: from gi.repository import Gtk recent_mgr = Gtk.R...
Chesterchesterfield asked 3/10, 2016 at 17:0

2

How can I debug (and reach some breakpoint) with gdb my buggy program (using GTK3) showing: (monimelt:161): Gtk-WARNING **: Invalid text buffer iterator: either the iterator is uninitialized, or t...
Khamsin asked 15/9, 2016 at 10:51

3

Unfortunately, I am using Windows (Windows7 x64). With MinGW compiler in Code::Blocks and GTK+3.6.4. I compiled manually all the schemas from glib. When I use File Chooser dialogue / colorpicker...
Pursuance asked 10/3, 2015 at 0:0

3

Solved

I am now learning to use GTK+3.0 with C in Linux. After reading some tutorials and sample code, I have some questions regarding how to initialize an application. Here are two versions of code I h...
Thermoplastic asked 26/6, 2015 at 21:48

1

Solved

I am creating a UI application with gtk-rs. In that application, I have to spawn a thread to continuously communicate with another process. Sometimes, I have to update the UI based on what happens ...
Emaciated asked 6/3, 2021 at 20:35

2

I have a font file /path/to/app/fonts/custom-font.ttf and I want to use it. How do you import a custom TTF for use in a GTK+3.0 app? from gi.repository import Gtk, Pango # ... lbl = Gtk.Label() ...
Cafeteria asked 16/5, 2013 at 22:51

2

Solved

Background: I want to write a CAD application. I want to implement all rendering with Vulkan. And I want to use GTK+. I don't want a (visible) different window for the rendered image of the object...
Singband asked 19/7, 2017 at 12:54

1

I am working on a SDK which uses gtk3 for windowing and event handling. I am trying to find the system UIScale using the gtk3 APIs. The scale can be greater than 1.0 on HiDPI screens. I was hoping ...
Hodson asked 28/1, 2021 at 10:10

© 2022 - 2024 — McMap. All rights reserved.