AgsGui.Indicator

g AgsGui.Indicator AgsGui.Indicator GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Orientable->AgsGui.Indicator Gtk.Widget->AgsGui.Indicator

Subclasses:

None

Methods

Inherited:

Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new (orientation, segment_width, segment_height)

get_adjustment ()

get_segment_count ()

get_segment_height ()

get_segment_padding ()

get_segment_width ()

set_adjustment (adjustment)

set_segment_count (segment_count)

set_segment_height (segment_height)

set_segment_padding (segment_padding)

set_segment_width (segment_width)

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)

Properties

Inherited:

Gtk.Widget (34), Gtk.Accessible (1), Gtk.Orientable (1)

Name

Type

Flags

Short Description

adjustment

GObject.Object

r/w

The adjustment it is assigned with

segment-count

int

r/w

The indicator’s segment count

segment-height

int

r/w

The indicator’s segment height

segment-padding

int

r/w

The indicator’s segment padding

segment-width

int

r/w

The indicator’s segment width

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Name

Type

Access

Description

adjustment

Gtk.Adjustment

r

orientation

Gtk.Orientation

r

segment_count

int

r

segment_height

int

r

segment_padding

int

r

segment_width

int

r

widget

Gtk.Widget

r

Class Details

class AgsGui.Indicator(**kwargs)
Bases:

Gtk.Widget, Gtk.Orientable

Abstract:

No

Structure:

AgsGui.IndicatorClass

classmethod new(orientation, segment_width, segment_height)
Parameters:
Returns:

the new AgsGui.Indicator

Return type:

AgsGui.Indicator

Creates a new instance of AgsGui.Indicator.

New in version 3.0.0.

get_adjustment()
Returns:

the Gtk.Adjustment

Return type:

Gtk.Adjustment

Get adjustment.

New in version 3.2.0.

get_segment_count()
Returns:

the segment count

Return type:

int

Get segment count.

New in version 3.2.0.

get_segment_height()
Returns:

the segment height

Return type:

int

Get segment height.

New in version 3.2.0.

get_segment_padding()
Returns:

the segment padding

Return type:

int

Get segment padding.

New in version 3.2.0.

get_segment_width()
Returns:

the segment width

Return type:

int

Get segment width.

New in version 3.2.0.

set_adjustment(adjustment)
Parameters:

adjustment (Gtk.Adjustment) – the Gtk.Adjustment

Set adjustment.

New in version 3.2.0.

set_segment_count(segment_count)
Parameters:

segment_count (int) – the segment count

Set segment count.

New in version 3.2.0.

set_segment_height(segment_height)
Parameters:

segment_height (int) – the segment height

Set segment height.

New in version 3.2.0.

set_segment_padding(segment_padding)
Parameters:

segment_padding (int) – the segment padding

Set segment padding.

New in version 3.2.0.

set_segment_width(segment_width)
Parameters:

segment_width (int) – the segment width

Set segment width.

New in version 3.2.0.

Property Details

AgsGui.Indicator.props.adjustment
Name:

adjustment

Type:

GObject.Object

Default Value:

None

Flags:

READABLE, WRITABLE

The adjustment giving indicator value.

New in version 3.0.0.

AgsGui.Indicator.props.segment_count
Name:

segment-count

Type:

int

Default Value:

10

Flags:

READABLE, WRITABLE

The indicator’s segment count.

New in version 3.0.0.

AgsGui.Indicator.props.segment_height
Name:

segment-height

Type:

int

Default Value:

7

Flags:

READABLE, WRITABLE

The indicator’s segment height.

New in version 3.0.0.

AgsGui.Indicator.props.segment_padding
Name:

segment-padding

Type:

int

Default Value:

3

Flags:

READABLE, WRITABLE

The indicator’s segment padding.

New in version 3.0.0.

AgsGui.Indicator.props.segment_width
Name:

segment-width

Type:

int

Default Value:

7

Flags:

READABLE, WRITABLE

The indicator’s segment width.

New in version 3.0.0.