AgsIndicator

AgsIndicator — A indicator widget

Functions

Properties

GObject * adjustment Read / Write
guint segment-count Read / Write
guint segment-height Read / Write
guint segment-padding Read / Write
guint segment-width Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── AgsIndicator
                    ├── AgsHIndicator
                    ╰── AgsVIndicator

Implemented Interfaces

AgsIndicator implements AtkImplementorIface and GtkBuildable.

Includes

#include <ags/widget/ags_indicator.h>

Description

AgsIndicator is a widget representing a GtkAdjustment.

Functions

ags_indicator_new ()

AgsIndicator *
ags_indicator_new ();

Creates an AgsIndicator. Note, use rather its implementation AgsVIndicator or AgsHIndicator.

Returns

a new AgsIndicator

Since: 2.0.0


AGS_INDICATOR()

#define AGS_INDICATOR(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsIndicator))

AGS_INDICATOR_CLASS()

#define AGS_INDICATOR_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsIndicatorClass))

AGS_INDICATOR_GET_CLASS()

#define AGS_INDICATOR_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsIndicatorClass))

AGS_IS_INDICATOR()

#define AGS_IS_INDICATOR(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))

ags_indicator_get_type ()

GType
ags_indicator_get_type (void);

Types and Values

AGS_INDICATOR_DEFAULT_SEGMENT_WIDTH

#define AGS_INDICATOR_DEFAULT_SEGMENT_WIDTH (7)

AGS_INDICATOR_DEFAULT_SEGMENT_HEIGHT

#define AGS_INDICATOR_DEFAULT_SEGMENT_HEIGHT (7)

AGS_INDICATOR_DEFAULT_SEGMENT_PADDING

#define AGS_INDICATOR_DEFAULT_SEGMENT_PADDING (3)

AGS_INDICATOR_DEFAULT_SEGMENT_COUNT

#define AGS_INDICATOR_DEFAULT_SEGMENT_COUNT (10)

AGS_TYPE_INDICATOR

#define AGS_TYPE_INDICATOR                (ags_indicator_get_type())

struct AgsIndicator

struct AgsIndicator;

struct AgsIndicatorClass

struct AgsIndicatorClass {
  GtkWidgetClass widget;
};

Property Details

The “adjustment” property

  “adjustment”               GObject *

The adjustment giving indicator value.

Flags: Read / Write

Since: 2.0.0


The “segment-count” property

  “segment-count”            guint

The indicator's segment count.

Flags: Read / Write

Allowed values: >= 1

Default value: 10

Since: 2.2.20


The “segment-height” property

  “segment-height”           guint

The indicator's segment height.

Flags: Read / Write

Allowed values: >= 1

Default value: 7

Since: 2.2.20


The “segment-padding” property

  “segment-padding”          guint

The indicator's segment padding.

Flags: Read / Write

Default value: 3

Since: 2.2.20


The “segment-width” property

  “segment-width”            guint

The indicator's segment width.

Flags: Read / Write

Allowed values: >= 1

Default value: 7

Since: 2.2.20