gi-webkit2-4.0.14: WebKit2 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.WebKit2.Objects.PrintCustomWidget

Contents

Description

 

Synopsis

Exported types

Methods

getTitle

printCustomWidgetGetTitle Source #

Arguments

:: (HasCallStack, MonadIO m, IsPrintCustomWidget a) 
=> a

printCustomWidget: a PrintCustomWidget

-> m Text

Returns: Title of the printCustomWidget.

Return the value of PrintCustomWidget:title property for the given printCustomWidget object.

Since: 2.16

getWidget

printCustomWidgetGetWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsPrintCustomWidget a) 
=> a

printCustomWidget: a PrintCustomWidget

-> m Widget

Returns: a Widget.

Return the value of PrintCustomWidget:widget property for the given printCustomWidget object. The returned value will always be valid if called from PrintCustomWidget::apply or PrintCustomWidget::update callbacks, but it will be Nothing if called after the PrintCustomWidget::apply signal is emitted.

Since: 2.16

new

printCustomWidgetNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWidget a) 
=> a

widget: a Widget

-> Text

title: a widget's title

-> m PrintCustomWidget

Returns: a new PrintOperation.

Create a new PrintCustomWidget with given widget and title. The widget ownership is taken and it is destroyed together with the dialog even if this object could still be alive at that point. You typically want to pass a container widget with multiple widgets in it.

Since: 2.16

Properties

title

widget

Signals

apply

update