Table of Contents

Class NavigationHelper

Namespace
GstVideo
Assembly
GstVideo-1.0.dll
public sealed class NavigationHelper : Object, IObject, INotifyPropertyChanged, IDisposable, Navigation, IHandle, GTypeProvider
Inheritance
NavigationHelper
Implements
Inherited Members

Constructors

NavigationHelper(IntPtr, bool)

public NavigationHelper(IntPtr handle, bool ownedRef)

Parameters

handle IntPtr
ownedRef bool

Methods

EventGetCoordinates(Event, out double, out double)

[Version("1.22")]
public static bool EventGetCoordinates(Event @event, out double x, out double y)

Parameters

event Event
x double
y double

Returns

bool

EventGetType(Event)

public static NavigationEventType EventGetType(Event @event)

Parameters

event Event

Returns

NavigationEventType

EventNewCommand(NavigationCommand)

[Version("1.22")]
public static Event EventNewCommand(NavigationCommand command)

Parameters

command NavigationCommand

Returns

Event

EventNewKeyPress(string, NavigationModifierType)

[Version("1.22")]
public static Event EventNewKeyPress(string key, NavigationModifierType state)

Parameters

key string
state NavigationModifierType

Returns

Event

EventNewKeyRelease(string, NavigationModifierType)

[Version("1.22")]
public static Event EventNewKeyRelease(string key, NavigationModifierType state)

Parameters

key string
state NavigationModifierType

Returns

Event

EventNewMouseButtonPress(int, double, double, NavigationModifierType)

[Version("1.22")]
public static Event EventNewMouseButtonPress(int button, double x, double y, NavigationModifierType state)

Parameters

button int
x double
y double
state NavigationModifierType

Returns

Event

EventNewMouseButtonRelease(int, double, double, NavigationModifierType)

[Version("1.22")]
public static Event EventNewMouseButtonRelease(int button, double x, double y, NavigationModifierType state)

Parameters

button int
x double
y double
state NavigationModifierType

Returns

Event

EventNewMouseMove(double, double, NavigationModifierType)

[Version("1.22")]
public static Event EventNewMouseMove(double x, double y, NavigationModifierType state)

Parameters

x double
y double
state NavigationModifierType

Returns

Event

EventNewMouseScroll(double, double, double, double, NavigationModifierType)

[Version("1.22")]
public static Event EventNewMouseScroll(double x, double y, double deltaX, double deltaY, NavigationModifierType state)

Parameters

x double
y double
deltaX double
deltaY double
state NavigationModifierType

Returns

Event

EventNewTouchCancel(NavigationModifierType)

[Version("1.22")]
public static Event EventNewTouchCancel(NavigationModifierType state)

Parameters

state NavigationModifierType

Returns

Event

EventNewTouchDown(uint, double, double, double, NavigationModifierType)

[Version("1.22")]
public static Event EventNewTouchDown(uint identifier, double x, double y, double pressure, NavigationModifierType state)

Parameters

identifier uint
x double
y double
pressure double
state NavigationModifierType

Returns

Event

EventNewTouchFrame(NavigationModifierType)

[Version("1.22")]
public static Event EventNewTouchFrame(NavigationModifierType state)

Parameters

state NavigationModifierType

Returns

Event

EventNewTouchMotion(uint, double, double, double, NavigationModifierType)

[Version("1.22")]
public static Event EventNewTouchMotion(uint identifier, double x, double y, double pressure, NavigationModifierType state)

Parameters

identifier uint
x double
y double
pressure double
state NavigationModifierType

Returns

Event

EventNewTouchUp(uint, double, double, NavigationModifierType)

[Version("1.22")]
public static Event EventNewTouchUp(uint identifier, double x, double y, NavigationModifierType state)

Parameters

identifier uint
x double
y double
state NavigationModifierType

Returns

Event

EventParseKeyEvent(Event, out string)

public static bool EventParseKeyEvent(Event @event, out string key)

Parameters

event Event
key string

Returns

bool

EventParseModifierState(Event, ref NavigationModifierType)

[Version("1.22")]
public static bool EventParseModifierState(Event @event, ref NavigationModifierType state)

Parameters

event Event
state NavigationModifierType

Returns

bool

EventParseMouseButtonEvent(Event, out int, out double, out double)

