v_sim.GlExtPaths

g GObject.Object GObject.Object v_sim.GlExt v_sim.GlExt GObject.Object->v_sim.GlExt v_sim.GlExtPaths v_sim.GlExtPaths v_sim.GlExt->v_sim.GlExtPaths

Subclasses:

None

Methods

Inherited:

v_sim.GlExt (16), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (name)

getWidth ()

set (obj)

setWidth (value)

Virtual Methods

Inherited:

v_sim.GlExt (3), GObject.Object (7)

Properties

Inherited:

v_sim.GlExt (9)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

v_sim.GlExt

r

priv

v_sim.GlExtPathsPrivate

r

Class Details

class v_sim.GlExtPaths(**kwargs)
Bases:

v_sim.GlExt

Abstract:

No

Structure:

v_sim.GlExtPathsClass

An opaque structure.

New in version 3.7.

classmethod new(name)
Parameters:

name (str or None) – the name to give to the extension (default is v_sim.GL_EXT_PATHS_ID).

Returns:

a pointer to the v_sim.GlExt it created or None otherwise.

Return type:

v_sim.GlExtPaths

Creates a new v_sim.GlExt to draw paths.

New in version 3.7.

getWidth()
Returns:

the width used to render the path.

Return type:

float

Inquire the width used to render the self.

New in version 3.8.

set(obj)
Parameters:

obj (v_sim.Paths or None) – a v_sim.Paths object.

Returns:

True if the model was actually changed.

Return type:

bool

Set the v_sim.Paths to be drawn.

New in version 3.7.

setWidth(value)
Parameters:

value (float) – a positive float lower than 10.

Returns:

True if the width has changed.

Return type:

bool

Change the rendering width of the self.

New in version 3.8.