[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]  


Package Gtk.Glade

This package contains high level support for the Glade GUI builder. It provides routines to generate Ada code and create widgets dynamically from an XML definition file. see section Package Glib.Glade for the low level GUI builder support. see section Package Gtk.Util for the additional API to support easily dynamic loading of files.

Subprograms

function Get_Gate              
  (Class              :        String)
   return Generate_Ptr;

Return a Generate_Ptr corresponding to a specific Class.
If class isn't found, return a pointer to Generic_Ptr.


function Get_Dgate             
  (Class              :        String)
   return Dynamic_Generate_Ptr;

Return a Dynamic_Generate_Ptr corresponding to a specific Class.
If class isn't found, return a pointer to Generic_DPtr.


procedure Instantiate          
  (File               :        String);

Parse File, create and display the corresponding widgets.


procedure Instantiate          
  (N                  :        Node_Ptr;
   Display            :        Boolean := True);

Create the widgets corresponding to N and its children.
If Display is True, display them.



[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]