{-# LANGUAGE TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- A widget presenting sidebar and content side by side or as a navigation view.
-- 
-- \<picture>
--   \<source srcset=\"navigation-split-view-dark.png\" media=\"(prefers-color-scheme: dark)\">
--   \<img src=\"navigation-split-view.png\" alt=\"navigation-split-view\">
-- \<\/picture>
-- \<picture>
--   \<source srcset=\"navigation-split-view-collapsed-dark.png\" media=\"(prefers-color-scheme: dark)\">
--   \<img src=\"navigation-split-view-collapsed.png\" alt=\"navigation-split-view-collapsed\">
-- \<\/picture>
-- 
-- @AdwNavigationSplitView@ has two [class/@navigationPage@/] children: sidebar and
-- content, and displays them side by side.
-- 
-- When [property/@navigationSplitView@/:collapsed] is set to @TRUE@, it instead
-- puts both children inside an [class/@navigationView@/]. The
-- [property/@navigationSplitView@/:show-content] controls which child is visible
-- while collapsed.
-- 
-- See also [class/@overlaySplitView@/].
-- 
-- @AdwNavigationSplitView@ is typically used together with an [class/@breakpoint@/]
-- setting the @collapsed@ property to @TRUE@ on small widths, as follows:
-- 
-- 
-- === /xml code/
-- ><object class="AdwWindow">
-- >  <property name="width-request">280</property>
-- >  <property name="height-request">200</property>
-- >  <property name="default-width">800</property>
-- >  <property name="default-height">800</property>
-- >  <child>
-- >    <object class="AdwBreakpoint">
-- >      <condition>max-width: 400sp</condition>
-- >      <setter object="split_view" property="collapsed">True</setter>
-- >    </object>
-- >  </child>
-- >  <property name="content">
-- >    <object class="AdwNavigationSplitView" id="split_view">
-- >      <property name="sidebar">
-- >        <object class="AdwNavigationPage">
-- >          <property name="title" translatable="yes">Sidebar</property>
-- >          <property name="child">
-- >            <!-- ... -->
-- >          </property>
-- >        </object>
-- >      </property>
-- >      <property name="content">
-- >        <object class="AdwNavigationPage">
-- >          <property name="title" translatable="yes">Content</property>
-- >          <property name="child">
-- >            <!-- ... -->
-- >          </property>
-- >        </object>
-- >      </property>
-- >    </object>
-- >  </property>
-- ></object>
-- 
-- 
-- == Sizing
-- 
-- When not collapsed, @AdwNavigationSplitView@ changes the sidebar width
-- depending on its own width.
-- 
-- If possible, it tries to allocate a fraction of the total width, controlled
-- with the [property/@navigationSplitView@/:sidebar-width-fraction] property.
-- 
-- The sidebar also has minimum and maximum sizes, controlled with the
-- [property/@navigationSplitView@/:min-sidebar-width] and
-- [property/@navigationSplitView@/:max-sidebar-width] properties.
-- 
-- The minimum and maximum sizes are using the length unit specified with the
-- [property/@navigationSplitView@/:sidebar-width-unit].
-- 
-- By default, sidebar is using 25% of the total width, with 180sp as the
-- minimum size and 280sp as the maximum size.
-- 
-- == Header Bar Integration
-- 
-- When used inside @AdwNavigationSplitView@, [class/@headerBar@/] will
-- automatically hide the window buttons in the middle.
-- 
-- When collapsed, it also displays a back button for the content widget, as
-- well as the page titles. See [class/@navigationView@/] documentation for details.
-- 
-- == Actions
-- 
-- @AdwNavigationSplitView@ defines the same actions as @AdwNavigationView@, but
-- they can be used even when the split view is not collapsed:
-- 
-- * @navigation.push@ takes a string parameter specifying the tag of the page
-- 
-- to push. If it matches the tag of the content widget, it sets
-- [property/@navigationSplitView@/:show-content] to @TRUE@.
-- 
-- * @navigation.pop@ doesn\'t take any parameters and sets
-- 
-- [property/@navigationSplitView@/:show-content] to @FALSE@.
-- 
-- == @AdwNavigationSplitView@ as @GtkBuildable@
-- 
-- The @AdwNavigationSplitView@ implementation of the t'GI.Gtk.Interfaces.Buildable.Buildable'
-- interface supports setting the sidebar widget by specifying “sidebar” as the
-- “type” attribute of a @\<child>@ element, Specifying “content” child type or
-- omitting it results in setting the content widget.
-- 
-- == CSS nodes
-- 
-- @AdwNavigationSplitView@ has a single CSS node with the name
-- @navigation-split-view@.
-- 
-- When collapsed, it contains a child node with the name @navigation-view@
-- containing both children.
-- 
-- >navigation-split-view
-- >╰── navigation-view
-- >    ├── [sidebar child]
-- >    ╰── [content child]
-- 
-- 
-- When not collapsed, it contains two nodes with the name @widget@, one with
-- the @.sidebar-pane@ style class, the other one with @.content-view@ style
-- class, containing the sidebar and content children respectively.
-- 
-- >navigation-split-view
-- >├── widget.sidebar-pane
-- >│   ╰── [sidebar child]
-- >╰── widget.content-pane
-- >    ╰── [content child]
-- 
-- 
-- == Accessibility
-- 
-- @AdwNavigationSplitView@ uses the @GTK_ACCESSIBLE_ROLE_GROUP@ role.
-- 
-- /Since: 1.4/

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.Adw.Objects.NavigationSplitView
    ( 

-- * Exported types
    NavigationSplitView(..)                 ,
    IsNavigationSplitView                   ,
    toNavigationSplitView                   ,


 -- * 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"), [disposeTemplate]("GI.Gtk.Objects.Widget#g:method:disposeTemplate"), [dragCheckThreshold]("GI.Gtk.Objects.Widget#g:method:dragCheckThreshold"), [errorBell]("GI.Gtk.Objects.Widget#g:method:errorBell"), [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"), [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"), [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"), [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"), [stealData]("GI.GObject.Objects.Object#g:method:stealData"), [stealQdata]("GI.GObject.Objects.Object#g:method:stealQdata"), [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"), [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
-- [getAccessibleParent]("GI.Gtk.Interfaces.Accessible#g:method:getAccessibleParent"), [getAccessibleRole]("GI.Gtk.Interfaces.Accessible#g:method:getAccessibleRole"), [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"), [getChildVisible]("GI.Gtk.Objects.Widget#g:method:getChildVisible"), [getClipboard]("GI.Gtk.Objects.Widget#g:method:getClipboard"), [getCollapsed]("GI.Adw.Objects.NavigationSplitView#g:method:getCollapsed"), [getColor]("GI.Gtk.Objects.Widget#g:method:getColor"), [getContent]("GI.Adw.Objects.NavigationSplitView#g:method:getContent"), [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"), [getDirection]("GI.Gtk.Objects.Widget#g:method:getDirection"), [getDisplay]("GI.Gtk.Objects.Widget#g:method:getDisplay"), [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"), [getLastChild]("GI.Gtk.Objects.Widget#g:method:getLastChild"), [getLayoutManager]("GI.Gtk.Objects.Widget#g:method:getLayoutManager"), [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"), [getMaxSidebarWidth]("GI.Adw.Objects.NavigationSplitView#g:method:getMaxSidebarWidth"), [getMinSidebarWidth]("GI.Adw.Objects.NavigationSplitView#g:method:getMinSidebarWidth"), [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"), [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"), [getSensitive]("GI.Gtk.Objects.Widget#g:method:getSensitive"), [getSettings]("GI.Gtk.Objects.Widget#g:method:getSettings"), [getShowContent]("GI.Adw.Objects.NavigationSplitView#g:method:getShowContent"), [getSidebar]("GI.Adw.Objects.NavigationSplitView#g:method:getSidebar"), [getSidebarWidthFraction]("GI.Adw.Objects.NavigationSplitView#g:method:getSidebarWidthFraction"), [getSidebarWidthUnit]("GI.Adw.Objects.NavigationSplitView#g:method:getSidebarWidthUnit"), [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"), [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").
-- 
-- ==== Setters
-- [setAccessibleParent]("GI.Gtk.Interfaces.Accessible#g:method:setAccessibleParent"), [setCanFocus]("GI.Gtk.Objects.Widget#g:method:setCanFocus"), [setCanTarget]("GI.Gtk.Objects.Widget#g:method:setCanTarget"), [setChildVisible]("GI.Gtk.Objects.Widget#g:method:setChildVisible"), [setCollapsed]("GI.Adw.Objects.NavigationSplitView#g:method:setCollapsed"), [setContent]("GI.Adw.Objects.NavigationSplitView#g:method:setContent"), [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"), [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"), [setLayoutManager]("GI.Gtk.Objects.Widget#g:method:setLayoutManager"), [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"), [setMaxSidebarWidth]("GI.Adw.Objects.NavigationSplitView#g:method:setMaxSidebarWidth"), [setMinSidebarWidth]("GI.Adw.Objects.NavigationSplitView#g:method:setMinSidebarWidth"), [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"), [setProperty]("GI.GObject.Objects.Object#g:method:setProperty"), [setReceivesDefault]("GI.Gtk.Objects.Widget#g:method:setReceivesDefault"), [setSensitive]("GI.Gtk.Objects.Widget#g:method:setSensitive"), [setShowContent]("GI.Adw.Objects.NavigationSplitView#g:method:setShowContent"), [setSidebar]("GI.Adw.Objects.NavigationSplitView#g:method:setSidebar"), [setSidebarWidthFraction]("GI.Adw.Objects.NavigationSplitView#g:method:setSidebarWidthFraction"), [setSidebarWidthUnit]("GI.Adw.Objects.NavigationSplitView#g:method:setSidebarWidthUnit"), [setSizeRequest]("GI.Gtk.Objects.Widget#g:method:setSizeRequest"), [setStateFlags]("GI.Gtk.Objects.Widget#g:method:setStateFlags"), [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").

#if defined(ENABLE_OVERLOADING)
    ResolveNavigationSplitViewMethod        ,
#endif

-- ** getCollapsed #method:getCollapsed#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetCollapsedMethodInfo,
#endif
    navigationSplitViewGetCollapsed         ,


-- ** getContent #method:getContent#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetContentMethodInfo ,
#endif
    navigationSplitViewGetContent           ,


-- ** getMaxSidebarWidth #method:getMaxSidebarWidth#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetMaxSidebarWidthMethodInfo,
#endif
    navigationSplitViewGetMaxSidebarWidth   ,


-- ** getMinSidebarWidth #method:getMinSidebarWidth#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetMinSidebarWidthMethodInfo,
#endif
    navigationSplitViewGetMinSidebarWidth   ,


-- ** getShowContent #method:getShowContent#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetShowContentMethodInfo,
#endif
    navigationSplitViewGetShowContent       ,


-- ** getSidebar #method:getSidebar#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetSidebarMethodInfo ,
#endif
    navigationSplitViewGetSidebar           ,


-- ** getSidebarWidthFraction #method:getSidebarWidthFraction#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetSidebarWidthFractionMethodInfo,
#endif
    navigationSplitViewGetSidebarWidthFraction,


-- ** getSidebarWidthUnit #method:getSidebarWidthUnit#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewGetSidebarWidthUnitMethodInfo,
#endif
    navigationSplitViewGetSidebarWidthUnit  ,


-- ** new #method:new#

    navigationSplitViewNew                  ,


-- ** setCollapsed #method:setCollapsed#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetCollapsedMethodInfo,
#endif
    navigationSplitViewSetCollapsed         ,


-- ** setContent #method:setContent#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetContentMethodInfo ,
#endif
    navigationSplitViewSetContent           ,


-- ** setMaxSidebarWidth #method:setMaxSidebarWidth#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetMaxSidebarWidthMethodInfo,
#endif
    navigationSplitViewSetMaxSidebarWidth   ,


-- ** setMinSidebarWidth #method:setMinSidebarWidth#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetMinSidebarWidthMethodInfo,
#endif
    navigationSplitViewSetMinSidebarWidth   ,


-- ** setShowContent #method:setShowContent#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetShowContentMethodInfo,
#endif
    navigationSplitViewSetShowContent       ,


-- ** setSidebar #method:setSidebar#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetSidebarMethodInfo ,
#endif
    navigationSplitViewSetSidebar           ,


-- ** setSidebarWidthFraction #method:setSidebarWidthFraction#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetSidebarWidthFractionMethodInfo,
#endif
    navigationSplitViewSetSidebarWidthFraction,


-- ** setSidebarWidthUnit #method:setSidebarWidthUnit#

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSetSidebarWidthUnitMethodInfo,
#endif
    navigationSplitViewSetSidebarWidthUnit  ,




 -- * Properties


-- ** collapsed #attr:collapsed#
-- | Whether the split view is collapsed.
-- 
-- When collapsed, the children are put inside an [class/@navigationView@/],
-- otherwise they are displayed side by side.
-- 
-- The [property/@navigationSplitView@/:show-content] controls which child is
-- visible while collapsed.
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewCollapsedPropertyInfo,
#endif
    constructNavigationSplitViewCollapsed   ,
    getNavigationSplitViewCollapsed         ,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewCollapsed            ,
#endif
    setNavigationSplitViewCollapsed         ,


-- ** content #attr:content#
-- | The content widget.
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewContentPropertyInfo  ,
#endif
    clearNavigationSplitViewContent         ,
    constructNavigationSplitViewContent     ,
    getNavigationSplitViewContent           ,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewContent              ,
#endif
    setNavigationSplitViewContent           ,


-- ** maxSidebarWidth #attr:maxSidebarWidth#
-- | The maximum sidebar width.
-- 
-- Maximum width is affected by
-- [property/@navigationSplitView@/:sidebar-width-unit].
-- 
-- The sidebar widget can still be allocated with larger width if its own
-- minimum width exceeds it.
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewMaxSidebarWidthPropertyInfo,
#endif
    constructNavigationSplitViewMaxSidebarWidth,
    getNavigationSplitViewMaxSidebarWidth   ,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewMaxSidebarWidth      ,
#endif
    setNavigationSplitViewMaxSidebarWidth   ,


-- ** minSidebarWidth #attr:minSidebarWidth#
-- | The minimum sidebar width.
-- 
-- Minimum width is affected by
-- [property/@navigationSplitView@/:sidebar-width-unit].
-- 
-- The sidebar widget can still be allocated with larger width if its own
-- minimum width exceeds it.
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewMinSidebarWidthPropertyInfo,
#endif
    constructNavigationSplitViewMinSidebarWidth,
    getNavigationSplitViewMinSidebarWidth   ,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewMinSidebarWidth      ,
#endif
    setNavigationSplitViewMinSidebarWidth   ,


-- ** showContent #attr:showContent#
-- | Determines the visible page when collapsed.
-- 
-- If set to @TRUE@, the content widget will be the visible page when
-- [property/@navigationSplitView@/:collapsed] is @TRUE@; otherwise the sidebar
-- widget will be visible.
-- 
-- If the split view is already collapsed, the visible page changes
-- immediately.
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewShowContentPropertyInfo,
#endif
    constructNavigationSplitViewShowContent ,
    getNavigationSplitViewShowContent       ,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewShowContent          ,
#endif
    setNavigationSplitViewShowContent       ,


-- ** sidebar #attr:sidebar#
-- | The sidebar widget.
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSidebarPropertyInfo  ,
#endif
    clearNavigationSplitViewSidebar         ,
    constructNavigationSplitViewSidebar     ,
    getNavigationSplitViewSidebar           ,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewSidebar              ,
#endif
    setNavigationSplitViewSidebar           ,


-- ** sidebarWidthFraction #attr:sidebarWidthFraction#
-- | The preferred sidebar width as a fraction of the total width.
-- 
-- The preferred width is additionally limited by
-- [property/@navigationSplitView@/:min-sidebar-width] and
-- [property/@navigationSplitView@/:max-sidebar-width].
-- 
-- The sidebar widget can be allocated with larger width if its own minimum
-- width exceeds the preferred width.
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSidebarWidthFractionPropertyInfo,
#endif
    constructNavigationSplitViewSidebarWidthFraction,
    getNavigationSplitViewSidebarWidthFraction,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewSidebarWidthFraction ,
#endif
    setNavigationSplitViewSidebarWidthFraction,


-- ** sidebarWidthUnit #attr:sidebarWidthUnit#
-- | The length unit for minimum and maximum sidebar widths.
-- 
-- See [property/@navigationSplitView@/:min-sidebar-width] and
-- [property/@navigationSplitView@/:max-sidebar-width].
-- 
-- /Since: 1.4/

#if defined(ENABLE_OVERLOADING)
    NavigationSplitViewSidebarWidthUnitPropertyInfo,
#endif
    constructNavigationSplitViewSidebarWidthUnit,
    getNavigationSplitViewSidebarWidthUnit  ,
#if defined(ENABLE_OVERLOADING)
    navigationSplitViewSidebarWidthUnit     ,
#endif
    setNavigationSplitViewSidebarWidthUnit  ,




    ) 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 {-# SOURCE #-} qualified GI.Adw.Enums as Adw.Enums
import {-# SOURCE #-} qualified GI.Adw.Objects.NavigationPage as Adw.NavigationPage
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gtk.Interfaces.Accessible as Gtk.Accessible
import qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import qualified GI.Gtk.Interfaces.ConstraintTarget as Gtk.ConstraintTarget
import qualified GI.Gtk.Objects.Widget as Gtk.Widget

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

#endif

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

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

foreign import ccall "adw_navigation_split_view_get_type"
    c_adw_navigation_split_view_get_type :: IO B.Types.GType

instance B.Types.TypedObject NavigationSplitView where
    glibType :: IO GType
glibType = IO GType
c_adw_navigation_split_view_get_type

instance B.Types.GObject NavigationSplitView

-- | Type class for types which can be safely cast to `NavigationSplitView`, for instance with `toNavigationSplitView`.
class (SP.GObject o, O.IsDescendantOf NavigationSplitView o) => IsNavigationSplitView o
instance (SP.GObject o, O.IsDescendantOf NavigationSplitView o) => IsNavigationSplitView o

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

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

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

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

instance (info ~ ResolveNavigationSplitViewMethod t NavigationSplitView, O.OverloadedMethod info NavigationSplitView p) => OL.IsLabel t (NavigationSplitView -> 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 ~ ResolveNavigationSplitViewMethod t NavigationSplitView, O.OverloadedMethod info NavigationSplitView p, R.HasField t NavigationSplitView p) => R.HasField t NavigationSplitView p where
    getField = O.overloadedMethod @info

#endif

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

#endif

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

-- | Get the value of the “@collapsed@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' navigationSplitView #collapsed
-- @
getNavigationSplitViewCollapsed :: (MonadIO m, IsNavigationSplitView o) => o -> m Bool
getNavigationSplitViewCollapsed :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m Bool
getNavigationSplitViewCollapsed 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
"collapsed"

-- | Set the value of the “@collapsed@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' navigationSplitView [ #collapsed 'Data.GI.Base.Attributes.:=' value ]
-- @
setNavigationSplitViewCollapsed :: (MonadIO m, IsNavigationSplitView o) => o -> Bool -> m ()
setNavigationSplitViewCollapsed :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> Bool -> m ()
setNavigationSplitViewCollapsed 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
"collapsed" Bool
val

-- | Construct a `GValueConstruct` with valid value for the “@collapsed@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructNavigationSplitViewCollapsed :: (IsNavigationSplitView o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructNavigationSplitViewCollapsed :: forall o (m :: * -> *).
(IsNavigationSplitView o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructNavigationSplitViewCollapsed 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
"collapsed" Bool
val

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewCollapsedPropertyInfo
instance AttrInfo NavigationSplitViewCollapsedPropertyInfo where
    type AttrAllowedOps NavigationSplitViewCollapsedPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint NavigationSplitViewCollapsedPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewCollapsedPropertyInfo = (~) Bool
    type AttrTransferTypeConstraint NavigationSplitViewCollapsedPropertyInfo = (~) Bool
    type AttrTransferType NavigationSplitViewCollapsedPropertyInfo = Bool
    type AttrGetType NavigationSplitViewCollapsedPropertyInfo = Bool
    type AttrLabel NavigationSplitViewCollapsedPropertyInfo = "collapsed"
    type AttrOrigin NavigationSplitViewCollapsedPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewCollapsed
    attrSet = setNavigationSplitViewCollapsed
    attrTransfer _ v = do
        return v
    attrConstruct = constructNavigationSplitViewCollapsed
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.collapsed"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:collapsed"
        })
#endif

-- VVV Prop "content"
   -- Type: TInterface (Name {namespace = "Adw", name = "NavigationPage"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just True)

-- | Get the value of the “@content@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' navigationSplitView #content
-- @
getNavigationSplitViewContent :: (MonadIO m, IsNavigationSplitView o) => o -> m (Maybe Adw.NavigationPage.NavigationPage)
getNavigationSplitViewContent :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m (Maybe NavigationPage)
getNavigationSplitViewContent o
obj = IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe NavigationPage) -> m (Maybe NavigationPage))
-> IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr NavigationPage -> NavigationPage)
-> IO (Maybe NavigationPage)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"content" ManagedPtr NavigationPage -> NavigationPage
Adw.NavigationPage.NavigationPage

-- | Set the value of the “@content@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' navigationSplitView [ #content 'Data.GI.Base.Attributes.:=' value ]
-- @
setNavigationSplitViewContent :: (MonadIO m, IsNavigationSplitView o, Adw.NavigationPage.IsNavigationPage a) => o -> a -> m ()
setNavigationSplitViewContent :: forall (m :: * -> *) o a.
(MonadIO m, IsNavigationSplitView o, IsNavigationPage a) =>
o -> a -> m ()
setNavigationSplitViewContent o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"content" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)

-- | Construct a `GValueConstruct` with valid value for the “@content@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructNavigationSplitViewContent :: (IsNavigationSplitView o, MIO.MonadIO m, Adw.NavigationPage.IsNavigationPage a) => a -> m (GValueConstruct o)
constructNavigationSplitViewContent :: forall o (m :: * -> *) a.
(IsNavigationSplitView o, MonadIO m, IsNavigationPage a) =>
a -> m (GValueConstruct o)
constructNavigationSplitViewContent a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"content" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)

-- | Set the value of the “@content@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #content
-- @
clearNavigationSplitViewContent :: (MonadIO m, IsNavigationSplitView o) => o -> m ()
clearNavigationSplitViewContent :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m ()
clearNavigationSplitViewContent o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe NavigationPage -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"content" (Maybe NavigationPage
forall a. Maybe a
Nothing :: Maybe Adw.NavigationPage.NavigationPage)

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewContentPropertyInfo
instance AttrInfo NavigationSplitViewContentPropertyInfo where
    type AttrAllowedOps NavigationSplitViewContentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint NavigationSplitViewContentPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewContentPropertyInfo = Adw.NavigationPage.IsNavigationPage
    type AttrTransferTypeConstraint NavigationSplitViewContentPropertyInfo = Adw.NavigationPage.IsNavigationPage
    type AttrTransferType NavigationSplitViewContentPropertyInfo = Adw.NavigationPage.NavigationPage
    type AttrGetType NavigationSplitViewContentPropertyInfo = (Maybe Adw.NavigationPage.NavigationPage)
    type AttrLabel NavigationSplitViewContentPropertyInfo = "content"
    type AttrOrigin NavigationSplitViewContentPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewContent
    attrSet = setNavigationSplitViewContent
    attrTransfer _ v = do
        unsafeCastTo Adw.NavigationPage.NavigationPage v
    attrConstruct = constructNavigationSplitViewContent
    attrClear = clearNavigationSplitViewContent
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.content"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:content"
        })
