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 |
- newtype PrintCustomWidget = PrintCustomWidget (ManagedPtr PrintCustomWidget)
- class GObject o => IsPrintCustomWidget o
- toPrintCustomWidget :: (MonadIO m, IsPrintCustomWidget o) => o -> m PrintCustomWidget
- noPrintCustomWidget :: Maybe PrintCustomWidget
- printCustomWidgetGetTitle :: (HasCallStack, MonadIO m, IsPrintCustomWidget a) => a -> m Text
- printCustomWidgetGetWidget :: (HasCallStack, MonadIO m, IsPrintCustomWidget a) => a -> m Widget
- printCustomWidgetNew :: (HasCallStack, MonadIO m, IsWidget a) => a -> Text -> m PrintCustomWidget
- constructPrintCustomWidgetTitle :: IsPrintCustomWidget o => Text -> IO (GValueConstruct o)
- getPrintCustomWidgetTitle :: (MonadIO m, IsPrintCustomWidget o) => o -> m Text
- constructPrintCustomWidgetWidget :: (IsPrintCustomWidget o, IsWidget a) => a -> IO (GValueConstruct o)
- getPrintCustomWidgetWidget :: (MonadIO m, IsPrintCustomWidget o) => o -> m Widget
- type C_PrintCustomWidgetApplyCallback = Ptr () -> Ptr () -> IO ()
- type PrintCustomWidgetApplyCallback = IO ()
- 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 ()
- 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 #
class GObject o => IsPrintCustomWidget o Source #
toPrintCustomWidget :: (MonadIO m, IsPrintCustomWidget o) => o -> m PrintCustomWidget Source #
Methods
getTitle
printCustomWidgetGetTitle Source #
:: (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
printCustomWidgetGetWidget Source #
:: (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
:: (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
constructPrintCustomWidgetTitle :: IsPrintCustomWidget o => Text -> IO (GValueConstruct o) Source #
getPrintCustomWidgetTitle :: (MonadIO m, IsPrintCustomWidget o) => o -> m Text Source #
widget
constructPrintCustomWidgetWidget :: (IsPrintCustomWidget o, IsWidget a) => a -> IO (GValueConstruct o) Source #
getPrintCustomWidgetWidget :: (MonadIO m, IsPrintCustomWidget o) => o -> m 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 #