v_sim.GlExtBoxLegend

g GObject.Object GObject.Object v_sim.GlExt v_sim.GlExt GObject.Object->v_sim.GlExt v_sim.GlExtFrame v_sim.GlExtFrame v_sim.GlExt->v_sim.GlExtFrame v_sim.GlExtBoxLegend v_sim.GlExtBoxLegend v_sim.GlExtFrame->v_sim.GlExtBoxLegend

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new (name)

setBox (boxObj)

Virtual Methods

Inherited:

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

Properties

Inherited:

v_sim.GlExtFrame (4), v_sim.GlExt (9)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

v_sim.GlExtFrame

r

priv

v_sim.GlExtBoxLegendPrivate

r

Class Details

class v_sim.GlExtBoxLegend(**kwargs)
Bases:

v_sim.GlExtFrame

Abstract:

No

Structure:

v_sim.GlExtBoxLegendClass

An opaque structure.

New in version 3.7.

classmethod new(name)
Parameters:

name (str or None) – the name to give to the extension.

Returns:

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

Return type:

v_sim.GlExtBoxLegend

Creates a new v_sim.GlExt to draw a legend with the box size.

New in version 3.7.

setBox(boxObj)
Parameters:

boxObj (v_sim.Box) – the box to get the size of.

Returns:

True if model is changed.

Return type:

bool

Attach an v_sim.GlView to render to and setup the box to get the size of also.

New in version 3.7.