#endif

-- VVV Prop "max-sidebar-width"
   -- Type: TBasicType TDouble
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@max-sidebar-width@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' navigationSplitView #maxSidebarWidth
-- @
getNavigationSplitViewMaxSidebarWidth :: (MonadIO m, IsNavigationSplitView o) => o -> m Double
getNavigationSplitViewMaxSidebarWidth :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m Double
getNavigationSplitViewMaxSidebarWidth o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"max-sidebar-width"

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

-- | Construct a `GValueConstruct` with valid value for the “@max-sidebar-width@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructNavigationSplitViewMaxSidebarWidth :: (IsNavigationSplitView o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructNavigationSplitViewMaxSidebarWidth :: forall o (m :: * -> *).
(IsNavigationSplitView o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructNavigationSplitViewMaxSidebarWidth Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"max-sidebar-width" Double
val

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewMaxSidebarWidthPropertyInfo
instance AttrInfo NavigationSplitViewMaxSidebarWidthPropertyInfo where
    type AttrAllowedOps NavigationSplitViewMaxSidebarWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint NavigationSplitViewMaxSidebarWidthPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewMaxSidebarWidthPropertyInfo = (~) Double
    type AttrTransferTypeConstraint NavigationSplitViewMaxSidebarWidthPropertyInfo = (~) Double
    type AttrTransferType NavigationSplitViewMaxSidebarWidthPropertyInfo = Double
    type AttrGetType NavigationSplitViewMaxSidebarWidthPropertyInfo = Double
    type AttrLabel NavigationSplitViewMaxSidebarWidthPropertyInfo = "max-sidebar-width"
    type AttrOrigin NavigationSplitViewMaxSidebarWidthPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewMaxSidebarWidth
    attrSet = setNavigationSplitViewMaxSidebarWidth
    attrTransfer _ v = do
        return v
    attrConstruct = constructNavigationSplitViewMaxSidebarWidth
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.maxSidebarWidth"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:maxSidebarWidth"
        })
