[gtkada] Where are the buttons in Dialog and Filechooser Dialog

Emmanuel Briot briot at adacore.com
Thu Jul 7 08:45:24 CEST 2016


> I am using the newest edition of GtkAda as can be downloaded grom AdaCore. 
> Since then Gtk.Dialog and Gtk.File_Chooser_Dialog do not have Buttons 
> anymore (OK and Cancel).

You always needed to add the buttons explicitly, via a call to Gtk.Dialog.Add_Button.
One of the changes they did in recent versions of gtk+ though is that depending on the
theme, the buttons are displayed in the title bar rather than at the bottom of the
dialog.
See the GtkAda specific subprogram Gtk.Dialog.Use_Header_Bar_From_Settings

regards
Emmanuel


More information about the gtkada mailing list