public static bool EventParseMouseButtonEvent(Event @event, out int button, out double x, out double y)

Parameters

event Event
button int
x double
y double

Returns

bool

EventParseMouseMoveEvent(Event, out double, out double)

public static bool EventParseMouseMoveEvent(Event @event, out double x, out double y)

Parameters

event Event
x double
y double

Returns

bool

EventParseMouseScrollEvent(Event, out double, out double, out double, out double)

[Version("1.18")]
public static bool EventParseMouseScrollEvent(Event @event, out double x, out double y, out double deltaX, out double deltaY)

Parameters

event Event
x double
y double
deltaX double
deltaY double

Returns

bool

EventParseTouchEvent(Event, out uint, out double, out double, out double)

[Version("1.22")]
public static bool EventParseTouchEvent(Event @event, out uint identifier, out double x, out double y, out double pressure)

Parameters

event Event
identifier uint
x double
y double
pressure double

Returns

bool

EventParseTouchUpEvent(Event, out uint, out double, out double)

[Version("1.22")]
public static bool EventParseTouchUpEvent(Event @event, out uint identifier, out double x, out double y)

Parameters

event Event
identifier uint
x double
y double

Returns

bool

EventSetCoordinates(Event, double, double)

[Version("1.22")]
public static bool EventSetCoordinates(Event @event, double x, double y)

Parameters

event Event
x double
y double

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

MessageGetType(Message)

public static NavigationMessageType MessageGetType(Message message)

Parameters

message Message

Returns

NavigationMessageType

MessageNewAnglesChanged(Object, uint, uint)

public static Message MessageNewAnglesChanged(Object src, uint curAngle, uint nAngles)

Parameters

src Object
curAngle uint
nAngles uint

Returns

Message

MessageNewCommandsChanged(Object)

public static Message MessageNewCommandsChanged(Object src)

Parameters

src Object

Returns

Message

MessageNewEvent(Object, Event)

[Version("1.6")]
public static Message MessageNewEvent(Object src, Event @event)

Parameters

src Object
event Event

Returns

Message

MessageNewMouseOver(Object, bool)

public static Message MessageNewMouseOver(Object src, bool active)

Parameters

src Object
active bool

Returns

Message

MessageParseAnglesChanged(Message, out uint, out uint)

public static bool MessageParseAnglesChanged(Message message, out uint curAngle, out uint nAngles)

Parameters

message Message
curAngle uint
nAngles uint

Returns

bool

MessageParseMouseOver(Message, out bool)

public static bool MessageParseMouseOver(Message message, out bool active)

Parameters

message Message
active bool

Returns

bool

QueryGetType(Query)

public static NavigationQueryType QueryGetType(Query query)

Parameters

query Query

Returns

NavigationQueryType

QueryNewAngles()

public static Query QueryNewAngles()

Returns

Query

QueryNewCommands()

public static Query QueryNewCommands()

Returns

Query

QueryParseAngles(Query, out uint, out uint)

public static bool QueryParseAngles(Query query, out uint curAngle, out uint nAngles)

Parameters

query Query
curAngle uint
nAngles uint

Returns

bool

QueryParseCommandsLength(Query, out uint)

public static bool QueryParseCommandsLength(Query query, out uint nCmds)

Parameters

query Query
nCmds uint

Returns

bool

QuerySetAngles(Query, uint, uint)

public static void QuerySetAngles(Query query, uint curAngle, uint nAngles)

Parameters

query Query
curAngle uint
nAngles uint

SendCommand(NavigationCommand)

public void SendCommand(NavigationCommand command)

Parameters

command NavigationCommand

SendEvent(Structure)

public void SendEvent(Structure structure)

Parameters

structure Structure

SendEventSimple(Event)

[Version("1.22")]
public void SendEventSimple(Event @event)

Parameters

event Event

SendKeyEvent(string, string)

public void SendKeyEvent(string @event, string key)

Parameters

event string
key string

SendMouseEvent(string, int, double, double)

public void SendMouseEvent(string @event, int button, double x, double y)

Parameters

event string
button int
x double
y double

SendMouseScrollEvent(double, double, double, double)

[Version("1.18")]
public void SendMouseScrollEvent(double x, double y, double deltaX, double deltaY)

Parameters

x double
y double
deltaX double
deltaY double