#endif

-- VVV Prop "min-sidebar-width"
   -- Type: TBasicType TDouble
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@min-sidebar-width@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' navigationSplitView #minSidebarWidth
-- @
getNavigationSplitViewMinSidebarWidth :: (MonadIO m, IsNavigationSplitView o) => o -> m Double
getNavigationSplitViewMinSidebarWidth :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m Double
getNavigationSplitViewMinSidebarWidth o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"min-sidebar-width"

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

-- | Construct a `GValueConstruct` with valid value for the “@min-sidebar-width@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructNavigationSplitViewMinSidebarWidth :: (IsNavigationSplitView o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructNavigationSplitViewMinSidebarWidth :: forall o (m :: * -> *).
(IsNavigationSplitView o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructNavigationSplitViewMinSidebarWidth Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"min-sidebar-width" Double
val

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewMinSidebarWidthPropertyInfo
instance AttrInfo NavigationSplitViewMinSidebarWidthPropertyInfo where
    type AttrAllowedOps NavigationSplitViewMinSidebarWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint NavigationSplitViewMinSidebarWidthPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewMinSidebarWidthPropertyInfo = (~) Double
    type AttrTransferTypeConstraint NavigationSplitViewMinSidebarWidthPropertyInfo = (~) Double
    type AttrTransferType NavigationSplitViewMinSidebarWidthPropertyInfo = Double
    type AttrGetType NavigationSplitViewMinSidebarWidthPropertyInfo = Double
    type AttrLabel NavigationSplitViewMinSidebarWidthPropertyInfo = "min-sidebar-width"
    type AttrOrigin NavigationSplitViewMinSidebarWidthPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewMinSidebarWidth
    attrSet = setNavigationSplitViewMinSidebarWidth
    attrTransfer _ v = do
        return v
    attrConstruct = constructNavigationSplitViewMinSidebarWidth
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.minSidebarWidth"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:minSidebarWidth"
        })
