26 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
28
views
Installing Gtkada 2025 for windows 11
I tried to install Gtkada on my windows system. The last version I had was 2021 which is the last version that can be found on the adacore site and it is an exe file. I need version 2025 because som ...
0
votes
0
answers
17
views
Gtkada in GPS How to read an .ico file for the program
I tried to read an .ico file in an Ada File created with GPS and Gtkada I tried Set_Icon_From_File(MainWindow, Icon_Name) but I do get an unreadable mesh during compilation. What is the best way to ...
0
votes
2
answers
87
views
How to destroy the button from a GtkAda widget?
"MISSING A callback handler is also needed for the X button when you close the dialog otherwise it never closes and remains in the background." I tried the attached code to solve this, but ...
1
vote
1
answer
88
views
How to retrieve the name of the file from a GtkAda widget?
The attached code compile & runs.
-I should want to retrieve & manipulate the file name of a GtkAda widget.
I do see it's possible when we manage directly the object (How to create a file ...
0
votes
1
answer
93
views
How to get the color from GtkAda?
the attached code compile & runs.
$ ./xml_code
Loading of XML is OK
(xml_code:31196): Gtk-CRITICAL **: 22:24:59.048: gtk_color_chooser_get_rgba: assertion 'GTK_IS_COLOR_CHOOSER (chooser)' failed
...
0
votes
0
answers
110
views
Change background color with gtkada css
Hi everyone and sorry again for the inconvenience but since then I have created a window with gtkada to which I want to change the color of the background with css, but this is where things get ...
0
votes
0
answers
125
views
how to install gtkada on linux
i can't to install gtkada on my Linux PC. I tried look at the adacore's docs but I can't to understand. please someone can help me to install gtkada.i'm really blocked.
after to have download and ...
-1
votes
1
answer
141
views
Alire macOS Sonoma GTKAda "gtk.ads" not found when compiling a simple "Hello, World!" program
I am having trouble compiling and running a simple GTKAda "Hello, World!" program on a macOS Sonoma M3 Mac. I'm using "alr-6768bdb" from GitHub it's the 11, December 2023 beta ...
0
votes
2
answers
409
views
macOS Sonoma GtkAda installed, but Gnat Studio and others do not see it
I have Macs with macOS Sonoma and I have successfully compiled and installed GtkAda from source that I got from AdaCore, with no errors. It's installed at /usr/local/lib/gnat and /usr/local/lib/gtkada,...
1
vote
1
answer
309
views
Gtkada widget from scratch
I don’t have a lot of hope for this but anyway.
I need to create a widget to select a range (like a scale widget but with two cursors, one for the lower bound and another for the upper bound). This ...
0
votes
0
answers
97
views
How to retrieve the identifier of a Label?
i'm trying to progress in GtkAda using Glade 3.40 which seems cool.
I much like thie idea to let the engine of Gtk works for the coder, thru GkAda, & let the coder to concentrate on real added ...
1
vote
1
answer
355
views
Add a button in a callback
I can't make my callback function work. I have created a button which when clicked removes the first button and displays the second button. When I click the button, it removes the first button but ...
0
votes
2
answers
919
views
how i can to align a widget with Gtk_Grid
i've this code
Main.adb
With Gtk.Main; Use Gtk.Main;
With Gtk.Window; Use Gtk.Window;
With Gtk.Button; Use Gtk.Button;
With Gtk.Widget; Use Gtk.Widget;
With Gtk.Grid; ...
1
vote
1
answer
360
views
How to connect a callback function to its signal
i created two buttons a that display a Gtk_Radio_Button and a button that display a GtK_label but when i click on buttons nothing happens. I don't understand why it doesn't work yet the code compiles ...
1
vote
0
answers
162
views
Add radio button in a callback with GtkAda
here i start with GtkAda but i met a problem that i don't understand. I give you a summary of the code.
file.ads
With Gtk.Window; Use Gtk.Window;
With Gtk.Table; Use Gtk.Table;
With Gtk....