Logo Search packages:      
Sourcecode: inkscape version File versions

SPKnot Struct Reference

#include <knot.h>

List of all members.


Detailed Description

Desktop-bound visual control object.

A knot is a draggable object, with callbacks to change something by dragging it, visuably represented by a canvas item (mostly square).

Definition at line 40 of file knot.h.


Public Member Functions

void setAnchor (guint i)
void setCursor (GdkCursor *normal, GdkCursor *mouseover, GdkCursor *dragging)
void setFill (guint32 normal, guint32 mouseover, guint32 dragging)
void setImage (guchar *normal, guchar *mouseover, guchar *dragging)
void setMode (guint i)
void setPixbuf (gpointer p)
void setShape (guint i)
void setSize (guint i)
void setStroke (guint32 normal, guint32 mouseover, guint32 dragging)

Public Attributes

sigc::signal< void, SPKnot
*, guint > 
_click_signal
gulong _event_handler_id
sigc::signal< void, SPKnot
*, Geom::Point const &, guint > 
_moved_signal
sigc::signal< void, SPKnot * > _ungrabbed_signal
GtkAnchorType anchor
GdkCursor * cursor [SP_KNOT_VISIBLE_STATES]
SPDesktopdesktop
Geom::Point drag_origin
guint32 fill [SP_KNOT_VISIBLE_STATES]
guint flags
Geom::Point grabbed_rel_pos
guchar * image [SP_KNOT_VISIBLE_STATES]
SPCanvasItemitem
SPKnotModeType mode
gpointer pixbuf
Geom::Point pos
double pressure
GdkCursor * saved_cursor
SPKnotShapeType shape
guint size
guint32 stroke [SP_KNOT_VISIBLE_STATES]
gchar * tip

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

Generated by  Doxygen 1.6.0   Back to index