#endif

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

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

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

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

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewShowContentPropertyInfo
instance AttrInfo NavigationSplitViewShowContentPropertyInfo where
    type AttrAllowedOps NavigationSplitViewShowContentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint NavigationSplitViewShowContentPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewShowContentPropertyInfo = (~) Bool
    type AttrTransferTypeConstraint NavigationSplitViewShowContentPropertyInfo = (~) Bool
    type AttrTransferType NavigationSplitViewShowContentPropertyInfo = Bool
    type AttrGetType NavigationSplitViewShowContentPropertyInfo = Bool
    type AttrLabel NavigationSplitViewShowContentPropertyInfo = "show-content"
    type AttrOrigin NavigationSplitViewShowContentPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewShowContent
    attrSet = setNavigationSplitViewShowContent
    attrTransfer _ v = do
        return v
    attrConstruct = constructNavigationSplitViewShowContent
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.showContent"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:showContent"
        })
#endif

-- VVV Prop "sidebar"
   -- Type: TInterface (Name {namespace = "Adw", name = "NavigationPage"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just True)

-- | Get the value of the “@sidebar@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' navigationSplitView #sidebar
-- @
getNavigationSplitViewSidebar :: (MonadIO m, IsNavigationSplitView o) => o -> m (Maybe Adw.NavigationPage.NavigationPage)
getNavigationSplitViewSidebar :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m (Maybe NavigationPage)
getNavigationSplitViewSidebar o
obj = IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe NavigationPage) -> m (Maybe NavigationPage))
-> IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr NavigationPage -> NavigationPage)
-> IO (Maybe NavigationPage)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"sidebar" ManagedPtr NavigationPage -> NavigationPage
Adw.NavigationPage.NavigationPage

-- | Set the value of the “@sidebar@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' navigationSplitView [ #sidebar 'Data.GI.Base.Attributes.:=' value ]
-- @
setNavigationSplitViewSidebar :: (MonadIO m, IsNavigationSplitView o, Adw.NavigationPage.IsNavigationPage a) => o -> a -> m ()
setNavigationSplitViewSidebar :: forall (m :: * -> *) o a.
(MonadIO m, IsNavigationSplitView o, IsNavigationPage a) =>
o -> a -> m ()
setNavigationSplitViewSidebar o
obj a
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe a -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"sidebar" (a -> Maybe a
forall a. a -> Maybe a
Just a
val)

-- | Construct a `GValueConstruct` with valid value for the “@sidebar@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructNavigationSplitViewSidebar :: (IsNavigationSplitView o, MIO.MonadIO m, Adw.NavigationPage.IsNavigationPage a) => a -> m (GValueConstruct o)
constructNavigationSplitViewSidebar :: forall o (m :: * -> *) a.
(IsNavigationSplitView o, MonadIO m, IsNavigationPage a) =>
a -> m (GValueConstruct o)
constructNavigationSplitViewSidebar a
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe a -> IO (GValueConstruct o)
forall a o.
GObject a =>
String -> Maybe a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyObject String
"sidebar" (a -> Maybe a
forall a. a -> Maybe a
P.Just a
val)

-- | Set the value of the “@sidebar@” property to `Nothing`.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.clear' #sidebar
-- @
clearNavigationSplitViewSidebar :: (MonadIO m, IsNavigationSplitView o) => o -> m ()
clearNavigationSplitViewSidebar :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m ()
clearNavigationSplitViewSidebar o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe NavigationPage -> IO ()
forall a b.
(GObject a, GObject b) =>
a -> String -> Maybe b -> IO ()
B.Properties.setObjectPropertyObject o
obj String
"sidebar" (Maybe NavigationPage
forall a. Maybe a
Nothing :: Maybe Adw.NavigationPage.NavigationPage)

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSidebarPropertyInfo
instance AttrInfo NavigationSplitViewSidebarPropertyInfo where
    type AttrAllowedOps NavigationSplitViewSidebarPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint NavigationSplitViewSidebarPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewSidebarPropertyInfo = Adw.NavigationPage.IsNavigationPage
    type AttrTransferTypeConstraint NavigationSplitViewSidebarPropertyInfo = Adw.NavigationPage.IsNavigationPage
    type AttrTransferType NavigationSplitViewSidebarPropertyInfo = Adw.NavigationPage.NavigationPage
    type AttrGetType NavigationSplitViewSidebarPropertyInfo = (Maybe Adw.NavigationPage.NavigationPage)
    type AttrLabel NavigationSplitViewSidebarPropertyInfo = "sidebar"
    type AttrOrigin NavigationSplitViewSidebarPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewSidebar
    attrSet = setNavigationSplitViewSidebar
    attrTransfer _ v = do
        unsafeCastTo Adw.NavigationPage.NavigationPage v
    attrConstruct = constructNavigationSplitViewSidebar
    attrClear = clearNavigationSplitViewSidebar
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.sidebar"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:sidebar"
        })
#endif

-- VVV Prop "sidebar-width-fraction"
   -- Type: TBasicType TDouble
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@sidebar-width-fraction@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' navigationSplitView #sidebarWidthFraction
-- @
getNavigationSplitViewSidebarWidthFraction :: (MonadIO m, IsNavigationSplitView o) => o -> m Double
getNavigationSplitViewSidebarWidthFraction :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m Double
getNavigationSplitViewSidebarWidthFraction o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"sidebar-width-fraction"

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

