Difference between revisions of "Toolbar"

From Inkscape Wiki
Jump to navigation Jump to search
(Created page with "A '''toolbar''' is a set of graphical widgets put around the canvas to provide actions on objects, canvas or documents. == List of all toolbars == * 3D Box Toolbar: a to...")
 
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
=== Source files ===
=== Source files ===


Nearly all toolbars are implemented in following files:
All toolbars are implemented in following files:


* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/toolbox.cpp src/widgets/toolbox.cpp]
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/toolbox.cpp src/widgets/toolbox.cpp]
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/toolbox.h src/widgets/toolbox.h]
* src/widgets/<name>-toolbar.cpp
 
* src/widgets/<name>-toolbar.h
Some toolbars are also using dedicated files, use their wiki page to know them.


=== Preferences ===
=== Preferences ===
Line 43: Line 42:
* For shapes toolbar in /tools/shapes/<shape_name>
* For shapes toolbar in /tools/shapes/<shape_name>
* For others in /tools/<toolbar_name>
* For others in /tools/<toolbar_name>
Look at each toolbar page to see its parameters and where and how they are stored.


=== How do I add a new toolbar? ===
=== How do I add a new toolbar? ===

Latest revision as of 19:01, 1 September 2012

A toolbar is a set of graphical widgets put around the canvas to provide actions on objects, canvas or documents.

List of all toolbars

Technical informations

Source files

All toolbars are implemented in following files:

Preferences

Some toolbar may need to store preferences and default values.

Preferences are stored:

  • For shapes toolbar in /tools/shapes/<shape_name>
  • For others in /tools/<toolbar_name>

Look at each toolbar page to see its parameters and where and how they are stored.

How do I add a new toolbar?

Coming soon if anyone can write this part...

How can I add/remove an action from an existing toolbar?

Coming soon if anyone can write this part...