Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::DialogVerb Class Reference

Inheritance diagram for Inkscape::DialogVerb:


List of all members.

Detailed Description

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

Definition at line 248 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.
 DialogVerb (unsigned int const code, gchar const *id, gchar const *name, gchar const *tip, gchar const *image)
 Use the Verb initializer with the same parameters.
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.
gchar const * get_tip (void)
 Accessor to get the internal variable.
void name (SPDocument *in_doc=NULL, Glib::ustring in_name="")
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.
static void list (void)

Protected Member Functions

virtual SPActionmake_action (Inkscape::UI::View::View *view)
 Create an action for a DialogVerb.
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 (void)
 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