Package OpenCAGE.GUI.Workbench.Elements.Icon_Bar

Icon_Bar GUI Elements

Class Icon_Bar

extends OpenCAGE.GUI.Workbench.GUI_Element

A icon bar used in the workbench


private OpenCAGE.GUI.Workbench.Elements.Icon_Bar.Buttons_Lists.List Buttons 

private Boolean Commands_Enabled 

If this is set to False, the Handler doesn't create new commands. This is used to update the state of toggle buttons without causing an endless loop.


public Ada.Strings.Unbounded.Unbounded_String Get_Name(void);

Returns a name specific for this element. This will perhaps be used to identify a matching model. [This description is adopted from 'OpenCAGE.GUI.Workbench.GUI_Element'.]

private Create_Icon_Bar_From( Gtk.Toolbar.Gtk_Toolbar Bar, OpenCAGE.General.XML.Node_Ptr XML_Bar);

public Gtk.Widget.Gtk_Widget Get_Widget(void);

Create and return the widget that belongs to this element. [This description is adopted from 'OpenCAGE.GUI.Workbench.GUI_Element'.]

Precondition: Model and Handler if applicable are set. [This precondition is adopted from 'OpenCAGE.GUI.Workbench.GUI_Element'.]

public Update_Buttons(void);

Class Icon_Bar_Graph_Factory_Observer

extends OpenCAGE.GIF.Factories.Graph_Factory.Graph_Factory_Observer


private OpenCAGE.GUI.Workbench.Elements.Icon_Bar.Icon_Bar Icon_Bar 


public Changed( OpenCAGE.GIF.Factories.Graph_Factory.Graph_Factory_Message Message, OpenCAGE.GIF.Node_Model Model);

is called by the graph factory when something happened [This description is adopted from 'OpenCAGE.GIF.Factories.Graph_Factory.Graph_Factory_Observer'.]

Class Icon_Bar_State_Model_Observer

extends OpenCAGE.State.State_Model_Observer


private OpenCAGE.GUI.Workbench.Elements.Icon_Bar.Icon_Bar Icon_Bar 


public Changed( OpenCAGE.State.State_Message Message);

Is called by the model when something has changed. [This description is adopted from 'OpenCAGE.State.State_Model_Observer'.]