gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
ConnectionSurface Class Reference

#include <JackPortMonitorGui.H>

Inheritance diagram for ConnectionSurface:
[legend]
Collaboration diagram for ConnectionSurface:
[legend]

Public Member Functions

void drawConnections (const map< GtkWidget *, vector< GtkWidget *> > &connections)
 
- Public Member Functions inherited from Surface
 Surface ()
 
 Surface (int width, int height)
 
virtual ~Surface (void)
 
GtkWidget * getWidget (void)
 
cairo_surface_t * getSurface (void)
 
void setSurface (cairo_surface_t *surface_)
 
void clear ()
 
- Public Member Functions inherited from Widget
 Widget ()
 Construcotr. More...
 
 Widget (GtkWidget *w)
 
virtual ~Widget ()
 Destructor. More...
 
GtkWidget * ref (void)
 
void unref (void)
 
GtkWidget * show (void)
 
GtkWidget * hide (void)
 
bool getVisible (void)
 
GtkWidget * getWidget (void)
 
bool getSensitive (void)
 
void setSensitive (bool sens)
 
void getSize (int &width, int &height)
 
virtual void setSize (int width, int height)
 
void getLocationSize (int &x, int &y, int &width, int &height)
 
void queueDraw ()
 
GdkWindow * getWindow ()
 
void connect (const char *event, GCallback callback, gpointer data)
 
void connectAfter (const char *event, GCallback callback, gpointer data)
 
void connectExposeEventCallback (GCallback callback, void *data)
 
void connectExposeEventCallback (GtkWidget *w, GCallback callback, void *data)
 
void connectConfigureEventCallback (GCallback callback, void *data)
 
void connectConfigureEventCallback (GtkWidget *w, GCallback callback, void *data)
 
Widgetoperator<< (DragNDrop &dnd)
 
Widgetoperator>> (DragNDrop &dnd)
 

Additional Inherited Members

- Protected Member Functions inherited from Surface
virtual gboolean configureEvent (GdkEventConfigure *event)
 
virtual bool exposeEvent ()
 
void destroySurface (void)
 
void init (int width, int height)
 
void connectDamagedCallback (GCallback callback, void *data)
 
- Protected Member Functions inherited from Widget
virtual bool checkDropValidity (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData)
 
virtual bool dragDataReceived (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData, int length)
 
virtual void dragLeave (GtkWidget *w, GtkWidget *sourceWidget)
 
virtual bool dragMotion (GtkWidget *w, GtkWidget *sourceWidget, int x, int y)
 
virtual int chooseTheTargetToUse (GtkWidget *w, GtkWidget *sourceWidget, DragNDrop &dnd)
 
virtual void dragDataGet (GtkWidget *w, GtkSelectionData *selectionData, guint info)
 
virtual void dragDataDelete (GtkWidget *w)
 
virtual void dragBegin (GtkWidget *w)
 
virtual void dragEnd (GtkWidget *w)
 
- Static Protected Member Functions inherited from Surface
static gboolean configureEventStatic (GtkWidget *widget, GdkEventConfigure *event, gpointer data)
 
static gboolean exposeEventStatic (GtkWidget *widget, GdkEventExpose *event, gpointer data)
 
- Protected Attributes inherited from Surface
cairo_surface_t * surface
 The backing surface for the drawing area. More...
 
- Protected Attributes inherited from Widget
GtkWidget * widget
 The container based widget. More...
 

Detailed Description

The surface to draw connections to.

Definition at line 170 of file JackPortMonitorGui.H.

Member Function Documentation

◆ drawConnections()

void ConnectionSurface::drawConnections ( const map< GtkWidget *, vector< GtkWidget *> > &  connections)

On the surface, draw arrows from input ports to connected output ports.

Parameters
connectionsThe map of connections between input port widgets and the vector of output port widgets.

Definition at line 174 of file JackPortMonitorGui.C.

Here is the call graph for this function:

The documentation for this class was generated from the following files:
gtkIOStream: ConnectionSurface Class Reference
GTK+ IOStream  Beta