#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Gtk.Objects.LevelBar
(
LevelBar(..) ,
IsLevelBar ,
toLevelBar ,
noLevelBar ,
#if ENABLE_OVERLOADING
LevelBarAddOffsetValueMethodInfo ,
#endif
levelBarAddOffsetValue ,
#if ENABLE_OVERLOADING
LevelBarGetInvertedMethodInfo ,
#endif
levelBarGetInverted ,
#if ENABLE_OVERLOADING
LevelBarGetMaxValueMethodInfo ,
#endif
levelBarGetMaxValue ,
#if ENABLE_OVERLOADING
LevelBarGetMinValueMethodInfo ,
#endif
levelBarGetMinValue ,
#if ENABLE_OVERLOADING
LevelBarGetModeMethodInfo ,
#endif
levelBarGetMode ,
#if ENABLE_OVERLOADING
LevelBarGetOffsetValueMethodInfo ,
#endif
levelBarGetOffsetValue ,
#if ENABLE_OVERLOADING
LevelBarGetValueMethodInfo ,
#endif
levelBarGetValue ,
levelBarNew ,
levelBarNewForInterval ,
#if ENABLE_OVERLOADING
LevelBarRemoveOffsetValueMethodInfo ,
#endif
levelBarRemoveOffsetValue ,
#if ENABLE_OVERLOADING
LevelBarSetInvertedMethodInfo ,
#endif
levelBarSetInverted ,
#if ENABLE_OVERLOADING
LevelBarSetMaxValueMethodInfo ,
#endif
levelBarSetMaxValue ,
#if ENABLE_OVERLOADING
LevelBarSetMinValueMethodInfo ,
#endif
levelBarSetMinValue ,
#if ENABLE_OVERLOADING
LevelBarSetModeMethodInfo ,
#endif
levelBarSetMode ,
#if ENABLE_OVERLOADING
LevelBarSetValueMethodInfo ,
#endif
levelBarSetValue ,
#if ENABLE_OVERLOADING
LevelBarInvertedPropertyInfo ,
#endif
constructLevelBarInverted ,
getLevelBarInverted ,
#if ENABLE_OVERLOADING
levelBarInverted ,
#endif
setLevelBarInverted ,
#if ENABLE_OVERLOADING
LevelBarMaxValuePropertyInfo ,
#endif
constructLevelBarMaxValue ,
getLevelBarMaxValue ,
#if ENABLE_OVERLOADING
levelBarMaxValue ,
#endif
setLevelBarMaxValue ,
#if ENABLE_OVERLOADING
LevelBarMinValuePropertyInfo ,
#endif
constructLevelBarMinValue ,
getLevelBarMinValue ,
#if ENABLE_OVERLOADING
levelBarMinValue ,
#endif
setLevelBarMinValue ,
#if ENABLE_OVERLOADING
LevelBarModePropertyInfo ,
#endif
constructLevelBarMode ,
getLevelBarMode ,
#if ENABLE_OVERLOADING
levelBarMode ,
#endif
setLevelBarMode ,
#if ENABLE_OVERLOADING
LevelBarValuePropertyInfo ,
#endif
constructLevelBarValue ,
getLevelBarValue ,
#if ENABLE_OVERLOADING
levelBarValue ,
#endif
setLevelBarValue ,
C_LevelBarOffsetChangedCallback ,
LevelBarOffsetChangedCallback ,
#if ENABLE_OVERLOADING
LevelBarOffsetChangedSignalInfo ,
#endif
afterLevelBarOffsetChanged ,
genClosure_LevelBarOffsetChanged ,
mk_LevelBarOffsetChangedCallback ,
noLevelBarOffsetChangedCallback ,
onLevelBarOffsetChanged ,
wrap_LevelBarOffsetChangedCallback ,
) 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.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.Gtk.Enums as Gtk.Enums
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Orientable as Gtk.Orientable
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
newtype LevelBar = LevelBar (ManagedPtr LevelBar)
foreign import ccall "gtk_level_bar_get_type"
c_gtk_level_bar_get_type :: IO GType
instance GObject LevelBar where
gobjectType = c_gtk_level_bar_get_type
class (GObject o, O.IsDescendantOf LevelBar o) => IsLevelBar o
instance (GObject o, O.IsDescendantOf LevelBar o) => IsLevelBar o
instance O.HasParentTypes LevelBar
type instance O.ParentTypes LevelBar = '[Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable, Gtk.Orientable.Orientable]
toLevelBar :: (MonadIO m, IsLevelBar o) => o -> m LevelBar
toLevelBar = liftIO . unsafeCastTo LevelBar
noLevelBar :: Maybe LevelBar
noLevelBar = Nothing
#if ENABLE_OVERLOADING
type family ResolveLevelBarMethod (t :: Symbol) (o :: *) :: * where
ResolveLevelBarMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveLevelBarMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveLevelBarMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveLevelBarMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveLevelBarMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveLevelBarMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveLevelBarMethod "addOffsetValue" o = LevelBarAddOffsetValueMethodInfo
ResolveLevelBarMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveLevelBarMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveLevelBarMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveLevelBarMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveLevelBarMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveLevelBarMethod "childNotify" o = Gtk.Widget.WidgetChildNotifyMethodInfo
ResolveLevelBarMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveLevelBarMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveLevelBarMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveLevelBarMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveLevelBarMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveLevelBarMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveLevelBarMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveLevelBarMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveLevelBarMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveLevelBarMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveLevelBarMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveLevelBarMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveLevelBarMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveLevelBarMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveLevelBarMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveLevelBarMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveLevelBarMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveLevelBarMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveLevelBarMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveLevelBarMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveLevelBarMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveLevelBarMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveLevelBarMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveLevelBarMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveLevelBarMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveLevelBarMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveLevelBarMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveLevelBarMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveLevelBarMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveLevelBarMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveLevelBarMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveLevelBarMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveLevelBarMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveLevelBarMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveLevelBarMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveLevelBarMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveLevelBarMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveLevelBarMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveLevelBarMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveLevelBarMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveLevelBarMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveLevelBarMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveLevelBarMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveLevelBarMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveLevelBarMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveLevelBarMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveLevelBarMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveLevelBarMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveLevelBarMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveLevelBarMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveLevelBarMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveLevelBarMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveLevelBarMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveLevelBarMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveLevelBarMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveLevelBarMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveLevelBarMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveLevelBarMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveLevelBarMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveLevelBarMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveLevelBarMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveLevelBarMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveLevelBarMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveLevelBarMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveLevelBarMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveLevelBarMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveLevelBarMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveLevelBarMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveLevelBarMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveLevelBarMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveLevelBarMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveLevelBarMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveLevelBarMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveLevelBarMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveLevelBarMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveLevelBarMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveLevelBarMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveLevelBarMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveLevelBarMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveLevelBarMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveLevelBarMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveLevelBarMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveLevelBarMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveLevelBarMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveLevelBarMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveLevelBarMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveLevelBarMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveLevelBarMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveLevelBarMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveLevelBarMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveLevelBarMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveLevelBarMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveLevelBarMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveLevelBarMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveLevelBarMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveLevelBarMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveLevelBarMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveLevelBarMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveLevelBarMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveLevelBarMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveLevelBarMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveLevelBarMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveLevelBarMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveLevelBarMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveLevelBarMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveLevelBarMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveLevelBarMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveLevelBarMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveLevelBarMethod "removeOffsetValue" o = LevelBarRemoveOffsetValueMethodInfo
ResolveLevelBarMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveLevelBarMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveLevelBarMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveLevelBarMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveLevelBarMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveLevelBarMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveLevelBarMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveLevelBarMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveLevelBarMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveLevelBarMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveLevelBarMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveLevelBarMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveLevelBarMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveLevelBarMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveLevelBarMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveLevelBarMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveLevelBarMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveLevelBarMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveLevelBarMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveLevelBarMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveLevelBarMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveLevelBarMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveLevelBarMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveLevelBarMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveLevelBarMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveLevelBarMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveLevelBarMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveLevelBarMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveLevelBarMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveLevelBarMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveLevelBarMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveLevelBarMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveLevelBarMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveLevelBarMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveLevelBarMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveLevelBarMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveLevelBarMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveLevelBarMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveLevelBarMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveLevelBarMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveLevelBarMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveLevelBarMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveLevelBarMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveLevelBarMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveLevelBarMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveLevelBarMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveLevelBarMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveLevelBarMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveLevelBarMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveLevelBarMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveLevelBarMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveLevelBarMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveLevelBarMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveLevelBarMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveLevelBarMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveLevelBarMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveLevelBarMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveLevelBarMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveLevelBarMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveLevelBarMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveLevelBarMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveLevelBarMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveLevelBarMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveLevelBarMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveLevelBarMethod "getInverted" o = LevelBarGetInvertedMethodInfo
ResolveLevelBarMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveLevelBarMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveLevelBarMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveLevelBarMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveLevelBarMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveLevelBarMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveLevelBarMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveLevelBarMethod "getMaxValue" o = LevelBarGetMaxValueMethodInfo
ResolveLevelBarMethod "getMinValue" o = LevelBarGetMinValueMethodInfo
ResolveLevelBarMethod "getMode" o = LevelBarGetModeMethodInfo
ResolveLevelBarMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveLevelBarMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveLevelBarMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveLevelBarMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveLevelBarMethod "getOffsetValue" o = LevelBarGetOffsetValueMethodInfo
ResolveLevelBarMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveLevelBarMethod "getOrientation" o = Gtk.Orientable.OrientableGetOrientationMethodInfo
ResolveLevelBarMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveLevelBarMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveLevelBarMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveLevelBarMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveLevelBarMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveLevelBarMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveLevelBarMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveLevelBarMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveLevelBarMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveLevelBarMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveLevelBarMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveLevelBarMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveLevelBarMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveLevelBarMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveLevelBarMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveLevelBarMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveLevelBarMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveLevelBarMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveLevelBarMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveLevelBarMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveLevelBarMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveLevelBarMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveLevelBarMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveLevelBarMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveLevelBarMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveLevelBarMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveLevelBarMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveLevelBarMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveLevelBarMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveLevelBarMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveLevelBarMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveLevelBarMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveLevelBarMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveLevelBarMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveLevelBarMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveLevelBarMethod "getValue" o = LevelBarGetValueMethodInfo
ResolveLevelBarMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveLevelBarMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveLevelBarMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveLevelBarMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveLevelBarMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveLevelBarMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveLevelBarMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveLevelBarMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveLevelBarMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveLevelBarMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveLevelBarMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveLevelBarMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveLevelBarMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveLevelBarMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveLevelBarMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveLevelBarMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveLevelBarMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveLevelBarMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveLevelBarMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveLevelBarMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveLevelBarMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveLevelBarMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveLevelBarMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveLevelBarMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveLevelBarMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveLevelBarMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveLevelBarMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveLevelBarMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveLevelBarMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveLevelBarMethod "setInverted" o = LevelBarSetInvertedMethodInfo
ResolveLevelBarMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveLevelBarMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveLevelBarMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveLevelBarMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveLevelBarMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveLevelBarMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveLevelBarMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveLevelBarMethod "setMaxValue" o = LevelBarSetMaxValueMethodInfo
ResolveLevelBarMethod "setMinValue" o = LevelBarSetMinValueMethodInfo
ResolveLevelBarMethod "setMode" o = LevelBarSetModeMethodInfo
ResolveLevelBarMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveLevelBarMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveLevelBarMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveLevelBarMethod "setOrientation" o = Gtk.Orientable.OrientableSetOrientationMethodInfo
ResolveLevelBarMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveLevelBarMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveLevelBarMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveLevelBarMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveLevelBarMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveLevelBarMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveLevelBarMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveLevelBarMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveLevelBarMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveLevelBarMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveLevelBarMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveLevelBarMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveLevelBarMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveLevelBarMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveLevelBarMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveLevelBarMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveLevelBarMethod "setValue" o = LevelBarSetValueMethodInfo
ResolveLevelBarMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveLevelBarMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveLevelBarMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveLevelBarMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveLevelBarMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveLevelBarMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveLevelBarMethod t LevelBar, O.MethodInfo info LevelBar p) => OL.IsLabel t (LevelBar -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
type LevelBarOffsetChangedCallback =
T.Text
-> IO ()
noLevelBarOffsetChangedCallback :: Maybe LevelBarOffsetChangedCallback
noLevelBarOffsetChangedCallback = Nothing
type C_LevelBarOffsetChangedCallback =
Ptr () ->
CString ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_LevelBarOffsetChangedCallback :: C_LevelBarOffsetChangedCallback -> IO (FunPtr C_LevelBarOffsetChangedCallback)
genClosure_LevelBarOffsetChanged :: MonadIO m => LevelBarOffsetChangedCallback -> m (GClosure C_LevelBarOffsetChangedCallback)
genClosure_LevelBarOffsetChanged cb = liftIO $ do
let cb' = wrap_LevelBarOffsetChangedCallback cb
mk_LevelBarOffsetChangedCallback cb' >>= B.GClosure.newGClosure
wrap_LevelBarOffsetChangedCallback ::
LevelBarOffsetChangedCallback ->
C_LevelBarOffsetChangedCallback
wrap_LevelBarOffsetChangedCallback _cb _ name _ = do
name' <- cstringToText name
_cb name'
onLevelBarOffsetChanged :: (IsLevelBar a, MonadIO m) => a -> LevelBarOffsetChangedCallback -> m SignalHandlerId
onLevelBarOffsetChanged obj cb = liftIO $ do
let cb' = wrap_LevelBarOffsetChangedCallback cb
cb'' <- mk_LevelBarOffsetChangedCallback cb'
connectSignalFunPtr obj "offset-changed" cb'' SignalConnectBefore
afterLevelBarOffsetChanged :: (IsLevelBar a, MonadIO m) => a -> LevelBarOffsetChangedCallback -> m SignalHandlerId
afterLevelBarOffsetChanged obj cb = liftIO $ do
let cb' = wrap_LevelBarOffsetChangedCallback cb
cb'' <- mk_LevelBarOffsetChangedCallback cb'
connectSignalFunPtr obj "offset-changed" cb'' SignalConnectAfter
getLevelBarInverted :: (MonadIO m, IsLevelBar o) => o -> m Bool
getLevelBarInverted obj = liftIO $ B.Properties.getObjectPropertyBool obj "inverted"
setLevelBarInverted :: (MonadIO m, IsLevelBar o) => o -> Bool -> m ()
setLevelBarInverted obj val = liftIO $ B.Properties.setObjectPropertyBool obj "inverted" val
constructLevelBarInverted :: (IsLevelBar o) => Bool -> IO (GValueConstruct o)
constructLevelBarInverted val = B.Properties.constructObjectPropertyBool "inverted" val
#if ENABLE_OVERLOADING
data LevelBarInvertedPropertyInfo
instance AttrInfo LevelBarInvertedPropertyInfo where
type AttrAllowedOps LevelBarInvertedPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint LevelBarInvertedPropertyInfo = (~) Bool
type AttrBaseTypeConstraint LevelBarInvertedPropertyInfo = IsLevelBar
type AttrGetType LevelBarInvertedPropertyInfo = Bool
type AttrLabel LevelBarInvertedPropertyInfo = "inverted"
type AttrOrigin LevelBarInvertedPropertyInfo = LevelBar
attrGet _ = getLevelBarInverted
attrSet _ = setLevelBarInverted
attrConstruct _ = constructLevelBarInverted
attrClear _ = undefined
#endif
getLevelBarMaxValue :: (MonadIO m, IsLevelBar o) => o -> m Double
getLevelBarMaxValue obj = liftIO $ B.Properties.getObjectPropertyDouble obj "max-value"
setLevelBarMaxValue :: (MonadIO m, IsLevelBar o) => o -> Double -> m ()
setLevelBarMaxValue obj val = liftIO $ B.Properties.setObjectPropertyDouble obj "max-value" val
constructLevelBarMaxValue :: (IsLevelBar o) => Double -> IO (GValueConstruct o)
constructLevelBarMaxValue val = B.Properties.constructObjectPropertyDouble "max-value" val
#if ENABLE_OVERLOADING
data LevelBarMaxValuePropertyInfo
instance AttrInfo LevelBarMaxValuePropertyInfo where
type AttrAllowedOps LevelBarMaxValuePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint LevelBarMaxValuePropertyInfo = (~) Double
type AttrBaseTypeConstraint LevelBarMaxValuePropertyInfo = IsLevelBar
type AttrGetType LevelBarMaxValuePropertyInfo = Double
type AttrLabel LevelBarMaxValuePropertyInfo = "max-value"
type AttrOrigin LevelBarMaxValuePropertyInfo = LevelBar
attrGet _ = getLevelBarMaxValue
attrSet _ = setLevelBarMaxValue
attrConstruct _ = constructLevelBarMaxValue
attrClear _ = undefined
#endif
getLevelBarMinValue :: (MonadIO m, IsLevelBar o) => o -> m Double
getLevelBarMinValue obj = liftIO $ B.Properties.getObjectPropertyDouble obj "min-value"
setLevelBarMinValue :: (MonadIO m, IsLevelBar o) => o -> Double -> m ()
setLevelBarMinValue obj val = liftIO $ B.Properties.setObjectPropertyDouble obj "min-value" val
constructLevelBarMinValue :: (IsLevelBar o) => Double -> IO (GValueConstruct o)
constructLevelBarMinValue val = B.Properties.constructObjectPropertyDouble "min-value" val
#if ENABLE_OVERLOADING
data LevelBarMinValuePropertyInfo
instance AttrInfo LevelBarMinValuePropertyInfo where
type AttrAllowedOps LevelBarMinValuePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint LevelBarMinValuePropertyInfo = (~) Double
type AttrBaseTypeConstraint LevelBarMinValuePropertyInfo = IsLevelBar
type AttrGetType LevelBarMinValuePropertyInfo = Double
type AttrLabel LevelBarMinValuePropertyInfo = "min-value"
type AttrOrigin LevelBarMinValuePropertyInfo = LevelBar
attrGet _ = getLevelBarMinValue
attrSet _ = setLevelBarMinValue
attrConstruct _ = constructLevelBarMinValue
attrClear _ = undefined
#endif
getLevelBarMode :: (MonadIO m, IsLevelBar o) => o -> m Gtk.Enums.LevelBarMode
getLevelBarMode obj = liftIO $ B.Properties.getObjectPropertyEnum obj "mode"
setLevelBarMode :: (MonadIO m, IsLevelBar o) => o -> Gtk.Enums.LevelBarMode -> m ()
setLevelBarMode obj val = liftIO $ B.Properties.setObjectPropertyEnum obj "mode" val
constructLevelBarMode :: (IsLevelBar o) => Gtk.Enums.LevelBarMode -> IO (GValueConstruct o)
constructLevelBarMode val = B.Properties.constructObjectPropertyEnum "mode" val
#if ENABLE_OVERLOADING
data LevelBarModePropertyInfo
instance AttrInfo LevelBarModePropertyInfo where
type AttrAllowedOps LevelBarModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint LevelBarModePropertyInfo = (~) Gtk.Enums.LevelBarMode
type AttrBaseTypeConstraint LevelBarModePropertyInfo = IsLevelBar
type AttrGetType LevelBarModePropertyInfo = Gtk.Enums.LevelBarMode
type AttrLabel LevelBarModePropertyInfo = "mode"
type AttrOrigin LevelBarModePropertyInfo = LevelBar
attrGet _ = getLevelBarMode
attrSet _ = setLevelBarMode
attrConstruct _ = constructLevelBarMode
attrClear _ = undefined
#endif
getLevelBarValue :: (MonadIO m, IsLevelBar o) => o -> m Double
getLevelBarValue obj = liftIO $ B.Properties.getObjectPropertyDouble obj "value"
setLevelBarValue :: (MonadIO m, IsLevelBar o) => o -> Double -> m ()
setLevelBarValue obj val = liftIO $ B.Properties.setObjectPropertyDouble obj "value" val
constructLevelBarValue :: (IsLevelBar o) => Double -> IO (GValueConstruct o)
constructLevelBarValue val = B.Properties.constructObjectPropertyDouble "value" val
#if ENABLE_OVERLOADING
data LevelBarValuePropertyInfo
instance AttrInfo LevelBarValuePropertyInfo where
type AttrAllowedOps LevelBarValuePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint LevelBarValuePropertyInfo = (~) Double
type AttrBaseTypeConstraint LevelBarValuePropertyInfo = IsLevelBar
type AttrGetType LevelBarValuePropertyInfo = Double
type AttrLabel LevelBarValuePropertyInfo = "value"
type AttrOrigin LevelBarValuePropertyInfo = LevelBar
attrGet _ = getLevelBarValue
attrSet _ = setLevelBarValue
attrConstruct _ = constructLevelBarValue
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList LevelBar
type instance O.AttributeList LevelBar = LevelBarAttributeList
type LevelBarAttributeList = ('[ '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("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), '("inverted", LevelBarInvertedPropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("maxValue", LevelBarMaxValuePropertyInfo), '("minValue", LevelBarMinValuePropertyInfo), '("mode", LevelBarModePropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("orientation", Gtk.Orientable.OrientableOrientationPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("value", LevelBarValuePropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo)] :: [(Symbol, *)])
#endif
#if ENABLE_OVERLOADING
levelBarInverted :: AttrLabelProxy "inverted"
levelBarInverted = AttrLabelProxy
levelBarMaxValue :: AttrLabelProxy "maxValue"
levelBarMaxValue = AttrLabelProxy
levelBarMinValue :: AttrLabelProxy "minValue"
levelBarMinValue = AttrLabelProxy
levelBarMode :: AttrLabelProxy "mode"
levelBarMode = AttrLabelProxy
levelBarValue :: AttrLabelProxy "value"
levelBarValue = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
data LevelBarOffsetChangedSignalInfo
instance SignalInfo LevelBarOffsetChangedSignalInfo where
type HaskellCallbackType LevelBarOffsetChangedSignalInfo = LevelBarOffsetChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_LevelBarOffsetChangedCallback cb
cb'' <- mk_LevelBarOffsetChangedCallback cb'
connectSignalFunPtr obj "offset-changed" cb'' connectMode
type instance O.SignalList LevelBar = LevelBarSignalList
type LevelBarSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("compositedChanged", Gtk.Widget.WidgetCompositedChangedSignalInfo), '("configureEvent", Gtk.Widget.WidgetConfigureEventSignalInfo), '("damageEvent", Gtk.Widget.WidgetDamageEventSignalInfo), '("deleteEvent", Gtk.Widget.WidgetDeleteEventSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("destroyEvent", Gtk.Widget.WidgetDestroyEventSignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("dragBegin", Gtk.Widget.WidgetDragBeginSignalInfo), '("dragDataDelete", Gtk.Widget.WidgetDragDataDeleteSignalInfo), '("dragDataGet", Gtk.Widget.WidgetDragDataGetSignalInfo), '("dragDataReceived", Gtk.Widget.WidgetDragDataReceivedSignalInfo), '("dragDrop", Gtk.Widget.WidgetDragDropSignalInfo), '("dragEnd", Gtk.Widget.WidgetDragEndSignalInfo), '("dragFailed", Gtk.Widget.WidgetDragFailedSignalInfo), '("dragLeave", Gtk.Widget.WidgetDragLeaveSignalInfo), '("dragMotion", Gtk.Widget.WidgetDragMotionSignalInfo), '("draw", Gtk.Widget.WidgetDrawSignalInfo), '("enterNotifyEvent", Gtk.Widget.WidgetEnterNotifyEventSignalInfo), '("event", Gtk.Widget.WidgetEventSignalInfo), '("eventAfter", Gtk.Widget.WidgetEventAfterSignalInfo), '("focus", Gtk.Widget.WidgetFocusSignalInfo), '("focusInEvent", Gtk.Widget.WidgetFocusInEventSignalInfo), '("focusOutEvent", Gtk.Widget.WidgetFocusOutEventSignalInfo), '("grabBrokenEvent", Gtk.Widget.WidgetGrabBrokenEventSignalInfo), '("grabFocus", Gtk.Widget.WidgetGrabFocusSignalInfo), '("grabNotify", Gtk.Widget.WidgetGrabNotifySignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("hierarchyChanged", Gtk.Widget.WidgetHierarchyChangedSignalInfo), '("keyPressEvent", Gtk.Widget.WidgetKeyPressEventSignalInfo), '("keyReleaseEvent", Gtk.Widget.WidgetKeyReleaseEventSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("leaveNotifyEvent", Gtk.Widget.WidgetLeaveNotifyEventSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mapEvent", Gtk.Widget.WidgetMapEventSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("motionNotifyEvent", Gtk.Widget.WidgetMotionNotifyEventSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("offsetChanged", LevelBarOffsetChangedSignalInfo), '("parentSet", Gtk.Widget.WidgetParentSetSignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("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), '("show", Gtk.Widget.WidgetShowSignalInfo), '("showHelp", Gtk.Widget.WidgetShowHelpSignalInfo), '("sizeAllocate", Gtk.Widget.WidgetSizeAllocateSignalInfo), '("stateChanged", Gtk.Widget.WidgetStateChangedSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("styleSet", Gtk.Widget.WidgetStyleSetSignalInfo), '("styleUpdated", Gtk.Widget.WidgetStyleUpdatedSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "gtk_level_bar_new" gtk_level_bar_new ::
IO (Ptr LevelBar)
levelBarNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m LevelBar
levelBarNew = liftIO $ do
result <- gtk_level_bar_new
checkUnexpectedReturnNULL "levelBarNew" result
result' <- (newObject LevelBar) result
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_level_bar_new_for_interval" gtk_level_bar_new_for_interval ::
CDouble ->
CDouble ->
IO (Ptr LevelBar)
levelBarNewForInterval ::
(B.CallStack.HasCallStack, MonadIO m) =>
Double
-> Double
-> m LevelBar
levelBarNewForInterval minValue maxValue = liftIO $ do
let minValue' = realToFrac minValue
let maxValue' = realToFrac maxValue
result <- gtk_level_bar_new_for_interval minValue' maxValue'
checkUnexpectedReturnNULL "levelBarNewForInterval" result
result' <- (newObject LevelBar) result
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_level_bar_add_offset_value" gtk_level_bar_add_offset_value ::
Ptr LevelBar ->
CString ->
CDouble ->
IO ()
levelBarAddOffsetValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> T.Text
-> Double
-> m ()
levelBarAddOffsetValue self name value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
name' <- textToCString name
let value' = realToFrac value
gtk_level_bar_add_offset_value self' name' value'
touchManagedPtr self
freeMem name'
return ()
#if ENABLE_OVERLOADING
data LevelBarAddOffsetValueMethodInfo
instance (signature ~ (T.Text -> Double -> m ()), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarAddOffsetValueMethodInfo a signature where
overloadedMethod _ = levelBarAddOffsetValue
#endif
foreign import ccall "gtk_level_bar_get_inverted" gtk_level_bar_get_inverted ::
Ptr LevelBar ->
IO CInt
levelBarGetInverted ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> m Bool
levelBarGetInverted self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- gtk_level_bar_get_inverted self'
let result' = (/= 0) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data LevelBarGetInvertedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarGetInvertedMethodInfo a signature where
overloadedMethod _ = levelBarGetInverted
#endif
foreign import ccall "gtk_level_bar_get_max_value" gtk_level_bar_get_max_value ::
Ptr LevelBar ->
IO CDouble
levelBarGetMaxValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> m Double
levelBarGetMaxValue self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- gtk_level_bar_get_max_value self'
let result' = realToFrac result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data LevelBarGetMaxValueMethodInfo
instance (signature ~ (m Double), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarGetMaxValueMethodInfo a signature where
overloadedMethod _ = levelBarGetMaxValue
#endif
foreign import ccall "gtk_level_bar_get_min_value" gtk_level_bar_get_min_value ::
Ptr LevelBar ->
IO CDouble
levelBarGetMinValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> m Double
levelBarGetMinValue self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- gtk_level_bar_get_min_value self'
let result' = realToFrac result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data LevelBarGetMinValueMethodInfo
instance (signature ~ (m Double), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarGetMinValueMethodInfo a signature where
overloadedMethod _ = levelBarGetMinValue
#endif
foreign import ccall "gtk_level_bar_get_mode" gtk_level_bar_get_mode ::
Ptr LevelBar ->
IO CUInt
levelBarGetMode ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> m Gtk.Enums.LevelBarMode
levelBarGetMode self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- gtk_level_bar_get_mode self'
let result' = (toEnum . fromIntegral) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data LevelBarGetModeMethodInfo
instance (signature ~ (m Gtk.Enums.LevelBarMode), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarGetModeMethodInfo a signature where
overloadedMethod _ = levelBarGetMode
#endif
foreign import ccall "gtk_level_bar_get_offset_value" gtk_level_bar_get_offset_value ::
Ptr LevelBar ->
CString ->
Ptr CDouble ->
IO CInt
levelBarGetOffsetValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> Maybe (T.Text)
-> m ((Bool, Double))
levelBarGetOffsetValue self name = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
maybeName <- case name of
Nothing -> return nullPtr
Just jName -> do
jName' <- textToCString jName
return jName'
value <- allocMem :: IO (Ptr CDouble)
result <- gtk_level_bar_get_offset_value self' maybeName value
let result' = (/= 0) result
value' <- peek value
let value'' = realToFrac value'
touchManagedPtr self
freeMem maybeName
freeMem value
return (result', value'')
#if ENABLE_OVERLOADING
data LevelBarGetOffsetValueMethodInfo
instance (signature ~ (Maybe (T.Text) -> m ((Bool, Double))), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarGetOffsetValueMethodInfo a signature where
overloadedMethod _ = levelBarGetOffsetValue
#endif
foreign import ccall "gtk_level_bar_get_value" gtk_level_bar_get_value ::
Ptr LevelBar ->
IO CDouble
levelBarGetValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> m Double
levelBarGetValue self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- gtk_level_bar_get_value self'
let result' = realToFrac result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data LevelBarGetValueMethodInfo
instance (signature ~ (m Double), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarGetValueMethodInfo a signature where
overloadedMethod _ = levelBarGetValue
#endif
foreign import ccall "gtk_level_bar_remove_offset_value" gtk_level_bar_remove_offset_value ::
Ptr LevelBar ->
CString ->
IO ()
levelBarRemoveOffsetValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> Maybe (T.Text)
-> m ()
levelBarRemoveOffsetValue self name = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
maybeName <- case name of
Nothing -> return nullPtr
Just jName -> do
jName' <- textToCString jName
return jName'
gtk_level_bar_remove_offset_value self' maybeName
touchManagedPtr self
freeMem maybeName
return ()
#if ENABLE_OVERLOADING
data LevelBarRemoveOffsetValueMethodInfo
instance (signature ~ (Maybe (T.Text) -> m ()), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarRemoveOffsetValueMethodInfo a signature where
overloadedMethod _ = levelBarRemoveOffsetValue
#endif
foreign import ccall "gtk_level_bar_set_inverted" gtk_level_bar_set_inverted ::
Ptr LevelBar ->
CInt ->
IO ()
levelBarSetInverted ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> Bool
-> m ()
levelBarSetInverted self inverted = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
let inverted' = (fromIntegral . fromEnum) inverted
gtk_level_bar_set_inverted self' inverted'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data LevelBarSetInvertedMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarSetInvertedMethodInfo a signature where
overloadedMethod _ = levelBarSetInverted
#endif
foreign import ccall "gtk_level_bar_set_max_value" gtk_level_bar_set_max_value ::
Ptr LevelBar ->
CDouble ->
IO ()
levelBarSetMaxValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> Double
-> m ()
levelBarSetMaxValue self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
let value' = realToFrac value
gtk_level_bar_set_max_value self' value'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data LevelBarSetMaxValueMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarSetMaxValueMethodInfo a signature where
overloadedMethod _ = levelBarSetMaxValue
#endif
foreign import ccall "gtk_level_bar_set_min_value" gtk_level_bar_set_min_value ::
Ptr LevelBar ->
CDouble ->
IO ()
levelBarSetMinValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> Double
-> m ()
levelBarSetMinValue self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
let value' = realToFrac value
gtk_level_bar_set_min_value self' value'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data LevelBarSetMinValueMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarSetMinValueMethodInfo a signature where
overloadedMethod _ = levelBarSetMinValue
#endif
foreign import ccall "gtk_level_bar_set_mode" gtk_level_bar_set_mode ::
Ptr LevelBar ->
CUInt ->
IO ()
levelBarSetMode ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> Gtk.Enums.LevelBarMode
-> m ()
levelBarSetMode self mode = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
let mode' = (fromIntegral . fromEnum) mode
gtk_level_bar_set_mode self' mode'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data LevelBarSetModeMethodInfo
instance (signature ~ (Gtk.Enums.LevelBarMode -> m ()), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarSetModeMethodInfo a signature where
overloadedMethod _ = levelBarSetMode
#endif
foreign import ccall "gtk_level_bar_set_value" gtk_level_bar_set_value ::
Ptr LevelBar ->
CDouble ->
IO ()
levelBarSetValue ::
(B.CallStack.HasCallStack, MonadIO m, IsLevelBar a) =>
a
-> Double
-> m ()
levelBarSetValue self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
let value' = realToFrac value
gtk_level_bar_set_value self' value'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data LevelBarSetValueMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsLevelBar a) => O.MethodInfo LevelBarSetValueMethodInfo a signature where
overloadedMethod _ = levelBarSetValue
#endif