    {-# LANGUAGE TypeApplications #-}

    -- | Copyright  : Will Thompson and Iñaki García Etxebarria
    -- License    : LGPL-2.1
    -- Maintainer : Iñaki García Etxebarria
    --
    -- Allows users to edit the displayed text by switching to an “edit mode”.
    --
    -- \<picture>
    --   \<source srcset=\"editable-label-dark.png\" media=\"(prefers-color-scheme: dark)\">
    --   \<img alt=\"An example GtkEditableLabel\" src=\"editable-label.png\">
    -- \<\/picture>
    --
    -- @GtkEditableLabel@ does not have API of its own, but it
    -- implements the t'GI.Gtk.Interfaces.Editable.Editable' interface.
    --
    -- The default bindings for activating the edit mode is
    -- to click or press the Enter key. The default bindings
    -- for leaving the edit mode are the Enter key (to save
    -- the results) or the Escape key (to cancel the editing).
    --
    -- = Shortcuts and Gestures
    --
    -- @GtkEditableLabel@ supports the following keyboard shortcuts:
    --
    -- * \<kbd>Enter\<\/kbd> starts editing.
    -- * \<kbd>Escape\<\/kbd> stops editing.
    --
    --
    -- = Actions
    --
    -- @GtkEditableLabel@ defines a set of built-in actions:
    --
    -- * @editing.starts@ switches the widget into editing mode.
    -- * @editing.stop@ switches the widget out of editing mode.
    --
    --
    -- = CSS nodes
    --
    --
    --
    -- >editablelabel[.editing]
    -- >╰── stack
    -- >    ├── label
    -- >    ╰── text
    --
    --
    -- @GtkEditableLabel@ has a main node with the name editablelabel.
    -- When the entry is in editing mode, it gets the .editing style
    -- class.
    --
    -- For all the subnodes added to the text node in various situations,
    -- see t'GI.Gtk.Objects.Text.Text'.

    #if !defined(__HADDOCK_VERSION__)
    #define ENABLE_OVERLOADING
    #endif

    module GI.Gtk.Objects.EditableLabel
        (

    -- * Exported types
        EditableLabel(..)                       ,
        IsEditableLabel                         ,
        toEditableLabel                         ,

     -- * Methods
    -- |
    --
    --  === __Click to display all available methods, including inherited ones__
    -- ==== Methods
    -- [actionSetEnabled]("GI.Gtk.Objects.Widget#g:method:actionSetEnabled"), [activate]("GI.Gtk.Objects.Widget#g:method:activate"), [activateAction]("GI.Gtk.Objects.Widget#g:method:activateAction"), [activateDefault]("GI.Gtk.Objects.Widget#g:method:activateDefault"), [addController]("GI.Gtk.Objects.Widget#g:method:addController"), [addCssClass]("GI.Gtk.Objects.Widget#g:method:addCssClass"), [addMnemonicLabel]("GI.Gtk.Objects.Widget#g:method:addMnemonicLabel"), [addTickCallback]("GI.Gtk.Objects.Widget#g:method:addTickCallback"), [allocate]("GI.Gtk.Objects.Widget#g:method:allocate"), [announce]("GI.Gtk.Interfaces.Accessible#g:method:announce"), [bindProperty]("GI.GObject.Objects.Object#g:method:bindProperty"), [bindPropertyFull]("GI.GObject.Objects.Object#g:method:bindPropertyFull"), [childFocus]("GI.Gtk.Objects.Widget#g:method:childFocus"), [computeBounds]("GI.Gtk.Objects.Widget#g:method:computeBounds"), [computeExpand]("GI.Gtk.Objects.Widget#g:method:computeExpand"), [computePoint]("GI.Gtk.Objects.Widget#g:method:computePoint"), [computeTransform]("GI.Gtk.Objects.Widget#g:method:computeTransform"), [contains]("GI.Gtk.Objects.Widget#g:method:contains"), [createPangoContext]("GI.Gtk.Objects.Widget#g:method:createPangoContext"), [createPangoLayout]("GI.Gtk.Objects.Widget#g:method:createPangoLayout"), [delegateGetAccessiblePlatformState]("GI.Gtk.Interfaces.Editable#g:method:delegateGetAccessiblePlatformState"), [deleteSelection]("GI.Gtk.Interfaces.Editable#g:method:deleteSelection"), [deleteText]("GI.Gtk.Interfaces.Editable#g:method:deleteText"), [disposeTemplate]("GI.Gtk.Objects.Widget#g:method:disposeTemplate"), [dragCheckThreshold]("GI.Gtk.Objects.Widget#g:method:dragCheckThreshold"), [errorBell]("GI.Gtk.Objects.Widget#g:method:errorBell"), [finishDelegate]("GI.Gtk.Interfaces.Editable#g:method:finishDelegate"), [forceFloating]("GI.GObject.Objects.Object#g:method:forceFloating"), [freezeNotify]("GI.GObject.Objects.Object#g:method:freezeNotify"), [getv]("GI.GObject.Objects.Object#g:method:getv"), [grabFocus]("GI.Gtk.Objects.Widget#g:method:grabFocus"), [hasCssClass]("GI.Gtk.Objects.Widget#g:method:hasCssClass"), [hasDefault]("GI.Gtk.Objects.Widget#g:method:hasDefault"), [hasFocus]("GI.Gtk.Objects.Widget#g:method:hasFocus"), [hasVisibleFocus]("GI.Gtk.Objects.Widget#g:method:hasVisibleFocus"), [hide]("GI.Gtk.Objects.Widget#g:method:hide"), [inDestruction]("GI.Gtk.Objects.Widget#g:method:inDestruction"), [initDelegate]("GI.Gtk.Interfaces.Editable#g:method:initDelegate"), [initTemplate]("GI.Gtk.Objects.Widget#g:method:initTemplate"), [insertActionGroup]("GI.Gtk.Objects.Widget#g:method:insertActionGroup"), [insertAfter]("GI.Gtk.Objects.Widget#g:method:insertAfter"), [insertBefore]("GI.Gtk.Objects.Widget#g:method:insertBefore"), [insertText]("GI.Gtk.Interfaces.Editable#g:method:insertText"), [isAncestor]("GI.Gtk.Objects.Widget#g:method:isAncestor"), [isDrawable]("GI.Gtk.Objects.Widget#g:method:isDrawable"), [isFloating]("GI.GObject.Objects.Object#g:method:isFloating"), [isFocus]("GI.Gtk.Objects.Widget#g:method:isFocus"), [isSensitive]("GI.Gtk.Objects.Widget#g:method:isSensitive"), [isVisible]("GI.Gtk.Objects.Widget#g:method:isVisible"), [keynavFailed]("GI.Gtk.Objects.Widget#g:method:keynavFailed"), [listMnemonicLabels]("GI.Gtk.Objects.Widget#g:method:listMnemonicLabels"), [map]("GI.Gtk.Objects.Widget#g:method:map"), [measure]("GI.Gtk.Objects.Widget#g:method:measure"), [mnemonicActivate]("GI.Gtk.Objects.Widget#g:method:mnemonicActivate"), [notify]("GI.GObject.Objects.Object#g:method:notify"), [notifyByPspec]("GI.GObject.Objects.Object#g:method:notifyByPspec"), [observeChildren]("GI.Gtk.Objects.Widget#g:method:observeChildren"), [observeControllers]("GI.Gtk.Objects.Widget#g:method:observeControllers"), [pick]("GI.Gtk.Objects.Widget#g:method:pick"), [queueAllocate]("GI.Gtk.Objects.Widget#g:method:queueAllocate"), [queueDraw]("GI.Gtk.Objects.Widget#g:method:queueDraw"), [queueResize]("GI.Gtk.Objects.Widget#g:method:queueResize"), [realize]("GI.Gtk.Objects.Widget#g:method:realize"), [ref]("GI.GObject.Objects.Object#g:method:ref"), [refSink]("GI.GObject.Objects.Object#g:method:refSink"), [removeController]("GI.Gtk.Objects.Widget#g:method:removeController"), [removeCssClass]("GI.Gtk.Objects.Widget#g:method:removeCssClass"), [removeMnemonicLabel]("GI.Gtk.Objects.Widget#g:method:removeMnemonicLabel"), [removeTickCallback]("GI.Gtk.Objects.Widget#g:method:removeTickCallback"), [resetProperty]("GI.Gtk.Interfaces.Accessible#g:method:resetProperty"), [resetRelation]("GI.Gtk.Interfaces.Accessible#g:method:resetRelation"), [resetState]("GI.Gtk.Interfaces.Accessible#g:method:resetState"), [runDispose]("GI.GObject.Objects.Object#g:method:runDispose"), [selectRegion]("GI.Gtk.Interfaces.Editable#g:method:selectRegion"), [shouldLayout]("GI.Gtk.Objects.Widget#g:method:shouldLayout"), [show]("GI.Gtk.Objects.Widget#g:method:show"), [sizeAllocate]("GI.Gtk.Objects.Widget#g:method:sizeAllocate"), [snapshotChild]("GI.Gtk.Objects.Widget#g:method:snapshotChild"), [startEditing]("GI.Gtk.Objects.EditableLabel#g:method:startEditing"), [stealData]("GI.GObject.Objects.Object#g:method:stealData"), [stealQdata]("GI.GObject.Objects.Object#g:method:stealQdata"), [stopEditing]("GI.Gtk.Objects.EditableLabel#g:method:stopEditing"), [thawNotify]("GI.GObject.Objects.Object#g:method:thawNotify"), [translateCoordinates]("GI.Gtk.Objects.Widget#g:method:translateCoordinates"), [triggerTooltipQuery]("GI.Gtk.Objects.Widget#g:method:triggerTooltipQuery"), [unmap]("GI.Gtk.Objects.Widget#g:method:unmap"), [unparent]("GI.Gtk.Objects.Widget#g:method:unparent"), [unrealize]("GI.Gtk.Objects.Widget#g:method:unrealize"), [unref]("GI.GObject.Objects.Object#g:method:unref"), [unsetStateFlags]("GI.Gtk.Objects.Widget#g:method:unsetStateFlags"), [updateNextAccessibleSibling]("GI.Gtk.Interfaces.Accessible#g:method:updateNextAccessibleSibling"), [updatePlatformState]("GI.Gtk.Interfaces.Accessible#g:method:updatePlatformState"), [updateProperty]("GI.Gtk.Interfaces.Accessible#g:method:updateProperty"), [updateRelation]("GI.Gtk.Interfaces.Accessible#g:method:updateRelation"), [updateState]("GI.Gtk.Interfaces.Accessible#g:method:updateState"), [watchClosure]("GI.GObject.Objects.Object#g:method:watchClosure").
    --
    -- ==== Getters
    -- [getAccessibleId]("GI.Gtk.Interfaces.Accessible#g:method:getAccessibleId"), [getAccessibleParent]("GI.Gtk.Interfaces.Accessible#g:method:getAccessibleParent"), [getAccessibleRole]("GI.Gtk.Interfaces.Accessible#g:method:getAccessibleRole"), [getAlignment]("GI.Gtk.Interfaces.Editable#g:method:getAlignment"), [getAllocatedBaseline]("GI.Gtk.Objects.Widget#g:method:getAllocatedBaseline"), [getAllocatedHeight]("GI.Gtk.Objects.Widget#g:method:getAllocatedHeight"), [getAllocatedWidth]("GI.Gtk.Objects.Widget#g:method:getAllocatedWidth"), [getAllocation]("GI.Gtk.Objects.Widget#g:method:getAllocation"), [getAncestor]("GI.Gtk.Objects.Widget#g:method:getAncestor"), [getAtContext]("GI.Gtk.Interfaces.Accessible#g:method:getAtContext"), [getBaseline]("GI.Gtk.Objects.Widget#g:method:getBaseline"), [getBounds]("GI.Gtk.Interfaces.Accessible#g:method:getBounds"), [getBuildableId]("GI.Gtk.Interfaces.Buildable#g:method:getBuildableId"), [getCanFocus]("GI.Gtk.Objects.Widget#g:method:getCanFocus"), [getCanTarget]("GI.Gtk.Objects.Widget#g:method:getCanTarget"), [getChars]("GI.Gtk.Interfaces.Editable#g:method:getChars"), [getChildVisible]("GI.Gtk.Objects.Widget#g:method:getChildVisible"), [getClipboard]("GI.Gtk.Objects.Widget#g:method:getClipboard"), [getColor]("GI.Gtk.Objects.Widget#g:method:getColor"), [getCompleteText]("GI.Gtk.Interfaces.Editable#g:method:getCompleteText"), [getCssClasses]("GI.Gtk.Objects.Widget#g:method:getCssClasses"), [getCssName]("GI.Gtk.Objects.Widget#g:method:getCssName"), [getCursor]("GI.Gtk.Objects.Widget#g:method:getCursor"), [getData]("GI.GObject.Objects.Object#g:method:getData"), [getDelegate]("GI.Gtk.Interfaces.Editable#g:method:getDelegate"), [getDirection]("GI.Gtk.Objects.Widget#g:method:getDirection"), [getDisplay]("GI.Gtk.Objects.Widget#g:method:getDisplay"), [getEditable]("GI.Gtk.Interfaces.Editable#g:method:getEditable"), [getEditing]("GI.Gtk.Objects.EditableLabel#g:method:getEditing"), [getEnableUndo]("GI.Gtk.Interfaces.Editable#g:method:getEnableUndo"), [getFirstAccessibleChild]("GI.Gtk.Interfaces.Accessible#g:method:getFirstAccessibleChild"), [getFirstChild]("GI.Gtk.Objects.Widget#g:method:getFirstChild"), [getFocusChild]("GI.Gtk.Objects.Widget#g:method:getFocusChild"), [getFocusOnClick]("GI.Gtk.Objects.Widget#g:method:getFocusOnClick"), [getFocusable]("GI.Gtk.Objects.Widget#g:method:getFocusable"), [getFontMap]("GI.Gtk.Objects.Widget#g:method:getFontMap"), [getFontOptions]("GI.Gtk.Objects.Widget#g:method:getFontOptions"), [getFrameClock]("GI.Gtk.Objects.Widget#g:method:getFrameClock"), [getHalign]("GI.Gtk.Objects.Widget#g:method:getHalign"), [getHasTooltip]("GI.Gtk.Objects.Widget#g:method:getHasTooltip"), [getHeight]("GI.Gtk.Objects.Widget#g:method:getHeight"), [getHexpand]("GI.Gtk.Objects.Widget#g:method:getHexpand"), [getHexpandSet]("GI.Gtk.Objects.Widget#g:method:getHexpandSet"), [getInputInterceptor]("GI.Gtk.Interfaces.Editable#g:method:getInputInterceptor"), [getLastChild]("GI.Gtk.Objects.Widget#g:method:getLastChild"), [getLayoutManager]("GI.Gtk.Objects.Widget#g:method:getLayoutManager"), [getLimitEvents]("GI.Gtk.Objects.Widget#g:method:getLimitEvents"), [getMapped]("GI.Gtk.Objects.Widget#g:method:getMapped"), [getMarginBottom]("GI.Gtk.Objects.Widget#g:method:getMarginBottom"), [getMarginEnd]("GI.Gtk.Objects.Widget#g:method:getMarginEnd"), [getMarginStart]("GI.Gtk.Objects.Widget#g:method:getMarginStart"), [getMarginTop]("GI.Gtk.Objects.Widget#g:method:getMarginTop"), [getMaxWidthChars]("GI.Gtk.Interfaces.Editable#g:method:getMaxWidthChars"), [getName]("GI.Gtk.Objects.Widget#g:method:getName"), [getNative]("GI.Gtk.Objects.Widget#g:method:getNative"), [getNextAccessibleSibling]("GI.Gtk.Interfaces.Accessible#g:method:getNextAccessibleSibling"), [getNextSibling]("GI.Gtk.Objects.Widget#g:method:getNextSibling"), [getOpacity]("GI.Gtk.Objects.Widget#g:method:getOpacity"), [getOverflow]("GI.Gtk.Objects.Widget#g:method:getOverflow"), [getPangoContext]("GI.Gtk.Objects.Widget#g:method:getPangoContext"), [getParent]("GI.Gtk.Objects.Widget#g:method:getParent"), [getPlatformState]("GI.Gtk.Interfaces.Accessible#g:method:getPlatformState"), [getPosition]("GI.Gtk.Interfaces.Editable#g:method:getPosition"), [getPreferredSize]("GI.Gtk.Objects.Widget#g:method:getPreferredSize"), [getPrevSibling]("GI.Gtk.Objects.Widget#g:method:getPrevSibling"), [getPrimaryClipboard]("GI.Gtk.Objects.Widget#g:method:getPrimaryClipboard"), [getProperty]("GI.GObject.Objects.Object#g:method:getProperty"), [getQdata]("GI.GObject.Objects.Object#g:method:getQdata"), [getRealized]("GI.Gtk.Objects.Widget#g:method:getRealized"), [getReceivesDefault]("GI.Gtk.Objects.Widget#g:method:getReceivesDefault"), [getRequestMode]("GI.Gtk.Objects.Widget#g:method:getRequestMode"), [getRoot]("GI.Gtk.Objects.Widget#g:method:getRoot"), [getScaleFactor]("GI.Gtk.Objects.Widget#g:method:getScaleFactor"), [getSelectionBounds]("GI.Gtk.Interfaces.Editable#g:method:getSelectionBounds"), [getSensitive]("GI.Gtk.Objects.Widget#g:method:getSensitive"), [getSettings]("GI.Gtk.Objects.Widget#g:method:getSettings"), [getSize]("GI.Gtk.Objects.Widget#g:method:getSize"), [getSizeRequest]("GI.Gtk.Objects.Widget#g:method:getSizeRequest"), [getStateFlags]("GI.Gtk.Objects.Widget#g:method:getStateFlags"), [getStyleContext]("GI.Gtk.Objects.Widget#g:method:getStyleContext"), [getTemplateChild]("GI.Gtk.Objects.Widget#g:method:getTemplateChild"), [getText]("GI.Gtk.Interfaces.Editable#g:method:getText"), [getTooltipMarkup]("GI.Gtk.Objects.Widget#g:method:getTooltipMarkup"), [getTooltipText]("GI.Gtk.Objects.Widget#g:method:getTooltipText"), [getValign]("GI.Gtk.Objects.Widget#g:method:getValign"), [getVexpand]("GI.Gtk.Objects.Widget#g:method:getVexpand"), [getVexpandSet]("GI.Gtk.Objects.Widget#g:method:getVexpandSet"), [getVisible]("GI.Gtk.Objects.Widget#g:method:getVisible"), [getWidth]("GI.Gtk.Objects.Widget#g:method:getWidth"), [getWidthChars]("GI.Gtk.Interfaces.Editable#g:method:getWidthChars").
    --
    -- ==== Setters
    -- [setAccessibleParent]("GI.Gtk.Interfaces.Accessible#g:method:setAccessibleParent"), [setAlignment]("GI.Gtk.Interfaces.Editable#g:method:setAlignment"), [setCanFocus]("GI.Gtk.Objects.Widget#g:method:setCanFocus"), [setCanTarget]("GI.Gtk.Objects.Widget#g:method:setCanTarget"), [setChildVisible]("GI.Gtk.Objects.Widget#g:method:setChildVisible"), [setCssClasses]("GI.Gtk.Objects.Widget#g:method:setCssClasses"), [setCursor]("GI.Gtk.Objects.Widget#g:method:setCursor"), [setCursorFromName]("GI.Gtk.Objects.Widget#g:method:setCursorFromName"), [setData]("GI.GObject.Objects.Object#g:method:setData"), [setDataFull]("GI.GObject.Objects.Object#g:method:setDataFull"), [setDirection]("GI.Gtk.Objects.Widget#g:method:setDirection"), [setEditable]("GI.Gtk.Interfaces.Editable#g:method:setEditable"), [setEnableUndo]("GI.Gtk.Interfaces.Editable#g:method:setEnableUndo"), [setFocusChild]("GI.Gtk.Objects.Widget#g:method:setFocusChild"), [setFocusOnClick]("GI.Gtk.Objects.Widget#g:method:setFocusOnClick"), [setFocusable]("GI.Gtk.Objects.Widget#g:method:setFocusable"), [setFontMap]("GI.Gtk.Objects.Widget#g:method:setFontMap"), [setFontOptions]("GI.Gtk.Objects.Widget#g:method:setFontOptions"), [setHalign]("GI.Gtk.Objects.Widget#g:method:setHalign"), [setHasTooltip]("GI.Gtk.Objects.Widget#g:method:setHasTooltip"), [setHexpand]("GI.Gtk.Objects.Widget#g:method:setHexpand"), [setHexpandSet]("GI.Gtk.Objects.Widget#g:method:setHexpandSet"), [setInputInterceptor]("GI.Gtk.Interfaces.Editable#g:method:setInputInterceptor"), [setLayoutManager]("GI.Gtk.Objects.Widget#g:method:setLayoutManager"), [setLimitEvents]("GI.Gtk.Objects.Widget#g:method:setLimitEvents"), [setMarginBottom]("GI.Gtk.Objects.Widget#g:method:setMarginBottom"), [setMarginEnd]("GI.Gtk.Objects.Widget#g:method:setMarginEnd"), [setMarginStart]("GI.Gtk.Objects.Widget#g:method:setMarginStart"), [setMarginTop]("GI.Gtk.Objects.Widget#g:method:setMarginTop"), [setMaxWidthChars]("GI.Gtk.Interfaces.Editable#g:method:setMaxWidthChars"), [setName]("GI.Gtk.Objects.Widget#g:method:setName"), [setOpacity]("GI.Gtk.Objects.Widget#g:method:setOpacity"), [setOverflow]("GI.Gtk.Objects.Widget#g:method:setOverflow"), [setParent]("GI.Gtk.Objects.Widget#g:method:setParent"), [setPosition]("GI.Gtk.Interfaces.Editable#g:method:setPosition"), [setProperty]("GI.GObject.Objects.Object#g:method:setProperty"), [setReceivesDefault]("GI.Gtk.Objects.Widget#g:method:setReceivesDefault"), [setSensitive]("GI.Gtk.Objects.Widget#g:method:setSensitive"), [setSizeRequest]("GI.Gtk.Objects.Widget#g:method:setSizeRequest"), [setStateFlags]("GI.Gtk.Objects.Widget#g:method:setStateFlags"), [setText]("GI.Gtk.Interfaces.Editable#g:method:setText"), [setTooltipMarkup]("GI.Gtk.Objects.Widget#g:method:setTooltipMarkup"), [setTooltipText]("GI.Gtk.Objects.Widget#g:method:setTooltipText"), [setValign]("GI.Gtk.Objects.Widget#g:method:setValign"), [setVexpand]("GI.Gtk.Objects.Widget#g:method:setVexpand"), [setVexpandSet]("GI.Gtk.Objects.Widget#g:method:setVexpandSet"), [setVisible]("GI.Gtk.Objects.Widget#g:method:setVisible"), [setWidthChars]("GI.Gtk.Interfaces.Editable#g:method:setWidthChars").

    #if defined(ENABLE_OVERLOADING)
        ResolveEditableLabelMethod              ,
    #endif

    -- ** getEditing #method:getEditing#

    #if defined(ENABLE_OVERLOADING)
        EditableLabelGetEditingMethodInfo       ,
    #endif
        editableLabelGetEditing                 ,

    -- ** new #method:new#

        editableLabelNew                        ,

    -- ** startEditing #method:startEditing#

    #if defined(ENABLE_OVERLOADING)
        EditableLabelStartEditingMethodInfo     ,
    #endif
        editableLabelStartEditing               ,

    -- ** stopEditing #method:stopEditing#

    #if defined(ENABLE_OVERLOADING)
        EditableLabelStopEditingMethodInfo      ,
    #endif
        editableLabelStopEditing                ,

     -- * Properties

    -- ** editing #attr:editing#
    -- | This property is 'P.True' while the widget is in edit mode.

    #if defined(ENABLE_OVERLOADING)
        EditableLabelEditingPropertyInfo        ,
    #endif
        constructEditableLabelEditing           ,
    #if defined(ENABLE_OVERLOADING)
        editableLabelEditing                    ,
    #endif
        getEditableLabelEditing                 ,
        setEditableLabelEditing                 ,

        ) where

    import Data.GI.Base.ShortPrelude
    import qualified Data.GI.Base.ShortPrelude as SP
    import qualified Data.GI.Base.Overloading as O
    import qualified Prelude as P

    import qualified Data.GI.Base.Attributes as GI.Attributes
    import qualified Data.GI.Base.BasicTypes as B.Types
    import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
    import qualified Data.GI.Base.GArray as B.GArray
    import qualified Data.GI.Base.GClosure as B.GClosure
    import qualified Data.GI.Base.GError as B.GError
    import qualified Data.GI.Base.GHashTable as B.GHT
    import qualified Data.GI.Base.GVariant as B.GVariant
    import qualified Data.GI.Base.GValue as B.GValue
    import qualified Data.GI.Base.GParamSpec as B.GParamSpec
    import qualified Data.GI.Base.CallStack as B.CallStack
    import qualified Data.GI.Base.Properties as B.Properties
    import qualified Data.GI.Base.Signals as B.Signals
    import qualified Control.Monad.IO.Class as MIO
    import qualified Data.Coerce as Coerce
    import qualified Data.Text as T
    import qualified Data.Kind as DK
    import qualified Data.ByteString.Char8 as B
    import qualified Data.Map as Map
    import qualified Foreign.Ptr as FP
    import qualified GHC.OverloadedLabels as OL
    import qualified GHC.Records as R
    import qualified Data.Word as DW
    import qualified Data.Int as DI
    import qualified System.Posix.Types as SPT
    import qualified Foreign.C.Types as FCT

    -- Workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/23392
    #if MIN_VERSION_base(4,18,0)
    import qualified GI.Cairo.Structs.Context as Cairo.Context
    import qualified GI.Cairo.Structs.FontOptions as Cairo.FontOptions
    import qualified GI.GLib.Callbacks as GLib.Callbacks
    import qualified GI.GLib.Structs.Bytes as GLib.Bytes
    import qualified GI.GObject.Objects.Object as GObject.Object
    import qualified GI.GObject.Structs.ObjectClass as GObject.ObjectClass
    import qualified GI.Gdk.Flags as Gdk.Flags
    import qualified GI.Gdk.Interfaces.Paintable as Gdk.Paintable
    import qualified GI.Gdk.Objects.Clipboard as Gdk.Clipboard
    import qualified GI.Gdk.Objects.Cursor as Gdk.Cursor
    import qualified GI.Gdk.Objects.Device as Gdk.Device
    import qualified GI.Gdk.Objects.Display as Gdk.Display
    import qualified GI.Gdk.Objects.Event as Gdk.Event
    import qualified GI.Gdk.Objects.FrameClock as Gdk.FrameClock
    import qualified GI.Gdk.Objects.Snapshot as Gdk.Snapshot
    import qualified GI.Gdk.Objects.Surface as Gdk.Surface
    import qualified GI.Gdk.Objects.Texture as Gdk.Texture
    import qualified GI.Gdk.Structs.RGBA as Gdk.RGBA
    import qualified GI.Gdk.Structs.Rectangle as Gdk.Rectangle
    import qualified GI.Gio.Interfaces.ActionGroup as Gio.ActionGroup
    import qualified GI.Gio.Interfaces.Icon as Gio.Icon
    import qualified GI.Gio.Interfaces.ListModel as Gio.ListModel
    import qualified GI.Graphene.Structs.Matrix as Graphene.Matrix
    import qualified GI.Graphene.Structs.Point as Graphene.Point
    import qualified GI.Graphene.Structs.Point3D as Graphene.Point3D
    import qualified GI.Graphene.Structs.Rect as Graphene.Rect
    import qualified GI.Graphene.Structs.Size as Graphene.Size
    import qualified GI.Graphene.Structs.Vec3 as Graphene.Vec3
    import qualified GI.Graphene.Structs.Vec4 as Graphene.Vec4
    import qualified GI.Gsk.Enums as Gsk.Enums
    import qualified GI.Gsk.Flags as Gsk.Flags
    import qualified GI.Gsk.Objects.GLShader as Gsk.GLShader
    import qualified GI.Gsk.Objects.RenderNode as Gsk.RenderNode
    import qualified GI.Gsk.Objects.Renderer as Gsk.Renderer
    import qualified GI.Gsk.Structs.ColorStop as Gsk.ColorStop
    import qualified GI.Gsk.Structs.ComponentTransfer as Gsk.ComponentTransfer
    import qualified GI.Gsk.Structs.Path as Gsk.Path
    import qualified GI.Gsk.Structs.RoundedRect as Gsk.RoundedRect
    import qualified GI.Gsk.Structs.Shadow as Gsk.Shadow
    import qualified GI.Gsk.Structs.Stroke as Gsk.Stroke
    import qualified GI.Gsk.Structs.Transform as Gsk.Transform
    import qualified GI.Gtk.Callbacks as Gtk.Callbacks
    import {-# SOURCE #-} qualified GI.Gtk.Enums as Gtk.Enums
    import {-# SOURCE #-} qualified GI.Gtk.Flags as Gtk.Flags
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Accessible as Gtk.Accessible
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.ConstraintTarget as Gtk.ConstraintTarget
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Editable as Gtk.Editable
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Native as Gtk.Native
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Root as Gtk.Root
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.StyleProvider as Gtk.StyleProvider
    import {-# SOURCE #-} qualified GI.Gtk.Objects.ATContext as Gtk.ATContext
    import {-# SOURCE #-} qualified GI.Gtk.Objects.EventController as Gtk.EventController
    import {-# SOURCE #-} qualified GI.Gtk.Objects.LayoutChild as Gtk.LayoutChild
    import {-# SOURCE #-} qualified GI.Gtk.Objects.LayoutManager as Gtk.LayoutManager
    import {-# SOURCE #-} qualified GI.Gtk.Objects.Settings as Gtk.Settings
    import {-# SOURCE #-} qualified GI.Gtk.Objects.Snapshot as Gtk.Snapshot
    import {-# SOURCE #-} qualified GI.Gtk.Objects.StyleContext as Gtk.StyleContext
    import {-# SOURCE #-} qualified GI.Gtk.Objects.Tooltip as Gtk.Tooltip
    import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
    import {-# SOURCE #-} qualified GI.Gtk.Structs.Border as Gtk.Border
    import {-# SOURCE #-} qualified GI.Gtk.Structs.Requisition as Gtk.Requisition
    import qualified GI.Pango.Enums as Pango.Enums
    import qualified GI.Pango.Objects.Context as Pango.Context
    import qualified GI.Pango.Objects.FontMap as Pango.FontMap
    import qualified GI.Pango.Objects.Layout as Pango.Layout

    #else
    import qualified GI.GObject.Objects.Object as GObject.Object
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Accessible as Gtk.Accessible
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.ConstraintTarget as Gtk.ConstraintTarget
    import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Editable as Gtk.Editable
    import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget

    #endif

    -- | Memory-managed wrapper type.
    newtype EditableLabel = EditableLabel (SP.ManagedPtr EditableLabel)
        deriving (EditableLabel -> EditableLabel -> Bool
    (EditableLabel -> EditableLabel -> Bool)
    -> (EditableLabel -> EditableLabel -> Bool) -> Eq EditableLabel
    forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
    $c== :: EditableLabel -> EditableLabel -> Bool
    == :: EditableLabel -> EditableLabel -> Bool
    $c/= :: EditableLabel -> EditableLabel -> Bool
    /= :: EditableLabel -> EditableLabel -> Bool
    Eq)

    instance SP.ManagedPtrNewtype EditableLabel where
        toManagedPtr :: EditableLabel -> ManagedPtr EditableLabel
    toManagedPtr (EditableLabel ManagedPtr EditableLabel
    p) = ManagedPtr EditableLabel
    p

    foreign import ccall "gtk_editable_label_get_type"
        c_gtk_editable_label_get_type :: IO B.Types.GType

    instance B.Types.TypedObject EditableLabel where
        glibType :: IO GType
    glibType = IO GType
    c_gtk_editable_label_get_type

    instance B.Types.GObject EditableLabel

    -- | Type class for types which can be safely cast to t'EditableLabel', for instance with `toEditableLabel`.
    class (SP.GObject o, O.IsDescendantOf EditableLabel o) => IsEditableLabel o
    instance (SP.GObject o, O.IsDescendantOf EditableLabel o) => IsEditableLabel o

    instance O.HasParentTypes EditableLabel
    type instance O.ParentTypes EditableLabel = '[Gtk.Widget.Widget, GObject.Object.Object, Gtk.Accessible.Accessible, Gtk.Buildable.Buildable, Gtk.ConstraintTarget.ConstraintTarget, Gtk.Editable.Editable]

    -- | Cast to t'EditableLabel', for types for which this is known to be safe. For general casts, use 'Data.GI.Base.ManagedPtr.castTo'.
    toEditableLabel :: (MIO.MonadIO m, IsEditableLabel o) => o -> m EditableLabel
    toEditableLabel :: forall (m :: * -> *) o.
    (MonadIO m, IsEditableLabel o) =>
    o -> m EditableLabel
    toEditableLabel = IO EditableLabel -> m EditableLabel
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    MIO.liftIO (IO EditableLabel -> m EditableLabel)
    -> (o -> IO EditableLabel) -> o -> m EditableLabel
    forall b c a. (b -> c) -> (a -> b) -> a -> c
    . (ManagedPtr EditableLabel -> EditableLabel)
    -> o -> IO EditableLabel
    forall o o'.
    (HasCallStack, ManagedPtrNewtype o, TypedObject o,
     ManagedPtrNewtype o', TypedObject o') =>
    (ManagedPtr o' -> o') -> o -> IO o'
    B.ManagedPtr.unsafeCastTo ManagedPtr EditableLabel -> EditableLabel
    EditableLabel

    -- | Convert t'EditableLabel' to and from t'Data.GI.Base.GValue.GValue'. See 'Data.GI.Base.GValue.toGValue' and 'Data.GI.Base.GValue.fromGValue'.
    instance B.GValue.IsGValue (Maybe EditableLabel) where
        gvalueGType_ :: IO GType
    gvalueGType_ = IO GType
    c_gtk_editable_label_get_type
        gvalueSet_ :: Ptr GValue -> Maybe EditableLabel -> IO ()
    gvalueSet_ Ptr GValue
    gv Maybe EditableLabel
    P.Nothing = Ptr GValue -> Ptr EditableLabel -> IO ()
    forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
    B.GValue.set_object Ptr GValue
    gv (Ptr EditableLabel
    forall a. Ptr a
    FP.nullPtr :: FP.Ptr EditableLabel)
        gvalueSet_ Ptr GValue
    gv (P.Just EditableLabel
    obj) = EditableLabel -> (Ptr EditableLabel -> IO ()) -> IO ()
    forall a c.
    (HasCallStack, ManagedPtrNewtype a) =>
    a -> (Ptr a -> IO c) -> IO c
    B.ManagedPtr.withManagedPtr EditableLabel
    obj (Ptr GValue -> Ptr EditableLabel -> IO ()
    forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
    B.GValue.set_object Ptr GValue
    gv)
        gvalueGet_ :: Ptr GValue -> IO (Maybe EditableLabel)
    gvalueGet_ Ptr GValue
    gv = do
            ptr <- Ptr GValue -> IO (Ptr EditableLabel)
    forall a. GObject a => Ptr GValue -> IO (Ptr a)
    B.GValue.get_object Ptr GValue
    gv :: IO (FP.Ptr EditableLabel)
            if ptr /= FP.nullPtr
            then P.Just <$> B.ManagedPtr.newObject EditableLabel ptr
            else return P.Nothing

    #if defined(ENABLE_OVERLOADING)
    type family ResolveEditableLabelMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
        ResolveEditableLabelMethod "actionSetEnabled" o = Gtk.Widget.WidgetActionSetEnabledMethodInfo
        ResolveEditableLabelMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
        ResolveEditableLabelMethod "activateAction" o = Gtk.Widget.WidgetActivateActionMethodInfo
        ResolveEditableLabelMethod "activateDefault" o = Gtk.Widget.WidgetActivateDefaultMethodInfo
        ResolveEditableLabelMethod "addController" o = Gtk.Widget.WidgetAddControllerMethodInfo
        ResolveEditableLabelMethod "addCssClass" o = Gtk.Widget.WidgetAddCssClassMethodInfo
        ResolveEditableLabelMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
        ResolveEditableLabelMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
        ResolveEditableLabelMethod "allocate" o = Gtk.Widget.WidgetAllocateMethodInfo
        ResolveEditableLabelMethod "announce" o = Gtk.Accessible.AccessibleAnnounceMethodInfo
        ResolveEditableLabelMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
        ResolveEditableLabelMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
        ResolveEditableLabelMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
        ResolveEditableLabelMethod "computeBounds" o = Gtk.Widget.WidgetComputeBoundsMethodInfo
        ResolveEditableLabelMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
        ResolveEditableLabelMethod "computePoint" o = Gtk.Widget.WidgetComputePointMethodInfo
        ResolveEditableLabelMethod "computeTransform" o = Gtk.Widget.WidgetComputeTransformMethodInfo
        ResolveEditableLabelMethod "contains" o = Gtk.Widget.WidgetContainsMethodInfo
        ResolveEditableLabelMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
        ResolveEditableLabelMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
        ResolveEditableLabelMethod "delegateGetAccessiblePlatformState" o = Gtk.Editable.EditableDelegateGetAccessiblePlatformStateMethodInfo
        ResolveEditableLabelMethod "deleteSelection" o = Gtk.Editable.EditableDeleteSelectionMethodInfo
        ResolveEditableLabelMethod "deleteText" o = Gtk.Editable.EditableDeleteTextMethodInfo
        ResolveEditableLabelMethod "disposeTemplate" o = Gtk.Widget.WidgetDisposeTemplateMethodInfo
        ResolveEditableLabelMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
        ResolveEditableLabelMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
        ResolveEditableLabelMethod "finishDelegate" o = Gtk.Editable.EditableFinishDelegateMethodInfo
        ResolveEditableLabelMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
        ResolveEditableLabelMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
        ResolveEditableLabelMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
        ResolveEditableLabelMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
        ResolveEditableLabelMethod "hasCssClass" o = Gtk.Widget.WidgetHasCssClassMethodInfo
        ResolveEditableLabelMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
        ResolveEditableLabelMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
        ResolveEditableLabelMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
        ResolveEditableLabelMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
        ResolveEditableLabelMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
        ResolveEditableLabelMethod "initDelegate" o = Gtk.Editable.EditableInitDelegateMethodInfo
        ResolveEditableLabelMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
        ResolveEditableLabelMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
        ResolveEditableLabelMethod "insertAfter" o = Gtk.Widget.WidgetInsertAfterMethodInfo
        ResolveEditableLabelMethod "insertBefore" o = Gtk.Widget.WidgetInsertBeforeMethodInfo
        ResolveEditableLabelMethod "insertText" o = Gtk.Editable.EditableInsertTextMethodInfo
        ResolveEditableLabelMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
        ResolveEditableLabelMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
        ResolveEditableLabelMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
        ResolveEditableLabelMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
        ResolveEditableLabelMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
        ResolveEditableLabelMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
        ResolveEditableLabelMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
        ResolveEditableLabelMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
        ResolveEditableLabelMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
        ResolveEditableLabelMethod "measure" o = Gtk.Widget.WidgetMeasureMethodInfo
        ResolveEditableLabelMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
        ResolveEditableLabelMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
        ResolveEditableLabelMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
        ResolveEditableLabelMethod "observeChildren" o = Gtk.Widget.WidgetObserveChildrenMethodInfo
        ResolveEditableLabelMethod "observeControllers" o = Gtk.Widget.WidgetObserveControllersMethodInfo
        ResolveEditableLabelMethod "pick" o = Gtk.Widget.WidgetPickMethodInfo
        ResolveEditableLabelMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
        ResolveEditableLabelMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
        ResolveEditableLabelMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
        ResolveEditableLabelMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
        ResolveEditableLabelMethod "ref" o = GObject.Object.ObjectRefMethodInfo
        ResolveEditableLabelMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
        ResolveEditableLabelMethod "removeController" o = Gtk.Widget.WidgetRemoveControllerMethodInfo
        ResolveEditableLabelMethod "removeCssClass" o = Gtk.Widget.WidgetRemoveCssClassMethodInfo
        ResolveEditableLabelMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
        ResolveEditableLabelMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
        ResolveEditableLabelMethod "resetProperty" o = Gtk.Accessible.AccessibleResetPropertyMethodInfo
        ResolveEditableLabelMethod "resetRelation" o = Gtk.Accessible.AccessibleResetRelationMethodInfo
        ResolveEditableLabelMethod "resetState" o = Gtk.Accessible.AccessibleResetStateMethodInfo
        ResolveEditableLabelMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
        ResolveEditableLabelMethod "selectRegion" o = Gtk.Editable.EditableSelectRegionMethodInfo
        ResolveEditableLabelMethod "shouldLayout" o = Gtk.Widget.WidgetShouldLayoutMethodInfo
        ResolveEditableLabelMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
        ResolveEditableLabelMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
        ResolveEditableLabelMethod "snapshotChild" o = Gtk.Widget.WidgetSnapshotChildMethodInfo
        ResolveEditableLabelMethod "startEditing" o = EditableLabelStartEditingMethodInfo
        ResolveEditableLabelMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
        ResolveEditableLabelMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
        ResolveEditableLabelMethod "stopEditing" o = EditableLabelStopEditingMethodInfo
        ResolveEditableLabelMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
        ResolveEditableLabelMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
        ResolveEditableLabelMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
        ResolveEditableLabelMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
        ResolveEditableLabelMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
        ResolveEditableLabelMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
        ResolveEditableLabelMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
        ResolveEditableLabelMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
        ResolveEditableLabelMethod "updateNextAccessibleSibling" o = Gtk.Accessible.AccessibleUpdateNextAccessibleSiblingMethodInfo
        ResolveEditableLabelMethod "updatePlatformState" o = Gtk.Accessible.AccessibleUpdatePlatformStateMethodInfo
        ResolveEditableLabelMethod "updateProperty" o = Gtk.Accessible.AccessibleUpdatePropertyMethodInfo
        ResolveEditableLabelMethod "updateRelation" o = Gtk.Accessible.AccessibleUpdateRelationMethodInfo
        ResolveEditableLabelMethod "updateState" o = Gtk.Accessible.AccessibleUpdateStateMethodInfo
        ResolveEditableLabelMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
        ResolveEditableLabelMethod "getAccessibleId" o = Gtk.Accessible.AccessibleGetAccessibleIdMethodInfo
        ResolveEditableLabelMethod "getAccessibleParent" o = Gtk.Accessible.AccessibleGetAccessibleParentMethodInfo
        ResolveEditableLabelMethod "getAccessibleRole" o = Gtk.Accessible.AccessibleGetAccessibleRoleMethodInfo
        ResolveEditableLabelMethod "getAlignment" o = Gtk.Editable.EditableGetAlignmentMethodInfo
        ResolveEditableLabelMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
        ResolveEditableLabelMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
        ResolveEditableLabelMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
        ResolveEditableLabelMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
        ResolveEditableLabelMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
        ResolveEditableLabelMethod "getAtContext" o = Gtk.Accessible.AccessibleGetAtContextMethodInfo
        ResolveEditableLabelMethod "getBaseline" o = Gtk.Widget.WidgetGetBaselineMethodInfo
        ResolveEditableLabelMethod "getBounds" o = Gtk.Accessible.AccessibleGetBoundsMethodInfo
        ResolveEditableLabelMethod "getBuildableId" o = Gtk.Buildable.BuildableGetBuildableIdMethodInfo
        ResolveEditableLabelMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
        ResolveEditableLabelMethod "getCanTarget" o = Gtk.Widget.WidgetGetCanTargetMethodInfo
        ResolveEditableLabelMethod "getChars" o = Gtk.Editable.EditableGetCharsMethodInfo
        ResolveEditableLabelMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
        ResolveEditableLabelMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
        ResolveEditableLabelMethod "getColor" o = Gtk.Widget.WidgetGetColorMethodInfo
        ResolveEditableLabelMethod "getCompleteText" o = Gtk.Editable.EditableGetCompleteTextMethodInfo
        ResolveEditableLabelMethod "getCssClasses" o = Gtk.Widget.WidgetGetCssClassesMethodInfo
        ResolveEditableLabelMethod "getCssName" o = Gtk.Widget.WidgetGetCssNameMethodInfo
        ResolveEditableLabelMethod "getCursor" o = Gtk.Widget.WidgetGetCursorMethodInfo
        ResolveEditableLabelMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
        ResolveEditableLabelMethod "getDelegate" o = Gtk.Editable.EditableGetDelegateMethodInfo
        ResolveEditableLabelMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
        ResolveEditableLabelMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
        ResolveEditableLabelMethod "getEditable" o = Gtk.Editable.EditableGetEditableMethodInfo
        ResolveEditableLabelMethod "getEditing" o = EditableLabelGetEditingMethodInfo
        ResolveEditableLabelMethod "getEnableUndo" o = Gtk.Editable.EditableGetEnableUndoMethodInfo
        ResolveEditableLabelMethod "getFirstAccessibleChild" o = Gtk.Accessible.AccessibleGetFirstAccessibleChildMethodInfo
        ResolveEditableLabelMethod "getFirstChild" o = Gtk.Widget.WidgetGetFirstChildMethodInfo
        ResolveEditableLabelMethod "getFocusChild" o = Gtk.Widget.WidgetGetFocusChildMethodInfo
        ResolveEditableLabelMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
        ResolveEditableLabelMethod "getFocusable" o = Gtk.Widget.WidgetGetFocusableMethodInfo
        ResolveEditableLabelMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
        ResolveEditableLabelMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
        ResolveEditableLabelMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
        ResolveEditableLabelMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
        ResolveEditableLabelMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
        ResolveEditableLabelMethod "getHeight" o = Gtk.Widget.WidgetGetHeightMethodInfo
        ResolveEditableLabelMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
        ResolveEditableLabelMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
        ResolveEditableLabelMethod "getInputInterceptor" o = Gtk.Editable.EditableGetInputInterceptorMethodInfo
        ResolveEditableLabelMethod "getLastChild" o = Gtk.Widget.WidgetGetLastChildMethodInfo
        ResolveEditableLabelMethod "getLayoutManager" o = Gtk.Widget.WidgetGetLayoutManagerMethodInfo
        ResolveEditableLabelMethod "getLimitEvents" o = Gtk.Widget.WidgetGetLimitEventsMethodInfo
        ResolveEditableLabelMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
        ResolveEditableLabelMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
        ResolveEditableLabelMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
        ResolveEditableLabelMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
        ResolveEditableLabelMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
        ResolveEditableLabelMethod "getMaxWidthChars" o = Gtk.Editable.EditableGetMaxWidthCharsMethodInfo
        ResolveEditableLabelMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
        ResolveEditableLabelMethod "getNative" o = Gtk.Widget.WidgetGetNativeMethodInfo
        ResolveEditableLabelMethod "getNextAccessibleSibling" o = Gtk.Accessible.AccessibleGetNextAccessibleSiblingMethodInfo
        ResolveEditableLabelMethod "getNextSibling" o = Gtk.Widget.WidgetGetNextSiblingMethodInfo
        ResolveEditableLabelMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
        ResolveEditableLabelMethod "getOverflow" o = Gtk.Widget.WidgetGetOverflowMethodInfo
        ResolveEditableLabelMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
        ResolveEditableLabelMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
        ResolveEditableLabelMethod "getPlatformState" o = Gtk.Accessible.AccessibleGetPlatformStateMethodInfo
        ResolveEditableLabelMethod "getPosition" o = Gtk.Editable.EditableGetPositionMethodInfo
        ResolveEditableLabelMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
        ResolveEditableLabelMethod "getPrevSibling" o = Gtk.Widget.WidgetGetPrevSiblingMethodInfo
        ResolveEditableLabelMethod "getPrimaryClipboard" o = Gtk.Widget.WidgetGetPrimaryClipboardMethodInfo
        ResolveEditableLabelMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
        ResolveEditableLabelMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
        ResolveEditableLabelMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
        ResolveEditableLabelMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
        ResolveEditableLabelMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
        ResolveEditableLabelMethod "getRoot" o = Gtk.Widget.WidgetGetRootMethodInfo
        ResolveEditableLabelMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
        ResolveEditableLabelMethod "getSelectionBounds" o = Gtk.Editable.EditableGetSelectionBoundsMethodInfo
        ResolveEditableLabelMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
        ResolveEditableLabelMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
        ResolveEditableLabelMethod "getSize" o = Gtk.Widget.WidgetGetSizeMethodInfo
        ResolveEditableLabelMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
        ResolveEditableLabelMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
        ResolveEditableLabelMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
        ResolveEditableLabelMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
        ResolveEditableLabelMethod "getText" o = Gtk.Editable.EditableGetTextMethodInfo
        ResolveEditableLabelMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
        ResolveEditableLabelMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
        ResolveEditableLabelMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
        ResolveEditableLabelMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
        ResolveEditableLabelMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
        ResolveEditableLabelMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
        ResolveEditableLabelMethod "getWidth" o = Gtk.Widget.WidgetGetWidthMethodInfo
        ResolveEditableLabelMethod "getWidthChars" o = Gtk.Editable.EditableGetWidthCharsMethodInfo
        ResolveEditableLabelMethod "setAccessibleParent" o = Gtk.Accessible.AccessibleSetAccessibleParentMethodInfo
        ResolveEditableLabelMethod "setAlignment" o = Gtk.Editable.EditableSetAlignmentMethodInfo
        ResolveEditableLabelMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
        ResolveEditableLabelMethod "setCanTarget" o = Gtk.Widget.WidgetSetCanTargetMethodInfo
        ResolveEditableLabelMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
        ResolveEditableLabelMethod "setCssClasses" o = Gtk.Widget.WidgetSetCssClassesMethodInfo
        ResolveEditableLabelMethod "setCursor" o = Gtk.Widget.WidgetSetCursorMethodInfo
        ResolveEditableLabelMethod "setCursorFromName" o = Gtk.Widget.WidgetSetCursorFromNameMethodInfo
        ResolveEditableLabelMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
        ResolveEditableLabelMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
        ResolveEditableLabelMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
        ResolveEditableLabelMethod "setEditable" o = Gtk.Editable.EditableSetEditableMethodInfo
        ResolveEditableLabelMethod "setEnableUndo" o = Gtk.Editable.EditableSetEnableUndoMethodInfo
        ResolveEditableLabelMethod "setFocusChild" o = Gtk.Widget.WidgetSetFocusChildMethodInfo
        ResolveEditableLabelMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
        ResolveEditableLabelMethod "setFocusable" o = Gtk.Widget.WidgetSetFocusableMethodInfo
        ResolveEditableLabelMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
        ResolveEditableLabelMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
        ResolveEditableLabelMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
        ResolveEditableLabelMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
        ResolveEditableLabelMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
        ResolveEditableLabelMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
        ResolveEditableLabelMethod "setInputInterceptor" o = Gtk.Editable.EditableSetInputInterceptorMethodInfo
        ResolveEditableLabelMethod "setLayoutManager" o = Gtk.Widget.WidgetSetLayoutManagerMethodInfo
        ResolveEditableLabelMethod "setLimitEvents" o = Gtk.Widget.WidgetSetLimitEventsMethodInfo
        ResolveEditableLabelMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
        ResolveEditableLabelMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
        ResolveEditableLabelMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
        ResolveEditableLabelMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
        ResolveEditableLabelMethod "setMaxWidthChars" o = Gtk.Editable.EditableSetMaxWidthCharsMethodInfo
        ResolveEditableLabelMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
        ResolveEditableLabelMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
        ResolveEditableLabelMethod "setOverflow" o = Gtk.Widget.WidgetSetOverflowMethodInfo
        ResolveEditableLabelMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
        ResolveEditableLabelMethod "setPosition" o = Gtk.Editable.EditableSetPositionMethodInfo
        ResolveEditableLabelMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
        ResolveEditableLabelMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
        ResolveEditableLabelMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
        ResolveEditableLabelMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
        ResolveEditableLabelMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
        ResolveEditableLabelMethod "setText" o = Gtk.Editable.EditableSetTextMethodInfo
        ResolveEditableLabelMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
        ResolveEditableLabelMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
        ResolveEditableLabelMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
        ResolveEditableLabelMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
        ResolveEditableLabelMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
        ResolveEditableLabelMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
        ResolveEditableLabelMethod "setWidthChars" o = Gtk.Editable.EditableSetWidthCharsMethodInfo
        ResolveEditableLabelMethod l o = O.MethodResolutionFailed l o

    instance (info ~ ResolveEditableLabelMethod t EditableLabel, O.OverloadedMethod info EditableLabel p) => OL.IsLabel t (EditableLabel -> p) where
    #if MIN_VERSION_base(4,10,0)
        fromLabel = O.overloadedMethod @info
    #else
        fromLabel _ = O.overloadedMethod @info
    #endif

    #if MIN_VERSION_base(4,13,0)
    instance (info ~ ResolveEditableLabelMethod t EditableLabel, O.OverloadedMethod info EditableLabel p, R.HasField t EditableLabel p) => R.HasField t EditableLabel p where
        getField = O.overloadedMethod @info

    #endif

    instance (info ~ ResolveEditableLabelMethod t EditableLabel, O.OverloadedMethodInfo info EditableLabel) => OL.IsLabel t (O.MethodProxy info EditableLabel) where
    #if MIN_VERSION_base(4,10,0)
        fromLabel = O.MethodProxy
    #else
        fromLabel _ = O.MethodProxy
    #endif

    #endif

    -- VVV Prop "editing"
       -- Type: TBasicType TBoolean
       -- Flags: [PropertyReadable,PropertyWritable]
       -- Nullable: (Just False,Nothing)

    -- | Get the value of the “@editing@” property.
    -- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
    --
    -- @
    -- 'Data.GI.Base.Attributes.get' editableLabel #editing
    -- @
    getEditableLabelEditing :: (MonadIO m, IsEditableLabel o) => o -> m Bool
    getEditableLabelEditing :: forall (m :: * -> *) o.
    (MonadIO m, IsEditableLabel o) =>
    o -> m Bool
    getEditableLabelEditing o
    obj = IO Bool -> m Bool
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
    forall a b. (a -> b) -> a -> b
    $ o -> String -> IO Bool
    forall a. GObject a => a -> String -> IO Bool
    B.Properties.getObjectPropertyBool o
    obj String
    "editing"

    -- | Set the value of the “@editing@” property.
    -- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
    --
    -- @
    -- 'Data.GI.Base.Attributes.set' editableLabel [ #editing 'Data.GI.Base.Attributes.:=' value ]
    -- @
    setEditableLabelEditing :: (MonadIO m, IsEditableLabel o) => o -> Bool -> m ()
    setEditableLabelEditing :: forall (m :: * -> *) o.
    (MonadIO m, IsEditableLabel o) =>
    o -> Bool -> m ()
    setEditableLabelEditing o
    obj Bool
    val = IO () -> m ()
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    MIO.liftIO (IO () -> m ()) -> IO () -> m ()
    forall a b. (a -> b) -> a -> b
    $ do
        o -> String -> Bool -> IO ()
    forall a. GObject a => a -> String -> Bool -> IO ()
    B.Properties.setObjectPropertyBool o
    obj String
    "editing" Bool
    val

    -- | Construct a t'GValueConstruct' with valid value for the “@editing@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
    constructEditableLabelEditing :: (IsEditableLabel o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
    constructEditableLabelEditing :: forall o (m :: * -> *).
    (IsEditableLabel o, MonadIO m) =>
    Bool -> m (GValueConstruct o)
    constructEditableLabelEditing Bool
    val = IO (GValueConstruct o) -> m (GValueConstruct o)
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
    -> IO (GValueConstruct o) -> m (GValueConstruct o)
    forall a b. (a -> b) -> a -> b
    $ do
        IO (GValueConstruct o) -> IO (GValueConstruct o)
    forall a. IO a -> IO a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
    -> IO (GValueConstruct o) -> IO (GValueConstruct o)
    forall a b. (a -> b) -> a -> b
    $ String -> Bool -> IO (GValueConstruct o)
    forall o. String -> Bool -> IO (GValueConstruct o)
    B.Properties.constructObjectPropertyBool String
    "editing" Bool
    val

    #if defined(ENABLE_OVERLOADING)
    data EditableLabelEditingPropertyInfo
    instance AttrInfo EditableLabelEditingPropertyInfo where
        type AttrAllowedOps EditableLabelEditingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrPut]
        type AttrBaseTypeConstraint EditableLabelEditingPropertyInfo = IsEditableLabel
        type AttrSetTypeConstraint EditableLabelEditingPropertyInfo = (~) Bool
        type AttrTransferTypeConstraint EditableLabelEditingPropertyInfo = (~) Bool
        type AttrTransferType EditableLabelEditingPropertyInfo = Bool
        type AttrGetType EditableLabelEditingPropertyInfo = Bool
        type AttrLabel EditableLabelEditingPropertyInfo = "editing"
        type AttrOrigin EditableLabelEditingPropertyInfo = EditableLabel
        attrGet = getEditableLabelEditing
        attrSet = setEditableLabelEditing
        attrPut = setEditableLabelEditing
        attrTransfer _ v = do
            return v
        attrConstruct = constructEditableLabelEditing
        attrClear = undefined
        dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
            O.resolvedSymbolName = "GI.Gtk.Objects.EditableLabel.editing"
            , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk4-4.0.12/docs/GI-Gtk-Objects-EditableLabel.html#g:attr:editing"
            })
    #endif

    #if defined(ENABLE_OVERLOADING)
    instance O.HasAttributeList EditableLabel
    type instance O.AttributeList EditableLabel = EditableLabelAttributeList
    type EditableLabelAttributeList = ('[ '("accessibleRole", Gtk.Accessible.AccessibleAccessibleRolePropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canTarget", Gtk.Widget.WidgetCanTargetPropertyInfo), '("completeText", Gtk.Editable.EditableCompleteTextPropertyInfo), '("cssClasses", Gtk.Widget.WidgetCssClassesPropertyInfo), '("cssName", Gtk.Widget.WidgetCssNamePropertyInfo), '("cursor", Gtk.Widget.WidgetCursorPropertyInfo), '("cursorPosition", Gtk.Editable.EditableCursorPositionPropertyInfo), '("editable", Gtk.Editable.EditableEditablePropertyInfo), '("editing", EditableLabelEditingPropertyInfo), '("enableUndo", Gtk.Editable.EditableEnableUndoPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusable", Gtk.Widget.WidgetFocusablePropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("inputInterceptor", Gtk.Editable.EditableInputInterceptorPropertyInfo), '("layoutManager", Gtk.Widget.WidgetLayoutManagerPropertyInfo), '("limitEvents", Gtk.Widget.WidgetLimitEventsPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("maxWidthChars", Gtk.Editable.EditableMaxWidthCharsPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("overflow", Gtk.Widget.WidgetOverflowPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("root", Gtk.Widget.WidgetRootPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("selectionBound", Gtk.Editable.EditableSelectionBoundPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("text", Gtk.Editable.EditableTextPropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("widthChars", Gtk.Editable.EditableWidthCharsPropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("xalign", Gtk.Editable.EditableXalignPropertyInfo)] :: [(Symbol, DK.Type)])
    #endif

    #if defined(ENABLE_OVERLOADING)
    editableLabelEditing :: AttrLabelProxy "editing"
    editableLabelEditing = AttrLabelProxy

    #endif

    #if defined(ENABLE_OVERLOADING)
    type instance O.SignalList EditableLabel = EditableLabelSignalList
    type EditableLabelSignalList = ('[ '("changed", Gtk.Editable.EditableChangedSignalInfo), '("deleteText", Gtk.Editable.EditableDeleteTextSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("inputIntercepted", Gtk.Editable.EditableInputInterceptedSignalInfo), '("insertText", Gtk.Editable.EditableInsertTextSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo)] :: [(Symbol, DK.Type)])

    #endif

    -- method EditableLabel::new
    -- method type : Constructor
    -- Args: [ Arg
    --           { argCName = "str"
    --           , argType = TBasicType TUTF8
    --           , argCType = Just "const char*"
    --           , direction = DirectionIn
    --           , mayBeNull = False
    --           , argDoc =
    --               Documentation
    --                 { rawDocText = Just "the text for the label"
    --                 , sinceVersion = Nothing
    --                 }
    --           , argScope = ScopeTypeInvalid
    --           , argClosure = -1
    --           , argDestroy = -1
    --           , argCallerAllocates = False
    --           , argCallbackUserData = False
    --           , transfer = TransferNothing
    --           }
    --       ]
    -- Lengths: []
    -- returnType: Just
    --               (TInterface Name { namespace = "Gtk" , name = "EditableLabel" })
    -- throws : False
    -- Skip return : False

    foreign import ccall "gtk_editable_label_new" gtk_editable_label_new ::
        CString ->                              -- str : TBasicType TUTF8
        IO (Ptr EditableLabel)

    -- | Creates a new @GtkEditableLabel@ widget.
    editableLabelNew ::
        (B.CallStack.HasCallStack, MonadIO m) =>
        T.Text
        -- ^ /@str@/: the text for the label
        -> m EditableLabel
        -- ^ __Returns:__ the new @GtkEditableLabel@
    editableLabelNew :: forall (m :: * -> *).
    (HasCallStack, MonadIO m) =>
    Text -> m EditableLabel
    editableLabelNew Text
    str = IO EditableLabel -> m EditableLabel
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    liftIO (IO EditableLabel -> m EditableLabel)
    -> IO EditableLabel -> m EditableLabel
    forall a b. (a -> b) -> a -> b
    $ do
        str' <- Text -> IO CString
    textToCString Text
    str
        result <- gtk_editable_label_new str'
        checkUnexpectedReturnNULL "editableLabelNew" result
        result' <- (newObject EditableLabel) result
        freeMem str'
        return result'

    #if defined(ENABLE_OVERLOADING)
    #endif

    -- method EditableLabel::get_editing
    -- method type : OrdinaryMethod
    -- Args: [ Arg
    --           { argCName = "self"
    --           , argType =
    --               TInterface Name { namespace = "Gtk" , name = "EditableLabel" }
    --           , argCType = Just "GtkEditableLabel*"
    --           , direction = DirectionIn
    --           , mayBeNull = False
    --           , argDoc =
    --               Documentation
    --                 { rawDocText = Just "a `GtkEditableLabel`"
    --                 , sinceVersion = Nothing
    --                 }
    --           , argScope = ScopeTypeInvalid
    --           , argClosure = -1
    --           , argDestroy = -1
    --           , argCallerAllocates = False
    --           , argCallbackUserData = False
    --           , transfer = TransferNothing
    --           }
    --       ]
    -- Lengths: []
    -- returnType: Just (TBasicType TBoolean)
    -- throws : False
    -- Skip return : False

    foreign import ccall "gtk_editable_label_get_editing" gtk_editable_label_get_editing ::
        Ptr EditableLabel ->                    -- self : TInterface (Name {namespace = "Gtk", name = "EditableLabel"})
        IO CInt

    -- | Returns whether the label is currently in “editing mode”.
    editableLabelGetEditing ::
        (B.CallStack.HasCallStack, MonadIO m, IsEditableLabel a) =>
        a
        -- ^ /@self@/: a @GtkEditableLabel@
        -> m Bool
        -- ^ __Returns:__ 'P.True' if /@self@/ is currently in editing mode
    editableLabelGetEditing :: forall (m :: * -> *) a.
    (HasCallStack, MonadIO m, IsEditableLabel a) =>
    a -> m Bool
    editableLabelGetEditing a
    self = IO Bool -> m Bool
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
    forall a b. (a -> b) -> a -> b
    $ do
        self' <- a -> IO (Ptr EditableLabel)
    forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
    unsafeManagedPtrCastPtr a
    self
        result <- gtk_editable_label_get_editing self'
        let result' = (CInt -> CInt -> Bool
    forall a. Eq a => a -> a -> Bool
    /= CInt
    0) CInt
    result
        touchManagedPtr self
        return result'

    #if defined(ENABLE_OVERLOADING)
    data EditableLabelGetEditingMethodInfo
    instance (signature ~ (m Bool), MonadIO m, IsEditableLabel a) => O.OverloadedMethod EditableLabelGetEditingMethodInfo a signature where
        overloadedMethod = editableLabelGetEditing

    instance O.OverloadedMethodInfo EditableLabelGetEditingMethodInfo a where
        overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
            O.resolvedSymbolName = "GI.Gtk.Objects.EditableLabel.editableLabelGetEditing",
            O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk4-4.0.12/docs/GI-Gtk-Objects-EditableLabel.html#v:editableLabelGetEditing"
            })

    #endif

    -- method EditableLabel::start_editing
    -- method type : OrdinaryMethod
    -- Args: [ Arg
    --           { argCName = "self"
    --           , argType =
    --               TInterface Name { namespace = "Gtk" , name = "EditableLabel" }
    --           , argCType = Just "GtkEditableLabel*"
    --           , direction = DirectionIn
    --           , mayBeNull = False
    --           , argDoc =
    --               Documentation
    --                 { rawDocText = Just "a `GtkEditableLabel`"
    --                 , sinceVersion = Nothing
    --                 }
    --           , argScope = ScopeTypeInvalid
    --           , argClosure = -1
    --           , argDestroy = -1
    --           , argCallerAllocates = False
    --           , argCallbackUserData = False
    --           , transfer = TransferNothing
    --           }
    --       ]
    -- Lengths: []
    -- returnType: Nothing
    -- throws : False
    -- Skip return : False

    foreign import ccall "gtk_editable_label_start_editing" gtk_editable_label_start_editing ::
        Ptr EditableLabel ->                    -- self : TInterface (Name {namespace = "Gtk", name = "EditableLabel"})
        IO ()

    -- | Switches the label into “editing mode”.
    editableLabelStartEditing ::
        (B.CallStack.HasCallStack, MonadIO m, IsEditableLabel a) =>
        a
        -- ^ /@self@/: a @GtkEditableLabel@
        -> m ()
    editableLabelStartEditing :: forall (m :: * -> *) a.
    (HasCallStack, MonadIO m, IsEditableLabel a) =>
    a -> m ()
    editableLabelStartEditing a
    self = IO () -> m ()
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    liftIO (IO () -> m ()) -> IO () -> m ()
    forall a b. (a -> b) -> a -> b
    $ do
        self' <- a -> IO (Ptr EditableLabel)
    forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
    unsafeManagedPtrCastPtr a
    self
        gtk_editable_label_start_editing self'
        touchManagedPtr self
        return ()

    #if defined(ENABLE_OVERLOADING)
    data EditableLabelStartEditingMethodInfo
    instance (signature ~ (m ()), MonadIO m, IsEditableLabel a) => O.OverloadedMethod EditableLabelStartEditingMethodInfo a signature where
        overloadedMethod = editableLabelStartEditing

    instance O.OverloadedMethodInfo EditableLabelStartEditingMethodInfo a where
        overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
            O.resolvedSymbolName = "GI.Gtk.Objects.EditableLabel.editableLabelStartEditing",
            O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk4-4.0.12/docs/GI-Gtk-Objects-EditableLabel.html#v:editableLabelStartEditing"
            })

    #endif

    -- method EditableLabel::stop_editing
    -- method type : OrdinaryMethod
    -- Args: [ Arg
    --           { argCName = "self"
    --           , argType =
    --               TInterface Name { namespace = "Gtk" , name = "EditableLabel" }
    --           , argCType = Just "GtkEditableLabel*"
    --           , direction = DirectionIn
    --           , mayBeNull = False
    --           , argDoc =
    --               Documentation
    --                 { rawDocText = Just "a `GtkEditableLabel`"
    --                 , sinceVersion = Nothing
    --                 }
    --           , argScope = ScopeTypeInvalid
    --           , argClosure = -1
    --           , argDestroy = -1
    --           , argCallerAllocates = False
    --           , argCallbackUserData = False
    --           , transfer = TransferNothing
    --           }
    --       , Arg
    --           { argCName = "commit"
    --           , argType = TBasicType TBoolean
    --           , argCType = Just "gboolean"
    --           , direction = DirectionIn
    --           , mayBeNull = False
    --           , argDoc =
    --               Documentation
    --                 { rawDocText = Just "whether to set the edited text on the label"
    --                 , sinceVersion = Nothing
    --                 }
    --           , argScope = ScopeTypeInvalid
    --           , argClosure = -1
    --           , argDestroy = -1
    --           , argCallerAllocates = False
    --           , argCallbackUserData = False
    --           , transfer = TransferNothing
    --           }
    --       ]
    -- Lengths: []
    -- returnType: Nothing
    -- throws : False
    -- Skip return : False

    foreign import ccall "gtk_editable_label_stop_editing" gtk_editable_label_stop_editing ::
        Ptr EditableLabel ->                    -- self : TInterface (Name {namespace = "Gtk", name = "EditableLabel"})
        CInt ->                                 -- commit : TBasicType TBoolean
        IO ()

    -- | Switches the label out of “editing mode”.
    --
    -- If /@commit@/ is 'P.True', the resulting text is kept as the
    -- [Editable:text]("GI.Gtk.Interfaces.Editable#g:attr:text") property value, otherwise the
    -- resulting text is discarded and the label will keep its
    -- previous [Editable:text]("GI.Gtk.Interfaces.Editable#g:attr:text") property value.
    editableLabelStopEditing ::
        (B.CallStack.HasCallStack, MonadIO m, IsEditableLabel a) =>
        a
        -- ^ /@self@/: a @GtkEditableLabel@
        -> Bool
        -- ^ /@commit@/: whether to set the edited text on the label
        -> m ()
    editableLabelStopEditing :: forall (m :: * -> *) a.
    (HasCallStack, MonadIO m, IsEditableLabel a) =>
    a -> Bool -> m ()
    editableLabelStopEditing a
    self Bool
    commit = IO () -> m ()
    forall a. IO a -> m a
    forall (m :: * -> *) a. MonadIO m => IO a -> m a
    liftIO (IO () -> m ()) -> IO () -> m ()
    forall a b. (a -> b) -> a -> b
    $ do
        self' <- a -> IO (Ptr EditableLabel)
    forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
    unsafeManagedPtrCastPtr a
    self
        let commit' = (Int -> CInt
    forall a b. (Integral a, Num b) => a -> b
    P.fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
    forall b c a. (b -> c) -> (a -> b) -> a -> c
    . Bool -> Int
    forall a. Enum a => a -> Int
    P.fromEnum) Bool
    commit
        gtk_editable_label_stop_editing self' commit'
        touchManagedPtr self
        return ()

    #if defined(ENABLE_OVERLOADING)
    data EditableLabelStopEditingMethodInfo
    instance (signature ~ (Bool -> m ()), MonadIO m, IsEditableLabel a) => O.OverloadedMethod EditableLabelStopEditingMethodInfo a signature where
        overloadedMethod = editableLabelStopEditing

    instance O.OverloadedMethodInfo EditableLabelStopEditingMethodInfo a where
        overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
            O.resolvedSymbolName = "GI.Gtk.Objects.EditableLabel.editableLabelStopEditing",
            O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gtk4-4.0.12/docs/GI-Gtk-Objects-EditableLabel.html#v:editableLabelStopEditing"
            })

    #endif