Questions tagged [gtk3]

0 votes
0 replies
Enormous tab and icon padding in Eclipse 4.11 on Ubuntu 19.04
When running a fresh install of a recent Eclipse on a fresh install of a recent Ubuntu, you'll see this: For reference, this much more compact...
0 votes
1 replies
python-vlc will not embed gtk widget into window, but open a new window instead
I'm working on a gtk3 front end for libvlc written in python using python-vlc. I'm following the gtk3 example from the python-vlc github page, bu...
asked 1 month ago
1 votes
1 replies
How to filter a GTK tree view that uses a TreeStore (and not a ListStore)?
I am using a Gtk.TreeView with a Gtk.TreeStore as a model for hierarchical data. As an example, let's take a music database organized into three...
asked 1 month ago
0 votes
1 replies
How to check for CTRL+s in Gtk3?
How can I check if a key is pressed together with a specific modifier in Gtk3 ? For example, here I want to check if CTRL+s is pressed: use feat...
asked 1 month ago
0 votes
1 replies
I need to know the simplest way to draw a shape in gtk with cairo
Can someone tell me the SIMPLEST way to draw like a rectangle in a window in gtk? Please? Simple. Here is a challenge. Write a file to draw ANY c...
asked 1 month ago
0 votes
2 replies
How to get 2 textentry in gtk3
I'v been seaching google for 2 weeks now. 2 textentry in a gride. (ex: userid, password) Glade let me design that no problem... For one textentr...
asked 1 month ago
0 votes
0 replies
How do i refresh combobox entries depending on a previous choice?
I am currently working on a small c programm with a GTK UI with 7 Combocoxes in total. The entries of 6 of those comboboxes are supposed to be de...
asked 1 month ago
0 votes
0 replies
Applying a StyleProvider to all children of a widget
I am simply trying to theme an arbitrary widget and all of it's children using gtkmm v3.0. auto ctx = widget->get_style_context(); ctx->ad...
asked 1 month ago
1 votes
1 replies
Segfault during GTK_TOGGLE_BUTTON() macro. Pointer values changed after changing checkbox state
I am trying to create a GUI program using Glade and GTK+ 3 to write set and write configuration data to a custom microchip. I am trying to implem...
0 votes
1 replies
Recommendations for functions to update data in GUI with GTK
I am new to working with GTK and I am try to make a GUI to interface with ROS functionalities. To test my setup I have to be able to display and...
asked 1 month ago
0 votes
1 replies
Initialization of GtkApplication - Should I use GObject's “init” or GtkApplication's “startup”?
I'm trying to create a GTK-3 Application and in the initialization process I want to check if the GSetting's value is set, otherwise I want to sh...
asked 1 month ago
0 votes
2 replies
GtkApplicationWindow subclass “destroy” twice
I took the application1 from examples in Gtk source and modified GtkApplicationWindow subclass as to save some window state in the "destroy" sign...
asked 1 month ago
1 votes
2 replies
How to set GtkEntry widget to only accept numbers using C?
I'm trying to get a 4 digit input from the user but a non numeric entry is not acceptable. Instead of checking for non numeric values, can I allo...
asked 1 month ago
1 votes
0 replies
How to call a function from within a class? error is “X object has no attribute Y”
I'm a hobbyist programmer so I apologise if this seems a simple question. When I click on a button a function is called. The function though d...
asked 2 months ago
0 votes
0 replies
Gtk3 Video capture Drag and Drop does not work
I have a program written in Python 3 and using Drag and Drop. I want to make Video tutorials. But when the Video capture is working, Drop fails....
asked 2 months ago
0 votes
1 replies
How to use two Gtk.IconLookupFlags?
I want to find an application icon with two flags (FORCE_SIZE and NO_SVG), but I have no idea how to do it! I have already tried the following:...
asked 2 months ago
0 votes
1 replies
Drawing in draw call-back and drawing outside draw call-back
Custom drawing in Gtk3 with Cairo is explained in https://developer.gnome.org/gtk3/stable/ch01s05.html Here draw_brush in the handler for motion-...
asked 2 months ago
0 votes
0 replies
How can I disable popover in a GTK text_view on touchscreen?
I am writing a Kiosk app for a Raspberry Pi with touchscreen. I am using GTK+3.22 and C. GTK's entry and text_view widgets works fine with the to...
asked 2 months ago
1 votes
0 replies
How to connect Buttons to Actions in custom SimpleActionGroups in gtk-rs?
I'd like to use a SimpleActionGroup registered to a Widget that handles SimpleActions. But anyhow every Button that targets to Actions with my cu...
asked 3 months ago
0 votes
1 replies
How to control which GTK widgets visible in an expanded row of a tree?
I'm building a tree store with GTK3 in C in which there are primary rows that are always displayed, and by clicking on the little triangle icon t...
asked 2 months ago
0 votes
1 replies
Controlling predictable font rendering in Firefox
I have Firefox on Docker and CentOS 7.5, and on a machine with CentOS 7.5 but no Docker, and I compare a screenshot of a page that uses the well-...
asked 3 months ago
0 votes
0 replies
locale mismatch between gnuplot and gtk/c scripted output
I am coding a GUI (using GTK3) for a simple program that performs a simulation and plots the requested graph (using gnuplot). When I'm using onl...
asked 3 months ago
0 votes
0 replies
locale mismatch between gnuplot and gtk/c scripted output
I am coding a GUI (using GTK3) for a simple program that performs a simulation and plots the requested graph (using gnuplot). When I'm using onl...
asked 3 months ago
2 votes
1 replies
Equivalent of gtk.window_set_default_icon in gtk3
I am trying to convert a python2 pyGTK program (Comix) to GTK3 python3 program. I am not really familiar with GTK also for what does this mean a...
asked 2 months ago
0 votes
2 replies
Gtk Window with two side panels
I am trying to implement a window with two resize-able side panels and an area in between in GTK3. Examples of what I am trying to achieve are Ra...
asked 2 months ago