{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Gtk.Objects.ComboBox
(
ComboBox(..) ,
IsComboBox ,
toComboBox ,
noComboBox ,
#if defined(ENABLE_OVERLOADING)
ResolveComboBoxMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
ComboBoxGetActiveMethodInfo ,
#endif
comboBoxGetActive ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetActiveIdMethodInfo ,
#endif
comboBoxGetActiveId ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetActiveIterMethodInfo ,
#endif
comboBoxGetActiveIter ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetAddTearoffsMethodInfo ,
#endif
comboBoxGetAddTearoffs ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetButtonSensitivityMethodInfo ,
#endif
comboBoxGetButtonSensitivity ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetColumnSpanColumnMethodInfo ,
#endif
comboBoxGetColumnSpanColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetEntryTextColumnMethodInfo ,
#endif
comboBoxGetEntryTextColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetFocusOnClickMethodInfo ,
#endif
comboBoxGetFocusOnClick ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetHasEntryMethodInfo ,
#endif
comboBoxGetHasEntry ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetIdColumnMethodInfo ,
#endif
comboBoxGetIdColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetModelMethodInfo ,
#endif
comboBoxGetModel ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetPopupAccessibleMethodInfo ,
#endif
comboBoxGetPopupAccessible ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetPopupFixedWidthMethodInfo ,
#endif
comboBoxGetPopupFixedWidth ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetRowSpanColumnMethodInfo ,
#endif
comboBoxGetRowSpanColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetTitleMethodInfo ,
#endif
comboBoxGetTitle ,
#if defined(ENABLE_OVERLOADING)
ComboBoxGetWrapWidthMethodInfo ,
#endif
comboBoxGetWrapWidth ,
comboBoxNew ,
comboBoxNewWithArea ,
comboBoxNewWithAreaAndEntry ,
comboBoxNewWithEntry ,
comboBoxNewWithModel ,
comboBoxNewWithModelAndEntry ,
#if defined(ENABLE_OVERLOADING)
ComboBoxPopdownMethodInfo ,
#endif
comboBoxPopdown ,
#if defined(ENABLE_OVERLOADING)
ComboBoxPopupMethodInfo ,
#endif
comboBoxPopup ,
#if defined(ENABLE_OVERLOADING)
ComboBoxPopupForDeviceMethodInfo ,
#endif
comboBoxPopupForDevice ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetActiveMethodInfo ,
#endif
comboBoxSetActive ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetActiveIdMethodInfo ,
#endif
comboBoxSetActiveId ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetActiveIterMethodInfo ,
#endif
comboBoxSetActiveIter ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetAddTearoffsMethodInfo ,
#endif
comboBoxSetAddTearoffs ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetButtonSensitivityMethodInfo ,
#endif
comboBoxSetButtonSensitivity ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetColumnSpanColumnMethodInfo ,
#endif
comboBoxSetColumnSpanColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetEntryTextColumnMethodInfo ,
#endif
comboBoxSetEntryTextColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetFocusOnClickMethodInfo ,
#endif
comboBoxSetFocusOnClick ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetIdColumnMethodInfo ,
#endif
comboBoxSetIdColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetModelMethodInfo ,
#endif
comboBoxSetModel ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetPopupFixedWidthMethodInfo ,
#endif
comboBoxSetPopupFixedWidth ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetRowSeparatorFuncMethodInfo ,
#endif
comboBoxSetRowSeparatorFunc ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetRowSpanColumnMethodInfo ,
#endif
comboBoxSetRowSpanColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetTitleMethodInfo ,
#endif
comboBoxSetTitle ,
#if defined(ENABLE_OVERLOADING)
ComboBoxSetWrapWidthMethodInfo ,
#endif
comboBoxSetWrapWidth ,
#if defined(ENABLE_OVERLOADING)
ComboBoxActivePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxActive ,
#endif
constructComboBoxActive ,
getComboBoxActive ,
setComboBoxActive ,
#if defined(ENABLE_OVERLOADING)
ComboBoxActiveIdPropertyInfo ,
#endif
clearComboBoxActiveId ,
#if defined(ENABLE_OVERLOADING)
comboBoxActiveId ,
#endif
constructComboBoxActiveId ,
getComboBoxActiveId ,
setComboBoxActiveId ,
#if defined(ENABLE_OVERLOADING)
ComboBoxAddTearoffsPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxAddTearoffs ,
#endif
constructComboBoxAddTearoffs ,
getComboBoxAddTearoffs ,
setComboBoxAddTearoffs ,
#if defined(ENABLE_OVERLOADING)
ComboBoxButtonSensitivityPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxButtonSensitivity ,
#endif
constructComboBoxButtonSensitivity ,
getComboBoxButtonSensitivity ,
setComboBoxButtonSensitivity ,
#if defined(ENABLE_OVERLOADING)
ComboBoxCellAreaPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxCellArea ,
#endif
constructComboBoxCellArea ,
getComboBoxCellArea ,
#if defined(ENABLE_OVERLOADING)
ComboBoxColumnSpanColumnPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxColumnSpanColumn ,
#endif
constructComboBoxColumnSpanColumn ,
getComboBoxColumnSpanColumn ,
setComboBoxColumnSpanColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxEntryTextColumnPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxEntryTextColumn ,
#endif
constructComboBoxEntryTextColumn ,
getComboBoxEntryTextColumn ,
setComboBoxEntryTextColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxHasEntryPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxHasEntry ,
#endif
constructComboBoxHasEntry ,
getComboBoxHasEntry ,
#if defined(ENABLE_OVERLOADING)
ComboBoxHasFramePropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxHasFrame ,
#endif
constructComboBoxHasFrame ,
getComboBoxHasFrame ,
setComboBoxHasFrame ,
#if defined(ENABLE_OVERLOADING)
ComboBoxIdColumnPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxIdColumn ,
#endif
constructComboBoxIdColumn ,
getComboBoxIdColumn ,
setComboBoxIdColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxModelPropertyInfo ,
#endif
clearComboBoxModel ,
#if defined(ENABLE_OVERLOADING)
comboBoxModel ,
#endif
constructComboBoxModel ,
getComboBoxModel ,
setComboBoxModel ,
#if defined(ENABLE_OVERLOADING)
ComboBoxPopupFixedWidthPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxPopupFixedWidth ,
#endif
constructComboBoxPopupFixedWidth ,
getComboBoxPopupFixedWidth ,
setComboBoxPopupFixedWidth ,
#if defined(ENABLE_OVERLOADING)
ComboBoxPopupShownPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxPopupShown ,
#endif
getComboBoxPopupShown ,
#if defined(ENABLE_OVERLOADING)
ComboBoxRowSpanColumnPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxRowSpanColumn ,
#endif
constructComboBoxRowSpanColumn ,
getComboBoxRowSpanColumn ,
setComboBoxRowSpanColumn ,
#if defined(ENABLE_OVERLOADING)
ComboBoxTearoffTitlePropertyInfo ,
#endif
clearComboBoxTearoffTitle ,
#if defined(ENABLE_OVERLOADING)
comboBoxTearoffTitle ,
#endif
constructComboBoxTearoffTitle ,
getComboBoxTearoffTitle ,
setComboBoxTearoffTitle ,
#if defined(ENABLE_OVERLOADING)
ComboBoxWrapWidthPropertyInfo ,
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxWrapWidth ,
#endif
constructComboBoxWrapWidth ,
getComboBoxWrapWidth ,
setComboBoxWrapWidth ,
C_ComboBoxChangedCallback ,
ComboBoxChangedCallback ,
#if defined(ENABLE_OVERLOADING)
ComboBoxChangedSignalInfo ,
#endif
afterComboBoxChanged ,
genClosure_ComboBoxChanged ,
mk_ComboBoxChangedCallback ,
noComboBoxChangedCallback ,
onComboBoxChanged ,
wrap_ComboBoxChangedCallback ,
C_ComboBoxFormatEntryTextCallback ,
ComboBoxFormatEntryTextCallback ,
#if defined(ENABLE_OVERLOADING)
ComboBoxFormatEntryTextSignalInfo ,
#endif
afterComboBoxFormatEntryText ,
genClosure_ComboBoxFormatEntryText ,
mk_ComboBoxFormatEntryTextCallback ,
noComboBoxFormatEntryTextCallback ,
onComboBoxFormatEntryText ,
wrap_ComboBoxFormatEntryTextCallback ,
C_ComboBoxMoveActiveCallback ,
ComboBoxMoveActiveCallback ,
#if defined(ENABLE_OVERLOADING)
ComboBoxMoveActiveSignalInfo ,
#endif
afterComboBoxMoveActive ,
genClosure_ComboBoxMoveActive ,
mk_ComboBoxMoveActiveCallback ,
noComboBoxMoveActiveCallback ,
onComboBoxMoveActive ,
wrap_ComboBoxMoveActiveCallback ,
C_ComboBoxPopdownCallback ,
ComboBoxPopdownCallback ,
#if defined(ENABLE_OVERLOADING)
ComboBoxPopdownSignalInfo ,
#endif
afterComboBoxPopdown ,
genClosure_ComboBoxPopdown ,
mk_ComboBoxPopdownCallback ,
noComboBoxPopdownCallback ,
onComboBoxPopdown ,
wrap_ComboBoxPopdownCallback ,
C_ComboBoxPopupCallback ,
ComboBoxPopupCallback ,
#if defined(ENABLE_OVERLOADING)
ComboBoxPopupSignalInfo ,
#endif
afterComboBoxPopup ,
genClosure_ComboBoxPopup ,
mk_ComboBoxPopupCallback ,
noComboBoxPopupCallback ,
onComboBoxPopup ,
wrap_ComboBoxPopupCallback ,
) 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.GI.Base.Signals as B.Signals
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.Atk.Objects.Object as Atk.Object
import qualified GI.GLib.Callbacks as GLib.Callbacks
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gdk.Objects.Device as Gdk.Device
import qualified GI.Gtk.Callbacks as Gtk.Callbacks
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.CellEditable as Gtk.CellEditable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.CellLayout as Gtk.CellLayout
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.TreeModel as Gtk.TreeModel
import {-# SOURCE #-} qualified GI.Gtk.Objects.Bin as Gtk.Bin
import {-# SOURCE #-} qualified GI.Gtk.Objects.CellArea as Gtk.CellArea
import {-# SOURCE #-} qualified GI.Gtk.Objects.Container as Gtk.Container
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
import {-# SOURCE #-} qualified GI.Gtk.Structs.TreeIter as Gtk.TreeIter
newtype ComboBox = ComboBox (ManagedPtr ComboBox)
deriving (ComboBox -> ComboBox -> Bool
(ComboBox -> ComboBox -> Bool)
-> (ComboBox -> ComboBox -> Bool) -> Eq ComboBox
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ComboBox -> ComboBox -> Bool
$c/= :: ComboBox -> ComboBox -> Bool
== :: ComboBox -> ComboBox -> Bool
$c== :: ComboBox -> ComboBox -> Bool
Eq)
foreign import ccall "gtk_combo_box_get_type"
c_gtk_combo_box_get_type :: IO GType
instance GObject ComboBox where
gobjectType :: IO GType
gobjectType = IO GType
c_gtk_combo_box_get_type
instance B.GValue.IsGValue ComboBox where
toGValue :: ComboBox -> IO GValue
toGValue o :: ComboBox
o = do
GType
gtype <- IO GType
c_gtk_combo_box_get_type
ComboBox -> (Ptr ComboBox -> IO GValue) -> IO GValue
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr ComboBox
o (GType
-> (GValue -> Ptr ComboBox -> IO ()) -> Ptr ComboBox -> IO GValue
forall a. GType -> (GValue -> a -> IO ()) -> a -> IO GValue
B.GValue.buildGValue GType
gtype GValue -> Ptr ComboBox -> IO ()
forall a. GObject a => GValue -> Ptr a -> IO ()
B.GValue.set_object)
fromGValue :: GValue -> IO ComboBox
fromGValue gv :: GValue
gv = do
Ptr ComboBox
ptr <- GValue -> IO (Ptr ComboBox)
forall b. GObject b => GValue -> IO (Ptr b)
B.GValue.get_object GValue
gv :: IO (Ptr ComboBox)
(ManagedPtr ComboBox -> ComboBox) -> Ptr ComboBox -> IO ComboBox
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr ComboBox -> ComboBox
ComboBox Ptr ComboBox
ptr
class (GObject o, O.IsDescendantOf ComboBox o) => IsComboBox o
instance (GObject o, O.IsDescendantOf ComboBox o) => IsComboBox o
instance O.HasParentTypes ComboBox
type instance O.ParentTypes ComboBox = '[Gtk.Bin.Bin, Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable, Gtk.CellEditable.CellEditable, Gtk.CellLayout.CellLayout]
toComboBox :: (MonadIO m, IsComboBox o) => o -> m ComboBox
toComboBox :: o -> m ComboBox
toComboBox = IO ComboBox -> m ComboBox
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ComboBox -> m ComboBox)
-> (o -> IO ComboBox) -> o -> m ComboBox
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr ComboBox -> ComboBox) -> o -> IO ComboBox
forall o o'.
(HasCallStack, GObject o, GObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
unsafeCastTo ManagedPtr ComboBox -> ComboBox
ComboBox
noComboBox :: Maybe ComboBox
noComboBox :: Maybe ComboBox
noComboBox = Maybe ComboBox
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveComboBoxMethod (t :: Symbol) (o :: *) :: * where
ResolveComboBoxMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveComboBoxMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveComboBoxMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveComboBoxMethod "addAttribute" o = Gtk.CellLayout.CellLayoutAddAttributeMethodInfo
ResolveComboBoxMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveComboBoxMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveComboBoxMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveComboBoxMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveComboBoxMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveComboBoxMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveComboBoxMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveComboBoxMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveComboBoxMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveComboBoxMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveComboBoxMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveComboBoxMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveComboBoxMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveComboBoxMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveComboBoxMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveComboBoxMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveComboBoxMethod "clear" o = Gtk.CellLayout.CellLayoutClearMethodInfo
ResolveComboBoxMethod "clearAttributes" o = Gtk.CellLayout.CellLayoutClearAttributesMethodInfo
ResolveComboBoxMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveComboBoxMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveComboBoxMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveComboBoxMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveComboBoxMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveComboBoxMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveComboBoxMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveComboBoxMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveComboBoxMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveComboBoxMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveComboBoxMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveComboBoxMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveComboBoxMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveComboBoxMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveComboBoxMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveComboBoxMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveComboBoxMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveComboBoxMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveComboBoxMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveComboBoxMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveComboBoxMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveComboBoxMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveComboBoxMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveComboBoxMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveComboBoxMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveComboBoxMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveComboBoxMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveComboBoxMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveComboBoxMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveComboBoxMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveComboBoxMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveComboBoxMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveComboBoxMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveComboBoxMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveComboBoxMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveComboBoxMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveComboBoxMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveComboBoxMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveComboBoxMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveComboBoxMethod "editingDone" o = Gtk.CellEditable.CellEditableEditingDoneMethodInfo
ResolveComboBoxMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveComboBoxMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveComboBoxMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveComboBoxMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveComboBoxMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveComboBoxMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveComboBoxMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveComboBoxMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveComboBoxMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveComboBoxMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveComboBoxMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveComboBoxMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveComboBoxMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveComboBoxMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveComboBoxMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveComboBoxMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveComboBoxMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveComboBoxMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveComboBoxMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveComboBoxMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveComboBoxMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveComboBoxMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveComboBoxMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveComboBoxMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveComboBoxMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveComboBoxMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveComboBoxMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveComboBoxMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveComboBoxMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveComboBoxMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveComboBoxMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveComboBoxMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveComboBoxMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveComboBoxMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveComboBoxMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveComboBoxMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveComboBoxMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveComboBoxMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveComboBoxMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveComboBoxMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveComboBoxMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveComboBoxMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveComboBoxMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveComboBoxMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveComboBoxMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveComboBoxMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveComboBoxMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveComboBoxMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveComboBoxMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveComboBoxMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveComboBoxMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveComboBoxMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveComboBoxMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveComboBoxMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveComboBoxMethod "packEnd" o = Gtk.CellLayout.CellLayoutPackEndMethodInfo
ResolveComboBoxMethod "packStart" o = Gtk.CellLayout.CellLayoutPackStartMethodInfo
ResolveComboBoxMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveComboBoxMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveComboBoxMethod "popdown" o = ComboBoxPopdownMethodInfo
ResolveComboBoxMethod "popup" o = ComboBoxPopupMethodInfo
ResolveComboBoxMethod "popupForDevice" o = ComboBoxPopupForDeviceMethodInfo
ResolveComboBoxMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveComboBoxMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveComboBoxMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveComboBoxMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveComboBoxMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveComboBoxMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveComboBoxMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveComboBoxMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveComboBoxMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveComboBoxMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveComboBoxMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveComboBoxMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveComboBoxMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveComboBoxMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveComboBoxMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveComboBoxMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveComboBoxMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveComboBoxMethod "removeWidget" o = Gtk.CellEditable.CellEditableRemoveWidgetMethodInfo
ResolveComboBoxMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveComboBoxMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveComboBoxMethod "reorder" o = Gtk.CellLayout.CellLayoutReorderMethodInfo
ResolveComboBoxMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveComboBoxMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveComboBoxMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveComboBoxMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveComboBoxMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveComboBoxMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveComboBoxMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveComboBoxMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveComboBoxMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveComboBoxMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveComboBoxMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveComboBoxMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveComboBoxMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveComboBoxMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveComboBoxMethod "startEditing" o = Gtk.CellEditable.CellEditableStartEditingMethodInfo
ResolveComboBoxMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveComboBoxMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveComboBoxMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveComboBoxMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveComboBoxMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveComboBoxMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveComboBoxMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveComboBoxMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveComboBoxMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveComboBoxMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveComboBoxMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveComboBoxMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveComboBoxMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveComboBoxMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveComboBoxMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveComboBoxMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveComboBoxMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveComboBoxMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveComboBoxMethod "getActive" o = ComboBoxGetActiveMethodInfo
ResolveComboBoxMethod "getActiveId" o = ComboBoxGetActiveIdMethodInfo
ResolveComboBoxMethod "getActiveIter" o = ComboBoxGetActiveIterMethodInfo
ResolveComboBoxMethod "getAddTearoffs" o = ComboBoxGetAddTearoffsMethodInfo
ResolveComboBoxMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveComboBoxMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveComboBoxMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveComboBoxMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveComboBoxMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveComboBoxMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveComboBoxMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveComboBoxMethod "getArea" o = Gtk.CellLayout.CellLayoutGetAreaMethodInfo
ResolveComboBoxMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveComboBoxMethod "getButtonSensitivity" o = ComboBoxGetButtonSensitivityMethodInfo
ResolveComboBoxMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveComboBoxMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveComboBoxMethod "getCells" o = Gtk.CellLayout.CellLayoutGetCellsMethodInfo
ResolveComboBoxMethod "getChild" o = Gtk.Bin.BinGetChildMethodInfo
ResolveComboBoxMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveComboBoxMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveComboBoxMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveComboBoxMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveComboBoxMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveComboBoxMethod "getColumnSpanColumn" o = ComboBoxGetColumnSpanColumnMethodInfo
ResolveComboBoxMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveComboBoxMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveComboBoxMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveComboBoxMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveComboBoxMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveComboBoxMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveComboBoxMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveComboBoxMethod "getEntryTextColumn" o = ComboBoxGetEntryTextColumnMethodInfo
ResolveComboBoxMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveComboBoxMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveComboBoxMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveComboBoxMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveComboBoxMethod "getFocusOnClick" o = ComboBoxGetFocusOnClickMethodInfo
ResolveComboBoxMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveComboBoxMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveComboBoxMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveComboBoxMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveComboBoxMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveComboBoxMethod "getHasEntry" o = ComboBoxGetHasEntryMethodInfo
ResolveComboBoxMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveComboBoxMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveComboBoxMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveComboBoxMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveComboBoxMethod "getIdColumn" o = ComboBoxGetIdColumnMethodInfo
ResolveComboBoxMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveComboBoxMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveComboBoxMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveComboBoxMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveComboBoxMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveComboBoxMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveComboBoxMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveComboBoxMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveComboBoxMethod "getModel" o = ComboBoxGetModelMethodInfo
ResolveComboBoxMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveComboBoxMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveComboBoxMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveComboBoxMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveComboBoxMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveComboBoxMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveComboBoxMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveComboBoxMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveComboBoxMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveComboBoxMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveComboBoxMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveComboBoxMethod "getPopupAccessible" o = ComboBoxGetPopupAccessibleMethodInfo
ResolveComboBoxMethod "getPopupFixedWidth" o = ComboBoxGetPopupFixedWidthMethodInfo
ResolveComboBoxMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveComboBoxMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveComboBoxMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveComboBoxMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveComboBoxMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveComboBoxMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveComboBoxMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveComboBoxMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveComboBoxMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveComboBoxMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveComboBoxMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveComboBoxMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveComboBoxMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveComboBoxMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveComboBoxMethod "getRowSpanColumn" o = ComboBoxGetRowSpanColumnMethodInfo
ResolveComboBoxMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveComboBoxMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveComboBoxMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveComboBoxMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveComboBoxMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveComboBoxMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveComboBoxMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveComboBoxMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveComboBoxMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveComboBoxMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveComboBoxMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveComboBoxMethod "getTitle" o = ComboBoxGetTitleMethodInfo
ResolveComboBoxMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveComboBoxMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveComboBoxMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveComboBoxMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveComboBoxMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveComboBoxMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveComboBoxMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveComboBoxMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveComboBoxMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveComboBoxMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveComboBoxMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveComboBoxMethod "getWrapWidth" o = ComboBoxGetWrapWidthMethodInfo
ResolveComboBoxMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveComboBoxMethod "setActive" o = ComboBoxSetActiveMethodInfo
ResolveComboBoxMethod "setActiveId" o = ComboBoxSetActiveIdMethodInfo
ResolveComboBoxMethod "setActiveIter" o = ComboBoxSetActiveIterMethodInfo
ResolveComboBoxMethod "setAddTearoffs" o = ComboBoxSetAddTearoffsMethodInfo
ResolveComboBoxMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveComboBoxMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveComboBoxMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveComboBoxMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveComboBoxMethod "setButtonSensitivity" o = ComboBoxSetButtonSensitivityMethodInfo
ResolveComboBoxMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveComboBoxMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveComboBoxMethod "setCellDataFunc" o = Gtk.CellLayout.CellLayoutSetCellDataFuncMethodInfo
ResolveComboBoxMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveComboBoxMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveComboBoxMethod "setColumnSpanColumn" o = ComboBoxSetColumnSpanColumnMethodInfo
ResolveComboBoxMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveComboBoxMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveComboBoxMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveComboBoxMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveComboBoxMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveComboBoxMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveComboBoxMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveComboBoxMethod "setEntryTextColumn" o = ComboBoxSetEntryTextColumnMethodInfo
ResolveComboBoxMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveComboBoxMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveComboBoxMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveComboBoxMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveComboBoxMethod "setFocusOnClick" o = ComboBoxSetFocusOnClickMethodInfo
ResolveComboBoxMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveComboBoxMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveComboBoxMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveComboBoxMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveComboBoxMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveComboBoxMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveComboBoxMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveComboBoxMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveComboBoxMethod "setIdColumn" o = ComboBoxSetIdColumnMethodInfo
ResolveComboBoxMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveComboBoxMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveComboBoxMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveComboBoxMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveComboBoxMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveComboBoxMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveComboBoxMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveComboBoxMethod "setModel" o = ComboBoxSetModelMethodInfo
ResolveComboBoxMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveComboBoxMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveComboBoxMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveComboBoxMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveComboBoxMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveComboBoxMethod "setPopupFixedWidth" o = ComboBoxSetPopupFixedWidthMethodInfo
ResolveComboBoxMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveComboBoxMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveComboBoxMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveComboBoxMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveComboBoxMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveComboBoxMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveComboBoxMethod "setRowSeparatorFunc" o = ComboBoxSetRowSeparatorFuncMethodInfo
ResolveComboBoxMethod "setRowSpanColumn" o = ComboBoxSetRowSpanColumnMethodInfo
ResolveComboBoxMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveComboBoxMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveComboBoxMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveComboBoxMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveComboBoxMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveComboBoxMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveComboBoxMethod "setTitle" o = ComboBoxSetTitleMethodInfo
ResolveComboBoxMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveComboBoxMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveComboBoxMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveComboBoxMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveComboBoxMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveComboBoxMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveComboBoxMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveComboBoxMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveComboBoxMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveComboBoxMethod "setWrapWidth" o = ComboBoxSetWrapWidthMethodInfo
ResolveComboBoxMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveComboBoxMethod t ComboBox, O.MethodInfo info ComboBox p) => OL.IsLabel t (ComboBox -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#endif
type ComboBoxChangedCallback =
IO ()
noComboBoxChangedCallback :: Maybe ComboBoxChangedCallback
noComboBoxChangedCallback :: Maybe (IO ())
noComboBoxChangedCallback = Maybe (IO ())
forall a. Maybe a
Nothing
type C_ComboBoxChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ComboBoxChangedCallback :: C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
genClosure_ComboBoxChanged :: MonadIO m => ComboBoxChangedCallback -> m (GClosure C_ComboBoxChangedCallback)
genClosure_ComboBoxChanged :: IO () -> m (GClosure C_ComboBoxChangedCallback)
genClosure_ComboBoxChanged cb :: IO ()
cb = IO (GClosure C_ComboBoxChangedCallback)
-> m (GClosure C_ComboBoxChangedCallback)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (GClosure C_ComboBoxChangedCallback)
-> m (GClosure C_ComboBoxChangedCallback))
-> IO (GClosure C_ComboBoxChangedCallback)
-> m (GClosure C_ComboBoxChangedCallback)
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxChangedCallback
cb' = IO () -> C_ComboBoxChangedCallback
wrap_ComboBoxChangedCallback IO ()
cb
C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
mk_ComboBoxChangedCallback C_ComboBoxChangedCallback
cb' IO (FunPtr C_ComboBoxChangedCallback)
-> (FunPtr C_ComboBoxChangedCallback
-> IO (GClosure C_ComboBoxChangedCallback))
-> IO (GClosure C_ComboBoxChangedCallback)
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
>>= FunPtr C_ComboBoxChangedCallback
-> IO (GClosure C_ComboBoxChangedCallback)
forall (m :: * -> *) a. MonadIO m => FunPtr a -> m (GClosure a)
B.GClosure.newGClosure
wrap_ComboBoxChangedCallback ::
ComboBoxChangedCallback ->
C_ComboBoxChangedCallback
wrap_ComboBoxChangedCallback :: IO () -> C_ComboBoxChangedCallback
wrap_ComboBoxChangedCallback _cb :: IO ()
_cb _ _ = do
IO ()
_cb
onComboBoxChanged :: (IsComboBox a, MonadIO m) => a -> ComboBoxChangedCallback -> m SignalHandlerId
onComboBoxChanged :: a -> IO () -> m SignalHandlerId
onComboBoxChanged obj :: a
obj cb :: IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxChangedCallback
cb' = IO () -> C_ComboBoxChangedCallback
wrap_ComboBoxChangedCallback IO ()
cb
FunPtr C_ComboBoxChangedCallback
cb'' <- C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
mk_ComboBoxChangedCallback C_ComboBoxChangedCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxChangedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "changed" FunPtr C_ComboBoxChangedCallback
cb'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterComboBoxChanged :: (IsComboBox a, MonadIO m) => a -> ComboBoxChangedCallback -> m SignalHandlerId
afterComboBoxChanged :: a -> IO () -> m SignalHandlerId
afterComboBoxChanged obj :: a
obj cb :: IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxChangedCallback
cb' = IO () -> C_ComboBoxChangedCallback
wrap_ComboBoxChangedCallback IO ()
cb
FunPtr C_ComboBoxChangedCallback
cb'' <- C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
mk_ComboBoxChangedCallback C_ComboBoxChangedCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxChangedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "changed" FunPtr C_ComboBoxChangedCallback
cb'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ComboBoxChangedSignalInfo
instance SignalInfo ComboBoxChangedSignalInfo where
type HaskellCallbackType ComboBoxChangedSignalInfo = ComboBoxChangedCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ComboBoxChangedCallback cb
cb'' <- mk_ComboBoxChangedCallback cb'
connectSignalFunPtr obj "changed" cb'' connectMode detail
#endif
type ComboBoxFormatEntryTextCallback =
T.Text
-> IO T.Text
noComboBoxFormatEntryTextCallback :: Maybe ComboBoxFormatEntryTextCallback
noComboBoxFormatEntryTextCallback :: Maybe ComboBoxFormatEntryTextCallback
noComboBoxFormatEntryTextCallback = Maybe ComboBoxFormatEntryTextCallback
forall a. Maybe a
Nothing
type C_ComboBoxFormatEntryTextCallback =
Ptr () ->
CString ->
Ptr () ->
IO CString
foreign import ccall "wrapper"
mk_ComboBoxFormatEntryTextCallback :: C_ComboBoxFormatEntryTextCallback -> IO (FunPtr C_ComboBoxFormatEntryTextCallback)
genClosure_ComboBoxFormatEntryText :: MonadIO m => ComboBoxFormatEntryTextCallback -> m (GClosure C_ComboBoxFormatEntryTextCallback)
genClosure_ComboBoxFormatEntryText :: ComboBoxFormatEntryTextCallback
-> m (GClosure C_ComboBoxFormatEntryTextCallback)
genClosure_ComboBoxFormatEntryText cb :: ComboBoxFormatEntryTextCallback
cb = IO (GClosure C_ComboBoxFormatEntryTextCallback)
-> m (GClosure C_ComboBoxFormatEntryTextCallback)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (GClosure C_ComboBoxFormatEntryTextCallback)
-> m (GClosure C_ComboBoxFormatEntryTextCallback))
-> IO (GClosure C_ComboBoxFormatEntryTextCallback)
-> m (GClosure C_ComboBoxFormatEntryTextCallback)
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxFormatEntryTextCallback
cb' = ComboBoxFormatEntryTextCallback
-> C_ComboBoxFormatEntryTextCallback
wrap_ComboBoxFormatEntryTextCallback ComboBoxFormatEntryTextCallback
cb
C_ComboBoxFormatEntryTextCallback
-> IO (FunPtr C_ComboBoxFormatEntryTextCallback)
mk_ComboBoxFormatEntryTextCallback C_ComboBoxFormatEntryTextCallback
cb' IO (FunPtr C_ComboBoxFormatEntryTextCallback)
-> (FunPtr C_ComboBoxFormatEntryTextCallback
-> IO (GClosure C_ComboBoxFormatEntryTextCallback))
-> IO (GClosure C_ComboBoxFormatEntryTextCallback)
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
>>= FunPtr C_ComboBoxFormatEntryTextCallback
-> IO (GClosure C_ComboBoxFormatEntryTextCallback)
forall (m :: * -> *) a. MonadIO m => FunPtr a -> m (GClosure a)
B.GClosure.newGClosure
wrap_ComboBoxFormatEntryTextCallback ::
ComboBoxFormatEntryTextCallback ->
C_ComboBoxFormatEntryTextCallback
wrap_ComboBoxFormatEntryTextCallback :: ComboBoxFormatEntryTextCallback
-> C_ComboBoxFormatEntryTextCallback
wrap_ComboBoxFormatEntryTextCallback _cb :: ComboBoxFormatEntryTextCallback
_cb _ path :: CString
path _ = do
Text
path' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
path
Text
result <- ComboBoxFormatEntryTextCallback
_cb Text
path'
CString
result' <- Text -> IO CString
textToCString Text
result
CString -> IO CString
forall (m :: * -> *) a. Monad m => a -> m a
return CString
result'
onComboBoxFormatEntryText :: (IsComboBox a, MonadIO m) => a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId
onComboBoxFormatEntryText :: a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId
onComboBoxFormatEntryText obj :: a
obj cb :: ComboBoxFormatEntryTextCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxFormatEntryTextCallback
cb' = ComboBoxFormatEntryTextCallback
-> C_ComboBoxFormatEntryTextCallback
wrap_ComboBoxFormatEntryTextCallback ComboBoxFormatEntryTextCallback
cb
FunPtr C_ComboBoxFormatEntryTextCallback
cb'' <- C_ComboBoxFormatEntryTextCallback
-> IO (FunPtr C_ComboBoxFormatEntryTextCallback)
mk_ComboBoxFormatEntryTextCallback C_ComboBoxFormatEntryTextCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxFormatEntryTextCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "format-entry-text" FunPtr C_ComboBoxFormatEntryTextCallback
cb'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterComboBoxFormatEntryText :: (IsComboBox a, MonadIO m) => a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId
afterComboBoxFormatEntryText :: a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId
afterComboBoxFormatEntryText obj :: a
obj cb :: ComboBoxFormatEntryTextCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxFormatEntryTextCallback
cb' = ComboBoxFormatEntryTextCallback
-> C_ComboBoxFormatEntryTextCallback
wrap_ComboBoxFormatEntryTextCallback ComboBoxFormatEntryTextCallback
cb
FunPtr C_ComboBoxFormatEntryTextCallback
cb'' <- C_ComboBoxFormatEntryTextCallback
-> IO (FunPtr C_ComboBoxFormatEntryTextCallback)
mk_ComboBoxFormatEntryTextCallback C_ComboBoxFormatEntryTextCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxFormatEntryTextCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "format-entry-text" FunPtr C_ComboBoxFormatEntryTextCallback
cb'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ComboBoxFormatEntryTextSignalInfo
instance SignalInfo ComboBoxFormatEntryTextSignalInfo where
type HaskellCallbackType ComboBoxFormatEntryTextSignalInfo = ComboBoxFormatEntryTextCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ComboBoxFormatEntryTextCallback cb
cb'' <- mk_ComboBoxFormatEntryTextCallback cb'
connectSignalFunPtr obj "format-entry-text" cb'' connectMode detail
#endif
type ComboBoxMoveActiveCallback =
Gtk.Enums.ScrollType
-> IO ()
noComboBoxMoveActiveCallback :: Maybe ComboBoxMoveActiveCallback
noComboBoxMoveActiveCallback :: Maybe ComboBoxMoveActiveCallback
noComboBoxMoveActiveCallback = Maybe ComboBoxMoveActiveCallback
forall a. Maybe a
Nothing
type C_ComboBoxMoveActiveCallback =
Ptr () ->
CUInt ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_ComboBoxMoveActiveCallback :: C_ComboBoxMoveActiveCallback -> IO (FunPtr C_ComboBoxMoveActiveCallback)
genClosure_ComboBoxMoveActive :: MonadIO m => ComboBoxMoveActiveCallback -> m (GClosure C_ComboBoxMoveActiveCallback)
genClosure_ComboBoxMoveActive :: ComboBoxMoveActiveCallback
-> m (GClosure C_ComboBoxMoveActiveCallback)
genClosure_ComboBoxMoveActive cb :: ComboBoxMoveActiveCallback
cb = IO (GClosure C_ComboBoxMoveActiveCallback)
-> m (GClosure C_ComboBoxMoveActiveCallback)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (GClosure C_ComboBoxMoveActiveCallback)
-> m (GClosure C_ComboBoxMoveActiveCallback))
-> IO (GClosure C_ComboBoxMoveActiveCallback)
-> m (GClosure C_ComboBoxMoveActiveCallback)
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxMoveActiveCallback
cb' = ComboBoxMoveActiveCallback -> C_ComboBoxMoveActiveCallback
wrap_ComboBoxMoveActiveCallback ComboBoxMoveActiveCallback
cb
C_ComboBoxMoveActiveCallback
-> IO (FunPtr C_ComboBoxMoveActiveCallback)
mk_ComboBoxMoveActiveCallback C_ComboBoxMoveActiveCallback
cb' IO (FunPtr C_ComboBoxMoveActiveCallback)
-> (FunPtr C_ComboBoxMoveActiveCallback
-> IO (GClosure C_ComboBoxMoveActiveCallback))
-> IO (GClosure C_ComboBoxMoveActiveCallback)
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
>>= FunPtr C_ComboBoxMoveActiveCallback
-> IO (GClosure C_ComboBoxMoveActiveCallback)
forall (m :: * -> *) a. MonadIO m => FunPtr a -> m (GClosure a)
B.GClosure.newGClosure
wrap_ComboBoxMoveActiveCallback ::
ComboBoxMoveActiveCallback ->
C_ComboBoxMoveActiveCallback
wrap_ComboBoxMoveActiveCallback :: ComboBoxMoveActiveCallback -> C_ComboBoxMoveActiveCallback
wrap_ComboBoxMoveActiveCallback _cb :: ComboBoxMoveActiveCallback
_cb _ scrollType :: CUInt
scrollType _ = do
let scrollType' :: ScrollType
scrollType' = (Int -> ScrollType
forall a. Enum a => Int -> a
toEnum (Int -> ScrollType) -> (CUInt -> Int) -> CUInt -> ScrollType
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
scrollType
ComboBoxMoveActiveCallback
_cb ScrollType
scrollType'
onComboBoxMoveActive :: (IsComboBox a, MonadIO m) => a -> ComboBoxMoveActiveCallback -> m SignalHandlerId
onComboBoxMoveActive :: a -> ComboBoxMoveActiveCallback -> m SignalHandlerId
onComboBoxMoveActive obj :: a
obj cb :: ComboBoxMoveActiveCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxMoveActiveCallback
cb' = ComboBoxMoveActiveCallback -> C_ComboBoxMoveActiveCallback
wrap_ComboBoxMoveActiveCallback ComboBoxMoveActiveCallback
cb
FunPtr C_ComboBoxMoveActiveCallback
cb'' <- C_ComboBoxMoveActiveCallback
-> IO (FunPtr C_ComboBoxMoveActiveCallback)
mk_ComboBoxMoveActiveCallback C_ComboBoxMoveActiveCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxMoveActiveCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "move-active" FunPtr C_ComboBoxMoveActiveCallback
cb'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterComboBoxMoveActive :: (IsComboBox a, MonadIO m) => a -> ComboBoxMoveActiveCallback -> m SignalHandlerId
afterComboBoxMoveActive :: a -> ComboBoxMoveActiveCallback -> m SignalHandlerId
afterComboBoxMoveActive obj :: a
obj cb :: ComboBoxMoveActiveCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxMoveActiveCallback
cb' = ComboBoxMoveActiveCallback -> C_ComboBoxMoveActiveCallback
wrap_ComboBoxMoveActiveCallback ComboBoxMoveActiveCallback
cb
FunPtr C_ComboBoxMoveActiveCallback
cb'' <- C_ComboBoxMoveActiveCallback
-> IO (FunPtr C_ComboBoxMoveActiveCallback)
mk_ComboBoxMoveActiveCallback C_ComboBoxMoveActiveCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxMoveActiveCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "move-active" FunPtr C_ComboBoxMoveActiveCallback
cb'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ComboBoxMoveActiveSignalInfo
instance SignalInfo ComboBoxMoveActiveSignalInfo where
type HaskellCallbackType ComboBoxMoveActiveSignalInfo = ComboBoxMoveActiveCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ComboBoxMoveActiveCallback cb
cb'' <- mk_ComboBoxMoveActiveCallback cb'
connectSignalFunPtr obj "move-active" cb'' connectMode detail
#endif
type ComboBoxPopdownCallback =
IO Bool
noComboBoxPopdownCallback :: Maybe ComboBoxPopdownCallback
noComboBoxPopdownCallback :: Maybe ComboBoxPopdownCallback
noComboBoxPopdownCallback = Maybe ComboBoxPopdownCallback
forall a. Maybe a
Nothing
type C_ComboBoxPopdownCallback =
Ptr () ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_ComboBoxPopdownCallback :: C_ComboBoxPopdownCallback -> IO (FunPtr C_ComboBoxPopdownCallback)
genClosure_ComboBoxPopdown :: MonadIO m => ComboBoxPopdownCallback -> m (GClosure C_ComboBoxPopdownCallback)
genClosure_ComboBoxPopdown :: ComboBoxPopdownCallback -> m (GClosure C_ComboBoxPopdownCallback)
genClosure_ComboBoxPopdown cb :: ComboBoxPopdownCallback
cb = IO (GClosure C_ComboBoxPopdownCallback)
-> m (GClosure C_ComboBoxPopdownCallback)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (GClosure C_ComboBoxPopdownCallback)
-> m (GClosure C_ComboBoxPopdownCallback))
-> IO (GClosure C_ComboBoxPopdownCallback)
-> m (GClosure C_ComboBoxPopdownCallback)
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxPopdownCallback
cb' = ComboBoxPopdownCallback -> C_ComboBoxPopdownCallback
wrap_ComboBoxPopdownCallback ComboBoxPopdownCallback
cb
C_ComboBoxPopdownCallback -> IO (FunPtr C_ComboBoxPopdownCallback)
mk_ComboBoxPopdownCallback C_ComboBoxPopdownCallback
cb' IO (FunPtr C_ComboBoxPopdownCallback)
-> (FunPtr C_ComboBoxPopdownCallback
-> IO (GClosure C_ComboBoxPopdownCallback))
-> IO (GClosure C_ComboBoxPopdownCallback)
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
>>= FunPtr C_ComboBoxPopdownCallback
-> IO (GClosure C_ComboBoxPopdownCallback)
forall (m :: * -> *) a. MonadIO m => FunPtr a -> m (GClosure a)
B.GClosure.newGClosure
wrap_ComboBoxPopdownCallback ::
ComboBoxPopdownCallback ->
C_ComboBoxPopdownCallback
wrap_ComboBoxPopdownCallback :: ComboBoxPopdownCallback -> C_ComboBoxPopdownCallback
wrap_ComboBoxPopdownCallback _cb :: ComboBoxPopdownCallback
_cb _ _ = do
Bool
result <- ComboBoxPopdownCallback
_cb
let result' :: CInt
result' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
result
CInt -> IO CInt
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'
onComboBoxPopdown :: (IsComboBox a, MonadIO m) => a -> ComboBoxPopdownCallback -> m SignalHandlerId
onComboBoxPopdown :: a -> ComboBoxPopdownCallback -> m SignalHandlerId
onComboBoxPopdown obj :: a
obj cb :: ComboBoxPopdownCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxPopdownCallback
cb' = ComboBoxPopdownCallback -> C_ComboBoxPopdownCallback
wrap_ComboBoxPopdownCallback ComboBoxPopdownCallback
cb
FunPtr C_ComboBoxPopdownCallback
cb'' <- C_ComboBoxPopdownCallback -> IO (FunPtr C_ComboBoxPopdownCallback)
mk_ComboBoxPopdownCallback C_ComboBoxPopdownCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxPopdownCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "popdown" FunPtr C_ComboBoxPopdownCallback
cb'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterComboBoxPopdown :: (IsComboBox a, MonadIO m) => a -> ComboBoxPopdownCallback -> m SignalHandlerId
afterComboBoxPopdown :: a -> ComboBoxPopdownCallback -> m SignalHandlerId
afterComboBoxPopdown obj :: a
obj cb :: ComboBoxPopdownCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxPopdownCallback
cb' = ComboBoxPopdownCallback -> C_ComboBoxPopdownCallback
wrap_ComboBoxPopdownCallback ComboBoxPopdownCallback
cb
FunPtr C_ComboBoxPopdownCallback
cb'' <- C_ComboBoxPopdownCallback -> IO (FunPtr C_ComboBoxPopdownCallback)
mk_ComboBoxPopdownCallback C_ComboBoxPopdownCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxPopdownCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "popdown" FunPtr C_ComboBoxPopdownCallback
cb'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ComboBoxPopdownSignalInfo
instance SignalInfo ComboBoxPopdownSignalInfo where
type HaskellCallbackType ComboBoxPopdownSignalInfo = ComboBoxPopdownCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ComboBoxPopdownCallback cb
cb'' <- mk_ComboBoxPopdownCallback cb'
connectSignalFunPtr obj "popdown" cb'' connectMode detail
#endif
type =
IO ()
noComboBoxPopupCallback :: Maybe ComboBoxPopupCallback
= Maybe (IO ())
forall a. Maybe a
Nothing
type =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
:: C_ComboBoxPopupCallback -> IO (FunPtr C_ComboBoxPopupCallback)
genClosure_ComboBoxPopup :: MonadIO m => ComboBoxPopupCallback -> m (GClosure C_ComboBoxPopupCallback)
cb :: IO ()
cb = IO (GClosure C_ComboBoxChangedCallback)
-> m (GClosure C_ComboBoxChangedCallback)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (GClosure C_ComboBoxChangedCallback)
-> m (GClosure C_ComboBoxChangedCallback))
-> IO (GClosure C_ComboBoxChangedCallback)
-> m (GClosure C_ComboBoxChangedCallback)
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxChangedCallback
cb' = IO () -> C_ComboBoxChangedCallback
wrap_ComboBoxPopupCallback IO ()
cb
C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
mk_ComboBoxPopupCallback C_ComboBoxChangedCallback
cb' IO (FunPtr C_ComboBoxChangedCallback)
-> (FunPtr C_ComboBoxChangedCallback
-> IO (GClosure C_ComboBoxChangedCallback))
-> IO (GClosure C_ComboBoxChangedCallback)
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
>>= FunPtr C_ComboBoxChangedCallback
-> IO (GClosure C_ComboBoxChangedCallback)
forall (m :: * -> *) a. MonadIO m => FunPtr a -> m (GClosure a)
B.GClosure.newGClosure
wrap_ComboBoxPopupCallback ::
ComboBoxPopupCallback ->
C_ComboBoxPopupCallback
_cb :: IO ()
_cb _ _ = do
IO ()
_cb
onComboBoxPopup :: (IsComboBox a, MonadIO m) => a -> ComboBoxPopupCallback -> m SignalHandlerId
obj :: a
obj cb :: IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxChangedCallback
cb' = IO () -> C_ComboBoxChangedCallback
wrap_ComboBoxPopupCallback IO ()
cb
FunPtr C_ComboBoxChangedCallback
cb'' <- C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
mk_ComboBoxPopupCallback C_ComboBoxChangedCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxChangedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "popup" FunPtr C_ComboBoxChangedCallback
cb'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing
afterComboBoxPopup :: (IsComboBox a, MonadIO m) => a -> ComboBoxPopupCallback -> m SignalHandlerId
obj :: a
obj cb :: IO ()
cb = IO SignalHandlerId -> m SignalHandlerId
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
let cb' :: C_ComboBoxChangedCallback
cb' = IO () -> C_ComboBoxChangedCallback
wrap_ComboBoxPopupCallback IO ()
cb
FunPtr C_ComboBoxChangedCallback
cb'' <- C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
mk_ComboBoxPopupCallback C_ComboBoxChangedCallback
cb'
a
-> Text
-> FunPtr C_ComboBoxChangedCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj "popup" FunPtr C_ComboBoxChangedCallback
cb'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing
#if defined(ENABLE_OVERLOADING)
data ComboBoxPopupSignalInfo
instance SignalInfo ComboBoxPopupSignalInfo where
type HaskellCallbackType ComboBoxPopupSignalInfo = ComboBoxPopupCallback
connectSignal obj cb connectMode detail = do
let cb' = wrap_ComboBoxPopupCallback cb
cb'' <- mk_ComboBoxPopupCallback cb'
connectSignalFunPtr obj "popup" cb'' connectMode detail
#endif
getComboBoxActive :: (MonadIO m, IsComboBox o) => o -> m Int32
getComboBoxActive :: o -> m Int32
getComboBoxActive obj :: o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj "active"
setComboBoxActive :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
setComboBoxActive :: o -> Int32 -> m ()
setComboBoxActive obj :: o
obj val :: Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj "active" Int32
val
constructComboBoxActive :: (IsComboBox o) => Int32 -> IO (GValueConstruct o)
constructComboBoxActive :: Int32 -> IO (GValueConstruct o)
constructComboBoxActive val :: Int32
val = String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 "active" Int32
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxActivePropertyInfo
instance AttrInfo ComboBoxActivePropertyInfo where
type AttrAllowedOps ComboBoxActivePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxActivePropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxActivePropertyInfo = (~) Int32
type AttrTransferTypeConstraint ComboBoxActivePropertyInfo = (~) Int32
type AttrTransferType ComboBoxActivePropertyInfo = Int32
type AttrGetType ComboBoxActivePropertyInfo = Int32
type AttrLabel ComboBoxActivePropertyInfo = "active"
type AttrOrigin ComboBoxActivePropertyInfo = ComboBox
attrGet = getComboBoxActive
attrSet = setComboBoxActive
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxActive
attrClear = undefined
#endif
getComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> m (Maybe T.Text)
getComboBoxActiveId :: o -> m (Maybe Text)
getComboBoxActiveId obj :: o
obj = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj "active-id"
setComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> T.Text -> m ()
setComboBoxActiveId :: o -> Text -> m ()
setComboBoxActiveId obj :: o
obj val :: Text
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj "active-id" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructComboBoxActiveId :: (IsComboBox o) => T.Text -> IO (GValueConstruct o)
constructComboBoxActiveId :: Text -> IO (GValueConstruct o)
constructComboBoxActiveId val :: Text
val = String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString "active-id" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
clearComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> m ()
clearComboBoxActiveId :: o -> m ()
clearComboBoxActiveId obj :: o
obj = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj "active-id" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data ComboBoxActiveIdPropertyInfo
instance AttrInfo ComboBoxActiveIdPropertyInfo where
type AttrAllowedOps ComboBoxActiveIdPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ComboBoxActiveIdPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxActiveIdPropertyInfo = (~) T.Text
type AttrTransferTypeConstraint ComboBoxActiveIdPropertyInfo = (~) T.Text
type AttrTransferType ComboBoxActiveIdPropertyInfo = T.Text
type AttrGetType ComboBoxActiveIdPropertyInfo = (Maybe T.Text)
type AttrLabel ComboBoxActiveIdPropertyInfo = "active-id"
type AttrOrigin ComboBoxActiveIdPropertyInfo = ComboBox
attrGet = getComboBoxActiveId
attrSet = setComboBoxActiveId
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxActiveId
attrClear = clearComboBoxActiveId
#endif
getComboBoxAddTearoffs :: (MonadIO m, IsComboBox o) => o -> m Bool
getComboBoxAddTearoffs :: o -> m Bool
getComboBoxAddTearoffs obj :: o
obj = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> ComboBoxPopdownCallback
forall a. GObject a => a -> String -> ComboBoxPopdownCallback
B.Properties.getObjectPropertyBool o
obj "add-tearoffs"
setComboBoxAddTearoffs :: (MonadIO m, IsComboBox o) => o -> Bool -> m ()
setComboBoxAddTearoffs :: o -> Bool -> m ()
setComboBoxAddTearoffs obj :: o
obj val :: Bool
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj "add-tearoffs" Bool
val
constructComboBoxAddTearoffs :: (IsComboBox o) => Bool -> IO (GValueConstruct o)
constructComboBoxAddTearoffs :: Bool -> IO (GValueConstruct o)
constructComboBoxAddTearoffs val :: Bool
val = String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool "add-tearoffs" Bool
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxAddTearoffsPropertyInfo
instance AttrInfo ComboBoxAddTearoffsPropertyInfo where
type AttrAllowedOps ComboBoxAddTearoffsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxAddTearoffsPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxAddTearoffsPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ComboBoxAddTearoffsPropertyInfo = (~) Bool
type AttrTransferType ComboBoxAddTearoffsPropertyInfo = Bool
type AttrGetType ComboBoxAddTearoffsPropertyInfo = Bool
type AttrLabel ComboBoxAddTearoffsPropertyInfo = "add-tearoffs"
type AttrOrigin ComboBoxAddTearoffsPropertyInfo = ComboBox
attrGet = getComboBoxAddTearoffs
attrSet = setComboBoxAddTearoffs
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxAddTearoffs
attrClear = undefined
#endif
getComboBoxButtonSensitivity :: (MonadIO m, IsComboBox o) => o -> m Gtk.Enums.SensitivityType
getComboBoxButtonSensitivity :: o -> m SensitivityType
getComboBoxButtonSensitivity obj :: o
obj = IO SensitivityType -> m SensitivityType
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SensitivityType -> m SensitivityType)
-> IO SensitivityType -> m SensitivityType
forall a b. (a -> b) -> a -> b
$ o -> String -> IO SensitivityType
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj "button-sensitivity"
setComboBoxButtonSensitivity :: (MonadIO m, IsComboBox o) => o -> Gtk.Enums.SensitivityType -> m ()
setComboBoxButtonSensitivity :: o -> SensitivityType -> m ()
setComboBoxButtonSensitivity obj :: o
obj val :: SensitivityType
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> SensitivityType -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj "button-sensitivity" SensitivityType
val
constructComboBoxButtonSensitivity :: (IsComboBox o) => Gtk.Enums.SensitivityType -> IO (GValueConstruct o)
constructComboBoxButtonSensitivity :: SensitivityType -> IO (GValueConstruct o)
constructComboBoxButtonSensitivity val :: SensitivityType
val = String -> SensitivityType -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum "button-sensitivity" SensitivityType
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxButtonSensitivityPropertyInfo
instance AttrInfo ComboBoxButtonSensitivityPropertyInfo where
type AttrAllowedOps ComboBoxButtonSensitivityPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxButtonSensitivityPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxButtonSensitivityPropertyInfo = (~) Gtk.Enums.SensitivityType
type AttrTransferTypeConstraint ComboBoxButtonSensitivityPropertyInfo = (~) Gtk.Enums.SensitivityType
type AttrTransferType ComboBoxButtonSensitivityPropertyInfo = Gtk.Enums.SensitivityType
type AttrGetType ComboBoxButtonSensitivityPropertyInfo = Gtk.Enums.SensitivityType
type AttrLabel ComboBoxButtonSensitivityPropertyInfo = "button-sensitivity"
type AttrOrigin ComboBoxButtonSensitivityPropertyInfo = ComboBox
attrGet = getComboBoxButtonSensitivity
attrSet = setComboBoxButtonSensitivity
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxButtonSensitivity
attrClear = undefined
#endif
getComboBoxCellArea :: (MonadIO m, IsComboBox o) => o -> m (Maybe Gtk.CellArea.CellArea)
getComboBoxCellArea :: o -> m (Maybe CellArea)
getComboBoxCellArea obj :: o
obj = IO (Maybe CellArea) -> m (Maybe CellArea)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe CellArea) -> m (Maybe CellArea))
-> IO (Maybe CellArea) -> m (Maybe CellArea)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr CellArea -> CellArea)
-> IO (Maybe CellArea)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj "cell-area" ManagedPtr CellArea -> CellArea
Gtk.CellArea.CellArea
constructComboBoxCellArea :: (IsComboBox o, Gtk.CellArea.IsCellArea a) => a -> IO (GValueConstruct o)
constructComboBoxCellArea :: a -> IO (GValueConstruct o)
constructComboBoxCellArea val :: a
val = String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject "cell-area" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
#if defined(ENABLE_OVERLOADING)
data ComboBoxCellAreaPropertyInfo
instance AttrInfo ComboBoxCellAreaPropertyInfo where
type AttrAllowedOps ComboBoxCellAreaPropertyInfo = '[ 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ComboBoxCellAreaPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxCellAreaPropertyInfo = Gtk.CellArea.IsCellArea
type AttrTransferTypeConstraint ComboBoxCellAreaPropertyInfo = Gtk.CellArea.IsCellArea
type AttrTransferType ComboBoxCellAreaPropertyInfo = Gtk.CellArea.CellArea
type AttrGetType ComboBoxCellAreaPropertyInfo = (Maybe Gtk.CellArea.CellArea)
type AttrLabel ComboBoxCellAreaPropertyInfo = "cell-area"
type AttrOrigin ComboBoxCellAreaPropertyInfo = ComboBox
attrGet = getComboBoxCellArea
attrSet = undefined
attrTransfer _ v = do
unsafeCastTo Gtk.CellArea.CellArea v
attrConstruct = constructComboBoxCellArea
attrClear = undefined
#endif
getComboBoxColumnSpanColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
getComboBoxColumnSpanColumn :: o -> m Int32
getComboBoxColumnSpanColumn obj :: o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj "column-span-column"
setComboBoxColumnSpanColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
setComboBoxColumnSpanColumn :: o -> Int32 -> m ()
setComboBoxColumnSpanColumn obj :: o
obj val :: Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj "column-span-column" Int32
val
constructComboBoxColumnSpanColumn :: (IsComboBox o) => Int32 -> IO (GValueConstruct o)
constructComboBoxColumnSpanColumn :: Int32 -> IO (GValueConstruct o)
constructComboBoxColumnSpanColumn val :: Int32
val = String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 "column-span-column" Int32
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxColumnSpanColumnPropertyInfo
instance AttrInfo ComboBoxColumnSpanColumnPropertyInfo where
type AttrAllowedOps ComboBoxColumnSpanColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxColumnSpanColumnPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxColumnSpanColumnPropertyInfo = (~) Int32
type AttrTransferTypeConstraint ComboBoxColumnSpanColumnPropertyInfo = (~) Int32
type AttrTransferType ComboBoxColumnSpanColumnPropertyInfo = Int32
type AttrGetType ComboBoxColumnSpanColumnPropertyInfo = Int32
type AttrLabel ComboBoxColumnSpanColumnPropertyInfo = "column-span-column"
type AttrOrigin ComboBoxColumnSpanColumnPropertyInfo = ComboBox
attrGet = getComboBoxColumnSpanColumn
attrSet = setComboBoxColumnSpanColumn
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxColumnSpanColumn
attrClear = undefined
#endif
getComboBoxEntryTextColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
getComboBoxEntryTextColumn :: o -> m Int32
getComboBoxEntryTextColumn obj :: o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj "entry-text-column"
setComboBoxEntryTextColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
setComboBoxEntryTextColumn :: o -> Int32 -> m ()
setComboBoxEntryTextColumn obj :: o
obj val :: Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj "entry-text-column" Int32
val
constructComboBoxEntryTextColumn :: (IsComboBox o) => Int32 -> IO (GValueConstruct o)
constructComboBoxEntryTextColumn :: Int32 -> IO (GValueConstruct o)
constructComboBoxEntryTextColumn val :: Int32
val = String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 "entry-text-column" Int32
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxEntryTextColumnPropertyInfo
instance AttrInfo ComboBoxEntryTextColumnPropertyInfo where
type AttrAllowedOps ComboBoxEntryTextColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxEntryTextColumnPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxEntryTextColumnPropertyInfo = (~) Int32
type AttrTransferTypeConstraint ComboBoxEntryTextColumnPropertyInfo = (~) Int32
type AttrTransferType ComboBoxEntryTextColumnPropertyInfo = Int32
type AttrGetType ComboBoxEntryTextColumnPropertyInfo = Int32
type AttrLabel ComboBoxEntryTextColumnPropertyInfo = "entry-text-column"
type AttrOrigin ComboBoxEntryTextColumnPropertyInfo = ComboBox
attrGet = getComboBoxEntryTextColumn
attrSet = setComboBoxEntryTextColumn
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxEntryTextColumn
attrClear = undefined
#endif
getComboBoxHasEntry :: (MonadIO m, IsComboBox o) => o -> m Bool
getComboBoxHasEntry :: o -> m Bool
getComboBoxHasEntry obj :: o
obj = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> ComboBoxPopdownCallback
forall a. GObject a => a -> String -> ComboBoxPopdownCallback
B.Properties.getObjectPropertyBool o
obj "has-entry"
constructComboBoxHasEntry :: (IsComboBox o) => Bool -> IO (GValueConstruct o)
constructComboBoxHasEntry :: Bool -> IO (GValueConstruct o)
constructComboBoxHasEntry val :: Bool
val = String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool "has-entry" Bool
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxHasEntryPropertyInfo
instance AttrInfo ComboBoxHasEntryPropertyInfo where
type AttrAllowedOps ComboBoxHasEntryPropertyInfo = '[ 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxHasEntryPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxHasEntryPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ComboBoxHasEntryPropertyInfo = (~) Bool
type AttrTransferType ComboBoxHasEntryPropertyInfo = Bool
type AttrGetType ComboBoxHasEntryPropertyInfo = Bool
type AttrLabel ComboBoxHasEntryPropertyInfo = "has-entry"
type AttrOrigin ComboBoxHasEntryPropertyInfo = ComboBox
attrGet = getComboBoxHasEntry
attrSet = undefined
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxHasEntry
attrClear = undefined
#endif
getComboBoxHasFrame :: (MonadIO m, IsComboBox o) => o -> m Bool
getComboBoxHasFrame :: o -> m Bool
getComboBoxHasFrame obj :: o
obj = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> ComboBoxPopdownCallback
forall a. GObject a => a -> String -> ComboBoxPopdownCallback
B.Properties.getObjectPropertyBool o
obj "has-frame"
setComboBoxHasFrame :: (MonadIO m, IsComboBox o) => o -> Bool -> m ()
setComboBoxHasFrame :: o -> Bool -> m ()
setComboBoxHasFrame obj :: o
obj val :: Bool
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj "has-frame" Bool
val
constructComboBoxHasFrame :: (IsComboBox o) => Bool -> IO (GValueConstruct o)
constructComboBoxHasFrame :: Bool -> IO (GValueConstruct o)
constructComboBoxHasFrame val :: Bool
val = String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool "has-frame" Bool
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxHasFramePropertyInfo
instance AttrInfo ComboBoxHasFramePropertyInfo where
type AttrAllowedOps ComboBoxHasFramePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxHasFramePropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxHasFramePropertyInfo = (~) Bool
type AttrTransferTypeConstraint ComboBoxHasFramePropertyInfo = (~) Bool
type AttrTransferType ComboBoxHasFramePropertyInfo = Bool
type AttrGetType ComboBoxHasFramePropertyInfo = Bool
type AttrLabel ComboBoxHasFramePropertyInfo = "has-frame"
type AttrOrigin ComboBoxHasFramePropertyInfo = ComboBox
attrGet = getComboBoxHasFrame
attrSet = setComboBoxHasFrame
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxHasFrame
attrClear = undefined
#endif
getComboBoxIdColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
getComboBoxIdColumn :: o -> m Int32
getComboBoxIdColumn obj :: o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj "id-column"
setComboBoxIdColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
setComboBoxIdColumn :: o -> Int32 -> m ()
setComboBoxIdColumn obj :: o
obj val :: Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj "id-column" Int32
val
constructComboBoxIdColumn :: (IsComboBox o) => Int32 -> IO (GValueConstruct o)
constructComboBoxIdColumn :: Int32 -> IO (GValueConstruct o)
constructComboBoxIdColumn val :: Int32
val = String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 "id-column" Int32
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxIdColumnPropertyInfo
instance AttrInfo ComboBoxIdColumnPropertyInfo where
type AttrAllowedOps ComboBoxIdColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxIdColumnPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxIdColumnPropertyInfo = (~) Int32
type AttrTransferTypeConstraint ComboBoxIdColumnPropertyInfo = (~) Int32
type AttrTransferType ComboBoxIdColumnPropertyInfo = Int32
type AttrGetType ComboBoxIdColumnPropertyInfo = Int32
type AttrLabel ComboBoxIdColumnPropertyInfo = "id-column"
type AttrOrigin ComboBoxIdColumnPropertyInfo = ComboBox
attrGet = getComboBoxIdColumn
attrSet = setComboBoxIdColumn
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxIdColumn
attrClear = undefined
#endif
getComboBoxModel :: (MonadIO m, IsComboBox o) => o -> m Gtk.TreeModel.TreeModel
getComboBoxModel :: o -> m TreeModel
getComboBoxModel obj :: o
obj = IO TreeModel -> m TreeModel
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TreeModel -> m TreeModel) -> IO TreeModel -> m TreeModel
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe TreeModel) -> IO TreeModel
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing "getComboBoxModel" (IO (Maybe TreeModel) -> IO TreeModel)
-> IO (Maybe TreeModel) -> IO TreeModel
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr TreeModel -> TreeModel)
-> IO (Maybe TreeModel)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj "model" ManagedPtr TreeModel -> TreeModel
Gtk.TreeModel.TreeModel
setComboBoxModel :: (MonadIO m, IsComboBox o, Gtk.TreeModel.IsTreeModel a) => o -> a -> m ()
setComboBoxModel :: o -> a -> m ()
setComboBoxModel obj :: o
obj val :: a
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj "model" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
constructComboBoxModel :: (IsComboBox o, Gtk.TreeModel.IsTreeModel a) => a -> IO (GValueConstruct o)
constructComboBoxModel :: a -> IO (GValueConstruct o)
constructComboBoxModel val :: a
val = String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject "model" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)
clearComboBoxModel :: (MonadIO m, IsComboBox o) => o -> m ()
clearComboBoxModel :: o -> m ()
clearComboBoxModel obj :: o
obj = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe TreeModel -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj "model" (Maybe TreeModel
forall a. Maybe a
Nothing :: Maybe Gtk.TreeModel.TreeModel)
#if defined(ENABLE_OVERLOADING)
data ComboBoxModelPropertyInfo
instance AttrInfo ComboBoxModelPropertyInfo where
type AttrAllowedOps ComboBoxModelPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ComboBoxModelPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxModelPropertyInfo = Gtk.TreeModel.IsTreeModel
type AttrTransferTypeConstraint ComboBoxModelPropertyInfo = Gtk.TreeModel.IsTreeModel
type AttrTransferType ComboBoxModelPropertyInfo = Gtk.TreeModel.TreeModel
type AttrGetType ComboBoxModelPropertyInfo = Gtk.TreeModel.TreeModel
type AttrLabel ComboBoxModelPropertyInfo = "model"
type AttrOrigin ComboBoxModelPropertyInfo = ComboBox
attrGet = getComboBoxModel
attrSet = setComboBoxModel
attrTransfer _ v = do
unsafeCastTo Gtk.TreeModel.TreeModel v
attrConstruct = constructComboBoxModel
attrClear = clearComboBoxModel
#endif
getComboBoxPopupFixedWidth :: (MonadIO m, IsComboBox o) => o -> m Bool
obj :: o
obj = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> ComboBoxPopdownCallback
forall a. GObject a => a -> String -> ComboBoxPopdownCallback
B.Properties.getObjectPropertyBool o
obj "popup-fixed-width"
setComboBoxPopupFixedWidth :: (MonadIO m, IsComboBox o) => o -> Bool -> m ()
obj :: o
obj val :: Bool
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj "popup-fixed-width" Bool
val
constructComboBoxPopupFixedWidth :: (IsComboBox o) => Bool -> IO (GValueConstruct o)
val :: Bool
val = String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool "popup-fixed-width" Bool
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxPopupFixedWidthPropertyInfo
instance AttrInfo ComboBoxPopupFixedWidthPropertyInfo where
type AttrAllowedOps ComboBoxPopupFixedWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxPopupFixedWidthPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxPopupFixedWidthPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ComboBoxPopupFixedWidthPropertyInfo = (~) Bool
type AttrTransferType ComboBoxPopupFixedWidthPropertyInfo = Bool
type AttrGetType ComboBoxPopupFixedWidthPropertyInfo = Bool
type AttrLabel ComboBoxPopupFixedWidthPropertyInfo = "popup-fixed-width"
type AttrOrigin ComboBoxPopupFixedWidthPropertyInfo = ComboBox
attrGet = getComboBoxPopupFixedWidth
attrSet = setComboBoxPopupFixedWidth
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxPopupFixedWidth
attrClear = undefined
#endif
getComboBoxPopupShown :: (MonadIO m, IsComboBox o) => o -> m Bool
obj :: o
obj = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> ComboBoxPopdownCallback
forall a. GObject a => a -> String -> ComboBoxPopdownCallback
B.Properties.getObjectPropertyBool o
obj "popup-shown"
#if defined(ENABLE_OVERLOADING)
data ComboBoxPopupShownPropertyInfo
instance AttrInfo ComboBoxPopupShownPropertyInfo where
type AttrAllowedOps ComboBoxPopupShownPropertyInfo = '[ 'AttrGet]
type AttrBaseTypeConstraint ComboBoxPopupShownPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxPopupShownPropertyInfo = (~) ()
type AttrTransferTypeConstraint ComboBoxPopupShownPropertyInfo = (~) ()
type AttrTransferType ComboBoxPopupShownPropertyInfo = ()
type AttrGetType ComboBoxPopupShownPropertyInfo = Bool
type AttrLabel ComboBoxPopupShownPropertyInfo = "popup-shown"
type AttrOrigin ComboBoxPopupShownPropertyInfo = ComboBox
attrGet = getComboBoxPopupShown
attrSet = undefined
attrTransfer _ = undefined
attrConstruct = undefined
attrClear = undefined
#endif
getComboBoxRowSpanColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
getComboBoxRowSpanColumn :: o -> m Int32
getComboBoxRowSpanColumn obj :: o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj "row-span-column"
setComboBoxRowSpanColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
setComboBoxRowSpanColumn :: o -> Int32 -> m ()
setComboBoxRowSpanColumn obj :: o
obj val :: Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj "row-span-column" Int32
val
constructComboBoxRowSpanColumn :: (IsComboBox o) => Int32 -> IO (GValueConstruct o)
constructComboBoxRowSpanColumn :: Int32 -> IO (GValueConstruct o)
constructComboBoxRowSpanColumn val :: Int32
val = String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 "row-span-column" Int32
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxRowSpanColumnPropertyInfo
instance AttrInfo ComboBoxRowSpanColumnPropertyInfo where
type AttrAllowedOps ComboBoxRowSpanColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxRowSpanColumnPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxRowSpanColumnPropertyInfo = (~) Int32
type AttrTransferTypeConstraint ComboBoxRowSpanColumnPropertyInfo = (~) Int32
type AttrTransferType ComboBoxRowSpanColumnPropertyInfo = Int32
type AttrGetType ComboBoxRowSpanColumnPropertyInfo = Int32
type AttrLabel ComboBoxRowSpanColumnPropertyInfo = "row-span-column"
type AttrOrigin ComboBoxRowSpanColumnPropertyInfo = ComboBox
attrGet = getComboBoxRowSpanColumn
attrSet = setComboBoxRowSpanColumn
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxRowSpanColumn
attrClear = undefined
#endif
getComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> m (Maybe T.Text)
getComboBoxTearoffTitle :: o -> m (Maybe Text)
getComboBoxTearoffTitle obj :: o
obj = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj "tearoff-title"
setComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> T.Text -> m ()
setComboBoxTearoffTitle :: o -> Text -> m ()
setComboBoxTearoffTitle obj :: o
obj val :: Text
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj "tearoff-title" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructComboBoxTearoffTitle :: (IsComboBox o) => T.Text -> IO (GValueConstruct o)
constructComboBoxTearoffTitle :: Text -> IO (GValueConstruct o)
constructComboBoxTearoffTitle val :: Text
val = String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString "tearoff-title" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
clearComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> m ()
clearComboBoxTearoffTitle :: o -> m ()
clearComboBoxTearoffTitle obj :: o
obj = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj "tearoff-title" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data ComboBoxTearoffTitlePropertyInfo
instance AttrInfo ComboBoxTearoffTitlePropertyInfo where
type AttrAllowedOps ComboBoxTearoffTitlePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint ComboBoxTearoffTitlePropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxTearoffTitlePropertyInfo = (~) T.Text
type AttrTransferTypeConstraint ComboBoxTearoffTitlePropertyInfo = (~) T.Text
type AttrTransferType ComboBoxTearoffTitlePropertyInfo = T.Text
type AttrGetType ComboBoxTearoffTitlePropertyInfo = (Maybe T.Text)
type AttrLabel ComboBoxTearoffTitlePropertyInfo = "tearoff-title"
type AttrOrigin ComboBoxTearoffTitlePropertyInfo = ComboBox
attrGet = getComboBoxTearoffTitle
attrSet = setComboBoxTearoffTitle
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxTearoffTitle
attrClear = clearComboBoxTearoffTitle
#endif
getComboBoxWrapWidth :: (MonadIO m, IsComboBox o) => o -> m Int32
getComboBoxWrapWidth :: o -> m Int32
getComboBoxWrapWidth obj :: o
obj = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Int32
forall a. GObject a => a -> String -> IO Int32
B.Properties.getObjectPropertyInt32 o
obj "wrap-width"
setComboBoxWrapWidth :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
setComboBoxWrapWidth :: o -> Int32 -> m ()
setComboBoxWrapWidth obj :: o
obj val :: Int32
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Int32 -> IO ()
forall a. GObject a => a -> String -> Int32 -> IO ()
B.Properties.setObjectPropertyInt32 o
obj "wrap-width" Int32
val
constructComboBoxWrapWidth :: (IsComboBox o) => Int32 -> IO (GValueConstruct o)
constructComboBoxWrapWidth :: Int32 -> IO (GValueConstruct o)
constructComboBoxWrapWidth val :: Int32
val = String -> Int32 -> IO (GValueConstruct o)
forall o. String -> Int32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyInt32 "wrap-width" Int32
val
#if defined(ENABLE_OVERLOADING)
data ComboBoxWrapWidthPropertyInfo
instance AttrInfo ComboBoxWrapWidthPropertyInfo where
type AttrAllowedOps ComboBoxWrapWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ComboBoxWrapWidthPropertyInfo = IsComboBox
type AttrSetTypeConstraint ComboBoxWrapWidthPropertyInfo = (~) Int32
type AttrTransferTypeConstraint ComboBoxWrapWidthPropertyInfo = (~) Int32
type AttrTransferType ComboBoxWrapWidthPropertyInfo = Int32
type AttrGetType ComboBoxWrapWidthPropertyInfo = Int32
type AttrLabel ComboBoxWrapWidthPropertyInfo = "wrap-width"
type AttrOrigin ComboBoxWrapWidthPropertyInfo = ComboBox
attrGet = getComboBoxWrapWidth
attrSet = setComboBoxWrapWidth
attrTransfer _ v = do
return v
attrConstruct = constructComboBoxWrapWidth
attrClear = undefined
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList ComboBox
type instance O.AttributeList ComboBox = ComboBoxAttributeList
type ComboBoxAttributeList = ('[ '("active", ComboBoxActivePropertyInfo), '("activeId", ComboBoxActiveIdPropertyInfo), '("addTearoffs", ComboBoxAddTearoffsPropertyInfo), '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("buttonSensitivity", ComboBoxButtonSensitivityPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("cellArea", ComboBoxCellAreaPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("columnSpanColumn", ComboBoxColumnSpanColumnPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("editingCanceled", Gtk.CellEditable.CellEditableEditingCanceledPropertyInfo), '("entryTextColumn", ComboBoxEntryTextColumnPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasEntry", ComboBoxHasEntryPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasFrame", ComboBoxHasFramePropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("idColumn", ComboBoxIdColumnPropertyInfo), '("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), '("model", ComboBoxModelPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("popupFixedWidth", ComboBoxPopupFixedWidthPropertyInfo), '("popupShown", ComboBoxPopupShownPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("rowSpanColumn", ComboBoxRowSpanColumnPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("tearoffTitle", ComboBoxTearoffTitlePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo), '("wrapWidth", ComboBoxWrapWidthPropertyInfo)] :: [(Symbol, *)])
#endif
#if defined(ENABLE_OVERLOADING)
comboBoxActive :: AttrLabelProxy "active"
comboBoxActive = AttrLabelProxy
comboBoxActiveId :: AttrLabelProxy "activeId"
comboBoxActiveId = AttrLabelProxy
comboBoxAddTearoffs :: AttrLabelProxy "addTearoffs"
comboBoxAddTearoffs = AttrLabelProxy
comboBoxButtonSensitivity :: AttrLabelProxy "buttonSensitivity"
comboBoxButtonSensitivity = AttrLabelProxy
comboBoxCellArea :: AttrLabelProxy "cellArea"
comboBoxCellArea = AttrLabelProxy
comboBoxColumnSpanColumn :: AttrLabelProxy "columnSpanColumn"
comboBoxColumnSpanColumn = AttrLabelProxy
comboBoxEntryTextColumn :: AttrLabelProxy "entryTextColumn"
comboBoxEntryTextColumn = AttrLabelProxy
comboBoxHasEntry :: AttrLabelProxy "hasEntry"
comboBoxHasEntry = AttrLabelProxy
comboBoxHasFrame :: AttrLabelProxy "hasFrame"
comboBoxHasFrame = AttrLabelProxy
comboBoxIdColumn :: AttrLabelProxy "idColumn"
comboBoxIdColumn = AttrLabelProxy
comboBoxModel :: AttrLabelProxy "model"
comboBoxModel = AttrLabelProxy
comboBoxPopupFixedWidth :: AttrLabelProxy "popupFixedWidth"
comboBoxPopupFixedWidth = AttrLabelProxy
comboBoxPopupShown :: AttrLabelProxy "popupShown"
comboBoxPopupShown = AttrLabelProxy
comboBoxRowSpanColumn :: AttrLabelProxy "rowSpanColumn"
comboBoxRowSpanColumn = AttrLabelProxy
comboBoxTearoffTitle :: AttrLabelProxy "tearoffTitle"
comboBoxTearoffTitle = AttrLabelProxy
comboBoxWrapWidth :: AttrLabelProxy "wrapWidth"
comboBoxWrapWidth = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList ComboBox = ComboBoxSignalList
type ComboBoxSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("changed", ComboBoxChangedSignalInfo), '("checkResize", Gtk.Container.ContainerCheckResizeSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("compositedChanged", Gtk.Widget.WidgetCompositedChangedSignalInfo), '("configureEvent", Gtk.Widget.WidgetConfigureEventSignalInfo), '("damageEvent", Gtk.Widget.WidgetDamageEventSignalInfo), '("deleteEvent", Gtk.Widget.WidgetDeleteEventSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("destroyEvent", Gtk.Widget.WidgetDestroyEventSignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("dragBegin", Gtk.Widget.WidgetDragBeginSignalInfo), '("dragDataDelete", Gtk.Widget.WidgetDragDataDeleteSignalInfo), '("dragDataGet", Gtk.Widget.WidgetDragDataGetSignalInfo), '("dragDataReceived", Gtk.Widget.WidgetDragDataReceivedSignalInfo), '("dragDrop", Gtk.Widget.WidgetDragDropSignalInfo), '("dragEnd", Gtk.Widget.WidgetDragEndSignalInfo), '("dragFailed", Gtk.Widget.WidgetDragFailedSignalInfo), '("dragLeave", Gtk.Widget.WidgetDragLeaveSignalInfo), '("dragMotion", Gtk.Widget.WidgetDragMotionSignalInfo), '("draw", Gtk.Widget.WidgetDrawSignalInfo), '("editingDone", Gtk.CellEditable.CellEditableEditingDoneSignalInfo), '("enterNotifyEvent", Gtk.Widget.WidgetEnterNotifyEventSignalInfo), '("event", Gtk.Widget.WidgetEventSignalInfo), '("eventAfter", Gtk.Widget.WidgetEventAfterSignalInfo), '("focus", Gtk.Widget.WidgetFocusSignalInfo), '("focusInEvent", Gtk.Widget.WidgetFocusInEventSignalInfo), '("focusOutEvent", Gtk.Widget.WidgetFocusOutEventSignalInfo), '("formatEntryText", ComboBoxFormatEntryTextSignalInfo), '("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), '("moveActive", ComboBoxMoveActiveSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("parentSet", Gtk.Widget.WidgetParentSetSignalInfo), '("popdown", ComboBoxPopdownSignalInfo), '("popup", ComboBoxPopupSignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("remove", Gtk.Container.ContainerRemoveSignalInfo), '("removeWidget", Gtk.CellEditable.CellEditableRemoveWidgetSignalInfo), '("screenChanged", Gtk.Widget.WidgetScreenChangedSignalInfo), '("scrollEvent", Gtk.Widget.WidgetScrollEventSignalInfo), '("selectionClearEvent", Gtk.Widget.WidgetSelectionClearEventSignalInfo), '("selectionGet", Gtk.Widget.WidgetSelectionGetSignalInfo), '("selectionNotifyEvent", Gtk.Widget.WidgetSelectionNotifyEventSignalInfo), '("selectionReceived", Gtk.Widget.WidgetSelectionReceivedSignalInfo), '("selectionRequestEvent", Gtk.Widget.WidgetSelectionRequestEventSignalInfo), '("setFocusChild", Gtk.Container.ContainerSetFocusChildSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("showHelp", Gtk.Widget.WidgetShowHelpSignalInfo), '("sizeAllocate", Gtk.Widget.WidgetSizeAllocateSignalInfo), '("stateChanged", Gtk.Widget.WidgetStateChangedSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("styleSet", Gtk.Widget.WidgetStyleSetSignalInfo), '("styleUpdated", Gtk.Widget.WidgetStyleUpdatedSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "gtk_combo_box_new" gtk_combo_box_new ::
IO (Ptr ComboBox)
comboBoxNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m ComboBox
comboBoxNew :: m ComboBox
comboBoxNew = IO ComboBox -> m ComboBox
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ComboBox -> m ComboBox) -> IO ComboBox -> m ComboBox
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
result <- IO (Ptr ComboBox)
gtk_combo_box_new
Text -> Ptr ComboBox -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxNew" Ptr ComboBox
result
ComboBox
result' <- ((ManagedPtr ComboBox -> ComboBox) -> Ptr ComboBox -> IO ComboBox
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ComboBox -> ComboBox
ComboBox) Ptr ComboBox
result
ComboBox -> IO ComboBox
forall (m :: * -> *) a. Monad m => a -> m a
return ComboBox
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_combo_box_new_with_area" gtk_combo_box_new_with_area ::
Ptr Gtk.CellArea.CellArea ->
IO (Ptr ComboBox)
comboBoxNewWithArea ::
(B.CallStack.HasCallStack, MonadIO m, Gtk.CellArea.IsCellArea a) =>
a
-> m ComboBox
comboBoxNewWithArea :: a -> m ComboBox
comboBoxNewWithArea area :: a
area = IO ComboBox -> m ComboBox
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ComboBox -> m ComboBox) -> IO ComboBox -> m ComboBox
forall a b. (a -> b) -> a -> b
$ do
Ptr CellArea
area' <- a -> IO (Ptr CellArea)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
area
Ptr ComboBox
result <- Ptr CellArea -> IO (Ptr ComboBox)
gtk_combo_box_new_with_area Ptr CellArea
area'
Text -> Ptr ComboBox -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxNewWithArea" Ptr ComboBox
result
ComboBox
result' <- ((ManagedPtr ComboBox -> ComboBox) -> Ptr ComboBox -> IO ComboBox
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ComboBox -> ComboBox
ComboBox) Ptr ComboBox
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
area
ComboBox -> IO ComboBox
forall (m :: * -> *) a. Monad m => a -> m a
return ComboBox
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_combo_box_new_with_area_and_entry" gtk_combo_box_new_with_area_and_entry ::
Ptr Gtk.CellArea.CellArea ->
IO (Ptr ComboBox)
comboBoxNewWithAreaAndEntry ::
(B.CallStack.HasCallStack, MonadIO m, Gtk.CellArea.IsCellArea a) =>
a
-> m ComboBox
comboBoxNewWithAreaAndEntry :: a -> m ComboBox
comboBoxNewWithAreaAndEntry area :: a
area = IO ComboBox -> m ComboBox
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ComboBox -> m ComboBox) -> IO ComboBox -> m ComboBox
forall a b. (a -> b) -> a -> b
$ do
Ptr CellArea
area' <- a -> IO (Ptr CellArea)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
area
Ptr ComboBox
result <- Ptr CellArea -> IO (Ptr ComboBox)
gtk_combo_box_new_with_area_and_entry Ptr CellArea
area'
Text -> Ptr ComboBox -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxNewWithAreaAndEntry" Ptr ComboBox
result
ComboBox
result' <- ((ManagedPtr ComboBox -> ComboBox) -> Ptr ComboBox -> IO ComboBox
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ComboBox -> ComboBox
ComboBox) Ptr ComboBox
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
area
ComboBox -> IO ComboBox
forall (m :: * -> *) a. Monad m => a -> m a
return ComboBox
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_combo_box_new_with_entry" gtk_combo_box_new_with_entry ::
IO (Ptr ComboBox)
comboBoxNewWithEntry ::
(B.CallStack.HasCallStack, MonadIO m) =>
m ComboBox
comboBoxNewWithEntry :: m ComboBox
comboBoxNewWithEntry = IO ComboBox -> m ComboBox
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ComboBox -> m ComboBox) -> IO ComboBox -> m ComboBox
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
result <- IO (Ptr ComboBox)
gtk_combo_box_new_with_entry
Text -> Ptr ComboBox -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxNewWithEntry" Ptr ComboBox
result
ComboBox
result' <- ((ManagedPtr ComboBox -> ComboBox) -> Ptr ComboBox -> IO ComboBox
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ComboBox -> ComboBox
ComboBox) Ptr ComboBox
result
ComboBox -> IO ComboBox
forall (m :: * -> *) a. Monad m => a -> m a
return ComboBox
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_combo_box_new_with_model" gtk_combo_box_new_with_model ::
Ptr Gtk.TreeModel.TreeModel ->
IO (Ptr ComboBox)
comboBoxNewWithModel ::
(B.CallStack.HasCallStack, MonadIO m, Gtk.TreeModel.IsTreeModel a) =>
a
-> m ComboBox
comboBoxNewWithModel :: a -> m ComboBox
comboBoxNewWithModel model :: a
model = IO ComboBox -> m ComboBox
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ComboBox -> m ComboBox) -> IO ComboBox -> m ComboBox
forall a b. (a -> b) -> a -> b
$ do
Ptr TreeModel
model' <- a -> IO (Ptr TreeModel)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
model
Ptr ComboBox
result <- Ptr TreeModel -> IO (Ptr ComboBox)
gtk_combo_box_new_with_model Ptr TreeModel
model'
Text -> Ptr ComboBox -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxNewWithModel" Ptr ComboBox
result
ComboBox
result' <- ((ManagedPtr ComboBox -> ComboBox) -> Ptr ComboBox -> IO ComboBox
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ComboBox -> ComboBox
ComboBox) Ptr ComboBox
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
model
ComboBox -> IO ComboBox
forall (m :: * -> *) a. Monad m => a -> m a
return ComboBox
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_combo_box_new_with_model_and_entry" gtk_combo_box_new_with_model_and_entry ::
Ptr Gtk.TreeModel.TreeModel ->
IO (Ptr ComboBox)
comboBoxNewWithModelAndEntry ::
(B.CallStack.HasCallStack, MonadIO m, Gtk.TreeModel.IsTreeModel a) =>
a
-> m ComboBox
comboBoxNewWithModelAndEntry :: a -> m ComboBox
comboBoxNewWithModelAndEntry model :: a
model = IO ComboBox -> m ComboBox
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ComboBox -> m ComboBox) -> IO ComboBox -> m ComboBox
forall a b. (a -> b) -> a -> b
$ do
Ptr TreeModel
model' <- a -> IO (Ptr TreeModel)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
model
Ptr ComboBox
result <- Ptr TreeModel -> IO (Ptr ComboBox)
gtk_combo_box_new_with_model_and_entry Ptr TreeModel
model'
Text -> Ptr ComboBox -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxNewWithModelAndEntry" Ptr ComboBox
result
ComboBox
result' <- ((ManagedPtr ComboBox -> ComboBox) -> Ptr ComboBox -> IO ComboBox
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ComboBox -> ComboBox
ComboBox) Ptr ComboBox
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
model
ComboBox -> IO ComboBox
forall (m :: * -> *) a. Monad m => a -> m a
return ComboBox
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_combo_box_get_active" gtk_combo_box_get_active ::
Ptr ComboBox ->
IO Int32
comboBoxGetActive ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Int32
comboBoxGetActive :: a -> m Int32
comboBoxGetActive comboBox :: a
comboBox = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Int32
result <- Ptr ComboBox -> IO Int32
gtk_combo_box_get_active Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetActiveMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetActiveMethodInfo a signature where
overloadedMethod = comboBoxGetActive
#endif
foreign import ccall "gtk_combo_box_get_active_id" gtk_combo_box_get_active_id ::
Ptr ComboBox ->
IO CString
comboBoxGetActiveId ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m (Maybe T.Text)
comboBoxGetActiveId :: a -> m (Maybe Text)
comboBoxGetActiveId comboBox :: a
comboBox = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CString
result <- Ptr ComboBox -> IO CString
gtk_combo_box_get_active_id Ptr ComboBox
comboBox'
Maybe Text
maybeResult <- CString -> (CString -> IO Text) -> IO (Maybe Text)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull CString
result ((CString -> IO Text) -> IO (Maybe Text))
-> (CString -> IO Text) -> IO (Maybe Text)
forall a b. (a -> b) -> a -> b
$ \result' :: CString
result' -> do
Text
result'' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result'
ComboBoxFormatEntryTextCallback
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Maybe Text -> IO (Maybe Text)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Text
maybeResult
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetActiveIdMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetActiveIdMethodInfo a signature where
overloadedMethod = comboBoxGetActiveId
#endif
foreign import ccall "gtk_combo_box_get_active_iter" gtk_combo_box_get_active_iter ::
Ptr ComboBox ->
Ptr Gtk.TreeIter.TreeIter ->
IO CInt
comboBoxGetActiveIter ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m ((Bool, Gtk.TreeIter.TreeIter))
comboBoxGetActiveIter :: a -> m (Bool, TreeIter)
comboBoxGetActiveIter comboBox :: a
comboBox = IO (Bool, TreeIter) -> m (Bool, TreeIter)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Bool, TreeIter) -> m (Bool, TreeIter))
-> IO (Bool, TreeIter) -> m (Bool, TreeIter)
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr TreeIter
iter <- Int -> IO (Ptr TreeIter)
forall a. BoxedObject a => Int -> IO (Ptr a)
callocBoxedBytes 32 :: IO (Ptr Gtk.TreeIter.TreeIter)
CInt
result <- Ptr ComboBox -> Ptr TreeIter -> IO CInt
gtk_combo_box_get_active_iter Ptr ComboBox
comboBox' Ptr TreeIter
iter
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
TreeIter
iter' <- ((ManagedPtr TreeIter -> TreeIter) -> Ptr TreeIter -> IO TreeIter
forall a.
(HasCallStack, BoxedObject a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
wrapBoxed ManagedPtr TreeIter -> TreeIter
Gtk.TreeIter.TreeIter) Ptr TreeIter
iter
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
(Bool, TreeIter) -> IO (Bool, TreeIter)
forall (m :: * -> *) a. Monad m => a -> m a
return (Bool
result', TreeIter
iter')
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetActiveIterMethodInfo
instance (signature ~ (m ((Bool, Gtk.TreeIter.TreeIter))), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetActiveIterMethodInfo a signature where
overloadedMethod = comboBoxGetActiveIter
#endif
foreign import ccall "gtk_combo_box_get_add_tearoffs" gtk_combo_box_get_add_tearoffs ::
Ptr ComboBox ->
IO CInt
{-# DEPRECATED comboBoxGetAddTearoffs ["(Since version 3.10)"] #-}
comboBoxGetAddTearoffs ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Bool
comboBoxGetAddTearoffs :: a -> m Bool
comboBoxGetAddTearoffs comboBox :: a
comboBox = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CInt
result <- Ptr ComboBox -> IO CInt
gtk_combo_box_get_add_tearoffs Ptr ComboBox
comboBox'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Bool -> ComboBoxPopdownCallback
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetAddTearoffsMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetAddTearoffsMethodInfo a signature where
overloadedMethod = comboBoxGetAddTearoffs
#endif
foreign import ccall "gtk_combo_box_get_button_sensitivity" gtk_combo_box_get_button_sensitivity ::
Ptr ComboBox ->
IO CUInt
comboBoxGetButtonSensitivity ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Gtk.Enums.SensitivityType
comboBoxGetButtonSensitivity :: a -> m SensitivityType
comboBoxGetButtonSensitivity comboBox :: a
comboBox = IO SensitivityType -> m SensitivityType
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SensitivityType -> m SensitivityType)
-> IO SensitivityType -> m SensitivityType
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CUInt
result <- Ptr ComboBox -> IO CUInt
gtk_combo_box_get_button_sensitivity Ptr ComboBox
comboBox'
let result' :: SensitivityType
result' = (Int -> SensitivityType
forall a. Enum a => Int -> a
toEnum (Int -> SensitivityType)
-> (CUInt -> Int) -> CUInt -> SensitivityType
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
SensitivityType -> IO SensitivityType
forall (m :: * -> *) a. Monad m => a -> m a
return SensitivityType
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetButtonSensitivityMethodInfo
instance (signature ~ (m Gtk.Enums.SensitivityType), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetButtonSensitivityMethodInfo a signature where
overloadedMethod = comboBoxGetButtonSensitivity
#endif
foreign import ccall "gtk_combo_box_get_column_span_column" gtk_combo_box_get_column_span_column ::
Ptr ComboBox ->
IO Int32
comboBoxGetColumnSpanColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Int32
comboBoxGetColumnSpanColumn :: a -> m Int32
comboBoxGetColumnSpanColumn comboBox :: a
comboBox = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Int32
result <- Ptr ComboBox -> IO Int32
gtk_combo_box_get_column_span_column Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetColumnSpanColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetColumnSpanColumnMethodInfo a signature where
overloadedMethod = comboBoxGetColumnSpanColumn
#endif
foreign import ccall "gtk_combo_box_get_entry_text_column" gtk_combo_box_get_entry_text_column ::
Ptr ComboBox ->
IO Int32
comboBoxGetEntryTextColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Int32
comboBoxGetEntryTextColumn :: a -> m Int32
comboBoxGetEntryTextColumn comboBox :: a
comboBox = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Int32
result <- Ptr ComboBox -> IO Int32
gtk_combo_box_get_entry_text_column Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetEntryTextColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetEntryTextColumnMethodInfo a signature where
overloadedMethod = comboBoxGetEntryTextColumn
#endif
foreign import ccall "gtk_combo_box_get_focus_on_click" gtk_combo_box_get_focus_on_click ::
Ptr ComboBox ->
IO CInt
{-# DEPRECATED comboBoxGetFocusOnClick ["(Since version 3.20)","Use 'GI.Gtk.Objects.Widget.widgetGetFocusOnClick' instead"] #-}
comboBoxGetFocusOnClick ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Bool
comboBoxGetFocusOnClick :: a -> m Bool
comboBoxGetFocusOnClick combo :: a
combo = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
combo' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
combo
CInt
result <- Ptr ComboBox -> IO CInt
gtk_combo_box_get_focus_on_click Ptr ComboBox
combo'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
combo
Bool -> ComboBoxPopdownCallback
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetFocusOnClickMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetFocusOnClickMethodInfo a signature where
overloadedMethod = comboBoxGetFocusOnClick
#endif
foreign import ccall "gtk_combo_box_get_has_entry" gtk_combo_box_get_has_entry ::
Ptr ComboBox ->
IO CInt
comboBoxGetHasEntry ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Bool
comboBoxGetHasEntry :: a -> m Bool
comboBoxGetHasEntry comboBox :: a
comboBox = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CInt
result <- Ptr ComboBox -> IO CInt
gtk_combo_box_get_has_entry Ptr ComboBox
comboBox'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Bool -> ComboBoxPopdownCallback
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetHasEntryMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetHasEntryMethodInfo a signature where
overloadedMethod = comboBoxGetHasEntry
#endif
foreign import ccall "gtk_combo_box_get_id_column" gtk_combo_box_get_id_column ::
Ptr ComboBox ->
IO Int32
comboBoxGetIdColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Int32
comboBoxGetIdColumn :: a -> m Int32
comboBoxGetIdColumn comboBox :: a
comboBox = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Int32
result <- Ptr ComboBox -> IO Int32
gtk_combo_box_get_id_column Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetIdColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetIdColumnMethodInfo a signature where
overloadedMethod = comboBoxGetIdColumn
#endif
foreign import ccall "gtk_combo_box_get_model" gtk_combo_box_get_model ::
Ptr ComboBox ->
IO (Ptr Gtk.TreeModel.TreeModel)
comboBoxGetModel ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Gtk.TreeModel.TreeModel
comboBoxGetModel :: a -> m TreeModel
comboBoxGetModel comboBox :: a
comboBox = IO TreeModel -> m TreeModel
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TreeModel -> m TreeModel) -> IO TreeModel -> m TreeModel
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr TreeModel
result <- Ptr ComboBox -> IO (Ptr TreeModel)
gtk_combo_box_get_model Ptr ComboBox
comboBox'
Text -> Ptr TreeModel -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxGetModel" Ptr TreeModel
result
TreeModel
result' <- ((ManagedPtr TreeModel -> TreeModel)
-> Ptr TreeModel -> IO TreeModel
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr TreeModel -> TreeModel
Gtk.TreeModel.TreeModel) Ptr TreeModel
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
TreeModel -> IO TreeModel
forall (m :: * -> *) a. Monad m => a -> m a
return TreeModel
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetModelMethodInfo
instance (signature ~ (m Gtk.TreeModel.TreeModel), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetModelMethodInfo a signature where
overloadedMethod = comboBoxGetModel
#endif
foreign import ccall "gtk_combo_box_get_popup_accessible" ::
Ptr ComboBox ->
IO (Ptr Atk.Object.Object)
comboBoxGetPopupAccessible ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Atk.Object.Object
comboBox :: a
comboBox = IO Object -> m Object
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Object -> m Object) -> IO Object -> m Object
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr Object
result <- Ptr ComboBox -> IO (Ptr Object)
gtk_combo_box_get_popup_accessible Ptr ComboBox
comboBox'
Text -> Ptr Object -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxGetPopupAccessible" Ptr Object
result
Object
result' <- ((ManagedPtr Object -> Object) -> Ptr Object -> IO Object
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Object -> Object
Atk.Object.Object) Ptr Object
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Object -> IO Object
forall (m :: * -> *) a. Monad m => a -> m a
return Object
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetPopupAccessibleMethodInfo
instance (signature ~ (m Atk.Object.Object), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetPopupAccessibleMethodInfo a signature where
overloadedMethod = comboBoxGetPopupAccessible
#endif
foreign import ccall "gtk_combo_box_get_popup_fixed_width" ::
Ptr ComboBox ->
IO CInt
comboBoxGetPopupFixedWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Bool
comboBox :: a
comboBox = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CInt
result <- Ptr ComboBox -> IO CInt
gtk_combo_box_get_popup_fixed_width Ptr ComboBox
comboBox'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Bool -> ComboBoxPopdownCallback
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetPopupFixedWidthMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetPopupFixedWidthMethodInfo a signature where
overloadedMethod = comboBoxGetPopupFixedWidth
#endif
foreign import ccall "gtk_combo_box_get_row_span_column" gtk_combo_box_get_row_span_column ::
Ptr ComboBox ->
IO Int32
comboBoxGetRowSpanColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Int32
comboBoxGetRowSpanColumn :: a -> m Int32
comboBoxGetRowSpanColumn comboBox :: a
comboBox = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Int32
result <- Ptr ComboBox -> IO Int32
gtk_combo_box_get_row_span_column Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetRowSpanColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetRowSpanColumnMethodInfo a signature where
overloadedMethod = comboBoxGetRowSpanColumn
#endif
foreign import ccall "gtk_combo_box_get_title" gtk_combo_box_get_title ::
Ptr ComboBox ->
IO CString
{-# DEPRECATED comboBoxGetTitle ["(Since version 3.10)"] #-}
comboBoxGetTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m T.Text
comboBoxGetTitle :: a -> m Text
comboBoxGetTitle comboBox :: a
comboBox = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CString
result <- Ptr ComboBox -> IO CString
gtk_combo_box_get_title Ptr ComboBox
comboBox'
Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL "comboBoxGetTitle" CString
result
Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
ComboBoxFormatEntryTextCallback
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetTitleMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetTitleMethodInfo a signature where
overloadedMethod = comboBoxGetTitle
#endif
foreign import ccall "gtk_combo_box_get_wrap_width" gtk_combo_box_get_wrap_width ::
Ptr ComboBox ->
IO Int32
comboBoxGetWrapWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m Int32
comboBoxGetWrapWidth :: a -> m Int32
comboBoxGetWrapWidth comboBox :: a
comboBox = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Int32
result <- Ptr ComboBox -> IO Int32
gtk_combo_box_get_wrap_width Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ComboBoxGetWrapWidthMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxGetWrapWidthMethodInfo a signature where
overloadedMethod = comboBoxGetWrapWidth
#endif
foreign import ccall "gtk_combo_box_popdown" gtk_combo_box_popdown ::
Ptr ComboBox ->
IO ()
comboBoxPopdown ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m ()
comboBoxPopdown :: a -> m ()
comboBoxPopdown comboBox :: a
comboBox = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> IO ()
gtk_combo_box_popdown Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxPopdownMethodInfo
instance (signature ~ (m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxPopdownMethodInfo a signature where
overloadedMethod = comboBoxPopdown
#endif
foreign import ccall "gtk_combo_box_popup" ::
Ptr ComboBox ->
IO ()
comboBoxPopup ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> m ()
comboBox :: a
comboBox = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> IO ()
gtk_combo_box_popup Ptr ComboBox
comboBox'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxPopupMethodInfo
instance (signature ~ (m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxPopupMethodInfo a signature where
overloadedMethod = comboBoxPopup
#endif
foreign import ccall "gtk_combo_box_popup_for_device" ::
Ptr ComboBox ->
Ptr Gdk.Device.Device ->
IO ()
comboBoxPopupForDevice ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a, Gdk.Device.IsDevice b) =>
a
-> b
-> m ()
comboBox :: a
comboBox device :: b
device = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr Device
device' <- b -> IO (Ptr Device)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
device
Ptr ComboBox -> Ptr Device -> IO ()
gtk_combo_box_popup_for_device Ptr ComboBox
comboBox' Ptr Device
device'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
device
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxPopupForDeviceMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsComboBox a, Gdk.Device.IsDevice b) => O.MethodInfo ComboBoxPopupForDeviceMethodInfo a signature where
overloadedMethod = comboBoxPopupForDevice
#endif
foreign import ccall "gtk_combo_box_set_active" gtk_combo_box_set_active ::
Ptr ComboBox ->
Int32 ->
IO ()
comboBoxSetActive ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Int32
-> m ()
comboBoxSetActive :: a -> Int32 -> m ()
comboBoxSetActive comboBox :: a
comboBox index_ :: Int32
index_ = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> Int32 -> IO ()
gtk_combo_box_set_active Ptr ComboBox
comboBox' Int32
index_
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetActiveMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetActiveMethodInfo a signature where
overloadedMethod = comboBoxSetActive
#endif
foreign import ccall "gtk_combo_box_set_active_id" gtk_combo_box_set_active_id ::
Ptr ComboBox ->
CString ->
IO CInt
comboBoxSetActiveId ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Maybe (T.Text)
-> m Bool
comboBoxSetActiveId :: a -> Maybe Text -> m Bool
comboBoxSetActiveId comboBox :: a
comboBox activeId :: Maybe Text
activeId = ComboBoxPopdownCallback -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (ComboBoxPopdownCallback -> m Bool)
-> ComboBoxPopdownCallback -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CString
maybeActiveId <- case Maybe Text
activeId of
Nothing -> CString -> IO CString
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
Just jActiveId :: Text
jActiveId -> do
CString
jActiveId' <- Text -> IO CString
textToCString Text
jActiveId
CString -> IO CString
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jActiveId'
CInt
result <- Ptr ComboBox -> CString -> IO CInt
gtk_combo_box_set_active_id Ptr ComboBox
comboBox' CString
maybeActiveId
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= 0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeActiveId
Bool -> ComboBoxPopdownCallback
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetActiveIdMethodInfo
instance (signature ~ (Maybe (T.Text) -> m Bool), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetActiveIdMethodInfo a signature where
overloadedMethod = comboBoxSetActiveId
#endif
foreign import ccall "gtk_combo_box_set_active_iter" gtk_combo_box_set_active_iter ::
Ptr ComboBox ->
Ptr Gtk.TreeIter.TreeIter ->
IO ()
comboBoxSetActiveIter ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Maybe (Gtk.TreeIter.TreeIter)
-> m ()
comboBoxSetActiveIter :: a -> Maybe TreeIter -> m ()
comboBoxSetActiveIter comboBox :: a
comboBox iter :: Maybe TreeIter
iter = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr TreeIter
maybeIter <- case Maybe TreeIter
iter of
Nothing -> Ptr TreeIter -> IO (Ptr TreeIter)
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr TreeIter
forall a. Ptr a
nullPtr
Just jIter :: TreeIter
jIter -> do
Ptr TreeIter
jIter' <- TreeIter -> IO (Ptr TreeIter)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr TreeIter
jIter
Ptr TreeIter -> IO (Ptr TreeIter)
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr TreeIter
jIter'
Ptr ComboBox -> Ptr TreeIter -> IO ()
gtk_combo_box_set_active_iter Ptr ComboBox
comboBox' Ptr TreeIter
maybeIter
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Maybe TreeIter -> (TreeIter -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe TreeIter
iter TreeIter -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetActiveIterMethodInfo
instance (signature ~ (Maybe (Gtk.TreeIter.TreeIter) -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetActiveIterMethodInfo a signature where
overloadedMethod = comboBoxSetActiveIter
#endif
foreign import ccall "gtk_combo_box_set_add_tearoffs" gtk_combo_box_set_add_tearoffs ::
Ptr ComboBox ->
CInt ->
IO ()
{-# DEPRECATED comboBoxSetAddTearoffs ["(Since version 3.10)"] #-}
comboBoxSetAddTearoffs ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Bool
-> m ()
comboBoxSetAddTearoffs :: a -> Bool -> m ()
comboBoxSetAddTearoffs comboBox :: a
comboBox addTearoffs :: Bool
addTearoffs = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
let addTearoffs' :: CInt
addTearoffs' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
addTearoffs
Ptr ComboBox -> CInt -> IO ()
gtk_combo_box_set_add_tearoffs Ptr ComboBox
comboBox' CInt
addTearoffs'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetAddTearoffsMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetAddTearoffsMethodInfo a signature where
overloadedMethod = comboBoxSetAddTearoffs
#endif
foreign import ccall "gtk_combo_box_set_button_sensitivity" gtk_combo_box_set_button_sensitivity ::
Ptr ComboBox ->
CUInt ->
IO ()
comboBoxSetButtonSensitivity ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Gtk.Enums.SensitivityType
-> m ()
comboBoxSetButtonSensitivity :: a -> SensitivityType -> m ()
comboBoxSetButtonSensitivity comboBox :: a
comboBox sensitivity :: SensitivityType
sensitivity = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
let sensitivity' :: CUInt
sensitivity' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt)
-> (SensitivityType -> Int) -> SensitivityType -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. SensitivityType -> Int
forall a. Enum a => a -> Int
fromEnum) SensitivityType
sensitivity
Ptr ComboBox -> CUInt -> IO ()
gtk_combo_box_set_button_sensitivity Ptr ComboBox
comboBox' CUInt
sensitivity'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetButtonSensitivityMethodInfo
instance (signature ~ (Gtk.Enums.SensitivityType -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetButtonSensitivityMethodInfo a signature where
overloadedMethod = comboBoxSetButtonSensitivity
#endif
foreign import ccall "gtk_combo_box_set_column_span_column" gtk_combo_box_set_column_span_column ::
Ptr ComboBox ->
Int32 ->
IO ()
comboBoxSetColumnSpanColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Int32
-> m ()
comboBoxSetColumnSpanColumn :: a -> Int32 -> m ()
comboBoxSetColumnSpanColumn comboBox :: a
comboBox columnSpan :: Int32
columnSpan = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> Int32 -> IO ()
gtk_combo_box_set_column_span_column Ptr ComboBox
comboBox' Int32
columnSpan
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetColumnSpanColumnMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetColumnSpanColumnMethodInfo a signature where
overloadedMethod = comboBoxSetColumnSpanColumn
#endif
foreign import ccall "gtk_combo_box_set_entry_text_column" gtk_combo_box_set_entry_text_column ::
Ptr ComboBox ->
Int32 ->
IO ()
comboBoxSetEntryTextColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Int32
-> m ()
comboBoxSetEntryTextColumn :: a -> Int32 -> m ()
comboBoxSetEntryTextColumn comboBox :: a
comboBox textColumn :: Int32
textColumn = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> Int32 -> IO ()
gtk_combo_box_set_entry_text_column Ptr ComboBox
comboBox' Int32
textColumn
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetEntryTextColumnMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetEntryTextColumnMethodInfo a signature where
overloadedMethod = comboBoxSetEntryTextColumn
#endif
foreign import ccall "gtk_combo_box_set_focus_on_click" gtk_combo_box_set_focus_on_click ::
Ptr ComboBox ->
CInt ->
IO ()
{-# DEPRECATED comboBoxSetFocusOnClick ["(Since version 3.20)","Use 'GI.Gtk.Objects.Widget.widgetSetFocusOnClick' instead"] #-}
comboBoxSetFocusOnClick ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Bool
-> m ()
comboBoxSetFocusOnClick :: a -> Bool -> m ()
comboBoxSetFocusOnClick combo :: a
combo focusOnClick :: Bool
focusOnClick = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
combo' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
combo
let focusOnClick' :: CInt
focusOnClick' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
focusOnClick
Ptr ComboBox -> CInt -> IO ()
gtk_combo_box_set_focus_on_click Ptr ComboBox
combo' CInt
focusOnClick'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
combo
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetFocusOnClickMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetFocusOnClickMethodInfo a signature where
overloadedMethod = comboBoxSetFocusOnClick
#endif
foreign import ccall "gtk_combo_box_set_id_column" gtk_combo_box_set_id_column ::
Ptr ComboBox ->
Int32 ->
IO ()
comboBoxSetIdColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Int32
-> m ()
comboBoxSetIdColumn :: a -> Int32 -> m ()
comboBoxSetIdColumn comboBox :: a
comboBox idColumn :: Int32
idColumn = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> Int32 -> IO ()
gtk_combo_box_set_id_column Ptr ComboBox
comboBox' Int32
idColumn
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetIdColumnMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetIdColumnMethodInfo a signature where
overloadedMethod = comboBoxSetIdColumn
#endif
foreign import ccall "gtk_combo_box_set_model" gtk_combo_box_set_model ::
Ptr ComboBox ->
Ptr Gtk.TreeModel.TreeModel ->
IO ()
comboBoxSetModel ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a, Gtk.TreeModel.IsTreeModel b) =>
a
-> Maybe (b)
-> m ()
comboBoxSetModel :: a -> Maybe b -> m ()
comboBoxSetModel comboBox :: a
comboBox model :: Maybe b
model = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr TreeModel
maybeModel <- case Maybe b
model of
Nothing -> Ptr TreeModel -> IO (Ptr TreeModel)
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr TreeModel
forall a. Ptr a
nullPtr
Just jModel :: b
jModel -> do
Ptr TreeModel
jModel' <- b -> IO (Ptr TreeModel)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jModel
Ptr TreeModel -> IO (Ptr TreeModel)
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr TreeModel
jModel'
Ptr ComboBox -> Ptr TreeModel -> IO ()
gtk_combo_box_set_model Ptr ComboBox
comboBox' Ptr TreeModel
maybeModel
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
model b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetModelMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsComboBox a, Gtk.TreeModel.IsTreeModel b) => O.MethodInfo ComboBoxSetModelMethodInfo a signature where
overloadedMethod = comboBoxSetModel
#endif
foreign import ccall "gtk_combo_box_set_popup_fixed_width" ::
Ptr ComboBox ->
CInt ->
IO ()
comboBoxSetPopupFixedWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Bool
-> m ()
comboBox :: a
comboBox fixed :: Bool
fixed = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
let fixed' :: CInt
fixed' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
fixed
Ptr ComboBox -> CInt -> IO ()
gtk_combo_box_set_popup_fixed_width Ptr ComboBox
comboBox' CInt
fixed'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetPopupFixedWidthMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetPopupFixedWidthMethodInfo a signature where
overloadedMethod = comboBoxSetPopupFixedWidth
#endif
foreign import ccall "gtk_combo_box_set_row_separator_func" gtk_combo_box_set_row_separator_func ::
Ptr ComboBox ->
FunPtr Gtk.Callbacks.C_TreeViewRowSeparatorFunc ->
Ptr () ->
FunPtr GLib.Callbacks.C_DestroyNotify ->
IO ()
comboBoxSetRowSeparatorFunc ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Gtk.Callbacks.TreeViewRowSeparatorFunc
-> m ()
comboBoxSetRowSeparatorFunc :: a -> TreeViewRowSeparatorFunc -> m ()
comboBoxSetRowSeparatorFunc comboBox :: a
comboBox func :: TreeViewRowSeparatorFunc
func = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
FunPtr C_TreeViewRowSeparatorFunc
func' <- C_TreeViewRowSeparatorFunc
-> IO (FunPtr C_TreeViewRowSeparatorFunc)
Gtk.Callbacks.mk_TreeViewRowSeparatorFunc (Maybe (Ptr (FunPtr C_TreeViewRowSeparatorFunc))
-> TreeViewRowSeparatorFunc_WithClosures
-> C_TreeViewRowSeparatorFunc
Gtk.Callbacks.wrap_TreeViewRowSeparatorFunc Maybe (Ptr (FunPtr C_TreeViewRowSeparatorFunc))
forall a. Maybe a
Nothing (TreeViewRowSeparatorFunc -> TreeViewRowSeparatorFunc_WithClosures
Gtk.Callbacks.drop_closures_TreeViewRowSeparatorFunc TreeViewRowSeparatorFunc
func))
let data_ :: Ptr ()
data_ = FunPtr C_TreeViewRowSeparatorFunc -> Ptr ()
forall a b. FunPtr a -> Ptr b
castFunPtrToPtr FunPtr C_TreeViewRowSeparatorFunc
func'
let destroy :: FunPtr (Ptr a -> IO ())
destroy = FunPtr (Ptr a -> IO ())
forall a. FunPtr (Ptr a -> IO ())
safeFreeFunPtrPtr
Ptr ComboBox
-> FunPtr C_TreeViewRowSeparatorFunc
-> Ptr ()
-> FunPtr C_DestroyNotify
-> IO ()
gtk_combo_box_set_row_separator_func Ptr ComboBox
comboBox' FunPtr C_TreeViewRowSeparatorFunc
func' Ptr ()
data_ FunPtr C_DestroyNotify
forall a. FunPtr (Ptr a -> IO ())
destroy
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetRowSeparatorFuncMethodInfo
instance (signature ~ (Gtk.Callbacks.TreeViewRowSeparatorFunc -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetRowSeparatorFuncMethodInfo a signature where
overloadedMethod = comboBoxSetRowSeparatorFunc
#endif
foreign import ccall "gtk_combo_box_set_row_span_column" gtk_combo_box_set_row_span_column ::
Ptr ComboBox ->
Int32 ->
IO ()
comboBoxSetRowSpanColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Int32
-> m ()
comboBoxSetRowSpanColumn :: a -> Int32 -> m ()
comboBoxSetRowSpanColumn comboBox :: a
comboBox rowSpan :: Int32
rowSpan = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> Int32 -> IO ()
gtk_combo_box_set_row_span_column Ptr ComboBox
comboBox' Int32
rowSpan
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetRowSpanColumnMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetRowSpanColumnMethodInfo a signature where
overloadedMethod = comboBoxSetRowSpanColumn
#endif
foreign import ccall "gtk_combo_box_set_title" gtk_combo_box_set_title ::
Ptr ComboBox ->
CString ->
IO ()
{-# DEPRECATED comboBoxSetTitle ["(Since version 3.10)"] #-}
comboBoxSetTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> T.Text
-> m ()
comboBoxSetTitle :: a -> Text -> m ()
comboBoxSetTitle comboBox :: a
comboBox title :: Text
title = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
CString
title' <- Text -> IO CString
textToCString Text
title
Ptr ComboBox -> CString -> IO ()
gtk_combo_box_set_title Ptr ComboBox
comboBox' CString
title'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
title'
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetTitleMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetTitleMethodInfo a signature where
overloadedMethod = comboBoxSetTitle
#endif
foreign import ccall "gtk_combo_box_set_wrap_width" gtk_combo_box_set_wrap_width ::
Ptr ComboBox ->
Int32 ->
IO ()
comboBoxSetWrapWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsComboBox a) =>
a
-> Int32
-> m ()
comboBoxSetWrapWidth :: a -> Int32 -> m ()
comboBoxSetWrapWidth comboBox :: a
comboBox width :: Int32
width = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ComboBox
comboBox' <- a -> IO (Ptr ComboBox)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
comboBox
Ptr ComboBox -> Int32 -> IO ()
gtk_combo_box_set_wrap_width Ptr ComboBox
comboBox' Int32
width
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
comboBox
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ComboBoxSetWrapWidthMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsComboBox a) => O.MethodInfo ComboBoxSetWrapWidthMethodInfo a signature where
overloadedMethod = comboBoxSetWrapWidth
#endif