Logo Search packages:      
Sourcecode: inkscape version File versions

verbs.h File Reference


Detailed Description

Frontend to actions.

Author: Lauris Kaplinski <lauris@kaplinski.com> Ted Gould <ted@gould.cx> David Yip <yipdw@rose-hulman.edu>

Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl> Copyright (C) (date unspecified) Authors

This code is in public domain if done by Lauris This code is GPL if done by Ted or David

Definition in file verbs.h.

#include "require-config.h"
#include "helper/helper-forward.h"
#include "forward.h"
#include <glibmm/ustring.h>
#include <map>

Go to the source code of this file.

Namespaces

namespace  Inkscape

Classes

class  Inkscape::Verb
 A class to represent things the user can do. In many ways these are 'action factories' as they are used to create individual actions that are based on a given view. More...
struct  Inkscape::Verb::ltstr

Enumerations

enum  {
  SP_VERB_INVALID, SP_VERB_NONE, SP_VERB_FILE_NEW, SP_VERB_FILE_OPEN,
  SP_VERB_FILE_REVERT, SP_VERB_FILE_SAVE, SP_VERB_FILE_SAVE_AS, SP_VERB_FILE_SAVE_A_COPY,
  SP_VERB_FILE_PRINT, SP_VERB_FILE_VACUUM, SP_VERB_FILE_PRINT_DIRECT, SP_VERB_FILE_PRINT_PREVIEW,
  SP_VERB_FILE_IMPORT, SP_VERB_FILE_EXPORT, SP_VERB_FILE_NEXT_DESKTOP, SP_VERB_FILE_PREV_DESKTOP,
  SP_VERB_FILE_CLOSE_VIEW, SP_VERB_FILE_QUIT, SP_VERB_EDIT_UNDO, SP_VERB_EDIT_REDO,
  SP_VERB_EDIT_CUT, SP_VERB_EDIT_COPY, SP_VERB_EDIT_PASTE, SP_VERB_EDIT_PASTE_STYLE,
  SP_VERB_EDIT_PASTE_SIZE, SP_VERB_EDIT_PASTE_SIZE_X, SP_VERB_EDIT_PASTE_SIZE_Y, SP_VERB_EDIT_PASTE_SIZE_SEPARATELY,
  SP_VERB_EDIT_PASTE_SIZE_SEPARATELY_X, SP_VERB_EDIT_PASTE_SIZE_SEPARATELY_Y, SP_VERB_EDIT_PASTE_IN_PLACE, SP_VERB_EDIT_DELETE,
  SP_VERB_EDIT_DUPLICATE, SP_VERB_EDIT_CLONE, SP_VERB_EDIT_UNLINK_CLONE, SP_VERB_EDIT_CLONE_ORIGINAL,
  SP_VERB_EDIT_TILE, SP_VERB_EDIT_UNTILE, SP_VERB_EDIT_CLEAR_ALL, SP_VERB_EDIT_SELECT_ALL,
  SP_VERB_EDIT_SELECT_ALL_IN_ALL_LAYERS, SP_VERB_EDIT_INVERT, SP_VERB_EDIT_INVERT_IN_ALL_LAYERS, SP_VERB_EDIT_SELECT_NEXT,
  SP_VERB_EDIT_SELECT_PREV, SP_VERB_EDIT_DESELECT, SP_VERB_SELECTION_TO_FRONT, SP_VERB_SELECTION_TO_BACK,
  SP_VERB_SELECTION_RAISE, SP_VERB_SELECTION_LOWER, SP_VERB_SELECTION_GROUP, SP_VERB_SELECTION_UNGROUP,
  SP_VERB_SELECTION_TEXTTOPATH, SP_VERB_SELECTION_TEXTFROMPATH, SP_VERB_SELECTION_REMOVE_KERNS, SP_VERB_SELECTION_UNION,
  SP_VERB_SELECTION_INTERSECT, SP_VERB_SELECTION_DIFF, SP_VERB_SELECTION_SYMDIFF, SP_VERB_SELECTION_CUT,
  SP_VERB_SELECTION_SLICE, SP_VERB_SELECTION_OFFSET, SP_VERB_SELECTION_OFFSET_SCREEN, SP_VERB_SELECTION_OFFSET_SCREEN_10,
  SP_VERB_SELECTION_INSET, SP_VERB_SELECTION_INSET_SCREEN, SP_VERB_SELECTION_INSET_SCREEN_10, SP_VERB_SELECTION_DYNAMIC_OFFSET,
  SP_VERB_SELECTION_LINKED_OFFSET, SP_VERB_SELECTION_OUTLINE, SP_VERB_SELECTION_SIMPLIFY, SP_VERB_SELECTION_REVERSE,
  SP_VERB_SELECTION_TRACE, SP_VERB_SELECTION_CREATE_BITMAP, SP_VERB_SELECTION_COMBINE, SP_VERB_SELECTION_BREAK_APART,
  SP_VERB_SELECTION_GRIDTILE, SP_VERB_LAYER_NEW, SP_VERB_LAYER_RENAME, SP_VERB_LAYER_NEXT,
  SP_VERB_LAYER_PREV, SP_VERB_LAYER_MOVE_TO_NEXT, SP_VERB_LAYER_MOVE_TO_PREV, SP_VERB_LAYER_TO_TOP,
  SP_VERB_LAYER_TO_BOTTOM, SP_VERB_LAYER_RAISE, SP_VERB_LAYER_LOWER, SP_VERB_LAYER_DELETE,
  SP_VERB_OBJECT_ROTATE_90_CW, SP_VERB_OBJECT_ROTATE_90_CCW, SP_VERB_OBJECT_FLATTEN, SP_VERB_OBJECT_TO_CURVE,
  SP_VERB_OBJECT_FLOW_TEXT, SP_VERB_OBJECT_UNFLOW_TEXT, SP_VERB_OBJECT_FLOWTEXT_TO_TEXT, SP_VERB_OBJECT_FLIP_HORIZONTAL,
  SP_VERB_OBJECT_FLIP_VERTICAL, SP_VERB_OBJECT_SET_MASK, SP_VERB_OBJECT_UNSET_MASK, SP_VERB_OBJECT_SET_CLIPPATH,
  SP_VERB_OBJECT_UNSET_CLIPPATH, SP_VERB_CONTEXT_SELECT, SP_VERB_CONTEXT_NODE, SP_VERB_CONTEXT_RECT,
  SP_VERB_CONTEXT_ARC, SP_VERB_CONTEXT_STAR, SP_VERB_CONTEXT_SPIRAL, SP_VERB_CONTEXT_PENCIL,
  SP_VERB_CONTEXT_PEN, SP_VERB_CONTEXT_CALLIGRAPHIC, SP_VERB_CONTEXT_TEXT, SP_VERB_CONTEXT_GRADIENT,
  SP_VERB_CONTEXT_ZOOM, SP_VERB_CONTEXT_DROPPER, SP_VERB_CONTEXT_CONNECTOR, SP_VERB_CONTEXT_SELECT_PREFS,
  SP_VERB_CONTEXT_NODE_PREFS, SP_VERB_CONTEXT_RECT_PREFS, SP_VERB_CONTEXT_ARC_PREFS, SP_VERB_CONTEXT_STAR_PREFS,
  SP_VERB_CONTEXT_SPIRAL_PREFS, SP_VERB_CONTEXT_PENCIL_PREFS, SP_VERB_CONTEXT_PEN_PREFS, SP_VERB_CONTEXT_CALLIGRAPHIC_PREFS,
  SP_VERB_CONTEXT_TEXT_PREFS, SP_VERB_CONTEXT_GRADIENT_PREFS, SP_VERB_CONTEXT_ZOOM_PREFS, SP_VERB_CONTEXT_DROPPER_PREFS,
  SP_VERB_CONTEXT_CONNECTOR_PREFS, SP_VERB_ZOOM_IN, SP_VERB_ZOOM_OUT, SP_VERB_TOGGLE_RULERS,
  SP_VERB_TOGGLE_SCROLLBARS, SP_VERB_TOGGLE_GRID, SP_VERB_TOGGLE_GUIDES, SP_VERB_ZOOM_NEXT,
  SP_VERB_ZOOM_PREV, SP_VERB_ZOOM_1_1, SP_VERB_ZOOM_1_2, SP_VERB_ZOOM_2_1,
  SP_VERB_VIEW_NEW, SP_VERB_VIEW_NEW_PREVIEW, SP_VERB_VIEW_MODE_NORMAL, SP_VERB_VIEW_MODE_OUTLINE,
  SP_VERB_VIEW_MODE_TOGGLE, SP_VERB_VIEW_ICON_PREVIEW, SP_VERB_ZOOM_PAGE, SP_VERB_ZOOM_PAGE_WIDTH,
  SP_VERB_ZOOM_DRAWING, SP_VERB_ZOOM_SELECTION, SP_VERB_DIALOG_DISPLAY, SP_VERB_DIALOG_NAMEDVIEW,
  SP_VERB_DIALOG_METADATA, SP_VERB_DIALOG_FILL_STROKE, SP_VERB_DIALOG_SWATCHES, SP_VERB_DIALOG_TRANSFORM,
  SP_VERB_DIALOG_ALIGN_DISTRIBUTE, SP_VERB_DIALOG_UNDO_HISTORY, SP_VERB_DIALOG_TEXT, SP_VERB_DIALOG_XML_EDITOR,
  SP_VERB_DIALOG_FIND, SP_VERB_DIALOG_DEBUG, SP_VERB_DIALOG_SCRIPT, SP_VERB_DIALOG_TOGGLE,
  SP_VERB_DIALOG_CLONETILER, SP_VERB_DIALOG_ITEM, SP_VERB_DIALOG_INPUT, SP_VERB_DIALOG_EXTENSIONEDITOR,
  SP_VERB_DIALOG_LAYERS, SP_VERB_HELP_KEYS, SP_VERB_HELP_ABOUT_EXTENSIONS, SP_VERB_HELP_MEMORY,
  SP_VERB_HELP_ABOUT, SP_VERB_TUTORIAL_BASIC, SP_VERB_TUTORIAL_SHAPES, SP_VERB_TUTORIAL_ADVANCED,
  SP_VERB_TUTORIAL_TRACING, SP_VERB_TUTORIAL_CALLIGRAPHY, SP_VERB_TUTORIAL_DESIGN, SP_VERB_TUTORIAL_TIPS,
  SP_VERB_EFFECT_LAST, SP_VERB_EFFECT_LAST_PREF, SP_VERB_FIT_CANVAS_TO_SELECTION, SP_VERB_FIT_CANVAS_TO_DRAWING,
  SP_VERB_FIT_CANVAS_TO_SELECTION_OR_DRAWING, SP_VERB_LAST
}
 This anonymous enum is used to provide a list of the Verbs which are defined staticly in the verb files. There may be other verbs which are defined dynamically also. More...

Functions

gchar * sp_action_get_title (const SPAction *action)
 Return the name without underscores and ellipsis, for use in dialog titles, etc. Allocated memory must be freed by caller.


Generated by  Doxygen 1.6.0   Back to index