VisuUiComboValues

VisuUiComboValues — A specialised combo box to list node properties of a VisuData object.

Functions

Properties

VisuNodeValues * active-values Read / Write
VisuData * model Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkComboBox
                        ╰── VisuUiComboValues

Implemented Interfaces

VisuUiComboValues implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.

Description

This object is a specialised combo box that lists the node properties of a given VisuData object.

Functions

visu_ui_combo_values_new ()

GtkWidget *
visu_ui_combo_values_new ();

Create a new GtkListStore to store planes.

Returns

a newly created object.

Since: 3.8


visu_ui_combo_values_setNodeModel ()

gboolean
visu_ui_combo_values_setNodeModel (VisuUiComboValues *combo,
                                   VisuData *data);

Bind the set object to list .

Parameters

combo

a VisuUiComboValues object.

 

data

a VisuData object.

[allow-none]

Returns

TRUE if set is changed


visu_ui_combo_values_getActive ()

VisuNodeValues *
visu_ui_combo_values_getActive (VisuUiComboValues *combo);

Retrieves the currently selected VisuNodeValues object.

Parameters

combo

a VisuUiComboValues object.

 

Returns

the selected VisuNodeValues object.

[transfer none]

Since: 3.8


visu_ui_combo_values_setActive ()

gboolean
visu_ui_combo_values_setActive (VisuUiComboValues *combo,
                                const VisuNodeValues *values);

Changes current selection of combo to be on values . If values is not part of combo , nothing is changed and FALSE is returned.

Parameters

combo

a VisuUiComboValues object.

 

values

a VisuNodeValues object.

 

Returns

TRUE if values exists in combo .

Since: 3.8

Types and Values

struct VisuUiComboValues

struct VisuUiComboValues;

Common name to refer to a _VisuUiComboValues.


struct VisuUiComboValuesClass

struct VisuUiComboValuesClass {
  GtkComboBoxClass parent;
};

Common name to refer to a _VisuUiComboValuesClass.

Members

GtkComboBoxClass parent;

private.

 

Property Details

The “active-values” property

  “active-values”            VisuNodeValues *

current selection.

Flags: Read / Write


The “model” property

  “model”                    VisuData *

node model.

Flags: Read / Write