with Gtk; use Gtk; with Gtk.Main; use Gtk.Main; with Glib.Error; use Glib.Error; with Gtk.Widget; use Gtk.Widget; with Ada.Text_IO; use Ada.Text_IO; package body graphical_editor.static_deployments is procedure Show_Static_Deployment_Widget is Builder : Gtkada_Builder; Error : Glib.Error.GError; begin Gtk.Main.Init; Gtk_New (Builder); Error := Add_From_File (Builder, to_string(Glade_path) & "static_deployment.glade"); if Error /= null then Ada.Text_IO.Put_Line ("Error : " & Get_Message (Error)); Error_Free (Error); return; end if; Do_Connect (Builder); Gtk.Widget.Show_All (Get_Widget (Builder, "window1")); Gtk.Main.Main; Unref (Builder); end Show_Static_Deployment_Widget; end graphical_editor.static_deployments;