| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.WebKit2.Objects.PrintCustomWidget
Description
- newtype PrintCustomWidget = PrintCustomWidget (ManagedPtr PrintCustomWidget)
- class GObject o => IsPrintCustomWidget o
- toPrintCustomWidget :: IsPrintCustomWidget o => o -> IO PrintCustomWidget
- noPrintCustomWidget :: Maybe PrintCustomWidget
- data PrintCustomWidgetGetTitleMethodInfo
- printCustomWidgetGetTitle :: (HasCallStack, MonadIO m, IsPrintCustomWidget a) => a -> m Text
- data PrintCustomWidgetGetWidgetMethodInfo
- printCustomWidgetGetWidget :: (HasCallStack, MonadIO m, IsPrintCustomWidget a) => a -> m Widget
- printCustomWidgetNew :: (HasCallStack, MonadIO m, IsWidget a) => a -> Text -> m PrintCustomWidget
- data PrintCustomWidgetTitlePropertyInfo
- constructPrintCustomWidgetTitle :: IsPrintCustomWidget o => Text -> IO (GValueConstruct o)
- getPrintCustomWidgetTitle :: (MonadIO m, IsPrintCustomWidget o) => o -> m Text
- printCustomWidgetTitle :: AttrLabelProxy "title"
- data PrintCustomWidgetWidgetPropertyInfo
- constructPrintCustomWidgetWidget :: (IsPrintCustomWidget o, IsWidget a) => a -> IO (GValueConstruct o)
- getPrintCustomWidgetWidget :: (MonadIO m, IsPrintCustomWidget o) => o -> m Widget
- printCustomWidgetWidget :: AttrLabelProxy "widget"
- type C_PrintCustomWidgetApplyCallback = Ptr () -> Ptr () -> IO ()
- type PrintCustomWidgetApplyCallback = IO ()
- data PrintCustomWidgetApplySignalInfo
- afterPrintCustomWidgetApply :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetApplyCallback -> m SignalHandlerId
- genClosure_PrintCustomWidgetApply :: PrintCustomWidgetApplyCallback -> IO Closure
- mk_PrintCustomWidgetApplyCallback :: C_PrintCustomWidgetApplyCallback -> IO (FunPtr C_PrintCustomWidgetApplyCallback)
- noPrintCustomWidgetApplyCallback :: Maybe PrintCustomWidgetApplyCallback
- onPrintCustomWidgetApply :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetApplyCallback -> m SignalHandlerId
- wrap_PrintCustomWidgetApplyCallback :: PrintCustomWidgetApplyCallback -> Ptr () -> Ptr () -> IO ()
- type C_PrintCustomWidgetUpdateCallback = Ptr () -> Ptr PageSetup -> Ptr PrintSettings -> Ptr () -> IO ()
- type PrintCustomWidgetUpdateCallback = PageSetup -> PrintSettings -> IO ()
- data PrintCustomWidgetUpdateSignalInfo
- afterPrintCustomWidgetUpdate :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetUpdateCallback -> m SignalHandlerId
- genClosure_PrintCustomWidgetUpdate :: PrintCustomWidgetUpdateCallback -> IO Closure
- mk_PrintCustomWidgetUpdateCallback :: C_PrintCustomWidgetUpdateCallback -> IO (FunPtr C_PrintCustomWidgetUpdateCallback)
- noPrintCustomWidgetUpdateCallback :: Maybe PrintCustomWidgetUpdateCallback
- onPrintCustomWidgetUpdate :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetUpdateCallback -> m SignalHandlerId
- wrap_PrintCustomWidgetUpdateCallback :: PrintCustomWidgetUpdateCallback -> Ptr () -> Ptr PageSetup -> Ptr PrintSettings -> Ptr () -> IO ()
Exported types
newtype PrintCustomWidget Source #
Constructors
| PrintCustomWidget (ManagedPtr PrintCustomWidget) |
Instances
| GObject PrintCustomWidget Source # | |
| IsObject PrintCustomWidget Source # | |
| IsPrintCustomWidget PrintCustomWidget Source # | |
| ((~) * info (ResolvePrintCustomWidgetMethod t PrintCustomWidget), MethodInfo * info PrintCustomWidget p) => IsLabel t (PrintCustomWidget -> p) Source # | |
| ((~) * info (ResolvePrintCustomWidgetMethod t PrintCustomWidget), MethodInfo * info PrintCustomWidget p) => IsLabelProxy t (PrintCustomWidget -> p) Source # | |
| HasAttributeList * PrintCustomWidget Source # | |
| type AttributeList PrintCustomWidget Source # | |
| type SignalList PrintCustomWidget Source # | |
class GObject o => IsPrintCustomWidget o Source #
Instances
toPrintCustomWidget :: IsPrintCustomWidget o => o -> IO PrintCustomWidget Source #
Methods
getTitle
data PrintCustomWidgetGetTitleMethodInfo Source #
Instances
| ((~) * signature (m Text), MonadIO m, IsPrintCustomWidget a) => MethodInfo * PrintCustomWidgetGetTitleMethodInfo a signature Source # | |
printCustomWidgetGetTitle Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPrintCustomWidget a) | |
| => a |
|
| -> m Text | Returns: Title of the |
Return the value of PrintCustomWidget:title property for the given
printCustomWidget object.
Since: 2.16
getWidget
data PrintCustomWidgetGetWidgetMethodInfo Source #
Instances
| ((~) * signature (m Widget), MonadIO m, IsPrintCustomWidget a) => MethodInfo * PrintCustomWidgetGetWidgetMethodInfo a signature Source # | |
printCustomWidgetGetWidget Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPrintCustomWidget a) | |
| => a |
|
| -> m Widget | Returns: a |
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
Arguments
| :: (HasCallStack, MonadIO m, IsWidget a) | |
| => a |
|
| -> Text |
|
| -> m PrintCustomWidget | Returns: a new |
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
data PrintCustomWidgetTitlePropertyInfo Source #
Instances
constructPrintCustomWidgetTitle :: IsPrintCustomWidget o => Text -> IO (GValueConstruct o) Source #
getPrintCustomWidgetTitle :: (MonadIO m, IsPrintCustomWidget o) => o -> m Text Source #
printCustomWidgetTitle :: AttrLabelProxy "title" Source #
widget
data PrintCustomWidgetWidgetPropertyInfo Source #
Instances
constructPrintCustomWidgetWidget :: (IsPrintCustomWidget o, IsWidget a) => a -> IO (GValueConstruct o) Source #
getPrintCustomWidgetWidget :: (MonadIO m, IsPrintCustomWidget o) => o -> m Widget Source #
printCustomWidgetWidget :: AttrLabelProxy "widget" Source #
Signals
apply
type PrintCustomWidgetApplyCallback = IO () Source #
afterPrintCustomWidgetApply :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetApplyCallback -> m SignalHandlerId Source #
mk_PrintCustomWidgetApplyCallback :: C_PrintCustomWidgetApplyCallback -> IO (FunPtr C_PrintCustomWidgetApplyCallback) Source #
onPrintCustomWidgetApply :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetApplyCallback -> m SignalHandlerId Source #
wrap_PrintCustomWidgetApplyCallback :: PrintCustomWidgetApplyCallback -> Ptr () -> Ptr () -> IO () Source #
update
type C_PrintCustomWidgetUpdateCallback = Ptr () -> Ptr PageSetup -> Ptr PrintSettings -> Ptr () -> IO () Source #
type PrintCustomWidgetUpdateCallback = PageSetup -> PrintSettings -> IO () Source #
afterPrintCustomWidgetUpdate :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetUpdateCallback -> m SignalHandlerId Source #
mk_PrintCustomWidgetUpdateCallback :: C_PrintCustomWidgetUpdateCallback -> IO (FunPtr C_PrintCustomWidgetUpdateCallback) Source #
onPrintCustomWidgetUpdate :: (IsPrintCustomWidget a, MonadIO m) => a -> PrintCustomWidgetUpdateCallback -> m SignalHandlerId Source #
wrap_PrintCustomWidgetUpdateCallback :: PrintCustomWidgetUpdateCallback -> Ptr () -> Ptr PageSetup -> Ptr PrintSettings -> Ptr () -> IO () Source #