VisuUiBox

VisuUiBox — Defines a widget to setup box.

Functions

Signals

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── VisuUiLine
                        ╰── VisuUiBox

Description

A set of widgets to setup the rendring of a box.

Functions

visu_ui_box_new ()

GtkWidget *
visu_ui_box_new ();

Creates a new VisuUiBox to allow to setup box rendering characteristics.

Returns

a pointer to the newly created widget.

Since: 3.8


visu_ui_box_bind ()

void
visu_ui_box_bind (VisuUiBox *box,
                  VisuGlExtBox *model);

Bind the properties of model to be displayed by box .

Parameters

box

a VisuUiBox object.

 

model

a VisuGlExtBox object.

[transfer full]

Since: 3.8


visu_ui_box_bindLegend ()

void
visu_ui_box_bindLegend (VisuUiBox *box,
                        VisuGlExtBoxLegend *legend);

Bind the properties of model to be displayed by legend .

Parameters

box

a VisuUiBox object.

 

legend

a VisuGlExtBoxLegend object.

[transfer full]

Since: 3.8

Types and Values

Signal Details

The “show-size-changed” signal

void
user_function (VisuUiBox *box,
               gboolean   used,
               gpointer   user_data)

This signal is emitted when the box legend check box is changed.

Parameters

box

the VisuUiBox that emits the signal ;

 

used

TRUE if the box follow the box basis-set.

 

user_data

user data set when the signal handler was connected.

 

Flags: No Hooks

Since: 3.8


The “x-pos-changed” signal

void
user_function (VisuUiBox *box,
               gdouble    pos,
               gpointer   user_data)

This signal is emitted when the box legend rendering position is changed.

Parameters

box

the VisuUiBox that emits the signal ;

 

pos

the new position.

 

user_data

user data set when the signal handler was connected.

 

Flags: No Hooks

Since: 3.8


The “y-pos-changed” signal

void
user_function (VisuUiBox *box,
               gdouble    pos,
               gpointer   user_data)

This signal is emitted when the box legend rendering position is changed.

Parameters

box

the VisuUiBox that emits the signal ;

 

pos

the new position.

 

user_data

user data set when the signal handler was connected.

 

Flags: No Hooks

Since: 3.8