-- | Construct a `GValueConstruct` with valid value for the “@sidebar-width-fraction@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructNavigationSplitViewSidebarWidthFraction :: (IsNavigationSplitView o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructNavigationSplitViewSidebarWidthFraction :: forall o (m :: * -> *).
(IsNavigationSplitView o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructNavigationSplitViewSidebarWidthFraction Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"sidebar-width-fraction" Double
val

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSidebarWidthFractionPropertyInfo
instance AttrInfo NavigationSplitViewSidebarWidthFractionPropertyInfo where
    type AttrAllowedOps NavigationSplitViewSidebarWidthFractionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint NavigationSplitViewSidebarWidthFractionPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewSidebarWidthFractionPropertyInfo = (~) Double
    type AttrTransferTypeConstraint NavigationSplitViewSidebarWidthFractionPropertyInfo = (~) Double
    type AttrTransferType NavigationSplitViewSidebarWidthFractionPropertyInfo = Double
    type AttrGetType NavigationSplitViewSidebarWidthFractionPropertyInfo = Double
    type AttrLabel NavigationSplitViewSidebarWidthFractionPropertyInfo = "sidebar-width-fraction"
    type AttrOrigin NavigationSplitViewSidebarWidthFractionPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewSidebarWidthFraction
    attrSet = setNavigationSplitViewSidebarWidthFraction
    attrTransfer _ v = do
        return v
    attrConstruct = constructNavigationSplitViewSidebarWidthFraction
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.sidebarWidthFraction"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:sidebarWidthFraction"
        })
#endif

-- VVV Prop "sidebar-width-unit"
   -- Type: TInterface (Name {namespace = "Adw", name = "LengthUnit"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@sidebar-width-unit@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' navigationSplitView #sidebarWidthUnit
-- @
getNavigationSplitViewSidebarWidthUnit :: (MonadIO m, IsNavigationSplitView o) => o -> m Adw.Enums.LengthUnit
getNavigationSplitViewSidebarWidthUnit :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> m LengthUnit
getNavigationSplitViewSidebarWidthUnit o
obj = IO LengthUnit -> m LengthUnit
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO LengthUnit -> m LengthUnit) -> IO LengthUnit -> m LengthUnit
forall a b. (a -> b) -> a -> b
$ o -> String -> IO LengthUnit
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"sidebar-width-unit"

-- | Set the value of the “@sidebar-width-unit@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' navigationSplitView [ #sidebarWidthUnit 'Data.GI.Base.Attributes.:=' value ]
-- @
setNavigationSplitViewSidebarWidthUnit :: (MonadIO m, IsNavigationSplitView o) => o -> Adw.Enums.LengthUnit -> m ()
setNavigationSplitViewSidebarWidthUnit :: forall (m :: * -> *) o.
(MonadIO m, IsNavigationSplitView o) =>
o -> LengthUnit -> m ()
setNavigationSplitViewSidebarWidthUnit o
obj LengthUnit
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 -> LengthUnit -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"sidebar-width-unit" LengthUnit
val

-- | Construct a `GValueConstruct` with valid value for the “@sidebar-width-unit@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructNavigationSplitViewSidebarWidthUnit :: (IsNavigationSplitView o, MIO.MonadIO m) => Adw.Enums.LengthUnit -> m (GValueConstruct o)
constructNavigationSplitViewSidebarWidthUnit :: forall o (m :: * -> *).
(IsNavigationSplitView o, MonadIO m) =>
LengthUnit -> m (GValueConstruct o)
constructNavigationSplitViewSidebarWidthUnit LengthUnit
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 -> LengthUnit -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"sidebar-width-unit" LengthUnit
val

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSidebarWidthUnitPropertyInfo
instance AttrInfo NavigationSplitViewSidebarWidthUnitPropertyInfo where
    type AttrAllowedOps NavigationSplitViewSidebarWidthUnitPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint NavigationSplitViewSidebarWidthUnitPropertyInfo = IsNavigationSplitView
    type AttrSetTypeConstraint NavigationSplitViewSidebarWidthUnitPropertyInfo = (~) Adw.Enums.LengthUnit
    type AttrTransferTypeConstraint NavigationSplitViewSidebarWidthUnitPropertyInfo = (~) Adw.Enums.LengthUnit
    type AttrTransferType NavigationSplitViewSidebarWidthUnitPropertyInfo = Adw.Enums.LengthUnit
    type AttrGetType NavigationSplitViewSidebarWidthUnitPropertyInfo = Adw.Enums.LengthUnit
    type AttrLabel NavigationSplitViewSidebarWidthUnitPropertyInfo = "sidebar-width-unit"
    type AttrOrigin NavigationSplitViewSidebarWidthUnitPropertyInfo = NavigationSplitView
    attrGet = getNavigationSplitViewSidebarWidthUnit
    attrSet = setNavigationSplitViewSidebarWidthUnit
    attrTransfer _ v = do
        return v
    attrConstruct = constructNavigationSplitViewSidebarWidthUnit
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.sidebarWidthUnit"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#g:attr:sidebarWidthUnit"
        })
#endif

#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList NavigationSplitView
type instance O.AttributeList NavigationSplitView = NavigationSplitViewAttributeList
type NavigationSplitViewAttributeList = ('[ '("accessibleRole", Gtk.Accessible.AccessibleAccessibleRolePropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canTarget", Gtk.Widget.WidgetCanTargetPropertyInfo), '("collapsed", NavigationSplitViewCollapsedPropertyInfo), '("content", NavigationSplitViewContentPropertyInfo), '("cssClasses", Gtk.Widget.WidgetCssClassesPropertyInfo), '("cssName", Gtk.Widget.WidgetCssNamePropertyInfo), '("cursor", Gtk.Widget.WidgetCursorPropertyInfo), '("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), '("layoutManager", Gtk.Widget.WidgetLayoutManagerPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("maxSidebarWidth", NavigationSplitViewMaxSidebarWidthPropertyInfo), '("minSidebarWidth", NavigationSplitViewMinSidebarWidthPropertyInfo), '("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), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("showContent", NavigationSplitViewShowContentPropertyInfo), '("sidebar", NavigationSplitViewSidebarPropertyInfo), '("sidebarWidthFraction", NavigationSplitViewSidebarWidthFractionPropertyInfo), '("sidebarWidthUnit", NavigationSplitViewSidebarWidthUnitPropertyInfo), '("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)] :: [(Symbol, DK.Type)])
#endif

#if defined(ENABLE_OVERLOADING)
navigationSplitViewCollapsed :: AttrLabelProxy "collapsed"
navigationSplitViewCollapsed = AttrLabelProxy

navigationSplitViewContent :: AttrLabelProxy "content"
navigationSplitViewContent = AttrLabelProxy

navigationSplitViewMaxSidebarWidth :: AttrLabelProxy "maxSidebarWidth"
navigationSplitViewMaxSidebarWidth = AttrLabelProxy

navigationSplitViewMinSidebarWidth :: AttrLabelProxy "minSidebarWidth"
navigationSplitViewMinSidebarWidth = AttrLabelProxy

navigationSplitViewShowContent :: AttrLabelProxy "showContent"
navigationSplitViewShowContent = AttrLabelProxy

navigationSplitViewSidebar :: AttrLabelProxy "sidebar"
navigationSplitViewSidebar = AttrLabelProxy

navigationSplitViewSidebarWidthFraction :: AttrLabelProxy "sidebarWidthFraction"
navigationSplitViewSidebarWidthFraction = AttrLabelProxy

navigationSplitViewSidebarWidthUnit :: AttrLabelProxy "sidebarWidthUnit"
navigationSplitViewSidebarWidthUnit = AttrLabelProxy

#endif

#if defined(ENABLE_OVERLOADING)
type instance O.SignalList NavigationSplitView = NavigationSplitViewSignalList
type NavigationSplitViewSignalList = ('[ '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("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 NavigationSplitView::new
-- method type : Constructor
-- Args: []
-- Lengths: []
-- returnType: Just
--               (TInterface
--                  Name { namespace = "Adw" , name = "NavigationSplitView" })
-- throws : False
-- Skip return : False

foreign import ccall "adw_navigation_split_view_new" adw_navigation_split_view_new :: 
    IO (Ptr NavigationSplitView)

-- | Creates a new @AdwNavigationSplitView@.
-- 
-- /Since: 1.4/
navigationSplitViewNew ::
    (B.CallStack.HasCallStack, MonadIO m) =>
    m NavigationSplitView
    -- ^ __Returns:__ the newly created @AdwNavigationSplitView@
navigationSplitViewNew :: forall (m :: * -> *).
(HasCallStack, MonadIO m) =>
m NavigationSplitView
navigationSplitViewNew  = IO NavigationSplitView -> m NavigationSplitView
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO NavigationSplitView -> m NavigationSplitView)
-> IO NavigationSplitView -> m NavigationSplitView
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
result <- IO (Ptr NavigationSplitView)
adw_navigation_split_view_new
    Text -> Ptr NavigationSplitView -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"navigationSplitViewNew" Ptr NavigationSplitView
result
    NavigationSplitView
result' <- ((ManagedPtr NavigationSplitView -> NavigationSplitView)
-> Ptr NavigationSplitView -> IO NavigationSplitView
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr NavigationSplitView -> NavigationSplitView
NavigationSplitView) Ptr NavigationSplitView
result
    NavigationSplitView -> IO NavigationSplitView
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return NavigationSplitView
result'

#if defined(ENABLE_OVERLOADING)
#endif

-- method NavigationSplitView::get_collapsed
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , 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 "adw_navigation_split_view_get_collapsed" adw_navigation_split_view_get_collapsed :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO CInt

-- | Gets whether /@self@/ is collapsed.
-- 
-- /Since: 1.4/
navigationSplitViewGetCollapsed ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m Bool
    -- ^ __Returns:__ whether /@self@/ is collapsed
navigationSplitViewGetCollapsed :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m Bool
navigationSplitViewGetCollapsed a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CInt
result <- Ptr NavigationSplitView -> IO CInt
adw_navigation_split_view_get_collapsed Ptr NavigationSplitView
self'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetCollapsedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetCollapsedMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetCollapsed

instance O.OverloadedMethodInfo NavigationSplitViewGetCollapsedMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetCollapsed",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetCollapsed"
        })


