Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::ObjectVerb Class Reference

Inheritance diagram for Inkscape::ObjectVerb:

Inkscape::Verb

List of all members.


Detailed Description

A class to encompass all of the verbs which deal with operations related to objects.

Definition at line 222 of file verbs.cpp.


Public Member Functions

void delete_view (Inkscape::UI::View::View *view)
 A function to remove the action associated with a view.
SPActionget_action (Inkscape::UI::View::View *view)
 A function to get an action if it exists, or otherwise to build it.
unsigned int get_code (void)
 Accessor to get the internal variable.
bool get_default_sensitive (void)
 Accessor to get the _default_sensitive value.
gchar const * get_id (void)
 Accessor to get the internal variable.
gchar const * get_image (void)
 Accessor to get the internal variable.
gchar const * get_name (void)
 Accessor to get the internal variable.
void name (SPDocument *in_doc=NULL, Glib::ustring in_name="")
 ObjectVerb (unsigned int const code, gchar const *id, gchar const *name, gchar const *tip, gchar const *image)
 Use the Verb initializer with the same parameters.
void sensitive (SPDocument *in_doc=NULL, bool in_sensitive=true)
gchar const * set_name (gchar const *name)
 Set the name after initialization.
gchar const * set_tip (gchar const *tip)
 Set the tooltip after initialization.

Static Public Member Functions

static void delete_all_view (Inkscape::UI::View::View *view)
 A function to delete a view from all verbs.
static Verbget (unsigned int code)
 A function to turn a code into a verb.
static Verbgetbyid (gchar const *id)
 Find a Verb using it's ID.

Protected Member Functions

virtual SPActionmake_action (Inkscape::UI::View::View *view)
 Create an action for a ObjectVerb.
SPActionmake_action_helper (Inkscape::UI::View::View *view, SPActionEventVector *vector, void *in_pntr=NULL)
 A quick little convience function to make building actions a little bit easier.
bool set_default_sensitive (bool in_val)
 Allows for preliminary setting of the _default_sensitive value without effecting existing actions.

Static Protected Member Functions

static int _getBaseListSize ()
 Returns the size of the internal base verb array.

Static Private Member Functions

static void perform (SPAction *action, void *mydata, void *otherdata)
 Decode the verb code and take appropriate action.

Static Private Attributes

static SPActionEventVector vector

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index