{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Dazzle.Objects.ProgressButton
(
ProgressButton(..) ,
IsProgressButton ,
toProgressButton ,
#if defined(ENABLE_OVERLOADING)
ResolveProgressButtonMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
ProgressButtonGetProgressMethodInfo ,
#endif
progressButtonGetProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressButtonGetShowProgressMethodInfo ,
#endif
progressButtonGetShowProgress ,
progressButtonNew ,
#if defined(ENABLE_OVERLOADING)
ProgressButtonSetProgressMethodInfo ,
#endif
progressButtonSetProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressButtonSetShowProgressMethodInfo ,
#endif
progressButtonSetShowProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressButtonProgressPropertyInfo ,
#endif
constructProgressButtonProgress ,
getProgressButtonProgress ,
#if defined(ENABLE_OVERLOADING)
progressButtonProgress ,
#endif
setProgressButtonProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressButtonShowProgressPropertyInfo ,
#endif
constructProgressButtonShowProgress ,
getProgressButtonShowProgress ,
#if defined(ENABLE_OVERLOADING)
progressButtonShowProgress ,
#endif
setProgressButtonShowProgress ,
) 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.GHashTable as B.GHT
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.Kind as DK
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 Data.Word as DW
import qualified Data.Int as DI
import qualified System.Posix.Types as SPT
import qualified Foreign.C.Types as FCT
#if MIN_VERSION_base(4,18,0)
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.Activatable as Gtk.Activatable
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Objects.Bin as Gtk.Bin
import qualified GI.Gtk.Objects.Button as Gtk.Button
import qualified GI.Gtk.Objects.Container as Gtk.Container
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
#else
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.Activatable as Gtk.Activatable
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Objects.Bin as Gtk.Bin
import qualified GI.Gtk.Objects.Button as Gtk.Button
import qualified GI.Gtk.Objects.Container as Gtk.Container
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
#endif
newtype ProgressButton = ProgressButton (SP.ManagedPtr ProgressButton)
deriving (ProgressButton -> ProgressButton -> Bool
(ProgressButton -> ProgressButton -> Bool)
-> (ProgressButton -> ProgressButton -> Bool) -> Eq ProgressButton
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ProgressButton -> ProgressButton -> Bool
== :: ProgressButton -> ProgressButton -> Bool
$c/= :: ProgressButton -> ProgressButton -> Bool
/= :: ProgressButton -> ProgressButton -> Bool
Eq)
instance SP.ManagedPtrNewtype ProgressButton where
toManagedPtr :: ProgressButton -> ManagedPtr ProgressButton
toManagedPtr (ProgressButton ManagedPtr ProgressButton
p) = ManagedPtr ProgressButton
p
foreign import ccall "dzl_progress_button_get_type"
c_dzl_progress_button_get_type :: IO B.Types.GType
instance B.Types.TypedObject ProgressButton where
glibType :: IO GType
glibType = IO GType
c_dzl_progress_button_get_type
instance B.Types.GObject ProgressButton
class (SP.GObject o, O.IsDescendantOf ProgressButton o) => IsProgressButton o
instance (SP.GObject o, O.IsDescendantOf ProgressButton o) => IsProgressButton o
instance O.HasParentTypes ProgressButton
type instance O.ParentTypes ProgressButton = '[Gtk.Button.Button, Gtk.Bin.Bin, Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Actionable.Actionable, Gtk.Activatable.Activatable, Gtk.Buildable.Buildable]
toProgressButton :: (MIO.MonadIO m, IsProgressButton o) => o -> m ProgressButton
toProgressButton :: forall (m :: * -> *) o.
(MonadIO m, IsProgressButton o) =>
o -> m ProgressButton
toProgressButton = IO ProgressButton -> m ProgressButton
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ProgressButton -> m ProgressButton)
-> (o -> IO ProgressButton) -> o -> m ProgressButton
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr ProgressButton -> ProgressButton)
-> o -> IO ProgressButton
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr ProgressButton -> ProgressButton
ProgressButton
instance B.GValue.IsGValue (Maybe ProgressButton) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_dzl_progress_button_get_type
gvalueSet_ :: Ptr GValue -> Maybe ProgressButton -> IO ()
gvalueSet_ Ptr GValue
gv Maybe ProgressButton
P.Nothing = Ptr GValue -> Ptr ProgressButton -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr ProgressButton
forall a. Ptr a
FP.nullPtr :: FP.Ptr ProgressButton)
gvalueSet_ Ptr GValue
gv (P.Just ProgressButton
obj) = ProgressButton -> (Ptr ProgressButton -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr ProgressButton
obj (Ptr GValue -> Ptr ProgressButton -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe ProgressButton)
gvalueGet_ Ptr GValue
gv = do
Ptr ProgressButton
ptr <- Ptr GValue -> IO (Ptr ProgressButton)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr ProgressButton)
if Ptr ProgressButton
ptr Ptr ProgressButton -> Ptr ProgressButton -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr ProgressButton
forall a. Ptr a
FP.nullPtr
then ProgressButton -> Maybe ProgressButton
forall a. a -> Maybe a
P.Just (ProgressButton -> Maybe ProgressButton)
-> IO ProgressButton -> IO (Maybe ProgressButton)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr ProgressButton -> ProgressButton)
-> Ptr ProgressButton -> IO ProgressButton
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr ProgressButton -> ProgressButton
ProgressButton Ptr ProgressButton
ptr
else Maybe ProgressButton -> IO (Maybe ProgressButton)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ProgressButton
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveProgressButtonMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveProgressButtonMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveProgressButtonMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveProgressButtonMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveProgressButtonMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveProgressButtonMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveProgressButtonMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveProgressButtonMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveProgressButtonMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveProgressButtonMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveProgressButtonMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveProgressButtonMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveProgressButtonMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveProgressButtonMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveProgressButtonMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveProgressButtonMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveProgressButtonMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveProgressButtonMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveProgressButtonMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveProgressButtonMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveProgressButtonMethod "clicked" o = Gtk.Button.ButtonClickedMethodInfo
ResolveProgressButtonMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveProgressButtonMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveProgressButtonMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveProgressButtonMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveProgressButtonMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveProgressButtonMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveProgressButtonMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveProgressButtonMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveProgressButtonMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveProgressButtonMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveProgressButtonMethod "doSetRelatedAction" o = Gtk.Activatable.ActivatableDoSetRelatedActionMethodInfo
ResolveProgressButtonMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveProgressButtonMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveProgressButtonMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveProgressButtonMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveProgressButtonMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveProgressButtonMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveProgressButtonMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveProgressButtonMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveProgressButtonMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveProgressButtonMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveProgressButtonMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveProgressButtonMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveProgressButtonMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveProgressButtonMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveProgressButtonMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveProgressButtonMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveProgressButtonMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveProgressButtonMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveProgressButtonMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveProgressButtonMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveProgressButtonMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveProgressButtonMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveProgressButtonMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveProgressButtonMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveProgressButtonMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveProgressButtonMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveProgressButtonMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveProgressButtonMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveProgressButtonMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveProgressButtonMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveProgressButtonMethod "enter" o = Gtk.Button.ButtonEnterMethodInfo
ResolveProgressButtonMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveProgressButtonMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveProgressButtonMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveProgressButtonMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveProgressButtonMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveProgressButtonMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveProgressButtonMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveProgressButtonMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveProgressButtonMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveProgressButtonMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveProgressButtonMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveProgressButtonMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveProgressButtonMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveProgressButtonMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveProgressButtonMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveProgressButtonMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveProgressButtonMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveProgressButtonMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveProgressButtonMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveProgressButtonMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveProgressButtonMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveProgressButtonMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveProgressButtonMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveProgressButtonMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveProgressButtonMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveProgressButtonMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveProgressButtonMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveProgressButtonMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveProgressButtonMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveProgressButtonMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveProgressButtonMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveProgressButtonMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveProgressButtonMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveProgressButtonMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveProgressButtonMethod "leave" o = Gtk.Button.ButtonLeaveMethodInfo
ResolveProgressButtonMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveProgressButtonMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveProgressButtonMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveProgressButtonMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveProgressButtonMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveProgressButtonMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveProgressButtonMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveProgressButtonMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveProgressButtonMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveProgressButtonMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveProgressButtonMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveProgressButtonMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveProgressButtonMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveProgressButtonMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveProgressButtonMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveProgressButtonMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveProgressButtonMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveProgressButtonMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveProgressButtonMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveProgressButtonMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveProgressButtonMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveProgressButtonMethod "pressed" o = Gtk.Button.ButtonPressedMethodInfo
ResolveProgressButtonMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveProgressButtonMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveProgressButtonMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveProgressButtonMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveProgressButtonMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveProgressButtonMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveProgressButtonMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveProgressButtonMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveProgressButtonMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveProgressButtonMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveProgressButtonMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveProgressButtonMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveProgressButtonMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveProgressButtonMethod "released" o = Gtk.Button.ButtonReleasedMethodInfo
ResolveProgressButtonMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveProgressButtonMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveProgressButtonMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveProgressButtonMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveProgressButtonMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveProgressButtonMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveProgressButtonMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveProgressButtonMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveProgressButtonMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveProgressButtonMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveProgressButtonMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveProgressButtonMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveProgressButtonMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveProgressButtonMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveProgressButtonMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveProgressButtonMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveProgressButtonMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveProgressButtonMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveProgressButtonMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveProgressButtonMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveProgressButtonMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveProgressButtonMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveProgressButtonMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveProgressButtonMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveProgressButtonMethod "syncActionProperties" o = Gtk.Activatable.ActivatableSyncActionPropertiesMethodInfo
ResolveProgressButtonMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveProgressButtonMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveProgressButtonMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveProgressButtonMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveProgressButtonMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveProgressButtonMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveProgressButtonMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveProgressButtonMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveProgressButtonMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveProgressButtonMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveProgressButtonMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveProgressButtonMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveProgressButtonMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveProgressButtonMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveProgressButtonMethod "getActionName" o = Gtk.Actionable.ActionableGetActionNameMethodInfo
ResolveProgressButtonMethod "getActionTargetValue" o = Gtk.Actionable.ActionableGetActionTargetValueMethodInfo
ResolveProgressButtonMethod "getAlignment" o = Gtk.Button.ButtonGetAlignmentMethodInfo
ResolveProgressButtonMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveProgressButtonMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveProgressButtonMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveProgressButtonMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveProgressButtonMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveProgressButtonMethod "getAlwaysShowImage" o = Gtk.Button.ButtonGetAlwaysShowImageMethodInfo
ResolveProgressButtonMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveProgressButtonMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveProgressButtonMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveProgressButtonMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveProgressButtonMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveProgressButtonMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
ResolveProgressButtonMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveProgressButtonMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveProgressButtonMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveProgressButtonMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveProgressButtonMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveProgressButtonMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveProgressButtonMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveProgressButtonMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveProgressButtonMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveProgressButtonMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveProgressButtonMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveProgressButtonMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveProgressButtonMethod "getEventWindow" o = Gtk.Button.ButtonGetEventWindowMethodInfo
ResolveProgressButtonMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveProgressButtonMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveProgressButtonMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveProgressButtonMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveProgressButtonMethod "getFocusOnClick" o = Gtk.Button.ButtonGetFocusOnClickMethodInfo
ResolveProgressButtonMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveProgressButtonMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveProgressButtonMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveProgressButtonMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveProgressButtonMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveProgressButtonMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveProgressButtonMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveProgressButtonMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveProgressButtonMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveProgressButtonMethod "getImage" o = Gtk.Button.ButtonGetImageMethodInfo
ResolveProgressButtonMethod "getImagePosition" o = Gtk.Button.ButtonGetImagePositionMethodInfo
ResolveProgressButtonMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveProgressButtonMethod "getLabel" o = Gtk.Button.ButtonGetLabelMethodInfo
ResolveProgressButtonMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveProgressButtonMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveProgressButtonMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveProgressButtonMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveProgressButtonMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveProgressButtonMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveProgressButtonMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveProgressButtonMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveProgressButtonMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveProgressButtonMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveProgressButtonMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveProgressButtonMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveProgressButtonMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveProgressButtonMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveProgressButtonMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveProgressButtonMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveProgressButtonMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveProgressButtonMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveProgressButtonMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveProgressButtonMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveProgressButtonMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveProgressButtonMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveProgressButtonMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveProgressButtonMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveProgressButtonMethod "getProgress" o = ProgressButtonGetProgressMethodInfo
ResolveProgressButtonMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveProgressButtonMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveProgressButtonMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveProgressButtonMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveProgressButtonMethod "getRelatedAction" o = Gtk.Activatable.ActivatableGetRelatedActionMethodInfo
ResolveProgressButtonMethod "getRelief" o = Gtk.Button.ButtonGetReliefMethodInfo
ResolveProgressButtonMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveProgressButtonMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveProgressButtonMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveProgressButtonMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveProgressButtonMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveProgressButtonMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveProgressButtonMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveProgressButtonMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveProgressButtonMethod "getShowProgress" o = ProgressButtonGetShowProgressMethodInfo
ResolveProgressButtonMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveProgressButtonMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveProgressButtonMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveProgressButtonMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveProgressButtonMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveProgressButtonMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveProgressButtonMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveProgressButtonMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveProgressButtonMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveProgressButtonMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveProgressButtonMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveProgressButtonMethod "getUseActionAppearance" o = Gtk.Activatable.ActivatableGetUseActionAppearanceMethodInfo
ResolveProgressButtonMethod "getUseStock" o = Gtk.Button.ButtonGetUseStockMethodInfo
ResolveProgressButtonMethod "getUseUnderline" o = Gtk.Button.ButtonGetUseUnderlineMethodInfo
ResolveProgressButtonMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveProgressButtonMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveProgressButtonMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveProgressButtonMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveProgressButtonMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveProgressButtonMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveProgressButtonMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveProgressButtonMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveProgressButtonMethod "setActionName" o = Gtk.Actionable.ActionableSetActionNameMethodInfo
ResolveProgressButtonMethod "setActionTargetValue" o = Gtk.Actionable.ActionableSetActionTargetValueMethodInfo
ResolveProgressButtonMethod "setAlignment" o = Gtk.Button.ButtonSetAlignmentMethodInfo
ResolveProgressButtonMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveProgressButtonMethod "setAlwaysShowImage" o = Gtk.Button.ButtonSetAlwaysShowImageMethodInfo
ResolveProgressButtonMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveProgressButtonMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveProgressButtonMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveProgressButtonMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveProgressButtonMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveProgressButtonMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveProgressButtonMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveProgressButtonMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveProgressButtonMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveProgressButtonMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveProgressButtonMethod "setDetailedActionName" o = Gtk.Actionable.ActionableSetDetailedActionNameMethodInfo
ResolveProgressButtonMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveProgressButtonMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveProgressButtonMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveProgressButtonMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveProgressButtonMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveProgressButtonMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveProgressButtonMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveProgressButtonMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveProgressButtonMethod "setFocusOnClick" o = Gtk.Button.ButtonSetFocusOnClickMethodInfo
ResolveProgressButtonMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveProgressButtonMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveProgressButtonMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveProgressButtonMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveProgressButtonMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveProgressButtonMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveProgressButtonMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveProgressButtonMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveProgressButtonMethod "setImage" o = Gtk.Button.ButtonSetImageMethodInfo
ResolveProgressButtonMethod "setImagePosition" o = Gtk.Button.ButtonSetImagePositionMethodInfo
ResolveProgressButtonMethod "setLabel" o = Gtk.Button.ButtonSetLabelMethodInfo
ResolveProgressButtonMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveProgressButtonMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveProgressButtonMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveProgressButtonMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveProgressButtonMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveProgressButtonMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveProgressButtonMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveProgressButtonMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveProgressButtonMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveProgressButtonMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveProgressButtonMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveProgressButtonMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveProgressButtonMethod "setProgress" o = ProgressButtonSetProgressMethodInfo
ResolveProgressButtonMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveProgressButtonMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveProgressButtonMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveProgressButtonMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveProgressButtonMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveProgressButtonMethod "setRelatedAction" o = Gtk.Activatable.ActivatableSetRelatedActionMethodInfo
ResolveProgressButtonMethod "setRelief" o = Gtk.Button.ButtonSetReliefMethodInfo
ResolveProgressButtonMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveProgressButtonMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveProgressButtonMethod "setShowProgress" o = ProgressButtonSetShowProgressMethodInfo
ResolveProgressButtonMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveProgressButtonMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveProgressButtonMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveProgressButtonMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveProgressButtonMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveProgressButtonMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveProgressButtonMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveProgressButtonMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveProgressButtonMethod "setUseActionAppearance" o = Gtk.Activatable.ActivatableSetUseActionAppearanceMethodInfo
ResolveProgressButtonMethod "setUseStock" o = Gtk.Button.ButtonSetUseStockMethodInfo
ResolveProgressButtonMethod "setUseUnderline" o = Gtk.Button.ButtonSetUseUnderlineMethodInfo
ResolveProgressButtonMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveProgressButtonMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveProgressButtonMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveProgressButtonMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveProgressButtonMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveProgressButtonMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveProgressButtonMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveProgressButtonMethod t ProgressButton, O.OverloadedMethod info ProgressButton p) => OL.IsLabel t (ProgressButton -> 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 ~ ResolveProgressButtonMethod t ProgressButton, O.OverloadedMethod info ProgressButton p, R.HasField t ProgressButton p) => R.HasField t ProgressButton p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveProgressButtonMethod t ProgressButton, O.OverloadedMethodInfo info ProgressButton) => OL.IsLabel t (O.MethodProxy info ProgressButton) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getProgressButtonProgress :: (MonadIO m, IsProgressButton o) => o -> m Word32
getProgressButtonProgress :: forall (m :: * -> *) o.
(MonadIO m, IsProgressButton o) =>
o -> m Word32
getProgressButtonProgress o
obj = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Word32
forall a. GObject a => a -> String -> IO Word32
B.Properties.getObjectPropertyUInt32 o
obj String
"progress"
setProgressButtonProgress :: (MonadIO m, IsProgressButton o) => o -> Word32 -> m ()
setProgressButtonProgress :: forall (m :: * -> *) o.
(MonadIO m, IsProgressButton o) =>
o -> Word32 -> m ()
setProgressButtonProgress o
obj Word32
val = IO () -> m ()
forall a. IO a -> m a
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 -> Word32 -> IO ()
forall a. GObject a => a -> String -> Word32 -> IO ()
B.Properties.setObjectPropertyUInt32 o
obj String
"progress" Word32
val
constructProgressButtonProgress :: (IsProgressButton o, MIO.MonadIO m) => Word32 -> m (GValueConstruct o)
constructProgressButtonProgress :: forall o (m :: * -> *).
(IsProgressButton o, MonadIO m) =>
Word32 -> m (GValueConstruct o)
constructProgressButtonProgress Word32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
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 a. IO a -> IO a
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 -> Word32 -> IO (GValueConstruct o)
forall o. String -> Word32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyUInt32 String
"progress" Word32
val
#if defined(ENABLE_OVERLOADING)
data ProgressButtonProgressPropertyInfo
instance AttrInfo ProgressButtonProgressPropertyInfo where
type AttrAllowedOps ProgressButtonProgressPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ProgressButtonProgressPropertyInfo = IsProgressButton
type AttrSetTypeConstraint ProgressButtonProgressPropertyInfo = (~) Word32
type AttrTransferTypeConstraint ProgressButtonProgressPropertyInfo = (~) Word32
type AttrTransferType ProgressButtonProgressPropertyInfo = Word32
type AttrGetType ProgressButtonProgressPropertyInfo = Word32
type AttrLabel ProgressButtonProgressPropertyInfo = "progress"
type AttrOrigin ProgressButtonProgressPropertyInfo = ProgressButton
attrGet = getProgressButtonProgress
attrSet = setProgressButtonProgress
attrTransfer _ v = do
return v
attrConstruct = constructProgressButtonProgress
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressButton.progress"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressButton.html#g:attr:progress"
})
#endif
getProgressButtonShowProgress :: (MonadIO m, IsProgressButton o) => o -> m Bool
getProgressButtonShowProgress :: forall (m :: * -> *) o.
(MonadIO m, IsProgressButton o) =>
o -> m Bool
getProgressButtonShowProgress o
obj = IO Bool -> m Bool
forall a. IO a -> m a
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
"show-progress"
setProgressButtonShowProgress :: (MonadIO m, IsProgressButton o) => o -> Bool -> m ()
setProgressButtonShowProgress :: forall (m :: * -> *) o.
(MonadIO m, IsProgressButton o) =>
o -> Bool -> m ()
setProgressButtonShowProgress o
obj Bool
val = IO () -> m ()
forall a. IO a -> m a
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
"show-progress" Bool
val
constructProgressButtonShowProgress :: (IsProgressButton o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructProgressButtonShowProgress :: forall o (m :: * -> *).
(IsProgressButton o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructProgressButtonShowProgress Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
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 a. IO a -> IO a
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
"show-progress" Bool
val
#if defined(ENABLE_OVERLOADING)
data ProgressButtonShowProgressPropertyInfo
instance AttrInfo ProgressButtonShowProgressPropertyInfo where
type AttrAllowedOps ProgressButtonShowProgressPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ProgressButtonShowProgressPropertyInfo = IsProgressButton
type AttrSetTypeConstraint ProgressButtonShowProgressPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ProgressButtonShowProgressPropertyInfo = (~) Bool
type AttrTransferType ProgressButtonShowProgressPropertyInfo = Bool
type AttrGetType ProgressButtonShowProgressPropertyInfo = Bool
type AttrLabel ProgressButtonShowProgressPropertyInfo = "show-progress"
type AttrOrigin ProgressButtonShowProgressPropertyInfo = ProgressButton
attrGet = getProgressButtonShowProgress
attrSet = setProgressButtonShowProgress
attrTransfer _ v = do
return v
attrConstruct = constructProgressButtonShowProgress
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressButton.showProgress"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressButton.html#g:attr:showProgress"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList ProgressButton
type instance O.AttributeList ProgressButton = ProgressButtonAttributeList
type ProgressButtonAttributeList = ('[ '("actionName", Gtk.Actionable.ActionableActionNamePropertyInfo), '("actionTarget", Gtk.Actionable.ActionableActionTargetPropertyInfo), '("alwaysShowImage", Gtk.Button.ButtonAlwaysShowImagePropertyInfo), '("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), '("image", Gtk.Button.ButtonImagePropertyInfo), '("imagePosition", Gtk.Button.ButtonImagePositionPropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("label", Gtk.Button.ButtonLabelPropertyInfo), '("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), '("progress", ProgressButtonProgressPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("relatedAction", Gtk.Activatable.ActivatableRelatedActionPropertyInfo), '("relief", Gtk.Button.ButtonReliefPropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("showProgress", ProgressButtonShowProgressPropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("useActionAppearance", Gtk.Activatable.ActivatableUseActionAppearancePropertyInfo), '("useStock", Gtk.Button.ButtonUseStockPropertyInfo), '("useUnderline", Gtk.Button.ButtonUseUnderlinePropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo), '("xalign", Gtk.Button.ButtonXalignPropertyInfo), '("yalign", Gtk.Button.ButtonYalignPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
progressButtonProgress :: AttrLabelProxy "progress"
progressButtonProgress = AttrLabelProxy
progressButtonShowProgress :: AttrLabelProxy "showProgress"
progressButtonShowProgress = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList ProgressButton = ProgressButtonSignalList
type ProgressButtonSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("activate", Gtk.Button.ButtonActivateSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("checkResize", Gtk.Container.ContainerCheckResizeSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("clicked", Gtk.Button.ButtonClickedSignalInfo), '("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), '("enter", Gtk.Button.ButtonEnterSignalInfo), '("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), '("leave", Gtk.Button.ButtonLeaveSignalInfo), '("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), '("pressed", Gtk.Button.ButtonPressedSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("released", Gtk.Button.ButtonReleasedSignalInfo), '("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, DK.Type)])
#endif
foreign import ccall "dzl_progress_button_new" dzl_progress_button_new ::
IO (Ptr ProgressButton)
progressButtonNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m ProgressButton
progressButtonNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m ProgressButton
progressButtonNew = IO ProgressButton -> m ProgressButton
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ProgressButton -> m ProgressButton)
-> IO ProgressButton -> m ProgressButton
forall a b. (a -> b) -> a -> b
$ do
Ptr ProgressButton
result <- IO (Ptr ProgressButton)
dzl_progress_button_new
Text -> Ptr ProgressButton -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"progressButtonNew" Ptr ProgressButton
result
ProgressButton
result' <- ((ManagedPtr ProgressButton -> ProgressButton)
-> Ptr ProgressButton -> IO ProgressButton
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ProgressButton -> ProgressButton
ProgressButton) Ptr ProgressButton
result
ProgressButton -> IO ProgressButton
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ProgressButton
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "dzl_progress_button_get_progress" dzl_progress_button_get_progress ::
Ptr ProgressButton ->
IO Word32
progressButtonGetProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressButton a) =>
a
-> m Word32
progressButtonGetProgress :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsProgressButton a) =>
a -> m Word32
progressButtonGetProgress a
self = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ do
Ptr ProgressButton
self' <- a -> IO (Ptr ProgressButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Word32
result <- Ptr ProgressButton -> IO Word32
dzl_progress_button_get_progress Ptr ProgressButton
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Word32 -> IO Word32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word32
result
#if defined(ENABLE_OVERLOADING)
data ProgressButtonGetProgressMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsProgressButton a) => O.OverloadedMethod ProgressButtonGetProgressMethodInfo a signature where
overloadedMethod = progressButtonGetProgress
instance O.OverloadedMethodInfo ProgressButtonGetProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressButton.progressButtonGetProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressButton.html#v:progressButtonGetProgress"
})
#endif
foreign import ccall "dzl_progress_button_get_show_progress" dzl_progress_button_get_show_progress ::
Ptr ProgressButton ->
IO CInt
progressButtonGetShowProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressButton a) =>
a
-> m Bool
progressButtonGetShowProgress :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsProgressButton a) =>
a -> m Bool
progressButtonGetShowProgress a
self = IO Bool -> m Bool
forall a. IO a -> m a
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 ProgressButton
self' <- a -> IO (Ptr ProgressButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr ProgressButton -> IO CInt
dzl_progress_button_get_show_progress Ptr ProgressButton
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 a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ProgressButtonGetShowProgressMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsProgressButton a) => O.OverloadedMethod ProgressButtonGetShowProgressMethodInfo a signature where
overloadedMethod = progressButtonGetShowProgress
instance O.OverloadedMethodInfo ProgressButtonGetShowProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressButton.progressButtonGetShowProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressButton.html#v:progressButtonGetShowProgress"
})
#endif
foreign import ccall "dzl_progress_button_set_progress" dzl_progress_button_set_progress ::
Ptr ProgressButton ->
Word32 ->
IO ()
progressButtonSetProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressButton a) =>
a
-> Word32
-> m ()
progressButtonSetProgress :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsProgressButton a) =>
a -> Word32 -> m ()
progressButtonSetProgress a
button Word32
percentage = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ProgressButton
button' <- a -> IO (Ptr ProgressButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
button
Ptr ProgressButton -> Word32 -> IO ()
dzl_progress_button_set_progress Ptr ProgressButton
button' Word32
percentage
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
button
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ProgressButtonSetProgressMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsProgressButton a) => O.OverloadedMethod ProgressButtonSetProgressMethodInfo a signature where
overloadedMethod = progressButtonSetProgress
instance O.OverloadedMethodInfo ProgressButtonSetProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressButton.progressButtonSetProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressButton.html#v:progressButtonSetProgress"
})
#endif
foreign import ccall "dzl_progress_button_set_show_progress" dzl_progress_button_set_show_progress ::
Ptr ProgressButton ->
CInt ->
IO ()
progressButtonSetShowProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressButton a) =>
a
-> Bool
-> m ()
progressButtonSetShowProgress :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsProgressButton a) =>
a -> Bool -> m ()
progressButtonSetShowProgress a
button Bool
showProgress = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ProgressButton
button' <- a -> IO (Ptr ProgressButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
button
let showProgress' :: CInt
showProgress' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
P.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
P.fromEnum) Bool
showProgress
Ptr ProgressButton -> CInt -> IO ()
dzl_progress_button_set_show_progress Ptr ProgressButton
button' CInt
showProgress'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
button
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ProgressButtonSetShowProgressMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsProgressButton a) => O.OverloadedMethod ProgressButtonSetShowProgressMethodInfo a signature where
overloadedMethod = progressButtonSetShowProgress
instance O.OverloadedMethodInfo ProgressButtonSetShowProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressButton.progressButtonSetShowProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressButton.html#v:progressButtonSetShowProgress"
})
#endif