Start with Smart Docking library

Revision as of 22:08, 19 August 2007 by Larryl (Talk | contribs) (Docking Control)

If this is the first time you try to play with Smart Docking library. It's recommend you to compile the examples in $EIFFEL_SRC/example/docking folder. In the folder, there are two examples:

Simple

Snapshot:

Start with smart docking library 1.png

What you will found:

The basic features of Smart Docking library.

  • You can try to drag the zones with name `Content 1' and `Content 2', move them around and undock them.
  • See the nice dragging feedbacks.
  • Try to dock `Content 1' at the sides of `Content 2', or try to tab `Content 1' with `Content 2'.

You can also play with the tool bar:

  • Undock the tool bar.
  • Dock the tool bar at top/bottom/left/right side of main window.
  • Resize the floating tool bar to several rows.

`Ctrl + Tab' is supported, too.

Docking Control

Snapshot:

Start with smart docking library 2.png

What you will found:

You can try almost all the features of Smart Docking library just by press the buttons on the control panel.

General tab's buttons and options:

Start with smart docking library 3.png

  • Create Tool Content: Create a zone which type is tool.
  • Create Editor Content: Create a zone which type is editor.
  • Place Holder close: Close the place holder zone which is the grey area in the main window.
  • Show All Indicators: When dragging a zone, should Smart Docking library show all indicators same time when use transparent rectangle style feedback?
  • Sliding Speed: Control the speed of auto hide tab stub sliding animation.0 means no animation.
  • Show Tab Stub Text. Should auto hide tab stubs of a group always showing all the texts even some of them not active.
  • Navigation Dialog Shortcut: Set the accelerator of zone navigation dialog.
  • Lock Editors: Enable/Disable docking mechanism of all editor type zones.
  • Lock Tools: Enable/Disable docking mechanism of all tool type zones.
  • Lock Tool Bars: Enable/Disable docking mechanism of all tool bars.
  • Main Background Color: Set the background color of main window when no zone docking.
  • Save Layout: Save current whole docking layout to a file.
  • Save Tool Layout: Save current tool type zones layout to a file.
  • Save Editor Layout: Save current editor type zones layout to a file.
  • Open Layout: Restore all zones docking layout from a file.
  • Open Tool Layout: Open tool type zones docking layout from a file.
  • Open Editor Layout: Open editor type zones docking layout from a file.

Attribute tab's buttons and opetions:

Start with smart docking library 4.png