#endif

-- method NavigationSplitView::get_content
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just
--               (TInterface Name { namespace = "Adw" , name = "NavigationPage" })
-- throws : False
-- Skip return : False

foreign import ccall "adw_navigation_split_view_get_content" adw_navigation_split_view_get_content :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO (Ptr Adw.NavigationPage.NavigationPage)

-- | Sets the content widget for /@self@/.
-- 
-- /Since: 1.4/
navigationSplitViewGetContent ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m (Maybe Adw.NavigationPage.NavigationPage)
    -- ^ __Returns:__ the content widget
navigationSplitViewGetContent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m (Maybe NavigationPage)
navigationSplitViewGetContent a
self = IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe NavigationPage) -> m (Maybe NavigationPage))
-> IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr NavigationPage
result <- Ptr NavigationSplitView -> IO (Ptr NavigationPage)
adw_navigation_split_view_get_content Ptr NavigationSplitView
self'
    Maybe NavigationPage
maybeResult <- Ptr NavigationPage
-> (Ptr NavigationPage -> IO NavigationPage)
-> IO (Maybe NavigationPage)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr NavigationPage
result ((Ptr NavigationPage -> IO NavigationPage)
 -> IO (Maybe NavigationPage))
-> (Ptr NavigationPage -> IO NavigationPage)
-> IO (Maybe NavigationPage)
forall a b. (a -> b) -> a -> b
$ \Ptr NavigationPage
result' -> do
        NavigationPage
result'' <- ((ManagedPtr NavigationPage -> NavigationPage)
-> Ptr NavigationPage -> IO NavigationPage
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr NavigationPage -> NavigationPage
Adw.NavigationPage.NavigationPage) Ptr NavigationPage
result'
        NavigationPage -> IO NavigationPage
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return NavigationPage
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe NavigationPage -> IO (Maybe NavigationPage)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe NavigationPage
maybeResult

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetContentMethodInfo
instance (signature ~ (m (Maybe Adw.NavigationPage.NavigationPage)), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetContentMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetContent

instance O.OverloadedMethodInfo NavigationSplitViewGetContentMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetContent",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetContent"
        })


#endif

-- method NavigationSplitView::get_max_sidebar_width
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TDouble)
-- throws : False
-- Skip return : False

foreign import ccall "adw_navigation_split_view_get_max_sidebar_width" adw_navigation_split_view_get_max_sidebar_width :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO CDouble

-- | Gets the maximum sidebar width for /@self@/.
-- 
-- /Since: 1.4/
navigationSplitViewGetMaxSidebarWidth ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m Double
    -- ^ __Returns:__ the maximum width
navigationSplitViewGetMaxSidebarWidth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m Double
navigationSplitViewGetMaxSidebarWidth a
self = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CDouble
result <- Ptr NavigationSplitView -> IO CDouble
adw_navigation_split_view_get_max_sidebar_width Ptr NavigationSplitView
self'
    let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetMaxSidebarWidthMethodInfo
instance (signature ~ (m Double), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetMaxSidebarWidthMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetMaxSidebarWidth

instance O.OverloadedMethodInfo NavigationSplitViewGetMaxSidebarWidthMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetMaxSidebarWidth",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetMaxSidebarWidth"
        })


#endif

-- method NavigationSplitView::get_min_sidebar_width
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TDouble)
-- throws : False
-- Skip return : False

foreign import ccall "adw_navigation_split_view_get_min_sidebar_width" adw_navigation_split_view_get_min_sidebar_width :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO CDouble

-- | Gets the minimum sidebar width for /@self@/.
-- 
-- /Since: 1.4/
navigationSplitViewGetMinSidebarWidth ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m Double
    -- ^ __Returns:__ the minimum width
navigationSplitViewGetMinSidebarWidth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m Double
navigationSplitViewGetMinSidebarWidth a
self = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CDouble
result <- Ptr NavigationSplitView -> IO CDouble
adw_navigation_split_view_get_min_sidebar_width Ptr NavigationSplitView
self'
    let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetMinSidebarWidthMethodInfo
instance (signature ~ (m Double), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetMinSidebarWidthMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetMinSidebarWidth

instance O.OverloadedMethodInfo NavigationSplitViewGetMinSidebarWidthMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetMinSidebarWidth",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetMinSidebarWidth"
        })


#endif

-- method NavigationSplitView::get_show_content
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , 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 "adw_navigation_split_view_get_show_content" adw_navigation_split_view_get_show_content :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO CInt

-- | Gets which page is visible when /@self@/ is collapsed.
-- 
-- /Since: 1.4/
navigationSplitViewGetShowContent ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m Bool
    -- ^ __Returns:__ whether to show content when collapsed
navigationSplitViewGetShowContent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m Bool
navigationSplitViewGetShowContent a
self = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CInt
result <- Ptr NavigationSplitView -> IO CInt
adw_navigation_split_view_get_show_content Ptr NavigationSplitView
self'
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetShowContentMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetShowContentMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetShowContent

instance O.OverloadedMethodInfo NavigationSplitViewGetShowContentMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetShowContent",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetShowContent"
        })


#endif

-- method NavigationSplitView::get_sidebar
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just
--               (TInterface Name { namespace = "Adw" , name = "NavigationPage" })
-- throws : False
-- Skip return : False

foreign import ccall "adw_navigation_split_view_get_sidebar" adw_navigation_split_view_get_sidebar :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO (Ptr Adw.NavigationPage.NavigationPage)

-- | Gets the sidebar widget for /@self@/.
-- 
-- /Since: 1.4/
navigationSplitViewGetSidebar ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m (Maybe Adw.NavigationPage.NavigationPage)
    -- ^ __Returns:__ the sidebar widget
navigationSplitViewGetSidebar :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m (Maybe NavigationPage)
navigationSplitViewGetSidebar a
self = IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe NavigationPage) -> m (Maybe NavigationPage))
-> IO (Maybe NavigationPage) -> m (Maybe NavigationPage)
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr NavigationPage
result <- Ptr NavigationSplitView -> IO (Ptr NavigationPage)
adw_navigation_split_view_get_sidebar Ptr NavigationSplitView
self'
    Maybe NavigationPage
maybeResult <- Ptr NavigationPage
-> (Ptr NavigationPage -> IO NavigationPage)
-> IO (Maybe NavigationPage)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr NavigationPage
result ((Ptr NavigationPage -> IO NavigationPage)
 -> IO (Maybe NavigationPage))
-> (Ptr NavigationPage -> IO NavigationPage)
-> IO (Maybe NavigationPage)
forall a b. (a -> b) -> a -> b
$ \Ptr NavigationPage
result' -> do
        NavigationPage
