{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Dazzle.Objects.ProgressMenuButton
(
ProgressMenuButton(..) ,
IsProgressMenuButton ,
toProgressMenuButton ,
#if defined(ENABLE_OVERLOADING)
ResolveProgressMenuButtonMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonGetProgressMethodInfo ,
#endif
progressMenuButtonGetProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonGetShowProgressMethodInfo,
#endif
progressMenuButtonGetShowProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonGetShowTheatricMethodInfo,
#endif
progressMenuButtonGetShowTheatric ,
progressMenuButtonNew ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonResetTheatricsMethodInfo,
#endif
progressMenuButtonResetTheatrics ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonSetProgressMethodInfo ,
#endif
progressMenuButtonSetProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonSetShowProgressMethodInfo,
#endif
progressMenuButtonSetShowProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonSetShowTheatricMethodInfo,
#endif
progressMenuButtonSetShowTheatric ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonProgressPropertyInfo ,
#endif
constructProgressMenuButtonProgress ,
getProgressMenuButtonProgress ,
#if defined(ENABLE_OVERLOADING)
progressMenuButtonProgress ,
#endif
setProgressMenuButtonProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonShowProgressPropertyInfo,
#endif
constructProgressMenuButtonShowProgress ,
getProgressMenuButtonShowProgress ,
#if defined(ENABLE_OVERLOADING)
progressMenuButtonShowProgress ,
#endif
setProgressMenuButtonShowProgress ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonShowTheatricPropertyInfo,
#endif
constructProgressMenuButtonShowTheatric ,
getProgressMenuButtonShowTheatric ,
#if defined(ENABLE_OVERLOADING)
progressMenuButtonShowTheatric ,
#endif
setProgressMenuButtonShowTheatric ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonTheatricIconNamePropertyInfo,
#endif
clearProgressMenuButtonTheatricIconName ,
constructProgressMenuButtonTheatricIconName,
getProgressMenuButtonTheatricIconName ,
#if defined(ENABLE_OVERLOADING)
progressMenuButtonTheatricIconName ,
#endif
setProgressMenuButtonTheatricIconName ,
#if defined(ENABLE_OVERLOADING)
ProgressMenuButtonTransitionDurationPropertyInfo,
#endif
constructProgressMenuButtonTransitionDuration,
getProgressMenuButtonTransitionDuration ,
#if defined(ENABLE_OVERLOADING)
progressMenuButtonTransitionDuration ,
#endif
setProgressMenuButtonTransitionDuration ,
) 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.MenuButton as Gtk.MenuButton
import qualified GI.Gtk.Objects.ToggleButton as Gtk.ToggleButton
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.MenuButton as Gtk.MenuButton
import qualified GI.Gtk.Objects.ToggleButton as Gtk.ToggleButton
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
#endif
newtype = (SP.ManagedPtr ProgressMenuButton)
deriving (ProgressMenuButton -> ProgressMenuButton -> Bool
(ProgressMenuButton -> ProgressMenuButton -> Bool)
-> (ProgressMenuButton -> ProgressMenuButton -> Bool)
-> Eq ProgressMenuButton
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ProgressMenuButton -> ProgressMenuButton -> Bool
== :: ProgressMenuButton -> ProgressMenuButton -> Bool
$c/= :: ProgressMenuButton -> ProgressMenuButton -> Bool
/= :: ProgressMenuButton -> ProgressMenuButton -> Bool
Eq)
instance SP.ManagedPtrNewtype ProgressMenuButton where
toManagedPtr :: ProgressMenuButton -> ManagedPtr ProgressMenuButton
toManagedPtr (ProgressMenuButton ManagedPtr ProgressMenuButton
p) = ManagedPtr ProgressMenuButton
p
foreign import ccall "dzl_progress_menu_button_get_type"
:: IO B.Types.GType
instance B.Types.TypedObject ProgressMenuButton where
glibType :: IO GType
glibType = IO GType
c_dzl_progress_menu_button_get_type
instance B.Types.GObject ProgressMenuButton
class (SP.GObject o, O.IsDescendantOf ProgressMenuButton o) => o
instance (SP.GObject o, O.IsDescendantOf ProgressMenuButton o) => IsProgressMenuButton o
instance O.HasParentTypes ProgressMenuButton
type instance O.ParentTypes ProgressMenuButton = '[Gtk.MenuButton.MenuButton, Gtk.ToggleButton.ToggleButton, 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]
toProgressMenuButton :: (MIO.MonadIO m, IsProgressMenuButton o) => o -> m ProgressMenuButton
= IO ProgressMenuButton -> m ProgressMenuButton
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ProgressMenuButton -> m ProgressMenuButton)
-> (o -> IO ProgressMenuButton) -> o -> m ProgressMenuButton
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr ProgressMenuButton -> ProgressMenuButton)
-> o -> IO ProgressMenuButton
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr ProgressMenuButton -> ProgressMenuButton
ProgressMenuButton
instance B.GValue.IsGValue (Maybe ProgressMenuButton) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_dzl_progress_menu_button_get_type
gvalueSet_ :: Ptr GValue -> Maybe ProgressMenuButton -> IO ()
gvalueSet_ Ptr GValue
gv Maybe ProgressMenuButton
P.Nothing = Ptr GValue -> Ptr ProgressMenuButton -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr ProgressMenuButton
forall a. Ptr a
FP.nullPtr :: FP.Ptr ProgressMenuButton)
gvalueSet_ Ptr GValue
gv (P.Just ProgressMenuButton
obj) = ProgressMenuButton -> (Ptr ProgressMenuButton -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr ProgressMenuButton
obj (Ptr GValue -> Ptr ProgressMenuButton -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe ProgressMenuButton)
gvalueGet_ Ptr GValue
gv = do
Ptr ProgressMenuButton
ptr <- Ptr GValue -> IO (Ptr ProgressMenuButton)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr ProgressMenuButton)
if Ptr ProgressMenuButton
ptr Ptr ProgressMenuButton -> Ptr ProgressMenuButton -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr ProgressMenuButton
forall a. Ptr a
FP.nullPtr
then ProgressMenuButton -> Maybe ProgressMenuButton
forall a. a -> Maybe a
P.Just (ProgressMenuButton -> Maybe ProgressMenuButton)
-> IO ProgressMenuButton -> IO (Maybe ProgressMenuButton)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr ProgressMenuButton -> ProgressMenuButton)
-> Ptr ProgressMenuButton -> IO ProgressMenuButton
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr ProgressMenuButton -> ProgressMenuButton
ProgressMenuButton Ptr ProgressMenuButton
ptr
else Maybe ProgressMenuButton -> IO (Maybe ProgressMenuButton)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ProgressMenuButton
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveProgressMenuButtonMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveProgressMenuButtonMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveProgressMenuButtonMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveProgressMenuButtonMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveProgressMenuButtonMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveProgressMenuButtonMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveProgressMenuButtonMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveProgressMenuButtonMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveProgressMenuButtonMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveProgressMenuButtonMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveProgressMenuButtonMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveProgressMenuButtonMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveProgressMenuButtonMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveProgressMenuButtonMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveProgressMenuButtonMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveProgressMenuButtonMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveProgressMenuButtonMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveProgressMenuButtonMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveProgressMenuButtonMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveProgressMenuButtonMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveProgressMenuButtonMethod "clicked" o = Gtk.Button.ButtonClickedMethodInfo
ResolveProgressMenuButtonMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveProgressMenuButtonMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveProgressMenuButtonMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveProgressMenuButtonMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveProgressMenuButtonMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveProgressMenuButtonMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveProgressMenuButtonMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveProgressMenuButtonMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveProgressMenuButtonMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveProgressMenuButtonMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveProgressMenuButtonMethod "doSetRelatedAction" o = Gtk.Activatable.ActivatableDoSetRelatedActionMethodInfo
ResolveProgressMenuButtonMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveProgressMenuButtonMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveProgressMenuButtonMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveProgressMenuButtonMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveProgressMenuButtonMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveProgressMenuButtonMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveProgressMenuButtonMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveProgressMenuButtonMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveProgressMenuButtonMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveProgressMenuButtonMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveProgressMenuButtonMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveProgressMenuButtonMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveProgressMenuButtonMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveProgressMenuButtonMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveProgressMenuButtonMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveProgressMenuButtonMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveProgressMenuButtonMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveProgressMenuButtonMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveProgressMenuButtonMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveProgressMenuButtonMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveProgressMenuButtonMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveProgressMenuButtonMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveProgressMenuButtonMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveProgressMenuButtonMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveProgressMenuButtonMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveProgressMenuButtonMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveProgressMenuButtonMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveProgressMenuButtonMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveProgressMenuButtonMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveProgressMenuButtonMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveProgressMenuButtonMethod "enter" o = Gtk.Button.ButtonEnterMethodInfo
ResolveProgressMenuButtonMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveProgressMenuButtonMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveProgressMenuButtonMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveProgressMenuButtonMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveProgressMenuButtonMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveProgressMenuButtonMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveProgressMenuButtonMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveProgressMenuButtonMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveProgressMenuButtonMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveProgressMenuButtonMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveProgressMenuButtonMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveProgressMenuButtonMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveProgressMenuButtonMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveProgressMenuButtonMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveProgressMenuButtonMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveProgressMenuButtonMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveProgressMenuButtonMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveProgressMenuButtonMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveProgressMenuButtonMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveProgressMenuButtonMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveProgressMenuButtonMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveProgressMenuButtonMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveProgressMenuButtonMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveProgressMenuButtonMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveProgressMenuButtonMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveProgressMenuButtonMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveProgressMenuButtonMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveProgressMenuButtonMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveProgressMenuButtonMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveProgressMenuButtonMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveProgressMenuButtonMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveProgressMenuButtonMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveProgressMenuButtonMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveProgressMenuButtonMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveProgressMenuButtonMethod "leave" o = Gtk.Button.ButtonLeaveMethodInfo
ResolveProgressMenuButtonMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveProgressMenuButtonMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveProgressMenuButtonMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveProgressMenuButtonMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveProgressMenuButtonMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveProgressMenuButtonMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveProgressMenuButtonMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveProgressMenuButtonMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveProgressMenuButtonMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveProgressMenuButtonMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveProgressMenuButtonMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveProgressMenuButtonMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveProgressMenuButtonMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveProgressMenuButtonMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveProgressMenuButtonMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveProgressMenuButtonMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveProgressMenuButtonMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveProgressMenuButtonMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveProgressMenuButtonMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveProgressMenuButtonMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveProgressMenuButtonMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveProgressMenuButtonMethod "pressed" o = Gtk.Button.ButtonPressedMethodInfo
ResolveProgressMenuButtonMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveProgressMenuButtonMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveProgressMenuButtonMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveProgressMenuButtonMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveProgressMenuButtonMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveProgressMenuButtonMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveProgressMenuButtonMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveProgressMenuButtonMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveProgressMenuButtonMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveProgressMenuButtonMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveProgressMenuButtonMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveProgressMenuButtonMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveProgressMenuButtonMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveProgressMenuButtonMethod "released" o = Gtk.Button.ButtonReleasedMethodInfo
ResolveProgressMenuButtonMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveProgressMenuButtonMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveProgressMenuButtonMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveProgressMenuButtonMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveProgressMenuButtonMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveProgressMenuButtonMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveProgressMenuButtonMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveProgressMenuButtonMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveProgressMenuButtonMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveProgressMenuButtonMethod "resetTheatrics" o = ProgressMenuButtonResetTheatricsMethodInfo
ResolveProgressMenuButtonMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveProgressMenuButtonMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveProgressMenuButtonMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveProgressMenuButtonMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveProgressMenuButtonMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveProgressMenuButtonMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveProgressMenuButtonMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveProgressMenuButtonMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveProgressMenuButtonMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveProgressMenuButtonMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveProgressMenuButtonMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveProgressMenuButtonMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveProgressMenuButtonMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveProgressMenuButtonMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveProgressMenuButtonMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveProgressMenuButtonMethod "syncActionProperties" o = Gtk.Activatable.ActivatableSyncActionPropertiesMethodInfo
ResolveProgressMenuButtonMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveProgressMenuButtonMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveProgressMenuButtonMethod "toggled" o = Gtk.ToggleButton.ToggleButtonToggledMethodInfo
ResolveProgressMenuButtonMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveProgressMenuButtonMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveProgressMenuButtonMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveProgressMenuButtonMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveProgressMenuButtonMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveProgressMenuButtonMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveProgressMenuButtonMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveProgressMenuButtonMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveProgressMenuButtonMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveProgressMenuButtonMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveProgressMenuButtonMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveProgressMenuButtonMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveProgressMenuButtonMethod "getActionName" o = Gtk.Actionable.ActionableGetActionNameMethodInfo
ResolveProgressMenuButtonMethod "getActionTargetValue" o = Gtk.Actionable.ActionableGetActionTargetValueMethodInfo
ResolveProgressMenuButtonMethod "getActive" o = Gtk.ToggleButton.ToggleButtonGetActiveMethodInfo
ResolveProgressMenuButtonMethod "getAlignWidget" o = Gtk.MenuButton.MenuButtonGetAlignWidgetMethodInfo
ResolveProgressMenuButtonMethod "getAlignment" o = Gtk.Button.ButtonGetAlignmentMethodInfo
ResolveProgressMenuButtonMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveProgressMenuButtonMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveProgressMenuButtonMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveProgressMenuButtonMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveProgressMenuButtonMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveProgressMenuButtonMethod "getAlwaysShowImage" o = Gtk.Button.ButtonGetAlwaysShowImageMethodInfo
ResolveProgressMenuButtonMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveProgressMenuButtonMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveProgressMenuButtonMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveProgressMenuButtonMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveProgressMenuButtonMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveProgressMenuButtonMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
ResolveProgressMenuButtonMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveProgressMenuButtonMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveProgressMenuButtonMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveProgressMenuButtonMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveProgressMenuButtonMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveProgressMenuButtonMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveProgressMenuButtonMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveProgressMenuButtonMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveProgressMenuButtonMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveProgressMenuButtonMethod "getDirection" o = Gtk.MenuButton.MenuButtonGetDirectionMethodInfo
ResolveProgressMenuButtonMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveProgressMenuButtonMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveProgressMenuButtonMethod "getEventWindow" o = Gtk.Button.ButtonGetEventWindowMethodInfo
ResolveProgressMenuButtonMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveProgressMenuButtonMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveProgressMenuButtonMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveProgressMenuButtonMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveProgressMenuButtonMethod "getFocusOnClick" o = Gtk.Button.ButtonGetFocusOnClickMethodInfo
ResolveProgressMenuButtonMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveProgressMenuButtonMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveProgressMenuButtonMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveProgressMenuButtonMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveProgressMenuButtonMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveProgressMenuButtonMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveProgressMenuButtonMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveProgressMenuButtonMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveProgressMenuButtonMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveProgressMenuButtonMethod "getImage" o = Gtk.Button.ButtonGetImageMethodInfo
ResolveProgressMenuButtonMethod "getImagePosition" o = Gtk.Button.ButtonGetImagePositionMethodInfo
ResolveProgressMenuButtonMethod "getInconsistent" o = Gtk.ToggleButton.ToggleButtonGetInconsistentMethodInfo
ResolveProgressMenuButtonMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveProgressMenuButtonMethod "getLabel" o = Gtk.Button.ButtonGetLabelMethodInfo
ResolveProgressMenuButtonMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveProgressMenuButtonMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveProgressMenuButtonMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveProgressMenuButtonMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveProgressMenuButtonMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveProgressMenuButtonMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveProgressMenuButtonMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveProgressMenuButtonMethod "getMenuModel" o = Gtk.MenuButton.MenuButtonGetMenuModelMethodInfo
ResolveProgressMenuButtonMethod "getMode" o = Gtk.ToggleButton.ToggleButtonGetModeMethodInfo
ResolveProgressMenuButtonMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveProgressMenuButtonMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveProgressMenuButtonMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveProgressMenuButtonMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveProgressMenuButtonMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveProgressMenuButtonMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveProgressMenuButtonMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveProgressMenuButtonMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveProgressMenuButtonMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveProgressMenuButtonMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveProgressMenuButtonMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveProgressMenuButtonMethod "getPopover" o = Gtk.MenuButton.MenuButtonGetPopoverMethodInfo
ResolveProgressMenuButtonMethod "getPopup" o = Gtk.MenuButton.MenuButtonGetPopupMethodInfo
ResolveProgressMenuButtonMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveProgressMenuButtonMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveProgressMenuButtonMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveProgressMenuButtonMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveProgressMenuButtonMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveProgressMenuButtonMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveProgressMenuButtonMethod "getProgress" o = ProgressMenuButtonGetProgressMethodInfo
ResolveProgressMenuButtonMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveProgressMenuButtonMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveProgressMenuButtonMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveProgressMenuButtonMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveProgressMenuButtonMethod "getRelatedAction" o = Gtk.Activatable.ActivatableGetRelatedActionMethodInfo
ResolveProgressMenuButtonMethod "getRelief" o = Gtk.Button.ButtonGetReliefMethodInfo
ResolveProgressMenuButtonMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveProgressMenuButtonMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveProgressMenuButtonMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveProgressMenuButtonMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveProgressMenuButtonMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveProgressMenuButtonMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveProgressMenuButtonMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveProgressMenuButtonMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveProgressMenuButtonMethod "getShowProgress" o = ProgressMenuButtonGetShowProgressMethodInfo
ResolveProgressMenuButtonMethod "getShowTheatric" o = ProgressMenuButtonGetShowTheatricMethodInfo
ResolveProgressMenuButtonMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveProgressMenuButtonMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveProgressMenuButtonMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveProgressMenuButtonMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveProgressMenuButtonMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveProgressMenuButtonMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveProgressMenuButtonMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveProgressMenuButtonMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveProgressMenuButtonMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveProgressMenuButtonMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveProgressMenuButtonMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveProgressMenuButtonMethod "getUseActionAppearance" o = Gtk.Activatable.ActivatableGetUseActionAppearanceMethodInfo
ResolveProgressMenuButtonMethod "getUsePopover" o = Gtk.MenuButton.MenuButtonGetUsePopoverMethodInfo
ResolveProgressMenuButtonMethod "getUseStock" o = Gtk.Button.ButtonGetUseStockMethodInfo
ResolveProgressMenuButtonMethod "getUseUnderline" o = Gtk.Button.ButtonGetUseUnderlineMethodInfo
ResolveProgressMenuButtonMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveProgressMenuButtonMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveProgressMenuButtonMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveProgressMenuButtonMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveProgressMenuButtonMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveProgressMenuButtonMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveProgressMenuButtonMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveProgressMenuButtonMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveProgressMenuButtonMethod "setActionName" o = Gtk.Actionable.ActionableSetActionNameMethodInfo
ResolveProgressMenuButtonMethod "setActionTargetValue" o = Gtk.Actionable.ActionableSetActionTargetValueMethodInfo
ResolveProgressMenuButtonMethod "setActive" o = Gtk.ToggleButton.ToggleButtonSetActiveMethodInfo
ResolveProgressMenuButtonMethod "setAlignWidget" o = Gtk.MenuButton.MenuButtonSetAlignWidgetMethodInfo
ResolveProgressMenuButtonMethod "setAlignment" o = Gtk.Button.ButtonSetAlignmentMethodInfo
ResolveProgressMenuButtonMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveProgressMenuButtonMethod "setAlwaysShowImage" o = Gtk.Button.ButtonSetAlwaysShowImageMethodInfo
ResolveProgressMenuButtonMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveProgressMenuButtonMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveProgressMenuButtonMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveProgressMenuButtonMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveProgressMenuButtonMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveProgressMenuButtonMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveProgressMenuButtonMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveProgressMenuButtonMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveProgressMenuButtonMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveProgressMenuButtonMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveProgressMenuButtonMethod "setDetailedActionName" o = Gtk.Actionable.ActionableSetDetailedActionNameMethodInfo
ResolveProgressMenuButtonMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveProgressMenuButtonMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveProgressMenuButtonMethod "setDirection" o = Gtk.MenuButton.MenuButtonSetDirectionMethodInfo
ResolveProgressMenuButtonMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveProgressMenuButtonMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveProgressMenuButtonMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveProgressMenuButtonMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveProgressMenuButtonMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveProgressMenuButtonMethod "setFocusOnClick" o = Gtk.Button.ButtonSetFocusOnClickMethodInfo
ResolveProgressMenuButtonMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveProgressMenuButtonMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveProgressMenuButtonMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveProgressMenuButtonMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveProgressMenuButtonMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveProgressMenuButtonMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveProgressMenuButtonMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveProgressMenuButtonMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveProgressMenuButtonMethod "setImage" o = Gtk.Button.ButtonSetImageMethodInfo
ResolveProgressMenuButtonMethod "setImagePosition" o = Gtk.Button.ButtonSetImagePositionMethodInfo
ResolveProgressMenuButtonMethod "setInconsistent" o = Gtk.ToggleButton.ToggleButtonSetInconsistentMethodInfo
ResolveProgressMenuButtonMethod "setLabel" o = Gtk.Button.ButtonSetLabelMethodInfo
ResolveProgressMenuButtonMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveProgressMenuButtonMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveProgressMenuButtonMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveProgressMenuButtonMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveProgressMenuButtonMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveProgressMenuButtonMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveProgressMenuButtonMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveProgressMenuButtonMethod "setMenuModel" o = Gtk.MenuButton.MenuButtonSetMenuModelMethodInfo
ResolveProgressMenuButtonMethod "setMode" o = Gtk.ToggleButton.ToggleButtonSetModeMethodInfo
ResolveProgressMenuButtonMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveProgressMenuButtonMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveProgressMenuButtonMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveProgressMenuButtonMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveProgressMenuButtonMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveProgressMenuButtonMethod "setPopover" o = Gtk.MenuButton.MenuButtonSetPopoverMethodInfo
ResolveProgressMenuButtonMethod "setPopup" o = Gtk.MenuButton.MenuButtonSetPopupMethodInfo
ResolveProgressMenuButtonMethod "setProgress" o = ProgressMenuButtonSetProgressMethodInfo
ResolveProgressMenuButtonMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveProgressMenuButtonMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveProgressMenuButtonMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveProgressMenuButtonMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveProgressMenuButtonMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveProgressMenuButtonMethod "setRelatedAction" o = Gtk.Activatable.ActivatableSetRelatedActionMethodInfo
ResolveProgressMenuButtonMethod "setRelief" o = Gtk.Button.ButtonSetReliefMethodInfo
ResolveProgressMenuButtonMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveProgressMenuButtonMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveProgressMenuButtonMethod "setShowProgress" o = ProgressMenuButtonSetShowProgressMethodInfo
ResolveProgressMenuButtonMethod "setShowTheatric" o = ProgressMenuButtonSetShowTheatricMethodInfo
ResolveProgressMenuButtonMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveProgressMenuButtonMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveProgressMenuButtonMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveProgressMenuButtonMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveProgressMenuButtonMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveProgressMenuButtonMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveProgressMenuButtonMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveProgressMenuButtonMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveProgressMenuButtonMethod "setUseActionAppearance" o = Gtk.Activatable.ActivatableSetUseActionAppearanceMethodInfo
ResolveProgressMenuButtonMethod "setUsePopover" o = Gtk.MenuButton.MenuButtonSetUsePopoverMethodInfo
ResolveProgressMenuButtonMethod "setUseStock" o = Gtk.Button.ButtonSetUseStockMethodInfo
ResolveProgressMenuButtonMethod "setUseUnderline" o = Gtk.Button.ButtonSetUseUnderlineMethodInfo
ResolveProgressMenuButtonMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveProgressMenuButtonMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveProgressMenuButtonMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveProgressMenuButtonMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveProgressMenuButtonMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveProgressMenuButtonMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveProgressMenuButtonMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveProgressMenuButtonMethod t ProgressMenuButton, O.OverloadedMethod info ProgressMenuButton p) => OL.IsLabel t (ProgressMenuButton -> 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 ~ ResolveProgressMenuButtonMethod t ProgressMenuButton, O.OverloadedMethod info ProgressMenuButton p, R.HasField t ProgressMenuButton p) => R.HasField t ProgressMenuButton p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveProgressMenuButtonMethod t ProgressMenuButton, O.OverloadedMethodInfo info ProgressMenuButton) => OL.IsLabel t (O.MethodProxy info ProgressMenuButton) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getProgressMenuButtonProgress :: (MonadIO m, IsProgressMenuButton o) => o -> m Double
o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"progress"
setProgressMenuButtonProgress :: (MonadIO m, IsProgressMenuButton o) => o -> Double -> m ()
o
obj Double
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 -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"progress" Double
val
constructProgressMenuButtonProgress :: (IsProgressMenuButton o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
Double
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 -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"progress" Double
val
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonProgressPropertyInfo
instance AttrInfo ProgressMenuButtonProgressPropertyInfo where
type AttrAllowedOps ProgressMenuButtonProgressPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ProgressMenuButtonProgressPropertyInfo = IsProgressMenuButton
type AttrSetTypeConstraint ProgressMenuButtonProgressPropertyInfo = (~) Double
type AttrTransferTypeConstraint ProgressMenuButtonProgressPropertyInfo = (~) Double
type AttrTransferType ProgressMenuButtonProgressPropertyInfo = Double
type AttrGetType ProgressMenuButtonProgressPropertyInfo = Double
type AttrLabel ProgressMenuButtonProgressPropertyInfo = "progress"
type AttrOrigin ProgressMenuButtonProgressPropertyInfo = ProgressMenuButton
attrGet = getProgressMenuButtonProgress
attrSet = setProgressMenuButtonProgress
attrTransfer _ v = do
return v
attrConstruct = constructProgressMenuButtonProgress
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progress"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#g:attr:progress"
})
#endif
getProgressMenuButtonShowProgress :: (MonadIO m, IsProgressMenuButton o) => o -> m Bool
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"
setProgressMenuButtonShowProgress :: (MonadIO m, IsProgressMenuButton o) => o -> Bool -> m ()
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
constructProgressMenuButtonShowProgress :: (IsProgressMenuButton o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
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 ProgressMenuButtonShowProgressPropertyInfo
instance AttrInfo ProgressMenuButtonShowProgressPropertyInfo where
type AttrAllowedOps ProgressMenuButtonShowProgressPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ProgressMenuButtonShowProgressPropertyInfo = IsProgressMenuButton
type AttrSetTypeConstraint ProgressMenuButtonShowProgressPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ProgressMenuButtonShowProgressPropertyInfo = (~) Bool
type AttrTransferType ProgressMenuButtonShowProgressPropertyInfo = Bool
type AttrGetType ProgressMenuButtonShowProgressPropertyInfo = Bool
type AttrLabel ProgressMenuButtonShowProgressPropertyInfo = "show-progress"
type AttrOrigin ProgressMenuButtonShowProgressPropertyInfo = ProgressMenuButton
attrGet = getProgressMenuButtonShowProgress
attrSet = setProgressMenuButtonShowProgress
attrTransfer _ v = do
return v
attrConstruct = constructProgressMenuButtonShowProgress
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.showProgress"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#g:attr:showProgress"
})
#endif
getProgressMenuButtonShowTheatric :: (MonadIO m, IsProgressMenuButton o) => o -> m Bool
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-theatric"
setProgressMenuButtonShowTheatric :: (MonadIO m, IsProgressMenuButton o) => o -> Bool -> m ()
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-theatric" Bool
val
constructProgressMenuButtonShowTheatric :: (IsProgressMenuButton o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
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-theatric" Bool
val
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonShowTheatricPropertyInfo
instance AttrInfo ProgressMenuButtonShowTheatricPropertyInfo where
type AttrAllowedOps ProgressMenuButtonShowTheatricPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ProgressMenuButtonShowTheatricPropertyInfo = IsProgressMenuButton
type AttrSetTypeConstraint ProgressMenuButtonShowTheatricPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ProgressMenuButtonShowTheatricPropertyInfo = (~) Bool
type AttrTransferType ProgressMenuButtonShowTheatricPropertyInfo = Bool
type AttrGetType ProgressMenuButtonShowTheatricPropertyInfo = Bool
type AttrLabel ProgressMenuButtonShowTheatricPropertyInfo = "show-theatric"
type AttrOrigin ProgressMenuButtonShowTheatricPropertyInfo = ProgressMenuButton
attrGet = getProgressMenuButtonShowTheatric
attrSet = setProgressMenuButtonShowTheatric
attrTransfer _ v = do
return v
attrConstruct = constructProgressMenuButtonShowTheatric
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.showTheatric"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#g:attr:showTheatric"
})
#endif
getProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> m (Maybe T.Text)
o
obj = IO (Maybe Text) -> m (Maybe Text)
forall a. IO a -> m a
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
"theatric-icon-name"
setProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> T.Text -> m ()
o
obj Text
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 -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"theatric-icon-name" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructProgressMenuButtonTheatricIconName :: (IsProgressMenuButton o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
Text
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 -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"theatric-icon-name" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
clearProgressMenuButtonTheatricIconName :: (MonadIO m, IsProgressMenuButton o) => o -> m ()
o
obj = 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
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"theatric-icon-name" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonTheatricIconNamePropertyInfo
instance AttrInfo ProgressMenuButtonTheatricIconNamePropertyInfo where
type AttrAllowedOps ProgressMenuButtonTheatricIconNamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ProgressMenuButtonTheatricIconNamePropertyInfo = IsProgressMenuButton
type AttrSetTypeConstraint ProgressMenuButtonTheatricIconNamePropertyInfo = (~) T.Text
type AttrTransferTypeConstraint ProgressMenuButtonTheatricIconNamePropertyInfo = (~) T.Text
type AttrTransferType ProgressMenuButtonTheatricIconNamePropertyInfo = T.Text
type AttrGetType ProgressMenuButtonTheatricIconNamePropertyInfo = (Maybe T.Text)
type AttrLabel ProgressMenuButtonTheatricIconNamePropertyInfo = "theatric-icon-name"
type AttrOrigin ProgressMenuButtonTheatricIconNamePropertyInfo = ProgressMenuButton
attrGet = getProgressMenuButtonTheatricIconName
attrSet = setProgressMenuButtonTheatricIconName
attrTransfer _ v = do
return v
attrConstruct = constructProgressMenuButtonTheatricIconName
attrClear = clearProgressMenuButtonTheatricIconName
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.theatricIconName"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#g:attr:theatricIconName"
})
#endif
getProgressMenuButtonTransitionDuration :: (MonadIO m, IsProgressMenuButton o) => o -> m Word32
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
"transition-duration"
setProgressMenuButtonTransitionDuration :: (MonadIO m, IsProgressMenuButton o) => o -> Word32 -> m ()
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
"transition-duration" Word32
val
constructProgressMenuButtonTransitionDuration :: (IsProgressMenuButton o, MIO.MonadIO m) => Word32 -> m (GValueConstruct o)
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
"transition-duration" Word32
val
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonTransitionDurationPropertyInfo
instance AttrInfo ProgressMenuButtonTransitionDurationPropertyInfo where
type AttrAllowedOps ProgressMenuButtonTransitionDurationPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ProgressMenuButtonTransitionDurationPropertyInfo = IsProgressMenuButton
type AttrSetTypeConstraint ProgressMenuButtonTransitionDurationPropertyInfo = (~) Word32
type AttrTransferTypeConstraint ProgressMenuButtonTransitionDurationPropertyInfo = (~) Word32
type AttrTransferType ProgressMenuButtonTransitionDurationPropertyInfo = Word32
type AttrGetType ProgressMenuButtonTransitionDurationPropertyInfo = Word32
type AttrLabel ProgressMenuButtonTransitionDurationPropertyInfo = "transition-duration"
type AttrOrigin ProgressMenuButtonTransitionDurationPropertyInfo = ProgressMenuButton
attrGet = getProgressMenuButtonTransitionDuration
attrSet = setProgressMenuButtonTransitionDuration
attrTransfer _ v = do
return v
attrConstruct = constructProgressMenuButtonTransitionDuration
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.transitionDuration"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#g:attr:transitionDuration"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList ProgressMenuButton
type instance O.AttributeList ProgressMenuButton = ProgressMenuButtonAttributeList
type ProgressMenuButtonAttributeList = ('[ '("actionName", Gtk.Actionable.ActionableActionNamePropertyInfo), '("actionTarget", Gtk.Actionable.ActionableActionTargetPropertyInfo), '("active", Gtk.ToggleButton.ToggleButtonActivePropertyInfo), '("alignWidget", Gtk.MenuButton.MenuButtonAlignWidgetPropertyInfo), '("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), '("direction", Gtk.MenuButton.MenuButtonDirectionPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("drawIndicator", Gtk.ToggleButton.ToggleButtonDrawIndicatorPropertyInfo), '("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), '("inconsistent", Gtk.ToggleButton.ToggleButtonInconsistentPropertyInfo), '("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), '("menuModel", Gtk.MenuButton.MenuButtonMenuModelPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("popover", Gtk.MenuButton.MenuButtonPopoverPropertyInfo), '("popup", Gtk.MenuButton.MenuButtonPopupPropertyInfo), '("progress", ProgressMenuButtonProgressPropertyInfo), '("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", ProgressMenuButtonShowProgressPropertyInfo), '("showTheatric", ProgressMenuButtonShowTheatricPropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("theatricIconName", ProgressMenuButtonTheatricIconNamePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("transitionDuration", ProgressMenuButtonTransitionDurationPropertyInfo), '("useActionAppearance", Gtk.Activatable.ActivatableUseActionAppearancePropertyInfo), '("usePopover", Gtk.MenuButton.MenuButtonUsePopoverPropertyInfo), '("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)
progressMenuButtonProgress :: AttrLabelProxy "progress"
progressMenuButtonProgress = AttrLabelProxy
progressMenuButtonShowProgress :: AttrLabelProxy "showProgress"
progressMenuButtonShowProgress = AttrLabelProxy
progressMenuButtonShowTheatric :: AttrLabelProxy "showTheatric"
progressMenuButtonShowTheatric = AttrLabelProxy
progressMenuButtonTheatricIconName :: AttrLabelProxy "theatricIconName"
progressMenuButtonTheatricIconName = AttrLabelProxy
progressMenuButtonTransitionDuration :: AttrLabelProxy "transitionDuration"
progressMenuButtonTransitionDuration = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList ProgressMenuButton = ProgressMenuButtonSignalList
type ProgressMenuButtonSignalList = ('[ '("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), '("toggled", Gtk.ToggleButton.ToggleButtonToggledSignalInfo), '("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_menu_button_new" ::
IO (Ptr ProgressMenuButton)
progressMenuButtonNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m ProgressMenuButton
= IO ProgressMenuButton -> m ProgressMenuButton
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ProgressMenuButton -> m ProgressMenuButton)
-> IO ProgressMenuButton -> m ProgressMenuButton
forall a b. (a -> b) -> a -> b
$ do
Ptr ProgressMenuButton
result <- IO (Ptr ProgressMenuButton)
dzl_progress_menu_button_new
Text -> Ptr ProgressMenuButton -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"progressMenuButtonNew" Ptr ProgressMenuButton
result
ProgressMenuButton
result' <- ((ManagedPtr ProgressMenuButton -> ProgressMenuButton)
-> Ptr ProgressMenuButton -> IO ProgressMenuButton
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ProgressMenuButton -> ProgressMenuButton
ProgressMenuButton) Ptr ProgressMenuButton
result
ProgressMenuButton -> IO ProgressMenuButton
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ProgressMenuButton
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "dzl_progress_menu_button_get_progress" ::
Ptr ProgressMenuButton ->
IO CDouble
progressMenuButtonGetProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressMenuButton a) =>
a
-> m Double
a
button = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
Ptr ProgressMenuButton
button' <- a -> IO (Ptr ProgressMenuButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
button
CDouble
result <- Ptr ProgressMenuButton -> IO CDouble
dzl_progress_menu_button_get_progress Ptr ProgressMenuButton
button'
let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
button
Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonGetProgressMethodInfo
instance (signature ~ (m Double), MonadIO m, IsProgressMenuButton a) => O.OverloadedMethod ProgressMenuButtonGetProgressMethodInfo a signature where
overloadedMethod = progressMenuButtonGetProgress
instance O.OverloadedMethodInfo ProgressMenuButtonGetProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progressMenuButtonGetProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#v:progressMenuButtonGetProgress"
})
#endif
foreign import ccall "dzl_progress_menu_button_get_show_progress" ::
Ptr ProgressMenuButton ->
IO CInt
progressMenuButtonGetShowProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressMenuButton a) =>
a
-> m Bool
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 ProgressMenuButton
self' <- a -> IO (Ptr ProgressMenuButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr ProgressMenuButton -> IO CInt
dzl_progress_menu_button_get_show_progress Ptr ProgressMenuButton
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 ProgressMenuButtonGetShowProgressMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsProgressMenuButton a) => O.OverloadedMethod ProgressMenuButtonGetShowProgressMethodInfo a signature where
overloadedMethod = progressMenuButtonGetShowProgress
instance O.OverloadedMethodInfo ProgressMenuButtonGetShowProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progressMenuButtonGetShowProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#v:progressMenuButtonGetShowProgress"
})
#endif
foreign import ccall "dzl_progress_menu_button_get_show_theatric" ::
Ptr ProgressMenuButton ->
IO CInt
progressMenuButtonGetShowTheatric ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressMenuButton a) =>
a
-> m Bool
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 ProgressMenuButton
self' <- a -> IO (Ptr ProgressMenuButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CInt
result <- Ptr ProgressMenuButton -> IO CInt
dzl_progress_menu_button_get_show_theatric Ptr ProgressMenuButton
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 ProgressMenuButtonGetShowTheatricMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsProgressMenuButton a) => O.OverloadedMethod ProgressMenuButtonGetShowTheatricMethodInfo a signature where
overloadedMethod = progressMenuButtonGetShowTheatric
instance O.OverloadedMethodInfo ProgressMenuButtonGetShowTheatricMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progressMenuButtonGetShowTheatric",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#v:progressMenuButtonGetShowTheatric"
})
#endif
foreign import ccall "dzl_progress_menu_button_reset_theatrics" ::
Ptr ProgressMenuButton ->
IO ()
progressMenuButtonResetTheatrics ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressMenuButton a) =>
a
-> m ()
a
self = 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 ProgressMenuButton
self' <- a -> IO (Ptr ProgressMenuButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr ProgressMenuButton -> IO ()
dzl_progress_menu_button_reset_theatrics Ptr ProgressMenuButton
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonResetTheatricsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsProgressMenuButton a) => O.OverloadedMethod ProgressMenuButtonResetTheatricsMethodInfo a signature where
overloadedMethod = progressMenuButtonResetTheatrics
instance O.OverloadedMethodInfo ProgressMenuButtonResetTheatricsMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progressMenuButtonResetTheatrics",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#v:progressMenuButtonResetTheatrics"
})
#endif
foreign import ccall "dzl_progress_menu_button_set_progress" ::
Ptr ProgressMenuButton ->
CDouble ->
IO ()
progressMenuButtonSetProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressMenuButton a) =>
a
-> Double
-> m ()
a
button Double
progress = 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 ProgressMenuButton
button' <- a -> IO (Ptr ProgressMenuButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
button
let progress' :: CDouble
progress' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
progress
Ptr ProgressMenuButton -> CDouble -> IO ()
dzl_progress_menu_button_set_progress Ptr ProgressMenuButton
button' CDouble
progress'
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 ProgressMenuButtonSetProgressMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsProgressMenuButton a) => O.OverloadedMethod ProgressMenuButtonSetProgressMethodInfo a signature where
overloadedMethod = progressMenuButtonSetProgress
instance O.OverloadedMethodInfo ProgressMenuButtonSetProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progressMenuButtonSetProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#v:progressMenuButtonSetProgress"
})
#endif
foreign import ccall "dzl_progress_menu_button_set_show_progress" ::
Ptr ProgressMenuButton ->
CInt ->
IO ()
progressMenuButtonSetShowProgress ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressMenuButton a) =>
a
-> Bool
-> m ()
a
self 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 ProgressMenuButton
self' <- a -> IO (Ptr ProgressMenuButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
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 ProgressMenuButton -> CInt -> IO ()
dzl_progress_menu_button_set_show_progress Ptr ProgressMenuButton
self' CInt
showProgress'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonSetShowProgressMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsProgressMenuButton a) => O.OverloadedMethod ProgressMenuButtonSetShowProgressMethodInfo a signature where
overloadedMethod = progressMenuButtonSetShowProgress
instance O.OverloadedMethodInfo ProgressMenuButtonSetShowProgressMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progressMenuButtonSetShowProgress",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#v:progressMenuButtonSetShowProgress"
})
#endif
foreign import ccall "dzl_progress_menu_button_set_show_theatric" ::
Ptr ProgressMenuButton ->
CInt ->
IO ()
progressMenuButtonSetShowTheatric ::
(B.CallStack.HasCallStack, MonadIO m, IsProgressMenuButton a) =>
a
-> Bool
-> m ()
a
self Bool
showTheatic = 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 ProgressMenuButton
self' <- a -> IO (Ptr ProgressMenuButton)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let showTheatic' :: CInt
showTheatic' = (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
showTheatic
Ptr ProgressMenuButton -> CInt -> IO ()
dzl_progress_menu_button_set_show_theatric Ptr ProgressMenuButton
self' CInt
showTheatic'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ProgressMenuButtonSetShowTheatricMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsProgressMenuButton a) => O.OverloadedMethod ProgressMenuButtonSetShowTheatricMethodInfo a signature where
overloadedMethod = progressMenuButtonSetShowTheatric
instance O.OverloadedMethodInfo ProgressMenuButtonSetShowTheatricMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.Dazzle.Objects.ProgressMenuButton.progressMenuButtonSetShowTheatric",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-dazzle-1.0.2/docs/GI-Dazzle-Objects-ProgressMenuButton.html#v:progressMenuButtonSetShowTheatric"
})
#endif