gi-gtk-0.3.18.13: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Switch

Contents

Description

 

Synopsis

Exported types

newtype Switch Source

Constructors

Switch (ForeignPtr Switch) 

Instances

GObject Switch Source 
((~) * info (ResolveSwitchMethod t Switch), MethodInfo * info Switch p) => IsLabel t (Switch -> p) Source 

Methods

fromLabel :: Proxy# Symbol t -> Switch -> p

((~) * info (ResolveSwitchMethod t Switch), MethodInfo * info Switch p) => IsLabelProxy t (Switch -> p) Source 

Methods

fromLabelProxy :: Proxy Symbol t -> Switch -> p

type ParentTypes Switch Source 
type AttributeList Switch Source 
type SignalList Switch Source 

class GObject o => SwitchK o Source

Instances

Methods

switchGetActive

switchGetState

switchNew

switchSetActive

data SwitchSetActiveMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, SwitchK a) => MethodInfo (TYPE Lifted) SwitchSetActiveMethodInfo a signature Source 

switchSetActive :: (MonadIO m, SwitchK a) => a -> Bool -> m () Source

switchSetState

data SwitchSetStateMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, SwitchK a) => MethodInfo (TYPE Lifted) SwitchSetStateMethodInfo a signature Source 

switchSetState :: (MonadIO m, SwitchK a) => a -> Bool -> m () Source

Properties

Active

setSwitchActive :: (MonadIO m, SwitchK o) => o -> Bool -> m () Source

State

setSwitchState :: (MonadIO m, SwitchK o) => o -> Bool -> m () Source

Signals

Activate

type SwitchActivateCallbackC = Ptr () -> Ptr () -> IO () Source

StateSet