result'' <- ((ManagedPtr NavigationPage -> NavigationPage)
-> Ptr NavigationPage -> IO NavigationPage
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr NavigationPage -> NavigationPage
Adw.NavigationPage.NavigationPage) Ptr NavigationPage
result'
        NavigationPage -> IO NavigationPage
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return NavigationPage
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe NavigationPage -> IO (Maybe NavigationPage)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe NavigationPage
maybeResult

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetSidebarMethodInfo
instance (signature ~ (m (Maybe Adw.NavigationPage.NavigationPage)), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetSidebarMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetSidebar

instance O.OverloadedMethodInfo NavigationSplitViewGetSidebarMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetSidebar",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetSidebar"
        })


#endif

-- method NavigationSplitView::get_sidebar_width_fraction
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TDouble)
-- throws : False
-- Skip return : False

foreign import ccall "adw_navigation_split_view_get_sidebar_width_fraction" adw_navigation_split_view_get_sidebar_width_fraction :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO CDouble

-- | Gets the preferred sidebar width fraction for /@self@/.
-- 
-- /Since: 1.4/
navigationSplitViewGetSidebarWidthFraction ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m Double
    -- ^ __Returns:__ the preferred width fraction
navigationSplitViewGetSidebarWidthFraction :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m Double
navigationSplitViewGetSidebarWidthFraction a
self = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CDouble
result <- Ptr NavigationSplitView -> IO CDouble
adw_navigation_split_view_get_sidebar_width_fraction Ptr NavigationSplitView
self'
    let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetSidebarWidthFractionMethodInfo
instance (signature ~ (m Double), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetSidebarWidthFractionMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetSidebarWidthFraction

instance O.OverloadedMethodInfo NavigationSplitViewGetSidebarWidthFractionMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetSidebarWidthFraction",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetSidebarWidthFraction"
        })


#endif

-- method NavigationSplitView::get_sidebar_width_unit
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TInterface Name { namespace = "Adw" , name = "LengthUnit" })
-- throws : False
-- Skip return : False

foreign import ccall "adw_navigation_split_view_get_sidebar_width_unit" adw_navigation_split_view_get_sidebar_width_unit :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    IO CUInt

-- | Gets the length unit for minimum and maximum sidebar widths.
-- 
-- /Since: 1.4/
navigationSplitViewGetSidebarWidthUnit ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> m Adw.Enums.LengthUnit
    -- ^ __Returns:__ the length unit
navigationSplitViewGetSidebarWidthUnit :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> m LengthUnit
navigationSplitViewGetSidebarWidthUnit a
self = IO LengthUnit -> m LengthUnit
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO LengthUnit -> m LengthUnit) -> IO LengthUnit -> m LengthUnit
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CUInt
result <- Ptr NavigationSplitView -> IO CUInt
adw_navigation_split_view_get_sidebar_width_unit Ptr NavigationSplitView
self'
    let result' :: LengthUnit
result' = (Int -> LengthUnit
forall a. Enum a => Int -> a
toEnum (Int -> LengthUnit) -> (CUInt -> Int) -> CUInt -> LengthUnit
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
self
    LengthUnit -> IO LengthUnit
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return LengthUnit
result'

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewGetSidebarWidthUnitMethodInfo
instance (signature ~ (m Adw.Enums.LengthUnit), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewGetSidebarWidthUnitMethodInfo a signature where
    overloadedMethod = navigationSplitViewGetSidebarWidthUnit

instance O.OverloadedMethodInfo NavigationSplitViewGetSidebarWidthUnitMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewGetSidebarWidthUnit",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewGetSidebarWidthUnit"
        })


#endif

-- method NavigationSplitView::set_collapsed
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "collapsed"
--           , argType = TBasicType TBoolean
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "whether @self is collapsed"
--                 , 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 "adw_navigation_split_view_set_collapsed" adw_navigation_split_view_set_collapsed :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    CInt ->                                 -- collapsed : TBasicType TBoolean
    IO ()

-- | Sets whether /@self@/ is collapsed.
-- 
-- When collapsed, the children are put inside an [class/@navigationView@/],
-- otherwise they are displayed side by side.
-- 
-- The [property/@navigationSplitView@/:show-content] controls which child is
-- visible while collapsed.
-- 
-- /Since: 1.4/
navigationSplitViewSetCollapsed ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Bool
    -- ^ /@collapsed@/: whether /@self@/ is collapsed
    -> m ()
navigationSplitViewSetCollapsed :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> Bool -> m ()
navigationSplitViewSetCollapsed a
self Bool
collapsed = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    let collapsed' :: CInt
collapsed' = (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
collapsed
    Ptr NavigationSplitView -> CInt -> IO ()
adw_navigation_split_view_set_collapsed Ptr NavigationSplitView
self' CInt
collapsed'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetCollapsedMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewSetCollapsedMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetCollapsed

instance O.OverloadedMethodInfo NavigationSplitViewSetCollapsedMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetCollapsed",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetCollapsed"
        })


#endif

-- method NavigationSplitView::set_content
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "content"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "NavigationPage" }
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the content widget" , 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 "adw_navigation_split_view_set_content" adw_navigation_split_view_set_content :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    Ptr Adw.NavigationPage.NavigationPage -> -- content : TInterface (Name {namespace = "Adw", name = "NavigationPage"})
    IO ()

-- | Sets the content widget for /@self@/.
-- 
-- /Since: 1.4/
navigationSplitViewSetContent ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a, Adw.NavigationPage.IsNavigationPage b) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Maybe (b)
    -- ^ /@content@/: the content widget
    -> m ()
navigationSplitViewSetContent :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsNavigationSplitView a,
 IsNavigationPage b) =>
a -> Maybe b -> m ()
navigationSplitViewSetContent a
self Maybe b
content = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr NavigationPage
maybeContent <- case Maybe b
content of
        Maybe b
Nothing -> Ptr NavigationPage -> IO (Ptr NavigationPage)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr NavigationPage
forall a. Ptr a
nullPtr
        Just b
jContent -> do
            Ptr NavigationPage
jContent' <- b -> IO (Ptr NavigationPage)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jContent
            Ptr NavigationPage -> IO (Ptr NavigationPage)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr NavigationPage
jContent'
    Ptr NavigationSplitView -> Ptr NavigationPage -> IO ()
adw_navigation_split_view_set_content Ptr NavigationSplitView
self' Ptr NavigationPage
maybeContent
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
content b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetContentMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsNavigationSplitView a, Adw.NavigationPage.IsNavigationPage b) => O.OverloadedMethod NavigationSplitViewSetContentMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetContent

instance O.OverloadedMethodInfo NavigationSplitViewSetContentMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetContent",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetContent"
        })


#endif

-- method NavigationSplitView::set_max_sidebar_width
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "width"
--           , argType = TBasicType TDouble
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the maximum width" , 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 "adw_navigation_split_view_set_max_sidebar_width" adw_navigation_split_view_set_max_sidebar_width :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    CDouble ->                              -- width : TBasicType TDouble
    IO ()

-- | Sets the maximum sidebar width for /@self@/.
-- 
-- Maximum width is affected by
-- [property/@navigationSplitView@/:sidebar-width-unit].
-- 
-- The sidebar widget can still be allocated with larger width if its own
-- minimum width exceeds it.
-- 
-- /Since: 1.4/
navigationSplitViewSetMaxSidebarWidth ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Double
    -- ^ /@width@/: the maximum width
    -> m ()
navigationSplitViewSetMaxSidebarWidth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> Double -> m ()
navigationSplitViewSetMaxSidebarWidth a
self Double
width = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    let width' :: CDouble
width' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
width
    Ptr NavigationSplitView -> CDouble -> IO ()
adw_navigation_split_view_set_max_sidebar_width Ptr NavigationSplitView
self' CDouble
width'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetMaxSidebarWidthMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewSetMaxSidebarWidthMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetMaxSidebarWidth

instance O.OverloadedMethodInfo NavigationSplitViewSetMaxSidebarWidthMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetMaxSidebarWidth",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetMaxSidebarWidth"
        })


#endif

-- method NavigationSplitView::set_min_sidebar_width
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "width"
--           , argType = TBasicType TDouble
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the minimum width" , 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 "adw_navigation_split_view_set_min_sidebar_width" adw_navigation_split_view_set_min_sidebar_width :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    CDouble ->                              -- width : TBasicType TDouble
    IO ()

-- | Sets the minimum sidebar width for /@self@/.
-- 
-- Minimum width is affected by
-- [property/@navigationSplitView@/:sidebar-width-unit].
-- 
-- The sidebar widget can still be allocated with larger width if its own
-- minimum width exceeds it.
-- 
-- /Since: 1.4/
navigationSplitViewSetMinSidebarWidth ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Double
    -- ^ /@width@/: the minimum width
    -> m ()
