GuidoPanel tools {
-layout BoxLayout X_AXIS
GuidoButton newProfile {
-icon "icons/16/menu_create_vertical_planes.png"
-tip "New plane"
-width 2.5
-height 1.5
-action valueChanged {[newPlane $form $planes_tree]}
}
GuidoButton saveProfile {
-icon "icons/16/save.png"
-width 2.5
-height 1.5
-tip "Save plane"
-dependency {[$depend getCurrentValue] != "false"}
-action valueChanged {[savePlane $form $planes_tree]}
}
GuidoButton saveProfileAs {
-icon "icons/16/save_as.png"
-tip "Save plane as"
-width 2.5
-height 1.5
-dependency {[$depend getCurrentValue] != "false"}
-action valueChanged {[savePlaneAs $form $planes_tree]}
}
GuidoFiller fill_1 {
-width .3
}
GuidoButton deleteProfile {
-icon "icons/16/delete.png"
-tip "Delete plane"
-width 2.5
-height 1.5
-dependency {[$depend getCurrentValue] != "false"}
-action valueChanged {[deletePlane $form $planes_tree]}
}
GuidoButton deleteMultipleProfiles {
-icon "icons/16/delete_all.png"
-tip "Delete multiple planes"
-width 2.5
-height 1.5
-dependency {[$depend getCurrentValue] != "false"}
-action valueChanged {[deletePlanes $form $planes_tree]}
}
GuidoFiller fill_2 {
-width .3
}
}
