monomer-1.4.1.0: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Monomer.Widgets.Singles.ExternalLink

Description

Provides a clickable link that is opened by the host OS. Since it relies on the OS to open the content, it is possible to open URIs other than urls.

externalLink "Open Wikipedia" "https://en.wikipedia.org"
Synopsis

Configuration

data ExternalLinkCfg s e Source #

Configuration options for externalLink:

Instances

Instances details
Semigroup (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

Monoid (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

Default (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

Methods

def :: ExternalLinkCfg s e #

CmbResizeFactorDim (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

CmbResizeFactor (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

CmbTrimSpaces (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

CmbEllipsis (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

CmbMultiline (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

CmbMaxLines (ExternalLinkCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

WidgetEvent e => CmbOnBlur (ExternalLinkCfg s e) e Path Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

Methods

onBlur :: (Path -> e) -> ExternalLinkCfg s e Source #

WidgetEvent e => CmbOnFocus (ExternalLinkCfg s e) e Path Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

Methods

onFocus :: (Path -> e) -> ExternalLinkCfg s e Source #

CmbOnBlurReq (ExternalLinkCfg s e) s e Path Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

CmbOnFocusReq (ExternalLinkCfg s e) s e Path Source # 
Instance details

Defined in Monomer.Widgets.Singles.ExternalLink

Constructors

externalLink :: WidgetEvent e => Text -> Text -> WidgetNode s e Source #

Creates an external link with the given caption and url.

externalLink_ :: WidgetEvent e => Text -> Text -> [ExternalLinkCfg s e] -> WidgetNode s e Source #

Creates an external link with the given caption and url. Accepts config.