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

GimpEnumLabel

GimpEnumLabel — A GtkLabel subclass that displays an enum value.

Functions

Properties

GType * enum-type Read / Write / Construct Only
int enum-value Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkMisc
                    ╰── GtkLabel
                        ╰── GimpEnumLabel

Implemented Interfaces

GimpEnumLabel implements AtkImplementorIface and GtkBuildable.

Description

A GtkLabel subclass that displays an enum value.

Functions

gimp_enum_label_new ()

GtkWidget *
gimp_enum_label_new (GType enum_type,
                     gint value);

Parameters

enum_type

the GType of an enum

 

value

an enum value

 

Returns

a new GimpEnumLabel.

Since: 2.4


gimp_enum_label_set_value ()

void
gimp_enum_label_set_value (GimpEnumLabel *label,
                           gint value);

Parameters

label

a GimpEnumLabel

 

value

an enum value

 

Since: 2.4

Types and Values

GimpEnumLabel

typedef struct _GimpEnumLabel GimpEnumLabel;

Property Details

The “enum-type” property

  “enum-type”                GType *

The GType of the enum.

Owner: GimpEnumLabel

Flags: Read / Write / Construct Only

Allowed values: void

Since: 2.8


The “enum-value” property

  “enum-value”               int

The value to display.

Owner: GimpEnumLabel

Flags: Write / Construct

Default value: 0

Since: 2.8

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