gtk3-0.15.8: Binding to the Gtk+ 3 graphical user interface library
Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.Misc.Arrow

Description

Displays an arrow

Synopsis

Detail

Arrow should be used to draw simple arrows that need to point in one of the four cardinal directions (up, down, left, or right). The style of the arrow can be one of shadow in, shadow out, etched in, or etched out. Note that these directions and style types may be ammended in versions of Gtk to come.

Arrow will fill any space alloted to it, but since it is inherited from Misc, it can be padded and/or aligned, to fill exactly the space the programmer desires.

Arrows are created with a call to arrowNew. The direction or style of an arrow can be changed after creation by using arrowSet.

Class Hierarchy

| GObject
| +----Object
| +----Widget
| +----Misc
| +----Arrow

Types

data Arrow Source #

Instances

Instances details
Eq Arrow Source # 
Instance details

Defined in Graphics.UI.Gtk.Types

Methods

(==) :: Arrow -> Arrow -> Bool

(/=) :: Arrow -> Arrow -> Bool

Ord Arrow Source # 
Instance details

Defined in Graphics.UI.Gtk.Types

Methods

compare :: Arrow -> Arrow -> Ordering

(<) :: Arrow -> Arrow -> Bool

(<=) :: Arrow -> Arrow -> Bool

(>) :: Arrow -> Arrow -> Bool

(>=) :: Arrow -> Arrow -> Bool

max :: Arrow -> Arrow -> Arrow

min :: Arrow -> Arrow -> Arrow

GObjectClass Arrow Source # 
Instance details

Defined in Graphics.UI.Gtk.Types

ArrowClass Arrow Source # 
Instance details

Defined in Graphics.UI.Gtk.Types

MiscClass Arrow Source # 
Instance details

Defined in Graphics.UI.Gtk.Types

WidgetClass Arrow Source # 
Instance details

Defined in Graphics.UI.Gtk.Types

class MiscClass o => ArrowClass o Source #

Instances

Instances details
ArrowClass Arrow Source # 
Instance details

Defined in Graphics.UI.Gtk.Types

data ArrowType Source #

Arrow directions for the arrow widget

Instances

Instances details
Enum ArrowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Show ArrowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> ArrowType -> ShowS

show :: ArrowType -> String

showList :: [ArrowType] -> ShowS

Eq ArrowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: ArrowType -> ArrowType -> Bool

(/=) :: ArrowType -> ArrowType -> Bool

data ShadowType Source #

Shadow types

Instances

Instances details
Enum ShadowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Show ShadowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

showsPrec :: Int -> ShadowType -> ShowS

show :: ShadowType -> String

showList :: [ShadowType] -> ShowS

Eq ShadowType Source # 
Instance details

Defined in Graphics.UI.Gtk.General.Enums

Methods

(==) :: ShadowType -> ShadowType -> Bool

(/=) :: ShadowType -> ShadowType -> Bool

Constructors

arrowNew :: ArrowType -> ShadowType -> IO Arrow Source #

Creates a new arrow widget.

Methods

arrowSet :: ArrowClass self => self -> ArrowType -> ShadowType -> IO () Source #

Sets the direction and style of the Arrow.

Attributes

arrowArrowType :: ArrowClass self => Attr self ArrowType Source #

The direction the arrow should point.

Default value: ArrowRight

arrowShadowType :: ArrowClass self => Attr self ShadowType Source #

Appearance of the shadow surrounding the arrow.

Default value: ShadowOut