gtk3-0.13.0.3: Binding to the Gtk+ graphical user interface library.

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.Display.LevelBar

Contents

Description

A widget which indicates progress visually

Synopsis

Detail

The LevelBar is typically used to display level indicator

Class Hierarchy

| GObject
| +----Object
| +----Widget
| +----LevelBar

Types

Constructors

Methods

levelBarSetMode :: LevelBarClass self => self -> LevelBarMode -> IO () Source

Sets the value of the "mode" property.

levelBarGetMode :: LevelBarClass self => self -> IO LevelBarMode Source

Returns the value of the "mode" property.

levelBarAddOffsetValue Source

Arguments

:: (LevelBarClass self, GlibString string) 
=> self 
-> string

name - Offset name

-> Double

value - Offset position

-> IO () 

Add a new offset marker at the position specified by @value

levelBarRemoveOffsetValue :: (LevelBarClass self, GlibString string) => self -> string -> IO () Source

Add a new offset marker at the position specified by @value

levelBarGetOffsetValue Source

Arguments

:: (LevelBarClass self, GlibString string) 
=> self 
-> string 
-> IO Double

returns the value of the offset

Returns the current fraction of the task that's been completed.

Attributes

levelBarInverted :: LevelBarClass self => Attr self Bool Source

Level bars normally grow from top to bottom or left to right. Inverted level bars grow in the opposite direction.

Default value: (0)

Since 3.8

levelBarMaxValue :: LevelBarClass self => Attr self Double Source

The "max-value" property determaxes the maximum value of the interval that can be displayed by the bar.

Allowed values: >= 0

Default value: 1

levelBarMinValue :: LevelBarClass self => Attr self Double Source

The "min-value" property determines the minimum value of the interval that can be displayed by the bar.

Allowed values: >= 0

Default value: 0

levelBarValue :: LevelBarClass self => Attr self Double Source

The "value" property determines the currently filled value of the level bar.

Allowed values: >= 0

Default value: 0