\fBName\fP

AuGrabNotifyEvent - grab notify event structure

\fBStructures\fP

#include <audio/audiolib.h>

typedef union _AuEvent

{

    . . .
    AuGrabNotifyEvent augrabnotify;
    . . .

}AuEvent;

typedef struct _AuGrabNotifyEvent

{

    int type;
    AuUint32 serial;
    AuBool send_event;
    AuServer *server;
    AuTime time;
    AuID id;
    unsigned char kind;
    unsigned char pad1;
    unsigned short pad2;
    AuID client;

}AuGrabNotifyEvent;

\fBMembers\fP

type

The event type. GrabNotify events are type AuEventTypeGrabNotify.

serial

The serial ID of the event expanded from the 16 bit value sent by the server.

send_event

AuTrue if the event came from a SendEvent protocol request.

server

The connection to the audio server that the event was read from.

time

The server time in milliseconds when the event was generated.

id

The ID of the component grabbed.

kind

Either AuGrabNotifyKindRequested or AuGrabNotifyKindReleased.

pad1
pad2
client

The client making the grab.

\fBDescription\fP

GrabNotify events are sent to client applications to notify them that a component has been grabbed or released.

\fBNotes\fP

Not implemented. So this is all just speculation.

\fBSee Also\fP

AuAnyEvent, AuElementNotifyEvent, AuErrorEvent, AuMonitorNotifyEvent.

audiolib - Network Audio System C Language Interface