{-# LANGUAGE ImplicitParams, RankNTypes, TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Handy.Objects.ActionRow
(
ActionRow(..) ,
IsActionRow ,
toActionRow ,
#if defined(ENABLE_OVERLOADING)
ResolveActionRowMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
ActionRowActivateMethodInfo ,
#endif
actionRowActivate ,
#if defined(ENABLE_OVERLOADING)
ActionRowAddPrefixMethodInfo ,
#endif
actionRowAddPrefix ,
#if defined(ENABLE_OVERLOADING)
ActionRowGetActivatableWidgetMethodInfo ,
#endif
actionRowGetActivatableWidget ,
#if defined(ENABLE_OVERLOADING)
ActionRowGetIconNameMethodInfo ,
#endif
actionRowGetIconName ,
#if defined(ENABLE_OVERLOADING)
ActionRowGetSubtitleMethodInfo ,
#endif
actionRowGetSubtitle ,
#if defined(ENABLE_OVERLOADING)
ActionRowGetSubtitleLinesMethodInfo ,
#endif
actionRowGetSubtitleLines ,
#if defined(ENABLE_OVERLOADING)
ActionRowGetTitleLinesMethodInfo ,
#endif
actionRowGetTitleLines ,
#if defined(ENABLE_OVERLOADING)
ActionRowGetUseUnderlineMethodInfo ,
#endif
actionRowGetUseUnderline ,
actionRowNew ,
#if defined(ENABLE_OVERLOADING)
ActionRowSetActivatableWidgetMethodInfo ,
#endif
actionRowSetActivatableWidget ,
#if defined(ENABLE_OVERLOADING)
ActionRowSetIconNameMethodInfo ,
#endif
actionRowSetIconName ,
#if defined(ENABLE_OVERLOADING)
ActionRowSetSubtitleMethodInfo ,
#endif
actionRowSetSubtitle ,
#if defined(ENABLE_OVERLOADING)
ActionRowSetSubtitleLinesMethodInfo ,
#endif
actionRowSetSubtitleLines ,
#if defined(ENABLE_OVERLOADING)
ActionRowSetTitleLinesMethodInfo ,
#endif
actionRowSetTitleLines ,
#if defined(ENABLE_OVERLOADING)
ActionRowSetUseUnderlineMethodInfo ,
#endif
actionRowSetUseUnderline ,
#if defined(ENABLE_OVERLOADING)
ActionRowActivatableWidgetPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actionRowActivatableWidget ,
#endif
clearActionRowActivatableWidget ,
constructActionRowActivatableWidget ,
getActionRowActivatableWidget ,
setActionRowActivatableWidget ,
#if defined(ENABLE_OVERLOADING)
ActionRowIconNamePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actionRowIconName ,
#endif
constructActionRowIconName ,
getActionRowIconName ,
setActionRowIconName ,
#if defined(ENABLE_OVERLOADING)
ActionRowSubtitlePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actionRowSubtitle ,
#endif
clearActionRowSubtitle ,
constructActionRowSubtitle ,
getActionRowSubtitle ,
setActionRowSubtitle ,
#if defined(ENABLE_OVERLOADING)
ActionRowSubtitleLinesPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actionRowSubtitleLines ,
#endif
constructActionRowSubtitleLines ,
getActionRowSubtitleLines ,
setActionRowSubtitleLines ,
#if defined(ENABLE_OVERLOADING)
ActionRowTitleLinesPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actionRowTitleLines ,
#endif
constructActionRowTitleLines ,
getActionRowTitleLines ,
setActionRowTitleLines ,
#if defined(ENABLE_OVERLOADING)
ActionRowUseUnderlinePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
actionRowUseUnderline ,
#endif
constructActionRowUseUnderline ,
getActionRowUseUnderline ,
setActionRowUseUnderline ,
ActionRowActivatedCallback ,
#if defined(ENABLE_OVERLOADING)
ActionRowActivatedSignalInfo ,
#endif
afterActionRowActivated ,
onActionRowActivated ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gtk.Interfaces.Actionable as Gtk.Actionable
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Objects.Bin as Gtk.Bin
import qualified GI.Gtk.Objects.Container as Gtk.Container
import qualified GI.Gtk.Objects.ListBoxRow as Gtk.ListBoxRow
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import {-# SOURCE #-} qualified GI.Handy.Objects.PreferencesRow as Handy.PreferencesRow
newtype ActionRow = ActionRow (SP.ManagedPtr ActionRow)
deriving (ActionRow -> ActionRow -> Bool
(ActionRow -> ActionRow -> Bool)
-> (ActionRow -> ActionRow -> Bool) -> Eq ActionRow
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ActionRow -> ActionRow -> Bool
$c/= :: ActionRow -> ActionRow -> Bool
== :: ActionRow -> ActionRow -> Bool
$c== :: ActionRow -> ActionRow -> Bool
Eq)
instance SP.ManagedPtrNewtype ActionRow where
toManagedPtr :: ActionRow -> ManagedPtr ActionRow
toManagedPtr (ActionRow ManagedPtr ActionRow
p) = ManagedPtr ActionRow
p
foreign import ccall "hdy_action_row_get_type"
c_hdy_action_row_get_type :: IO B.Types.GType
instance B.Types.TypedObject ActionRow where
glibType :: IO GType
glibType = IO GType
c_hdy_action_row_get_type
instance B.Types.GObject ActionRow
class (SP.GObject o, O.IsDescendantOf ActionRow o) => IsActionRow o
instance (SP.GObject o, O.IsDescendantOf ActionRow o) => IsActionRow o
instance O.HasParentTypes ActionRow
type instance O.ParentTypes ActionRow = '[Handy.PreferencesRow.PreferencesRow, Gtk.ListBoxRow.ListBoxRow, Gtk.Bin.Bin, Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Actionable.Actionable, Gtk.Buildable.Buildable]
toActionRow :: (MIO.MonadIO m, IsActionRow o) => o -> m ActionRow
toActionRow :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> m ActionRow
toActionRow = IO ActionRow -> m ActionRow
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ActionRow -> m ActionRow)
-> (o -> IO ActionRow) -> o -> m ActionRow
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr ActionRow -> ActionRow) -> o -> IO ActionRow
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr ActionRow -> ActionRow
ActionRow
instance B.GValue.IsGValue (Maybe ActionRow) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_hdy_action_row_get_type
gvalueSet_ :: Ptr GValue -> Maybe ActionRow -> IO ()
gvalueSet_ Ptr GValue
gv Maybe ActionRow
P.Nothing = Ptr GValue -> Ptr ActionRow -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr ActionRow
forall a. Ptr a
FP.nullPtr :: FP.Ptr ActionRow)
gvalueSet_ Ptr GValue
gv (P.Just ActionRow
obj) = ActionRow -> (Ptr ActionRow -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr ActionRow
obj (Ptr GValue -> Ptr ActionRow -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe ActionRow)
gvalueGet_ Ptr GValue
gv = do
Ptr ActionRow
ptr <- Ptr GValue -> IO (Ptr ActionRow)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr ActionRow)
if Ptr ActionRow
ptr Ptr ActionRow -> Ptr ActionRow -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr ActionRow
forall a. Ptr a
FP.nullPtr
then ActionRow -> Maybe ActionRow
forall a. a -> Maybe a
P.Just (ActionRow -> Maybe ActionRow)
-> IO ActionRow -> IO (Maybe ActionRow)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr ActionRow -> ActionRow)
-> Ptr ActionRow -> IO ActionRow
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr ActionRow -> ActionRow
ActionRow Ptr ActionRow
ptr
else Maybe ActionRow -> IO (Maybe ActionRow)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ActionRow
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveActionRowMethod (t :: Symbol) (o :: *) :: * where
ResolveActionRowMethod "activate" o = ActionRowActivateMethodInfo
ResolveActionRowMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveActionRowMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveActionRowMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveActionRowMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveActionRowMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveActionRowMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveActionRowMethod "addPrefix" o = ActionRowAddPrefixMethodInfo
ResolveActionRowMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveActionRowMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveActionRowMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveActionRowMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveActionRowMethod "changed" o = Gtk.ListBoxRow.ListBoxRowChangedMethodInfo
ResolveActionRowMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveActionRowMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveActionRowMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveActionRowMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveActionRowMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveActionRowMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveActionRowMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveActionRowMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveActionRowMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveActionRowMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveActionRowMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveActionRowMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveActionRowMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveActionRowMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveActionRowMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveActionRowMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveActionRowMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveActionRowMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveActionRowMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveActionRowMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveActionRowMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveActionRowMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveActionRowMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveActionRowMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveActionRowMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveActionRowMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveActionRowMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveActionRowMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveActionRowMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveActionRowMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveActionRowMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveActionRowMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveActionRowMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveActionRowMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveActionRowMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveActionRowMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveActionRowMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveActionRowMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveActionRowMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveActionRowMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveActionRowMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveActionRowMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveActionRowMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveActionRowMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveActionRowMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveActionRowMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveActionRowMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveActionRowMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveActionRowMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveActionRowMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveActionRowMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveActionRowMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveActionRowMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveActionRowMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveActionRowMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveActionRowMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveActionRowMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveActionRowMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveActionRowMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveActionRowMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveActionRowMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveActionRowMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveActionRowMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveActionRowMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveActionRowMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveActionRowMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveActionRowMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveActionRowMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveActionRowMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveActionRowMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveActionRowMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveActionRowMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveActionRowMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveActionRowMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveActionRowMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveActionRowMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveActionRowMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveActionRowMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveActionRowMethod "isSelected" o = Gtk.ListBoxRow.ListBoxRowIsSelectedMethodInfo
ResolveActionRowMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveActionRowMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveActionRowMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveActionRowMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveActionRowMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveActionRowMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveActionRowMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveActionRowMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveActionRowMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveActionRowMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveActionRowMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveActionRowMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveActionRowMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveActionRowMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveActionRowMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveActionRowMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveActionRowMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveActionRowMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveActionRowMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveActionRowMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveActionRowMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveActionRowMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveActionRowMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveActionRowMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveActionRowMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveActionRowMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveActionRowMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveActionRowMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveActionRowMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveActionRowMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveActionRowMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveActionRowMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveActionRowMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveActionRowMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveActionRowMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveActionRowMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveActionRowMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveActionRowMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveActionRowMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveActionRowMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveActionRowMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveActionRowMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveActionRowMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveActionRowMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveActionRowMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveActionRowMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveActionRowMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveActionRowMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveActionRowMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveActionRowMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveActionRowMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveActionRowMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveActionRowMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveActionRowMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveActionRowMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveActionRowMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveActionRowMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveActionRowMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveActionRowMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveActionRowMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveActionRowMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveActionRowMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveActionRowMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveActionRowMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveActionRowMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveActionRowMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveActionRowMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveActionRowMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveActionRowMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveActionRowMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveActionRowMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveActionRowMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveActionRowMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveActionRowMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveActionRowMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveActionRowMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveActionRowMethod "getActionName" o = Gtk.Actionable.ActionableGetActionNameMethodInfo
ResolveActionRowMethod "getActionTargetValue" o = Gtk.Actionable.ActionableGetActionTargetValueMethodInfo
ResolveActionRowMethod "getActivatable" o = Gtk.ListBoxRow.ListBoxRowGetActivatableMethodInfo
ResolveActionRowMethod "getActivatableWidget" o = ActionRowGetActivatableWidgetMethodInfo
ResolveActionRowMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveActionRowMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveActionRowMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveActionRowMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveActionRowMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveActionRowMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveActionRowMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveActionRowMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveActionRowMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveActionRowMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveActionRowMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
ResolveActionRowMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveActionRowMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveActionRowMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveActionRowMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveActionRowMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveActionRowMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveActionRowMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveActionRowMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveActionRowMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveActionRowMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveActionRowMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveActionRowMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveActionRowMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveActionRowMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveActionRowMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveActionRowMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveActionRowMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveActionRowMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveActionRowMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveActionRowMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveActionRowMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveActionRowMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveActionRowMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveActionRowMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveActionRowMethod "getHeader" o = Gtk.ListBoxRow.ListBoxRowGetHeaderMethodInfo
ResolveActionRowMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveActionRowMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveActionRowMethod "getIconName" o = ActionRowGetIconNameMethodInfo
ResolveActionRowMethod "getIndex" o = Gtk.ListBoxRow.ListBoxRowGetIndexMethodInfo
ResolveActionRowMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveActionRowMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveActionRowMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveActionRowMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveActionRowMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveActionRowMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveActionRowMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveActionRowMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveActionRowMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveActionRowMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveActionRowMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveActionRowMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveActionRowMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveActionRowMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveActionRowMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveActionRowMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveActionRowMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveActionRowMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveActionRowMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveActionRowMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveActionRowMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveActionRowMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveActionRowMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveActionRowMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveActionRowMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveActionRowMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveActionRowMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveActionRowMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveActionRowMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveActionRowMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveActionRowMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveActionRowMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveActionRowMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveActionRowMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveActionRowMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveActionRowMethod "getSelectable" o = Gtk.ListBoxRow.ListBoxRowGetSelectableMethodInfo
ResolveActionRowMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveActionRowMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveActionRowMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveActionRowMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveActionRowMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveActionRowMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveActionRowMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveActionRowMethod "getSubtitle" o = ActionRowGetSubtitleMethodInfo
ResolveActionRowMethod "getSubtitleLines" o = ActionRowGetSubtitleLinesMethodInfo
ResolveActionRowMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveActionRowMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveActionRowMethod "getTitle" o = Handy.PreferencesRow.PreferencesRowGetTitleMethodInfo
ResolveActionRowMethod "getTitleLines" o = ActionRowGetTitleLinesMethodInfo
ResolveActionRowMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveActionRowMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveActionRowMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveActionRowMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveActionRowMethod "getUseUnderline" o = ActionRowGetUseUnderlineMethodInfo
ResolveActionRowMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveActionRowMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveActionRowMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveActionRowMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveActionRowMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveActionRowMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveActionRowMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveActionRowMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveActionRowMethod "setActionName" o = Gtk.Actionable.ActionableSetActionNameMethodInfo
ResolveActionRowMethod "setActionTargetValue" o = Gtk.Actionable.ActionableSetActionTargetValueMethodInfo
ResolveActionRowMethod "setActivatable" o = Gtk.ListBoxRow.ListBoxRowSetActivatableMethodInfo
ResolveActionRowMethod "setActivatableWidget" o = ActionRowSetActivatableWidgetMethodInfo
ResolveActionRowMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveActionRowMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveActionRowMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveActionRowMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveActionRowMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveActionRowMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveActionRowMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveActionRowMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveActionRowMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveActionRowMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveActionRowMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveActionRowMethod "setDetailedActionName" o = Gtk.Actionable.ActionableSetDetailedActionNameMethodInfo
ResolveActionRowMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveActionRowMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveActionRowMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveActionRowMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveActionRowMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveActionRowMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveActionRowMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveActionRowMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveActionRowMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveActionRowMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveActionRowMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveActionRowMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveActionRowMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveActionRowMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveActionRowMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveActionRowMethod "setHeader" o = Gtk.ListBoxRow.ListBoxRowSetHeaderMethodInfo
ResolveActionRowMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveActionRowMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveActionRowMethod "setIconName" o = ActionRowSetIconNameMethodInfo
ResolveActionRowMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveActionRowMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveActionRowMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveActionRowMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveActionRowMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveActionRowMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveActionRowMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveActionRowMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveActionRowMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveActionRowMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveActionRowMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveActionRowMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveActionRowMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveActionRowMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveActionRowMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveActionRowMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveActionRowMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveActionRowMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveActionRowMethod "setSelectable" o = Gtk.ListBoxRow.ListBoxRowSetSelectableMethodInfo
ResolveActionRowMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveActionRowMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveActionRowMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveActionRowMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveActionRowMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveActionRowMethod "setSubtitle" o = ActionRowSetSubtitleMethodInfo
ResolveActionRowMethod "setSubtitleLines" o = ActionRowSetSubtitleLinesMethodInfo
ResolveActionRowMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveActionRowMethod "setTitle" o = Handy.PreferencesRow.PreferencesRowSetTitleMethodInfo
ResolveActionRowMethod "setTitleLines" o = ActionRowSetTitleLinesMethodInfo
ResolveActionRowMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveActionRowMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveActionRowMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveActionRowMethod "setUseUnderline" o = ActionRowSetUseUnderlineMethodInfo
ResolveActionRowMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveActionRowMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveActionRowMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveActionRowMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveActionRowMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveActionRowMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveActionRowMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveActionRowMethod t ActionRow, O.OverloadedMethod info ActionRow p) => OL.IsLabel t (ActionRow -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveActionRowMethod t ActionRow, O.OverloadedMethod info ActionRow p, R.HasField t ActionRow p) => R.HasField t ActionRow p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveActionRowMethod t ActionRow, O.OverloadedMethodInfo info ActionRow) => OL.IsLabel t (O.MethodProxy info ActionRow) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
type ActionRowActivatedCallback =
IO ()
type C_ActionRowActivatedCallback =
Ptr ActionRow ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ActionRowActivatedCallback :: C_ActionRowActivatedCallback -> IO (FunPtr C_ActionRowActivatedCallback)
wrap_ActionRowActivatedCallback ::
GObject a => (a -> ActionRowActivatedCallback) ->
C_ActionRowActivatedCallback
wrap_ActionRowActivatedCallback :: forall a. GObject a => (a -> IO ()) -> C_ActionRowActivatedCallback
wrap_ActionRowActivatedCallback a -> IO ()
gi'cb Ptr ActionRow
gi'selfPtr Ptr ()
_ = do
Ptr ActionRow -> (ActionRow -> IO ()) -> IO ()
forall a b.
(HasCallStack, ManagedPtrNewtype a) =>
Ptr a -> (a -> IO b) -> IO b
B.ManagedPtr.withTransient Ptr ActionRow
gi'selfPtr ((ActionRow -> IO ()) -> IO ()) -> (ActionRow -> IO ()) -> IO ()
forall a b. (a -> b) -> a -> b
$ \ActionRow
gi'self -> a -> IO ()
gi'cb (ActionRow -> a
Coerce.coerce ActionRow
gi'self)
onActionRowActivated :: (IsActionRow a, MonadIO m) => a -> ((?self :: a) => ActionRowActivatedCallback) -> m SignalHandlerId
onActionRowActivated :: forall a (m :: * -> *).
(IsActionRow a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
onActionRowActivated a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActionRowActivatedCallback
wrapped' = (a -> IO ()) -> C_ActionRowActivatedCallback
forall a. GObject a => (a -> IO ()) -> C_ActionRowActivatedCallback
wrap_ActionRowActivatedCallback a -> IO ()
wrapped
FunPtr C_ActionRowActivatedCallback
wrapped'' <- C_ActionRowActivatedCallback
-> IO (FunPtr C_ActionRowActivatedCallback)
mk_ActionRowActivatedCallback C_ActionRowActivatedCallback
wrapped'
a
-> Text
-> FunPtr C_ActionRowActivatedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"activated" FunPtr C_ActionRowActivatedCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterActionRowActivated :: (IsActionRow a, MonadIO m) => a -> ((?self :: a) => ActionRowActivatedCallback) -> m SignalHandlerId
afterActionRowActivated :: forall a (m :: * -> *).
(IsActionRow a, MonadIO m) =>
a -> ((?self::a) => IO ()) -> m SignalHandlerId
afterActionRowActivated a
obj (?self::a) => IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let wrapped :: a -> IO ()
wrapped a
self = let ?self = a
?self::a
self in IO ()
(?self::a) => IO ()
cb
let wrapped' :: C_ActionRowActivatedCallback
wrapped' = (a -> IO ()) -> C_ActionRowActivatedCallback
forall a. GObject a => (a -> IO ()) -> C_ActionRowActivatedCallback
wrap_ActionRowActivatedCallback a -> IO ()
wrapped
FunPtr C_ActionRowActivatedCallback
wrapped'' <- C_ActionRowActivatedCallback
-> IO (FunPtr C_ActionRowActivatedCallback)
mk_ActionRowActivatedCallback C_ActionRowActivatedCallback
wrapped'
a
-> Text
-> FunPtr C_ActionRowActivatedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"activated" FunPtr C_ActionRowActivatedCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ActionRowActivatedSignalInfo
instance SignalInfo ActionRowActivatedSignalInfo where
type HaskellCallbackType ActionRowActivatedSignalInfo = ActionRowActivatedCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ActionRowActivatedCallback cb
cb'' <- mk_ActionRowActivatedCallback cb'
connectSignalFunPtr obj "activated" cb'' connectMode detail
dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow::activated"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#g:signal:activated"})
#endif
getActionRowActivatableWidget :: (MonadIO m, IsActionRow o) => o -> m (Maybe Gtk.Widget.Widget)
getActionRowActivatableWidget :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> m (Maybe Widget)
getActionRowActivatableWidget o
obj = IO (Maybe Widget) -> m (Maybe Widget)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Widget) -> m (Maybe Widget))
-> IO (Maybe Widget) -> m (Maybe Widget)
forall a b. (a -> b) -> a -> b
$ o -> String -> (ManagedPtr Widget -> Widget) -> IO (Maybe Widget)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"activatable-widget" ManagedPtr Widget -> Widget
Gtk.Widget.Widget
setActionRowActivatableWidget :: (MonadIO m, IsActionRow o, Gtk.Widget.IsWidget a) => o -> a -> m ()
setActionRowActivatableWidget :: forall (m :: * -> *) o a.
(MonadIO m, IsActionRow o, IsWidget a) =>
o -> a -> m ()
setActionRowActivatableWidget o
obj a
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"activatable-widget" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructActionRowActivatableWidget :: (IsActionRow o, MIO.MonadIO m, Gtk.Widget.IsWidget a) => a -> m (GValueConstruct o)
constructActionRowActivatableWidget :: forall o (m :: * -> *) a.
(IsActionRow o, MonadIO m, IsWidget a) =>
a -> m (GValueConstruct o)
constructActionRowActivatableWidget a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"activatable-widget" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)
clearActionRowActivatableWidget :: (MonadIO m, IsActionRow o) => o -> m ()
clearActionRowActivatableWidget :: forall (m :: * -> *) o. (MonadIO m, IsActionRow o) => o -> m ()
clearActionRowActivatableWidget o
obj = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Widget -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"activatable-widget" (Maybe Widget
forall a. Maybe a
Nothing :: Maybe Gtk.Widget.Widget)
#if defined(ENABLE_OVERLOADING)
data ActionRowActivatableWidgetPropertyInfo
instance AttrInfo ActionRowActivatableWidgetPropertyInfo where
type AttrAllowedOps ActionRowActivatableWidgetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActionRowActivatableWidgetPropertyInfo = IsActionRow
type AttrSetTypeConstraint ActionRowActivatableWidgetPropertyInfo = Gtk.Widget.IsWidget
type AttrTransferTypeConstraint ActionRowActivatableWidgetPropertyInfo = Gtk.Widget.IsWidget
type AttrTransferType ActionRowActivatableWidgetPropertyInfo = Gtk.Widget.Widget
type AttrGetType ActionRowActivatableWidgetPropertyInfo = (Maybe Gtk.Widget.Widget)
type AttrLabel ActionRowActivatableWidgetPropertyInfo = "activatable-widget"
type AttrOrigin ActionRowActivatableWidgetPropertyInfo = ActionRow
attrGet = getActionRowActivatableWidget
attrSet = setActionRowActivatableWidget
attrTransfer _ v = do
unsafeCastTo Gtk.Widget.Widget v
attrConstruct = constructActionRowActivatableWidget
attrClear = clearActionRowActivatableWidget
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.activatableWidget"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#g:attr:activatableWidget"
})
#endif
getActionRowIconName :: (MonadIO m, IsActionRow o) => o -> m T.Text
getActionRowIconName :: forall (m :: * -> *) o. (MonadIO m, IsActionRow o) => o -> m Text
getActionRowIconName o
obj = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getActionRowIconName" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"icon-name"
setActionRowIconName :: (MonadIO m, IsActionRow o) => o -> T.Text -> m ()
setActionRowIconName :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> Text -> m ()
setActionRowIconName o
obj Text
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"icon-name" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructActionRowIconName :: (IsActionRow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructActionRowIconName :: forall o (m :: * -> *).
(IsActionRow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructActionRowIconName Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"icon-name" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
#if defined(ENABLE_OVERLOADING)
data ActionRowIconNamePropertyInfo
instance AttrInfo ActionRowIconNamePropertyInfo where
type AttrAllowedOps ActionRowIconNamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActionRowIconNamePropertyInfo = IsActionRow
type AttrSetTypeConstraint ActionRowIconNamePropertyInfo = (~) T.Text
type AttrTransferTypeConstraint ActionRowIconNamePropertyInfo = (~) T.Text
type AttrTransferType ActionRowIconNamePropertyInfo = T.Text
type AttrGetType ActionRowIconNamePropertyInfo = T.Text
type AttrLabel ActionRowIconNamePropertyInfo = "icon-name"
type AttrOrigin ActionRowIconNamePropertyInfo = ActionRow
attrGet = getActionRowIconName
attrSet = setActionRowIconName
attrTransfer _ v = do
return v
attrConstruct = constructActionRowIconName
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.iconName"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#g:attr:iconName"
})
#endif
getActionRowSubtitle :: (MonadIO m, IsActionRow o) => o -> m (Maybe T.Text)
getActionRowSubtitle :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> m (Maybe Text)
getActionRowSubtitle o
obj = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"subtitle"
setActionRowSubtitle :: (MonadIO m, IsActionRow o) => o -> T.Text -> m ()
setActionRowSubtitle :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> Text -> m ()
setActionRowSubtitle o
obj Text
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"subtitle" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructActionRowSubtitle :: (IsActionRow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructActionRowSubtitle :: forall o (m :: * -> *).
(IsActionRow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructActionRowSubtitle Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"subtitle" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
clearActionRowSubtitle :: (MonadIO m, IsActionRow o) => o -> m ()
clearActionRowSubtitle :: forall (m :: * -> *) o. (MonadIO m, IsActionRow o) => o -> m ()
clearActionRowSubtitle o
obj = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"subtitle" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data ActionRowSubtitlePropertyInfo
instance AttrInfo ActionRowSubtitlePropertyInfo where
type AttrAllowedOps ActionRowSubtitlePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ActionRowSubtitlePropertyInfo = IsActionRow
type AttrSetTypeConstraint ActionRowSubtitlePropertyInfo = (~) T.Text
type AttrTransferTypeConstraint ActionRowSubtitlePropertyInfo = (~) T.Text
type AttrTransferType ActionRowSubtitlePropertyInfo = T.Text
type AttrGetType ActionRowSubtitlePropertyInfo = (Maybe T.Text)
type AttrLabel ActionRowSubtitlePropertyInfo = "subtitle"
type AttrOrigin ActionRowSubtitlePropertyInfo = ActionRow
attrGet = getActionRowSubtitle
attrSet = setActionRowSubtitle
attrTransfer _ v = do
return v
attrConstruct = constructActionRowSubtitle
attrClear = clearActionRowSubtitle
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.subtitle"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#g:attr:subtitle"
})
#endif
getActionRowSubtitleLines :: (MonadIO m, IsActionRow o) => o -> m Int32
getActionRowSubtitleLines :: forall (m :: * -> *) o. (MonadIO m, IsActionRow o) => o -> m Int32
getActionRowSubtitleLines o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj String
"subtitle-lines"
setActionRowSubtitleLines :: (MonadIO m, IsActionRow o) => o -> Int32 -> m ()
setActionRowSubtitleLines :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> Int32 -> m ()
setActionRowSubtitleLines o
obj Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj String
"subtitle-lines" Int32
val
constructActionRowSubtitleLines :: (IsActionRow o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructActionRowSubtitleLines :: forall o (m :: * -> *).
(IsActionRow o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructActionRowSubtitleLines Int32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 String
"subtitle-lines" Int32
val
#if defined(ENABLE_OVERLOADING)
data ActionRowSubtitleLinesPropertyInfo
instance AttrInfo ActionRowSubtitleLinesPropertyInfo where
type AttrAllowedOps ActionRowSubtitleLinesPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActionRowSubtitleLinesPropertyInfo = IsActionRow
type AttrSetTypeConstraint ActionRowSubtitleLinesPropertyInfo = (~) Int32
type AttrTransferTypeConstraint ActionRowSubtitleLinesPropertyInfo = (~) Int32
type AttrTransferType ActionRowSubtitleLinesPropertyInfo = Int32
type AttrGetType ActionRowSubtitleLinesPropertyInfo = Int32
type AttrLabel ActionRowSubtitleLinesPropertyInfo = "subtitle-lines"
type AttrOrigin ActionRowSubtitleLinesPropertyInfo = ActionRow
attrGet = getActionRowSubtitleLines
attrSet = setActionRowSubtitleLines
attrTransfer _ v = do
return v
attrConstruct = constructActionRowSubtitleLines
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.subtitleLines"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#g:attr:subtitleLines"
})
#endif
getActionRowTitleLines :: (MonadIO m, IsActionRow o) => o -> m Int32
getActionRowTitleLines :: forall (m :: * -> *) o. (MonadIO m, IsActionRow o) => o -> m Int32
getActionRowTitleLines o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj String
"title-lines"
setActionRowTitleLines :: (MonadIO m, IsActionRow o) => o -> Int32 -> m ()
setActionRowTitleLines :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> Int32 -> m ()
setActionRowTitleLines o
obj Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj String
"title-lines" Int32
val
constructActionRowTitleLines :: (IsActionRow o, MIO.MonadIO m) => Int32 -> m (GValueConstruct o)
constructActionRowTitleLines :: forall o (m :: * -> *).
(IsActionRow o, MonadIO m) =>
Int32 -> m (GValueConstruct o)
constructActionRowTitleLines Int32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 String
"title-lines" Int32
val
#if defined(ENABLE_OVERLOADING)
data ActionRowTitleLinesPropertyInfo
instance AttrInfo ActionRowTitleLinesPropertyInfo where
type AttrAllowedOps ActionRowTitleLinesPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActionRowTitleLinesPropertyInfo = IsActionRow
type AttrSetTypeConstraint ActionRowTitleLinesPropertyInfo = (~) Int32
type AttrTransferTypeConstraint ActionRowTitleLinesPropertyInfo = (~) Int32
type AttrTransferType ActionRowTitleLinesPropertyInfo = Int32
type AttrGetType ActionRowTitleLinesPropertyInfo = Int32
type AttrLabel ActionRowTitleLinesPropertyInfo = "title-lines"
type AttrOrigin ActionRowTitleLinesPropertyInfo = ActionRow
attrGet = getActionRowTitleLines
attrSet = setActionRowTitleLines
attrTransfer _ v = do
return v
attrConstruct = constructActionRowTitleLines
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.titleLines"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#g:attr:titleLines"
})
#endif
getActionRowUseUnderline :: (MonadIO m, IsActionRow o) => o -> m Bool
getActionRowUseUnderline :: forall (m :: * -> *) o. (MonadIO m, IsActionRow o) => o -> m Bool
getActionRowUseUnderline o
obj = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"use-underline"
setActionRowUseUnderline :: (MonadIO m, IsActionRow o) => o -> Bool -> m ()
setActionRowUseUnderline :: forall (m :: * -> *) o.
(MonadIO m, IsActionRow o) =>
o -> Bool -> m ()
setActionRowUseUnderline o
obj Bool
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"use-underline" Bool
val
constructActionRowUseUnderline :: (IsActionRow o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructActionRowUseUnderline :: forall o (m :: * -> *).
(IsActionRow o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructActionRowUseUnderline Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"use-underline" Bool
val
#if defined(ENABLE_OVERLOADING)
data ActionRowUseUnderlinePropertyInfo
instance AttrInfo ActionRowUseUnderlinePropertyInfo where
type AttrAllowedOps ActionRowUseUnderlinePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ActionRowUseUnderlinePropertyInfo = IsActionRow
type AttrSetTypeConstraint ActionRowUseUnderlinePropertyInfo = (~) Bool
type AttrTransferTypeConstraint ActionRowUseUnderlinePropertyInfo = (~) Bool
type AttrTransferType ActionRowUseUnderlinePropertyInfo = Bool
type AttrGetType ActionRowUseUnderlinePropertyInfo = Bool
type AttrLabel ActionRowUseUnderlinePropertyInfo = "use-underline"
type AttrOrigin ActionRowUseUnderlinePropertyInfo = ActionRow
attrGet = getActionRowUseUnderline
attrSet = setActionRowUseUnderline
attrTransfer _ v = do
return v
attrConstruct = constructActionRowUseUnderline
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.useUnderline"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#g:attr:useUnderline"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList ActionRow
type instance O.AttributeList ActionRow = ActionRowAttributeList
type ActionRowAttributeList = ('[ '("actionName", Gtk.Actionable.ActionableActionNamePropertyInfo), '("actionTarget", Gtk.Actionable.ActionableActionTargetPropertyInfo), '("activatable", Gtk.ListBoxRow.ListBoxRowActivatablePropertyInfo), '("activatableWidget", ActionRowActivatableWidgetPropertyInfo), '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("iconName", ActionRowIconNamePropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("selectable", Gtk.ListBoxRow.ListBoxRowSelectablePropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("subtitle", ActionRowSubtitlePropertyInfo), '("subtitleLines", ActionRowSubtitleLinesPropertyInfo), '("title", Handy.PreferencesRow.PreferencesRowTitlePropertyInfo), '("titleLines", ActionRowTitleLinesPropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("useUnderline", ActionRowUseUnderlinePropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo)] :: [(Symbol, *)])
#endif
#if defined(ENABLE_OVERLOADING)
actionRowActivatableWidget :: AttrLabelProxy "activatableWidget"
actionRowActivatableWidget = AttrLabelProxy
actionRowIconName :: AttrLabelProxy "iconName"
actionRowIconName = AttrLabelProxy
actionRowSubtitle :: AttrLabelProxy "subtitle"
actionRowSubtitle = AttrLabelProxy
actionRowSubtitleLines :: AttrLabelProxy "subtitleLines"
actionRowSubtitleLines = AttrLabelProxy
actionRowTitleLines :: AttrLabelProxy "titleLines"
actionRowTitleLines = AttrLabelProxy
actionRowUseUnderline :: AttrLabelProxy "useUnderline"
actionRowUseUnderline = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList ActionRow = ActionRowSignalList
type ActionRowSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("activate", Gtk.ListBoxRow.ListBoxRowActivateSignalInfo), '("activated", ActionRowActivatedSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("checkResize", Gtk.Container.ContainerCheckResizeSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("compositedChanged", Gtk.Widget.WidgetCompositedChangedSignalInfo), '("configureEvent", Gtk.Widget.WidgetConfigureEventSignalInfo), '("damageEvent", Gtk.Widget.WidgetDamageEventSignalInfo), '("deleteEvent", Gtk.Widget.WidgetDeleteEventSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("destroyEvent", Gtk.Widget.WidgetDestroyEventSignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("dragBegin", Gtk.Widget.WidgetDragBeginSignalInfo), '("dragDataDelete", Gtk.Widget.WidgetDragDataDeleteSignalInfo), '("dragDataGet", Gtk.Widget.WidgetDragDataGetSignalInfo), '("dragDataReceived", Gtk.Widget.WidgetDragDataReceivedSignalInfo), '("dragDrop", Gtk.Widget.WidgetDragDropSignalInfo), '("dragEnd", Gtk.Widget.WidgetDragEndSignalInfo), '("dragFailed", Gtk.Widget.WidgetDragFailedSignalInfo), '("dragLeave", Gtk.Widget.WidgetDragLeaveSignalInfo), '("dragMotion", Gtk.Widget.WidgetDragMotionSignalInfo), '("draw", Gtk.Widget.WidgetDrawSignalInfo), '("enterNotifyEvent", Gtk.Widget.WidgetEnterNotifyEventSignalInfo), '("event", Gtk.Widget.WidgetEventSignalInfo), '("eventAfter", Gtk.Widget.WidgetEventAfterSignalInfo), '("focus", Gtk.Widget.WidgetFocusSignalInfo), '("focusInEvent", Gtk.Widget.WidgetFocusInEventSignalInfo), '("focusOutEvent", Gtk.Widget.WidgetFocusOutEventSignalInfo), '("grabBrokenEvent", Gtk.Widget.WidgetGrabBrokenEventSignalInfo), '("grabFocus", Gtk.Widget.WidgetGrabFocusSignalInfo), '("grabNotify", Gtk.Widget.WidgetGrabNotifySignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("hierarchyChanged", Gtk.Widget.WidgetHierarchyChangedSignalInfo), '("keyPressEvent", Gtk.Widget.WidgetKeyPressEventSignalInfo), '("keyReleaseEvent", Gtk.Widget.WidgetKeyReleaseEventSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("leaveNotifyEvent", Gtk.Widget.WidgetLeaveNotifyEventSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mapEvent", Gtk.Widget.WidgetMapEventSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("motionNotifyEvent", Gtk.Widget.WidgetMotionNotifyEventSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("parentSet", Gtk.Widget.WidgetParentSetSignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("remove", Gtk.Container.ContainerRemoveSignalInfo), '("screenChanged", Gtk.Widget.WidgetScreenChangedSignalInfo), '("scrollEvent", Gtk.Widget.WidgetScrollEventSignalInfo), '("selectionClearEvent", Gtk.Widget.WidgetSelectionClearEventSignalInfo), '("selectionGet", Gtk.Widget.WidgetSelectionGetSignalInfo), '("selectionNotifyEvent", Gtk.Widget.WidgetSelectionNotifyEventSignalInfo), '("selectionReceived", Gtk.Widget.WidgetSelectionReceivedSignalInfo), '("selectionRequestEvent", Gtk.Widget.WidgetSelectionRequestEventSignalInfo), '("setFocusChild", Gtk.Container.ContainerSetFocusChildSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("showHelp", Gtk.Widget.WidgetShowHelpSignalInfo), '("sizeAllocate", Gtk.Widget.WidgetSizeAllocateSignalInfo), '("stateChanged", Gtk.Widget.WidgetStateChangedSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("styleSet", Gtk.Widget.WidgetStyleSetSignalInfo), '("styleUpdated", Gtk.Widget.WidgetStyleUpdatedSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "hdy_action_row_new" hdy_action_row_new ::
IO (Ptr ActionRow)
actionRowNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m ActionRow
actionRowNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m ActionRow
actionRowNew = IO ActionRow -> m ActionRow
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ActionRow -> m ActionRow) -> IO ActionRow -> m ActionRow
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
result <- IO (Ptr ActionRow)
hdy_action_row_new
Text -> Ptr ActionRow -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actionRowNew" Ptr ActionRow
result
ActionRow
result' <- ((ManagedPtr ActionRow -> ActionRow)
-> Ptr ActionRow -> IO ActionRow
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ActionRow -> ActionRow
ActionRow) Ptr ActionRow
result
ActionRow -> IO ActionRow
forall (m :: * -> *) a. Monad m => a -> m a
return ActionRow
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "hdy_action_row_activate" hdy_action_row_activate ::
Ptr ActionRow ->
IO ()
actionRowActivate ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> m ()
actionRowActivate :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> m ()
actionRowActivate a
self = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActionRow -> IO ()
hdy_action_row_activate Ptr ActionRow
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowActivateMethodInfo
instance (signature ~ (m ()), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowActivateMethodInfo a signature where
overloadedMethod = actionRowActivate
instance O.OverloadedMethodInfo ActionRowActivateMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowActivate",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowActivate"
})
#endif
foreign import ccall "hdy_action_row_add_prefix" hdy_action_row_add_prefix ::
Ptr ActionRow ->
Ptr Gtk.Widget.Widget ->
IO ()
actionRowAddPrefix ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a, Gtk.Widget.IsWidget b) =>
a
-> b
-> m ()
actionRowAddPrefix :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActionRow a, IsWidget b) =>
a -> b -> m ()
actionRowAddPrefix a
self b
widget = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
widget' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
widget
Ptr ActionRow -> Ptr Widget -> IO ()
hdy_action_row_add_prefix Ptr ActionRow
self' Ptr Widget
widget'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
widget
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowAddPrefixMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsActionRow a, Gtk.Widget.IsWidget b) => O.OverloadedMethod ActionRowAddPrefixMethodInfo a signature where
overloadedMethod = actionRowAddPrefix
instance O.OverloadedMethodInfo ActionRowAddPrefixMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowAddPrefix",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowAddPrefix"
})
#endif
foreign import ccall "hdy_action_row_get_activatable_widget" hdy_action_row_get_activatable_widget ::
Ptr ActionRow ->
IO (Ptr Gtk.Widget.Widget)
actionRowGetActivatableWidget ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> m (Maybe Gtk.Widget.Widget)
actionRowGetActivatableWidget :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> m (Maybe Widget)
actionRowGetActivatableWidget a
self = IO (Maybe Widget) -> m (Maybe Widget)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Widget) -> m (Maybe Widget))
-> IO (Maybe Widget) -> m (Maybe Widget)
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
result <- Ptr ActionRow -> IO (Ptr Widget)
hdy_action_row_get_activatable_widget Ptr ActionRow
self'
Maybe Widget
maybeResult <- Ptr Widget -> (Ptr Widget -> IO Widget) -> IO (Maybe Widget)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr Widget
result ((Ptr Widget -> IO Widget) -> IO (Maybe Widget))
-> (Ptr Widget -> IO Widget) -> IO (Maybe Widget)
forall a b. (a -> b) -> a -> b
$ \Ptr Widget
result' -> do
Widget
result'' <- ((ManagedPtr Widget -> Widget) -> Ptr Widget -> IO Widget
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Widget -> Widget
Gtk.Widget.Widget) Ptr Widget
result'
Widget -> IO Widget
forall (m :: * -> *) a. Monad m => a -> m a
return Widget
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe Widget -> IO (Maybe Widget)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Widget
maybeResult
#if defined(ENABLE_OVERLOADING)
data ActionRowGetActivatableWidgetMethodInfo
instance (signature ~ (m (Maybe Gtk.Widget.Widget)), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowGetActivatableWidgetMethodInfo a signature where
overloadedMethod = actionRowGetActivatableWidget
instance O.OverloadedMethodInfo ActionRowGetActivatableWidgetMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowGetActivatableWidget",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowGetActivatableWidget"
})
#endif
foreign import ccall "hdy_action_row_get_icon_name" hdy_action_row_get_icon_name ::
Ptr ActionRow ->
IO CString
actionRowGetIconName ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> m T.Text
actionRowGetIconName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> m Text
actionRowGetIconName a
self = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
result <- Ptr ActionRow -> IO CString
hdy_action_row_get_icon_name Ptr ActionRow
self'
Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"actionRowGetIconName" CString
result
Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Text -> IO Text
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'
#if defined(ENABLE_OVERLOADING)
data ActionRowGetIconNameMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowGetIconNameMethodInfo a signature where
overloadedMethod = actionRowGetIconName
instance O.OverloadedMethodInfo ActionRowGetIconNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowGetIconName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowGetIconName"
})
#endif
foreign import ccall "hdy_action_row_get_subtitle" hdy_action_row_get_subtitle ::
Ptr ActionRow ->
IO CString
actionRowGetSubtitle ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> m (Maybe T.Text)
actionRowGetSubtitle :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> m (Maybe Text)
actionRowGetSubtitle a
self = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
result <- Ptr ActionRow -> IO CString
hdy_action_row_get_subtitle Ptr ActionRow
self'
Maybe Text
maybeResult <- CString -> (CString -> IO Text) -> IO (Maybe Text)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull CString
result ((CString -> IO Text) -> IO (Maybe Text))
-> (CString -> IO Text) -> IO (Maybe Text)
forall a b. (a -> b) -> a -> b
$ \CString
result' -> do
Text
result'' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result'
Text -> IO Text
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe Text -> IO (Maybe Text)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Text
maybeResult
#if defined(ENABLE_OVERLOADING)
data ActionRowGetSubtitleMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowGetSubtitleMethodInfo a signature where
overloadedMethod = actionRowGetSubtitle
instance O.OverloadedMethodInfo ActionRowGetSubtitleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowGetSubtitle",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowGetSubtitle"
})
#endif
foreign import ccall "hdy_action_row_get_subtitle_lines" hdy_action_row_get_subtitle_lines ::
Ptr ActionRow ->
IO Int32
actionRowGetSubtitleLines ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> m Int32
actionRowGetSubtitleLines :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> m Int32
actionRowGetSubtitleLines a
self = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Int32
result <- Ptr ActionRow -> IO Int32
hdy_action_row_get_subtitle_lines Ptr ActionRow
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ActionRowGetSubtitleLinesMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowGetSubtitleLinesMethodInfo a signature where
overloadedMethod = actionRowGetSubtitleLines
instance O.OverloadedMethodInfo ActionRowGetSubtitleLinesMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowGetSubtitleLines",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowGetSubtitleLines"
})
#endif
foreign import ccall "hdy_action_row_get_title_lines" hdy_action_row_get_title_lines ::
Ptr ActionRow ->
IO Int32
actionRowGetTitleLines ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> m Int32
actionRowGetTitleLines :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> m Int32
actionRowGetTitleLines a
self = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Int32
result <- Ptr ActionRow -> IO Int32
hdy_action_row_get_title_lines Ptr ActionRow
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ActionRowGetTitleLinesMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowGetTitleLinesMethodInfo a signature where
overloadedMethod = actionRowGetTitleLines
instance O.OverloadedMethodInfo ActionRowGetTitleLinesMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowGetTitleLines",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowGetTitleLines"
})
#endif
foreign import ccall "hdy_action_row_get_use_underline" hdy_action_row_get_use_underline ::
Ptr ActionRow ->
IO CInt
actionRowGetUseUnderline ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> m Bool
actionRowGetUseUnderline :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> m Bool
actionRowGetUseUnderline a
self = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr ActionRow -> IO CInt
hdy_action_row_get_use_underline Ptr ActionRow
self'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Bool -> IO Bool
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ActionRowGetUseUnderlineMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowGetUseUnderlineMethodInfo a signature where
overloadedMethod = actionRowGetUseUnderline
instance O.OverloadedMethodInfo ActionRowGetUseUnderlineMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowGetUseUnderline",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowGetUseUnderline"
})
#endif
foreign import ccall "hdy_action_row_set_activatable_widget" hdy_action_row_set_activatable_widget ::
Ptr ActionRow ->
Ptr Gtk.Widget.Widget ->
IO ()
actionRowSetActivatableWidget ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a, Gtk.Widget.IsWidget b) =>
a
-> Maybe (b)
-> m ()
actionRowSetActivatableWidget :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsActionRow a, IsWidget b) =>
a -> Maybe b -> m ()
actionRowSetActivatableWidget a
self Maybe b
widget = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr Widget
maybeWidget <- case Maybe b
widget of
Maybe b
Nothing -> Ptr Widget -> IO (Ptr Widget)
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Widget
forall a. Ptr a
nullPtr
Just b
jWidget -> do
Ptr Widget
jWidget' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jWidget
Ptr Widget -> IO (Ptr Widget)
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr Widget
jWidget'
Ptr ActionRow -> Ptr Widget -> IO ()
hdy_action_row_set_activatable_widget Ptr ActionRow
self' Ptr Widget
maybeWidget
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
widget b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowSetActivatableWidgetMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsActionRow a, Gtk.Widget.IsWidget b) => O.OverloadedMethod ActionRowSetActivatableWidgetMethodInfo a signature where
overloadedMethod = actionRowSetActivatableWidget
instance O.OverloadedMethodInfo ActionRowSetActivatableWidgetMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowSetActivatableWidget",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowSetActivatableWidget"
})
#endif
foreign import ccall "hdy_action_row_set_icon_name" hdy_action_row_set_icon_name ::
Ptr ActionRow ->
CString ->
IO ()
actionRowSetIconName ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> T.Text
-> m ()
actionRowSetIconName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> Text -> m ()
actionRowSetIconName a
self Text
iconName = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
iconName' <- Text -> IO CString
textToCString Text
iconName
Ptr ActionRow -> CString -> IO ()
hdy_action_row_set_icon_name Ptr ActionRow
self' CString
iconName'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
iconName'
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowSetIconNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowSetIconNameMethodInfo a signature where
overloadedMethod = actionRowSetIconName
instance O.OverloadedMethodInfo ActionRowSetIconNameMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowSetIconName",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowSetIconName"
})
#endif
foreign import ccall "hdy_action_row_set_subtitle" hdy_action_row_set_subtitle ::
Ptr ActionRow ->
CString ->
IO ()
actionRowSetSubtitle ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> Maybe (T.Text)
-> m ()
actionRowSetSubtitle :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> Maybe Text -> m ()
actionRowSetSubtitle a
self Maybe Text
subtitle = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
maybeSubtitle <- case Maybe Text
subtitle of
Maybe Text
Nothing -> CString -> IO CString
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
Just Text
jSubtitle -> do
CString
jSubtitle' <- Text -> IO CString
textToCString Text
jSubtitle
CString -> IO CString
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jSubtitle'
Ptr ActionRow -> CString -> IO ()
hdy_action_row_set_subtitle Ptr ActionRow
self' CString
maybeSubtitle
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeSubtitle
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowSetSubtitleMethodInfo
instance (signature ~ (Maybe (T.Text) -> m ()), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowSetSubtitleMethodInfo a signature where
overloadedMethod = actionRowSetSubtitle
instance O.OverloadedMethodInfo ActionRowSetSubtitleMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowSetSubtitle",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowSetSubtitle"
})
#endif
foreign import ccall "hdy_action_row_set_subtitle_lines" hdy_action_row_set_subtitle_lines ::
Ptr ActionRow ->
Int32 ->
IO ()
actionRowSetSubtitleLines ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> Int32
-> m ()
actionRowSetSubtitleLines :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> Int32 -> m ()
actionRowSetSubtitleLines a
self Int32
subtitleLines = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActionRow -> Int32 -> IO ()
hdy_action_row_set_subtitle_lines Ptr ActionRow
self' Int32
subtitleLines
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowSetSubtitleLinesMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowSetSubtitleLinesMethodInfo a signature where
overloadedMethod = actionRowSetSubtitleLines
instance O.OverloadedMethodInfo ActionRowSetSubtitleLinesMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowSetSubtitleLines",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowSetSubtitleLines"
})
#endif
foreign import ccall "hdy_action_row_set_title_lines" hdy_action_row_set_title_lines ::
Ptr ActionRow ->
Int32 ->
IO ()
actionRowSetTitleLines ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> Int32
-> m ()
actionRowSetTitleLines :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> Int32 -> m ()
actionRowSetTitleLines a
self Int32
titleLines = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ActionRow -> Int32 -> IO ()
hdy_action_row_set_title_lines Ptr ActionRow
self' Int32
titleLines
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowSetTitleLinesMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowSetTitleLinesMethodInfo a signature where
overloadedMethod = actionRowSetTitleLines
instance O.OverloadedMethodInfo ActionRowSetTitleLinesMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowSetTitleLines",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowSetTitleLines"
})
#endif
foreign import ccall "hdy_action_row_set_use_underline" hdy_action_row_set_use_underline ::
Ptr ActionRow ->
CInt ->
IO ()
actionRowSetUseUnderline ::
(B.CallStack.HasCallStack, MonadIO m, IsActionRow a) =>
a
-> Bool
-> m ()
actionRowSetUseUnderline :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsActionRow a) =>
a -> Bool -> m ()
actionRowSetUseUnderline a
self Bool
useUnderline = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ActionRow
self' <- a -> IO (Ptr ActionRow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let useUnderline' :: CInt
useUnderline' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
useUnderline
Ptr ActionRow -> CInt -> IO ()
hdy_action_row_set_use_underline Ptr ActionRow
self' CInt
useUnderline'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ActionRowSetUseUnderlineMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsActionRow a) => O.OverloadedMethod ActionRowSetUseUnderlineMethodInfo a signature where
overloadedMethod = actionRowSetUseUnderline
instance O.OverloadedMethodInfo ActionRowSetUseUnderlineMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Handy.Objects.ActionRow.actionRowSetUseUnderline",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy-Objects-ActionRow.html#v:actionRowSetUseUnderline"
})
#endif