manpagez: man pages & more
html files: libgimpwidgets
Home | html | info | man

GimpUnitComboBox

GimpUnitComboBox — A GtkComboBox to select a GimpUnit.

Style Properties

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBin
                        ╰── GtkComboBox
                            ╰── GimpUnitComboBox

Implemented Interfaces

GimpUnitComboBox implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.

Description

GimpUnitComboBox selects units stored in a GimpUnitStore. It replaces the deprecated GimpUnitMenu.

Functions

gimp_unit_combo_box_new ()

GtkWidget *
gimp_unit_combo_box_new (void);

Returns

a new GimpUnitComboBox.


gimp_unit_combo_box_new_with_model ()

GtkWidget *
gimp_unit_combo_box_new_with_model (GimpUnitStore *model);

Parameters

model

a GimpUnitStore

 

Returns

a new GimpUnitComboBox.


gimp_unit_combo_box_get_active ()

GimpUnit
gimp_unit_combo_box_get_active (GimpUnitComboBox *combo);

gimp_unit_combo_box_set_active ()

void
gimp_unit_combo_box_set_active (GimpUnitComboBox *combo,
                                GimpUnit unit);

Types and Values

GimpUnitComboBox

typedef struct _GimpUnitComboBox GimpUnitComboBox;

Style Property Details

The “label-scale” style property

  “label-scale”              gdouble

The scale for the text cell renderer.

Owner: GimpUnitComboBox

Flags: Read

Allowed values: >= 0

Default value: 1

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.