navigationSplitViewSetMinSidebarWidth :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> Double -> m ()
navigationSplitViewSetMinSidebarWidth a
self Double
width = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    let width' :: CDouble
width' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
width
    Ptr NavigationSplitView -> CDouble -> IO ()
adw_navigation_split_view_set_min_sidebar_width Ptr NavigationSplitView
self' CDouble
width'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetMinSidebarWidthMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewSetMinSidebarWidthMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetMinSidebarWidth

instance O.OverloadedMethodInfo NavigationSplitViewSetMinSidebarWidthMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetMinSidebarWidth",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetMinSidebarWidth"
        })


#endif

-- method NavigationSplitView::set_show_content
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "show_content"
--           , argType = TBasicType TBoolean
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "whether to show content when collapsed"
--                 , 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 "adw_navigation_split_view_set_show_content" adw_navigation_split_view_set_show_content :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    CInt ->                                 -- show_content : TBasicType TBoolean
    IO ()

-- | Sets which page is visible when /@self@/ is collapsed.
-- 
-- If set to @TRUE@, the content widget will be the visible page when
-- [property/@navigationSplitView@/:collapsed] is @TRUE@; otherwise the sidebar
-- widget will be visible.
-- 
-- If the split view is already collapsed, the visible page changes immediately.
-- 
-- /Since: 1.4/
navigationSplitViewSetShowContent ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Bool
    -- ^ /@showContent@/: whether to show content when collapsed
    -> m ()
navigationSplitViewSetShowContent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> Bool -> m ()
navigationSplitViewSetShowContent a
self Bool
showContent = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    let showContent' :: CInt
showContent' = (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
showContent
    Ptr NavigationSplitView -> CInt -> IO ()
adw_navigation_split_view_set_show_content Ptr NavigationSplitView
self' CInt
showContent'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetShowContentMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewSetShowContentMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetShowContent

instance O.OverloadedMethodInfo NavigationSplitViewSetShowContentMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetShowContent",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetShowContent"
        })


#endif

-- method NavigationSplitView::set_sidebar
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "sidebar"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "NavigationPage" }
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the sidebar widget" , 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 "adw_navigation_split_view_set_sidebar" adw_navigation_split_view_set_sidebar :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    Ptr Adw.NavigationPage.NavigationPage -> -- sidebar : TInterface (Name {namespace = "Adw", name = "NavigationPage"})
    IO ()

-- | Sets the sidebar widget for /@self@/.
-- 
-- /Since: 1.4/
navigationSplitViewSetSidebar ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a, Adw.NavigationPage.IsNavigationPage b) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Maybe (b)
    -- ^ /@sidebar@/: the sidebar widget
    -> m ()
navigationSplitViewSetSidebar :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsNavigationSplitView a,
 IsNavigationPage b) =>
a -> Maybe b -> m ()
navigationSplitViewSetSidebar a
self Maybe b
sidebar = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr NavigationPage
maybeSidebar <- case Maybe b
sidebar of
        Maybe b
Nothing -> Ptr NavigationPage -> IO (Ptr NavigationPage)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr NavigationPage
forall a. Ptr a
nullPtr
        Just b
jSidebar -> do
            Ptr NavigationPage
jSidebar' <- b -> IO (Ptr NavigationPage)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
jSidebar
            Ptr NavigationPage -> IO (Ptr NavigationPage)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr NavigationPage
jSidebar'
    Ptr NavigationSplitView -> Ptr NavigationPage -> IO ()
adw_navigation_split_view_set_sidebar Ptr NavigationSplitView
self' Ptr NavigationPage
maybeSidebar
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe b -> (b -> IO ()) -> IO ()
forall (m :: * -> *) a. Monad m => Maybe a -> (a -> m ()) -> m ()
whenJust Maybe b
sidebar b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetSidebarMethodInfo
instance (signature ~ (Maybe (b) -> m ()), MonadIO m, IsNavigationSplitView a, Adw.NavigationPage.IsNavigationPage b) => O.OverloadedMethod NavigationSplitViewSetSidebarMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetSidebar

instance O.OverloadedMethodInfo NavigationSplitViewSetSidebarMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetSidebar",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetSidebar"
        })


#endif

-- method NavigationSplitView::set_sidebar_width_fraction
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "fraction"
--           , argType = TBasicType TDouble
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the preferred width fraction"
--                 , 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 "adw_navigation_split_view_set_sidebar_width_fraction" adw_navigation_split_view_set_sidebar_width_fraction :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    CDouble ->                              -- fraction : TBasicType TDouble
    IO ()

-- | Sets the preferred sidebar width as a fraction of the total width of /@self@/.
-- 
-- The preferred width is additionally limited by
-- [property/@navigationSplitView@/:min-sidebar-width] and
-- [property/@navigationSplitView@/:max-sidebar-width].
-- 
-- The sidebar widget can be allocated with larger width if its own minimum
-- width exceeds the preferred width.
-- 
-- /Since: 1.4/
navigationSplitViewSetSidebarWidthFraction ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Double
    -- ^ /@fraction@/: the preferred width fraction
    -> m ()
navigationSplitViewSetSidebarWidthFraction :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> Double -> m ()
navigationSplitViewSetSidebarWidthFraction a
self Double
fraction = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    let fraction' :: CDouble
fraction' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
fraction
    Ptr NavigationSplitView -> CDouble -> IO ()
adw_navigation_split_view_set_sidebar_width_fraction Ptr NavigationSplitView
self' CDouble
fraction'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetSidebarWidthFractionMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewSetSidebarWidthFractionMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetSidebarWidthFraction

instance O.OverloadedMethodInfo NavigationSplitViewSetSidebarWidthFractionMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetSidebarWidthFraction",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetSidebarWidthFraction"
        })


#endif

-- method NavigationSplitView::set_sidebar_width_unit
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name { namespace = "Adw" , name = "NavigationSplitView" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a navigation split view"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , argCallbackUserData = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "unit"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "LengthUnit" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the length unit" , 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 "adw_navigation_split_view_set_sidebar_width_unit" adw_navigation_split_view_set_sidebar_width_unit :: 
    Ptr NavigationSplitView ->              -- self : TInterface (Name {namespace = "Adw", name = "NavigationSplitView"})
    CUInt ->                                -- unit : TInterface (Name {namespace = "Adw", name = "LengthUnit"})
    IO ()

-- | Sets the length unit for minimum and maximum sidebar widths.
-- 
-- See [property/@navigationSplitView@/:min-sidebar-width] and
-- [property/@navigationSplitView@/:max-sidebar-width].
-- 
-- /Since: 1.4/
navigationSplitViewSetSidebarWidthUnit ::
    (B.CallStack.HasCallStack, MonadIO m, IsNavigationSplitView a) =>
    a
    -- ^ /@self@/: a navigation split view
    -> Adw.Enums.LengthUnit
    -- ^ /@unit@/: the length unit
    -> m ()
navigationSplitViewSetSidebarWidthUnit :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsNavigationSplitView a) =>
a -> LengthUnit -> m ()
navigationSplitViewSetSidebarWidthUnit a
self LengthUnit
unit = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    Ptr NavigationSplitView
self' <- a -> IO (Ptr NavigationSplitView)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    let unit' :: CUInt
unit' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (LengthUnit -> Int) -> LengthUnit -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. LengthUnit -> Int
forall a. Enum a => a -> Int
fromEnum) LengthUnit
unit
    Ptr NavigationSplitView -> CUInt -> IO ()
adw_navigation_split_view_set_sidebar_width_unit Ptr NavigationSplitView
self' CUInt
unit'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data NavigationSplitViewSetSidebarWidthUnitMethodInfo
instance (signature ~ (Adw.Enums.LengthUnit -> m ()), MonadIO m, IsNavigationSplitView a) => O.OverloadedMethod NavigationSplitViewSetSidebarWidthUnitMethodInfo a signature where
    overloadedMethod = navigationSplitViewSetSidebarWidthUnit

instance O.OverloadedMethodInfo NavigationSplitViewSetSidebarWidthUnitMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.NavigationSplitView.navigationSplitViewSetSidebarWidthUnit",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.7/docs/GI-Adw-Objects-NavigationSplitView.html#v:navigationSplitViewSetSidebarWidthUnit"
        })


#endif