903 questions
0
votes
0
answers
41
views
How can I add a button or other widget as a child and have it be visible in Glade?
Tl;Dr - Clicking and dragging a GtkButton or other widget into a GtkFixed doesn't make that button or other widget a child of GtkFixed, it makes it a sibling, and it sits in front of GtkFixed when I ...
1
vote
1
answer
75
views
Accelerator in gtk ui builder not triggered
This is my ui glade file:
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT!
This file was @generated by blueprint-compiler. Instead, edit the
corresponding .blp ...
2
votes
2
answers
1k
views
Changing Background Color of Window in Gtk4
I'm using glade to design an application for a gtk4 program. I convert the xml code that's gtk3 into gtk4 code because glade isn't ported into gtk4. I tried connecting the window that I want to have ...
0
votes
1
answer
65
views
GTK3 Could not find signal handler with CMake, Glade & CLion
When i try to run GTK3 with Clion, CMake & Glade with the below config i get the following warning:
Could not find signal handler 'on_dumpButton_clicked'. Did you compile with -rdynamic?
So GTK ...
1
vote
1
answer
82
views
Programmatically populating GtkTreeView in Glade created UI
Background
I have a photo gallery generator written in Ruby. Configuration for each photo gallery and the generator itself are both in one YAML file. This tool already works in as a terminal tool. Now ...
0
votes
2
answers
155
views
Closing a GTK Dialog window
i am trying to make the Linux GTK Dialog Close after clicking the exit Button, any help?
void on_linux_exit_clicked()
{
// gtk_main_quit (); << this closes entire Program
// ...
0
votes
1
answer
122
views
Glade is extremely slow with large GtkGrid
I am working on a user interface for a project using Glade in which I create a GtkGrid with dimension 22 rows by 36 columns. While no children widgets are added to the grid, Glade behaves normally in ...
0
votes
1
answer
27
views
python glade notebook tabs won't switch
I'm working on a glade python project. I'm using Gtk 3, and I have a notebook widget with several tabs. I cannot get the tabs to work. I double click on a tab and the interface does nothing. What I ...
0
votes
1
answer
219
views
Exposing GTK3 custom widget properties in glade
I can add a custom widget to GTK, as shown here. Now I'd like to add properties to the custom widget and have them show up in glade. Is this possible?
I have added properties to the custom widget as ...
1
vote
1
answer
134
views
Problem with GTK3 and Glade in C language
my code compiles with no errors and no warnings, but, when i run it, the buttons doesnt work, even thought the signals are connected.
I am using C language, GTK3 and Glade, and using Code::Blocks as ...
0
votes
1
answer
67
views
gtkmm signal function must return "int"?
I'm in the process of writing a program that is supposed to display the Sierpinski triangle. To this end, I first created a demonstration for cairo, since I've never worked with cairo before; it just ...
2
votes
0
answers
92
views
Can Glade make a GtkPopoverMenu?
I can add things like a GtkButton to GtkPopoverMenu in Glade, but how to add menu items? Is it possible in Glade, or do I have to do it programmatically?
Generated Glade code
<?xml version="1....
0
votes
1
answer
196
views
Possible to add some static data to TreeView within Glade?
I have seen the existing question but I am not sure if adding actual data in Glade is possible or not.
I have created a TreeView and added two columns. I created a TreeStore and set it to the TreeView....
0
votes
1
answer
307
views
How do I enable GDK_POINTER_MOTION_MASK mask in Haskell?
I'm trying to get a motion-notify-event working to drag images in a GTK Haskell project and to get a WidgetMotionNotifyEventCallback signal the documentation says that I need to enable a mask, but I ...
0
votes
0
answers
114
views
Why is the window not rendering correctly?
I'm trying to develop an application using GNOME Builder and Glade, but it will not render.
Here's the .ui code.
https:// pastebin.com/JbfqC6Mt
The window is supposed to render 3 buttons in a row.
i'm ...
0
votes
1
answer
140
views
GTK app written in python with glade fails to launch its GUI
I have a GUI application written in python, that uses GTK and runs on Ubuntu, and it has been working well for many months.
The GTK application uses gtk.Builder() and a Glade input file (a user ...
0
votes
1
answer
379
views
GCC C++ GTK ENTRY SET TEXT with GLADE
I have a small problem, I have used GTK with other languages but with C ++ being new I cannot find tutorials that allow me to use interfaces created with Glade and the ones I have found explain ...
1
vote
0
answers
262
views
How can I get GtkWidget to expand?
I am currently building a UI in Glade.
My widget tree looks like this:
My homescreen (GtkFixed) is horizontally and vertically expanded.
navigationbar (GtkFixed) is horizontally expanded and has a ...
4
votes
1
answer
725
views
Adding Plot from Plot.jl to GTK window Julia
I have built a GUI using Glade, GTK and Julia.
I want to add a plot in my GUI (in my window / layout) but cannot find a way to add a plot as a widget. How can I implement a plot in my GUI using Plots....
0
votes
0
answers
301
views
Python Gtk 3.24 - AttributeError: type object 'Gtk' has no attribute 'Builder'
This attribute error appeared when I try to run my code using Gtk and Python. Would anyone know how to solve it? This is my code:
import gi
gi.require_version('Gtk','3.0')
from gi.repository import ...
0
votes
1
answer
150
views
Newbie Glade user confounded by radio buttons
I have a Glade GTK Gui which is meant to be a Front End for a CLI program I wrote a couple of years ago.
There are a number of fields for the user to fill in. These will be theoretically processed ...
1
vote
0
answers
45
views
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 in the list_list method. It's alright.
...
1
vote
0
answers
363
views
How to correctly create a modal dialog on top of another modal dialog with PyGTK3 so that the second dialog is on top?
I have a Windows-10 PyGTK3 app (python 3.8 + GTK3.24) structured as follows: it has a non-modal main window, which opens a modal dialog (A), which in turn opens another modal dialog (B).
I use glade ...
1
vote
1
answer
134
views
How to Reorder Elements Vertically Glade + Gtk?
I'm using Glade to design a UI, and I'm struggling to figure out how to reorder elements such that one element is on top of the other vertically. As an example, I added a draw element after a slider, ...
0
votes
0
answers
79
views
Change widget of GTK Box
I have 3 figure canvas, 3 buttons and a GTK Box. I first initialize the box with one canvas and I want to change widget of the box whenever I click a button:
Here is the pseudocode
from matplotlib....