{-# LANGUAGE ImplicitParams, RankNTypes, TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- A window showing information about the application.
-- 
-- \<picture>
--   \<source srcset=\"about-window-dark.png\" media=\"(prefers-color-scheme: dark)\">
--   \<img src=\"about-window.png\" alt=\"about-window\">
-- \<\/picture>
-- 
-- An about window is typically opened when the user activates the @About …@
-- item in the application\'s primary menu. All parts of the window are optional.
-- 
-- == Main page
-- 
-- @AdwAboutWindow@ prominently displays the application\'s icon, name, developer
-- name and version. They can be set with the [property/@aboutWindow@/:application-icon],
-- [property/@aboutWindow@/:application-name],
-- [property/@aboutWindow@/:developer-name] and [property/@aboutWindow@/:version]
-- respectively.
-- 
-- == What\'s New
-- 
-- @AdwAboutWindow@ provides a way for applications to display their release
-- notes, set with the [property/@aboutWindow@/:release-notes] property.
-- 
-- Release notes are formatted the same way as
-- <https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description AppStream descriptions>.
-- 
-- The supported formatting options are:
-- 
-- * Paragraph (@\<p>@)
-- * Ordered list (@\<ol>@), with list items (@\<li>@)
-- * Unordered list (@\<ul>@), with list items (@\<li>@)
-- 
-- Within paragraphs and list items, emphasis (@\<em>@) and inline code
-- (@\<code>@) text styles are supported. The emphasis is rendered in italic,
-- while inline code is shown in a monospaced font.
-- 
-- Any text outside paragraphs or list items is ignored.
-- 
-- Nested lists are not supported.
-- 
-- Only one version can be shown at a time. By default, the displayed version
-- number matches [property/@aboutWindow@/:version]. Use
-- [property/@aboutWindow@/:release-notes-version] to override it.
-- 
-- == Details
-- 
-- The Details page displays the application comments and links.
-- 
-- The comments can be set with the [property/@aboutWindow@/:comments] property.
-- Unlike [AboutDialog:comments]("GI.Gtk.Objects.AboutDialog#g:attr:comments"), this string can be long and
-- detailed. It can also contain links and Pango markup.
-- 
-- To set the application website, use [property/@aboutWindow@/:website].
-- To add extra links below the website, use [method/@aboutWindow@/.add_link].
-- 
-- If the Details page doesn\'t have any other content besides website, the
-- website will be displayed on the main page instead.
-- 
-- == Troubleshooting
-- 
-- @AdwAboutWindow@ displays the following two links on the main page:
-- 
-- * Support Questions, set with the [property/@aboutWindow@/:support-url] property,
-- * Report an Issue, set with the [property/@aboutWindow@/:issue-url] property.
-- 
-- Additionally, applications can provide debugging information. It will be
-- shown separately on the Troubleshooting page. Use the
-- [property/@aboutWindow@/:debug-info] property to specify it.
-- 
-- It\'s intended to be attached to issue reports when reporting issues against
-- the application. As such, it cannot contain markup or links.
-- 
-- @AdwAboutWindow@ provides a quick way to save debug information to a file.
-- When saving, [property/@aboutWindow@/:debug-info-filename] would be used as
-- the suggested filename.
-- 
-- == Credits and Acknowledgements
-- 
-- The Credits page has the following default sections:
-- 
-- * Developers, set with the [property/@aboutWindow@/:developers] property,
-- * Designers, set with the [property/@aboutWindow@/:designers] property,
-- * Artists, set with the [property/@aboutWindow@/:artists] property,
-- * Documenters, set with the [property/@aboutWindow@/:documenters] property,
-- * Translators, set with the [property/@aboutWindow@/:translator-credits] property.
-- 
-- When setting translator credits, use the strings @\"translator-credits\"@ or
-- @\"translator_credits\"@ and mark them as translatable.
-- 
-- The default sections that don\'t contain any names won\'t be displayed.
-- 
-- The Credits page can also contain an arbitrary number of extra sections below
-- the default ones. Use [method/@aboutWindow@/.add_credit_section] to add them.
-- 
-- The Acknowledgements page can be used to acknowledge additional people and
-- organizations for their non-development contributions. Use
-- [method/@aboutWindow@/.add_acknowledgement_section] to add sections to it. For
-- example, it can be used to list backers in a crowdfunded project or to give
-- special thanks.
-- 
-- Each of the people or organizations can have an email address or a website
-- specified. To add a email address, use a string like
-- @Edgar Allan Poe \<edgar\@poe.com>@. To specify a website with a title, use a
-- string like @The GNOME Project https:\/\/www.gnome.org@:
-- 
-- \<picture>
--   \<source srcset=\"about-window-credits-dark.png\" media=\"(prefers-color-scheme: dark)\">
--   \<img src=\"about-window-credits.png\" alt=\"about-window-credits\">
-- \<\/picture>
-- 
-- == Legal
-- 
-- The Legal page displays the copyright and licensing information for the
-- application and other modules.
-- 
-- The copyright string is set with the [property/@aboutWindow@/:copyright]
-- property and should be a short string of one or two lines, for example:
-- @© 2022 Example@.
-- 
-- Licensing information can be quickly set from a list of known licenses with
-- the [property/@aboutWindow@/:license-type] property. If the application\'s
-- license is not in the list, [property/@aboutWindow@/:license] can be used
-- instead.
-- 
-- To add information about other modules, such as application dependencies or
-- data, use [method/@aboutWindow@/.add_legal_section].
-- 
-- == Constructing
-- 
-- To make constructing an @AdwAboutWindow@ as convenient as possible, you can
-- use the function [func/@showAboutWindow@/] which constructs and shows a
-- window.
-- 
-- 
-- === /c code/
-- >static void
-- >show_about (GtkApplication *app)
-- >{
-- >  const char *developers[] = {
-- >    "Angela Avery",
-- >    NULL
-- >  };
-- >
-- >  const char *designers[] = {
-- >    "GNOME Design Team",
-- >    NULL
-- >  };
-- >
-- >  adw_show_about_window (gtk_application_get_active_window (app),
-- >                         "application-name", _("Example"),
-- >                         "application-icon", "org.example.App",
-- >                         "version", "1.2.3",
-- >                         "copyright", "© 2022 Angela Avery",
-- >                         "issue-url", "https://gitlab.gnome.org/example/example/-/issues/new",
-- >                         "license-type", GTK_LICENSE_GPL_3_0,
-- >                         "developers", developers,
-- >                         "designers", designers,
-- >                         "translator-credits", _("translator-credits"),
-- >                         NULL);
-- >}
-- 
-- 
-- == CSS nodes
-- 
-- @AdwAboutWindow@ has a main CSS node with the name @window@ and the
-- style class @.about@.
-- 
-- /Since: 1.2/

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

module GI.Adw.Objects.AboutWindow
    ( 

-- * Exported types
    AboutWindow(..)                         ,
    IsAboutWindow                           ,
    toAboutWindow                           ,


 -- * 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"), [addAcknowledgementSection]("GI.Adw.Objects.AboutWindow#g:method:addAcknowledgementSection"), [addController]("GI.Gtk.Objects.Widget#g:method:addController"), [addCreditSection]("GI.Adw.Objects.AboutWindow#g:method:addCreditSection"), [addCssClass]("GI.Gtk.Objects.Widget#g:method:addCssClass"), [addLegalSection]("GI.Adw.Objects.AboutWindow#g:method:addLegalSection"), [addLink]("GI.Adw.Objects.AboutWindow#g:method:addLink"), [addMnemonicLabel]("GI.Gtk.Objects.Widget#g:method:addMnemonicLabel"), [addTickCallback]("GI.Gtk.Objects.Widget#g:method:addTickCallback"), [allocate]("GI.Gtk.Objects.Widget#g:method:allocate"), [bindProperty]("GI.GObject.Objects.Object#g:method:bindProperty"), [bindPropertyFull]("GI.GObject.Objects.Object#g:method:bindPropertyFull"), [childFocus]("GI.Gtk.Objects.Widget#g:method:childFocus"), [close]("GI.Gtk.Objects.Window#g:method:close"), [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"), [destroy]("GI.Gtk.Objects.Window#g:method:destroy"), [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"), [fullscreen]("GI.Gtk.Objects.Window#g:method:fullscreen"), [fullscreenOnMonitor]("GI.Gtk.Objects.Window#g:method:fullscreenOnMonitor"), [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"), [hasGroup]("GI.Gtk.Objects.Window#g:method:hasGroup"), [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"), [isActive]("GI.Gtk.Objects.Window#g:method:isActive"), [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"), [isFullscreen]("GI.Gtk.Objects.Window#g:method:isFullscreen"), [isMaximized]("GI.Gtk.Objects.Window#g:method:isMaximized"), [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"), [maximize]("GI.Gtk.Objects.Window#g:method:maximize"), [measure]("GI.Gtk.Objects.Widget#g:method:measure"), [minimize]("GI.Gtk.Objects.Window#g:method:minimize"), [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"), [present]("GI.Gtk.Objects.Window#g:method:present"), [presentWithTime]("GI.Gtk.Objects.Window#g:method:presentWithTime"), [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"), [unfullscreen]("GI.Gtk.Objects.Window#g:method:unfullscreen"), [unmap]("GI.Gtk.Objects.Widget#g:method:unmap"), [unmaximize]("GI.Gtk.Objects.Window#g:method:unmaximize"), [unminimize]("GI.Gtk.Objects.Window#g:method:unminimize"), [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"), [getApplication]("GI.Gtk.Objects.Window#g:method:getApplication"), [getApplicationIcon]("GI.Adw.Objects.AboutWindow#g:method:getApplicationIcon"), [getApplicationName]("GI.Adw.Objects.AboutWindow#g:method:getApplicationName"), [getArtists]("GI.Adw.Objects.AboutWindow#g:method:getArtists"), [getAtContext]("GI.Gtk.Interfaces.Accessible#g:method:getAtContext"), [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"), [getChild]("GI.Gtk.Objects.Window#g:method:getChild"), [getChildVisible]("GI.Gtk.Objects.Widget#g:method:getChildVisible"), [getClipboard]("GI.Gtk.Objects.Widget#g:method:getClipboard"), [getColor]("GI.Gtk.Objects.Widget#g:method:getColor"), [getComments]("GI.Adw.Objects.AboutWindow#g:method:getComments"), [getContent]("GI.Adw.Objects.Window#g:method:getContent"), [getCopyright]("GI.Adw.Objects.AboutWindow#g:method:getCopyright"), [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"), [getDebugInfo]("GI.Adw.Objects.AboutWindow#g:method:getDebugInfo"), [getDebugInfoFilename]("GI.Adw.Objects.AboutWindow#g:method:getDebugInfoFilename"), [getDecorated]("GI.Gtk.Objects.Window#g:method:getDecorated"), [getDefaultSize]("GI.Gtk.Objects.Window#g:method:getDefaultSize"), [getDefaultWidget]("GI.Gtk.Objects.Window#g:method:getDefaultWidget"), [getDeletable]("GI.Gtk.Objects.Window#g:method:getDeletable"), [getDesigners]("GI.Adw.Objects.AboutWindow#g:method:getDesigners"), [getDestroyWithParent]("GI.Gtk.Objects.Window#g:method:getDestroyWithParent"), [getDeveloperName]("GI.Adw.Objects.AboutWindow#g:method:getDeveloperName"), [getDevelopers]("GI.Adw.Objects.AboutWindow#g:method:getDevelopers"), [getDirection]("GI.Gtk.Objects.Widget#g:method:getDirection"), [getDisplay]("GI.Gtk.Objects.Widget#g:method:getDisplay"), [getDocumenters]("GI.Adw.Objects.AboutWindow#g:method:getDocumenters"), [getFirstAccessibleChild]("GI.Gtk.Interfaces.Accessible#g:method:getFirstAccessibleChild"), [getFirstChild]("GI.Gtk.Objects.Widget#g:method:getFirstChild"), [getFocus]("GI.Gtk.Objects.Window#g:method:getFocus"), [getFocusChild]("GI.Gtk.Objects.Widget#g:method:getFocusChild"), [getFocusOnClick]("GI.Gtk.Objects.Widget#g:method:getFocusOnClick"), [getFocusVisible]("GI.Gtk.Objects.Window#g:method:getFocusVisible"), [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"), [getGroup]("GI.Gtk.Objects.Window#g:method:getGroup"), [getHalign]("GI.Gtk.Objects.Widget#g:method:getHalign"), [getHandleMenubarAccel]("GI.Gtk.Objects.Window#g:method:getHandleMenubarAccel"), [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"), [getHideOnClose]("GI.Gtk.Objects.Window#g:method:getHideOnClose"), [getIconName]("GI.Gtk.Objects.Window#g:method:getIconName"), [getIssueUrl]("GI.Adw.Objects.AboutWindow#g:method:getIssueUrl"), [getLastChild]("GI.Gtk.Objects.Widget#g:method:getLastChild"), [getLayoutManager]("GI.Gtk.Objects.Widget#g:method:getLayoutManager"), [getLicense]("GI.Adw.Objects.AboutWindow#g:method:getLicense"), [getLicenseType]("GI.Adw.Objects.AboutWindow#g:method:getLicenseType"), [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"), [getMnemonicsVisible]("GI.Gtk.Objects.Window#g:method:getMnemonicsVisible"), [getModal]("GI.Gtk.Objects.Window#g:method:getModal"), [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"), [getReleaseNotes]("GI.Adw.Objects.AboutWindow#g:method:getReleaseNotes"), [getReleaseNotesVersion]("GI.Adw.Objects.AboutWindow#g:method:getReleaseNotesVersion"), [getRenderer]("GI.Gtk.Interfaces.Native#g:method:getRenderer"), [getRequestMode]("GI.Gtk.Objects.Widget#g:method:getRequestMode"), [getResizable]("GI.Gtk.Objects.Window#g:method:getResizable"), [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"), [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"), [getSupportUrl]("GI.Adw.Objects.AboutWindow#g:method:getSupportUrl"), [getSurface]("GI.Gtk.Interfaces.Native#g:method:getSurface"), [getSurfaceTransform]("GI.Gtk.Interfaces.Native#g:method:getSurfaceTransform"), [getTemplateChild]("GI.Gtk.Objects.Widget#g:method:getTemplateChild"), [getTitle]("GI.Gtk.Objects.Window#g:method:getTitle"), [getTitlebar]("GI.Gtk.Objects.Window#g:method:getTitlebar"), [getTooltipMarkup]("GI.Gtk.Objects.Widget#g:method:getTooltipMarkup"), [getTooltipText]("GI.Gtk.Objects.Widget#g:method:getTooltipText"), [getTransientFor]("GI.Gtk.Objects.Window#g:method:getTransientFor"), [getTranslatorCredits]("GI.Adw.Objects.AboutWindow#g:method:getTranslatorCredits"), [getValign]("GI.Gtk.Objects.Widget#g:method:getValign"), [getVersion]("GI.Adw.Objects.AboutWindow#g:method:getVersion"), [getVexpand]("GI.Gtk.Objects.Widget#g:method:getVexpand"), [getVexpandSet]("GI.Gtk.Objects.Widget#g:method:getVexpandSet"), [getVisible]("GI.Gtk.Objects.Widget#g:method:getVisible"), [getWebsite]("GI.Adw.Objects.AboutWindow#g:method:getWebsite"), [getWidth]("GI.Gtk.Objects.Widget#g:method:getWidth").
-- 
-- ==== Setters
-- [setAccessibleParent]("GI.Gtk.Interfaces.Accessible#g:method:setAccessibleParent"), [setApplication]("GI.Gtk.Objects.Window#g:method:setApplication"), [setApplicationIcon]("GI.Adw.Objects.AboutWindow#g:method:setApplicationIcon"), [setApplicationName]("GI.Adw.Objects.AboutWindow#g:method:setApplicationName"), [setArtists]("GI.Adw.Objects.AboutWindow#g:method:setArtists"), [setCanFocus]("GI.Gtk.Objects.Widget#g:method:setCanFocus"), [setCanTarget]("GI.Gtk.Objects.Widget#g:method:setCanTarget"), [setChild]("GI.Gtk.Objects.Window#g:method:setChild"), [setChildVisible]("GI.Gtk.Objects.Widget#g:method:setChildVisible"), [setComments]("GI.Adw.Objects.AboutWindow#g:method:setComments"), [setContent]("GI.Adw.Objects.Window#g:method:setContent"), [setCopyright]("GI.Adw.Objects.AboutWindow#g:method:setCopyright"), [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"), [setDebugInfo]("GI.Adw.Objects.AboutWindow#g:method:setDebugInfo"), [setDebugInfoFilename]("GI.Adw.Objects.AboutWindow#g:method:setDebugInfoFilename"), [setDecorated]("GI.Gtk.Objects.Window#g:method:setDecorated"), [setDefaultSize]("GI.Gtk.Objects.Window#g:method:setDefaultSize"), [setDefaultWidget]("GI.Gtk.Objects.Window#g:method:setDefaultWidget"), [setDeletable]("GI.Gtk.Objects.Window#g:method:setDeletable"), [setDesigners]("GI.Adw.Objects.AboutWindow#g:method:setDesigners"), [setDestroyWithParent]("GI.Gtk.Objects.Window#g:method:setDestroyWithParent"), [setDeveloperName]("GI.Adw.Objects.AboutWindow#g:method:setDeveloperName"), [setDevelopers]("GI.Adw.Objects.AboutWindow#g:method:setDevelopers"), [setDirection]("GI.Gtk.Objects.Widget#g:method:setDirection"), [setDisplay]("GI.Gtk.Objects.Window#g:method:setDisplay"), [setDocumenters]("GI.Adw.Objects.AboutWindow#g:method:setDocumenters"), [setFocus]("GI.Gtk.Objects.Window#g:method:setFocus"), [setFocusChild]("GI.Gtk.Objects.Widget#g:method:setFocusChild"), [setFocusOnClick]("GI.Gtk.Objects.Widget#g:method:setFocusOnClick"), [setFocusVisible]("GI.Gtk.Objects.Window#g:method:setFocusVisible"), [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"), [setHandleMenubarAccel]("GI.Gtk.Objects.Window#g:method:setHandleMenubarAccel"), [setHasTooltip]("GI.Gtk.Objects.Widget#g:method:setHasTooltip"), [setHexpand]("GI.Gtk.Objects.Widget#g:method:setHexpand"), [setHexpandSet]("GI.Gtk.Objects.Widget#g:method:setHexpandSet"), [setHideOnClose]("GI.Gtk.Objects.Window#g:method:setHideOnClose"), [setIconName]("GI.Gtk.Objects.Window#g:method:setIconName"), [setIssueUrl]("GI.Adw.Objects.AboutWindow#g:method:setIssueUrl"), [setLayoutManager]("GI.Gtk.Objects.Widget#g:method:setLayoutManager"), [setLicense]("GI.Adw.Objects.AboutWindow#g:method:setLicense"), [setLicenseType]("GI.Adw.Objects.AboutWindow#g:method:setLicenseType"), [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"), [setMnemonicsVisible]("GI.Gtk.Objects.Window#g:method:setMnemonicsVisible"), [setModal]("GI.Gtk.Objects.Window#g:method:setModal"), [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"), [setReleaseNotes]("GI.Adw.Objects.AboutWindow#g:method:setReleaseNotes"), [setReleaseNotesVersion]("GI.Adw.Objects.AboutWindow#g:method:setReleaseNotesVersion"), [setResizable]("GI.Gtk.Objects.Window#g:method:setResizable"), [setSensitive]("GI.Gtk.Objects.Widget#g:method:setSensitive"), [setSizeRequest]("GI.Gtk.Objects.Widget#g:method:setSizeRequest"), [setStartupId]("GI.Gtk.Objects.Window#g:method:setStartupId"), [setStateFlags]("GI.Gtk.Objects.Widget#g:method:setStateFlags"), [setSupportUrl]("GI.Adw.Objects.AboutWindow#g:method:setSupportUrl"), [setTitle]("GI.Gtk.Objects.Window#g:method:setTitle"), [setTitlebar]("GI.Gtk.Objects.Window#g:method:setTitlebar"), [setTooltipMarkup]("GI.Gtk.Objects.Widget#g:method:setTooltipMarkup"), [setTooltipText]("GI.Gtk.Objects.Widget#g:method:setTooltipText"), [setTransientFor]("GI.Gtk.Objects.Window#g:method:setTransientFor"), [setTranslatorCredits]("GI.Adw.Objects.AboutWindow#g:method:setTranslatorCredits"), [setValign]("GI.Gtk.Objects.Widget#g:method:setValign"), [setVersion]("GI.Adw.Objects.AboutWindow#g:method:setVersion"), [setVexpand]("GI.Gtk.Objects.Widget#g:method:setVexpand"), [setVexpandSet]("GI.Gtk.Objects.Widget#g:method:setVexpandSet"), [setVisible]("GI.Gtk.Objects.Widget#g:method:setVisible"), [setWebsite]("GI.Adw.Objects.AboutWindow#g:method:setWebsite").

#if defined(ENABLE_OVERLOADING)
    ResolveAboutWindowMethod                ,
#endif

-- ** addAcknowledgementSection #method:addAcknowledgementSection#

#if defined(ENABLE_OVERLOADING)
    AboutWindowAddAcknowledgementSectionMethodInfo,
#endif
    aboutWindowAddAcknowledgementSection    ,


-- ** addCreditSection #method:addCreditSection#

#if defined(ENABLE_OVERLOADING)
    AboutWindowAddCreditSectionMethodInfo   ,
#endif
    aboutWindowAddCreditSection             ,


-- ** addLegalSection #method:addLegalSection#

#if defined(ENABLE_OVERLOADING)
    AboutWindowAddLegalSectionMethodInfo    ,
#endif
    aboutWindowAddLegalSection              ,


-- ** addLink #method:addLink#

#if defined(ENABLE_OVERLOADING)
    AboutWindowAddLinkMethodInfo            ,
#endif
    aboutWindowAddLink                      ,


-- ** getApplicationIcon #method:getApplicationIcon#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetApplicationIconMethodInfo ,
#endif
    aboutWindowGetApplicationIcon           ,


-- ** getApplicationName #method:getApplicationName#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetApplicationNameMethodInfo ,
#endif
    aboutWindowGetApplicationName           ,


-- ** getArtists #method:getArtists#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetArtistsMethodInfo         ,
#endif
    aboutWindowGetArtists                   ,


-- ** getComments #method:getComments#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetCommentsMethodInfo        ,
#endif
    aboutWindowGetComments                  ,


-- ** getCopyright #method:getCopyright#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetCopyrightMethodInfo       ,
#endif
    aboutWindowGetCopyright                 ,


-- ** getDebugInfo #method:getDebugInfo#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetDebugInfoMethodInfo       ,
#endif
    aboutWindowGetDebugInfo                 ,


-- ** getDebugInfoFilename #method:getDebugInfoFilename#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetDebugInfoFilenameMethodInfo,
#endif
    aboutWindowGetDebugInfoFilename         ,


-- ** getDesigners #method:getDesigners#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetDesignersMethodInfo       ,
#endif
    aboutWindowGetDesigners                 ,


-- ** getDeveloperName #method:getDeveloperName#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetDeveloperNameMethodInfo   ,
#endif
    aboutWindowGetDeveloperName             ,


-- ** getDevelopers #method:getDevelopers#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetDevelopersMethodInfo      ,
#endif
    aboutWindowGetDevelopers                ,


-- ** getDocumenters #method:getDocumenters#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetDocumentersMethodInfo     ,
#endif
    aboutWindowGetDocumenters               ,


-- ** getIssueUrl #method:getIssueUrl#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetIssueUrlMethodInfo        ,
#endif
    aboutWindowGetIssueUrl                  ,


-- ** getLicense #method:getLicense#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetLicenseMethodInfo         ,
#endif
    aboutWindowGetLicense                   ,


-- ** getLicenseType #method:getLicenseType#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetLicenseTypeMethodInfo     ,
#endif
    aboutWindowGetLicenseType               ,


-- ** getReleaseNotes #method:getReleaseNotes#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetReleaseNotesMethodInfo    ,
#endif
    aboutWindowGetReleaseNotes              ,


-- ** getReleaseNotesVersion #method:getReleaseNotesVersion#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetReleaseNotesVersionMethodInfo,
#endif
    aboutWindowGetReleaseNotesVersion       ,


-- ** getSupportUrl #method:getSupportUrl#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetSupportUrlMethodInfo      ,
#endif
    aboutWindowGetSupportUrl                ,


-- ** getTranslatorCredits #method:getTranslatorCredits#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetTranslatorCreditsMethodInfo,
#endif
    aboutWindowGetTranslatorCredits         ,


-- ** getVersion #method:getVersion#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetVersionMethodInfo         ,
#endif
    aboutWindowGetVersion                   ,


-- ** getWebsite #method:getWebsite#

#if defined(ENABLE_OVERLOADING)
    AboutWindowGetWebsiteMethodInfo         ,
#endif
    aboutWindowGetWebsite                   ,


-- ** new #method:new#

    aboutWindowNew                          ,


-- ** setApplicationIcon #method:setApplicationIcon#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetApplicationIconMethodInfo ,
#endif
    aboutWindowSetApplicationIcon           ,


-- ** setApplicationName #method:setApplicationName#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetApplicationNameMethodInfo ,
#endif
    aboutWindowSetApplicationName           ,


-- ** setArtists #method:setArtists#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetArtistsMethodInfo         ,
#endif
    aboutWindowSetArtists                   ,


-- ** setComments #method:setComments#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetCommentsMethodInfo        ,
#endif
    aboutWindowSetComments                  ,


-- ** setCopyright #method:setCopyright#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetCopyrightMethodInfo       ,
#endif
    aboutWindowSetCopyright                 ,


-- ** setDebugInfo #method:setDebugInfo#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetDebugInfoMethodInfo       ,
#endif
    aboutWindowSetDebugInfo                 ,


-- ** setDebugInfoFilename #method:setDebugInfoFilename#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetDebugInfoFilenameMethodInfo,
#endif
    aboutWindowSetDebugInfoFilename         ,


-- ** setDesigners #method:setDesigners#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetDesignersMethodInfo       ,
#endif
    aboutWindowSetDesigners                 ,


-- ** setDeveloperName #method:setDeveloperName#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetDeveloperNameMethodInfo   ,
#endif
    aboutWindowSetDeveloperName             ,


-- ** setDevelopers #method:setDevelopers#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetDevelopersMethodInfo      ,
#endif
    aboutWindowSetDevelopers                ,


-- ** setDocumenters #method:setDocumenters#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetDocumentersMethodInfo     ,
#endif
    aboutWindowSetDocumenters               ,


-- ** setIssueUrl #method:setIssueUrl#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetIssueUrlMethodInfo        ,
#endif
    aboutWindowSetIssueUrl                  ,


-- ** setLicense #method:setLicense#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetLicenseMethodInfo         ,
#endif
    aboutWindowSetLicense                   ,


-- ** setLicenseType #method:setLicenseType#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetLicenseTypeMethodInfo     ,
#endif
    aboutWindowSetLicenseType               ,


-- ** setReleaseNotes #method:setReleaseNotes#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetReleaseNotesMethodInfo    ,
#endif
    aboutWindowSetReleaseNotes              ,


-- ** setReleaseNotesVersion #method:setReleaseNotesVersion#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetReleaseNotesVersionMethodInfo,
#endif
    aboutWindowSetReleaseNotesVersion       ,


-- ** setSupportUrl #method:setSupportUrl#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetSupportUrlMethodInfo      ,
#endif
    aboutWindowSetSupportUrl                ,


-- ** setTranslatorCredits #method:setTranslatorCredits#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetTranslatorCreditsMethodInfo,
#endif
    aboutWindowSetTranslatorCredits         ,


-- ** setVersion #method:setVersion#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetVersionMethodInfo         ,
#endif
    aboutWindowSetVersion                   ,


-- ** setWebsite #method:setWebsite#

#if defined(ENABLE_OVERLOADING)
    AboutWindowSetWebsiteMethodInfo         ,
#endif
    aboutWindowSetWebsite                   ,




 -- * Properties


-- ** applicationIcon #attr:applicationIcon#
-- | The name of the application icon.
-- 
-- The icon is displayed at the top of the main page.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowApplicationIconPropertyInfo  ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowApplicationIcon              ,
#endif
    constructAboutWindowApplicationIcon     ,
    getAboutWindowApplicationIcon           ,
    setAboutWindowApplicationIcon           ,


-- ** applicationName #attr:applicationName#
-- | The name of the application.
-- 
-- The name is displayed at the top of the main page.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowApplicationNamePropertyInfo  ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowApplicationName              ,
#endif
    constructAboutWindowApplicationName     ,
    getAboutWindowApplicationName           ,
    setAboutWindowApplicationName           ,


-- ** artists #attr:artists#
-- | The list of artists of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for
-- more details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowArtistsPropertyInfo          ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowArtists                      ,
#endif
    clearAboutWindowArtists                 ,
    constructAboutWindowArtists             ,
    getAboutWindowArtists                   ,
    setAboutWindowArtists                   ,


-- ** comments #attr:comments#
-- | The comments about the application.
-- 
-- Comments will be shown on the Details page, above links.
-- 
-- Unlike [AboutDialog:comments]("GI.Gtk.Objects.AboutDialog#g:attr:comments"), this string can be long and
-- detailed. It can also contain links and Pango markup.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowCommentsPropertyInfo         ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowComments                     ,
#endif
    constructAboutWindowComments            ,
    getAboutWindowComments                  ,
    setAboutWindowComments                  ,


-- ** copyright #attr:copyright#
-- | The copyright information.
-- 
-- This should be a short string of one or two lines, for example:
-- @© 2022 Example@.
-- 
-- The copyright information will be displayed on the Legal page, above the
-- application license.
-- 
-- [method/@aboutWindow@/.add_legal_section] can be used to add copyright
-- information for the application dependencies or other components.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowCopyrightPropertyInfo        ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowCopyright                    ,
#endif
    constructAboutWindowCopyright           ,
    getAboutWindowCopyright                 ,
    setAboutWindowCopyright                 ,


-- ** debugInfo #attr:debugInfo#
-- | The debug information.
-- 
-- Debug information will be shown on the Troubleshooting page. It\'s intended
-- to be attached to issue reports when reporting issues against the
-- application.
-- 
-- @AdwAboutWindow@ provides a quick way to save debug information to a file.
-- When saving, [property/@aboutWindow@/:debug-info-filename] would be used as
-- the suggested filename.
-- 
-- Debug information cannot contain markup or links.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowDebugInfoPropertyInfo        ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowDebugInfo                    ,
#endif
    constructAboutWindowDebugInfo           ,
    getAboutWindowDebugInfo                 ,
    setAboutWindowDebugInfo                 ,


-- ** debugInfoFilename #attr:debugInfoFilename#
-- | The debug information filename.
-- 
-- It will be used as the suggested filename when saving debug information to
-- a file.
-- 
-- See [property/@aboutWindow@/:debug-info].
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowDebugInfoFilenamePropertyInfo,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowDebugInfoFilename            ,
#endif
    constructAboutWindowDebugInfoFilename   ,
    getAboutWindowDebugInfoFilename         ,
    setAboutWindowDebugInfoFilename         ,


-- ** designers #attr:designers#
-- | The list of designers of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for
-- more details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowDesignersPropertyInfo        ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowDesigners                    ,
#endif
    clearAboutWindowDesigners               ,
    constructAboutWindowDesigners           ,
    getAboutWindowDesigners                 ,
    setAboutWindowDesigners                 ,


-- ** developerName #attr:developerName#
-- | The developer name.
-- 
-- The developer name is displayed on the main page, under the application
-- name.
-- 
-- If the application is developed by multiple people, the developer name can
-- be set to values like \"AppName team\", \"AppName developers\" or
-- \"The AppName project\", and the individual contributors can be listed on the
-- Credits page, with [property/@aboutWindow@/:developers] and related
-- properties.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowDeveloperNamePropertyInfo    ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowDeveloperName                ,
#endif
    constructAboutWindowDeveloperName       ,
    getAboutWindowDeveloperName             ,
    setAboutWindowDeveloperName             ,


-- ** developers #attr:developers#
-- | The list of developers of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for
-- more details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowDevelopersPropertyInfo       ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowDevelopers                   ,
#endif
    clearAboutWindowDevelopers              ,
    constructAboutWindowDevelopers          ,
    getAboutWindowDevelopers                ,
    setAboutWindowDevelopers                ,


-- ** documenters #attr:documenters#
-- | The list of documenters of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for
-- more details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowDocumentersPropertyInfo      ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowDocumenters                  ,
#endif
    clearAboutWindowDocumenters             ,
    constructAboutWindowDocumenters         ,
    getAboutWindowDocumenters               ,
    setAboutWindowDocumenters               ,


-- ** issueUrl #attr:issueUrl#
-- | The URL for the application\'s issue tracker.
-- 
-- The issue tracker link is displayed on the main page.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowIssueUrlPropertyInfo         ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowIssueUrl                     ,
#endif
    constructAboutWindowIssueUrl            ,
    getAboutWindowIssueUrl                  ,
    setAboutWindowIssueUrl                  ,


-- ** license #attr:license#
-- | The license text.
-- 
-- This can be used to set a custom text for the license if it can\'t be set
-- via [property/@aboutWindow@/:license-type].
-- 
-- When set, [property/@aboutWindow@/:license-type] will be set to
-- @GTK_LICENSE_CUSTOM@.
-- 
-- The license text will be displayed on the Legal page, below the copyright
-- information.
-- 
-- License text can contain Pango markup and links.
-- 
-- [method/@aboutWindow@/.add_legal_section] can be used to add license
-- information for the application dependencies or other components.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowLicensePropertyInfo          ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowLicense                      ,
#endif
    constructAboutWindowLicense             ,
    getAboutWindowLicense                   ,
    setAboutWindowLicense                   ,


-- ** licenseType #attr:licenseType#
-- | The license type.
-- 
-- Allows to set the application\'s license froma list of known licenses.
-- 
-- If the application\'s license is not in the list,
-- [property/@aboutWindow@/:license] can be used instead. The license type will
-- be automatically set to @GTK_LICENSE_CUSTOM@ in that case.
-- 
-- If set to @GTK_LICENSE_UNKNOWN@, no information will be displayed.
-- 
-- If the license type is different from @GTK_LICENSE_CUSTOM@.
-- [property/@aboutWindow@/:license] will be cleared out.
-- 
-- The license description will be displayed on the Legal page, below the
-- copyright information.
-- 
-- [method/@aboutWindow@/.add_legal_section] can be used to add license
-- information for the application dependencies or other components.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowLicenseTypePropertyInfo      ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowLicenseType                  ,
#endif
    constructAboutWindowLicenseType         ,
    getAboutWindowLicenseType               ,
    setAboutWindowLicenseType               ,


-- ** releaseNotes #attr:releaseNotes#
-- | The release notes of the application.
-- 
-- Release notes are displayed on the the What\'s New page.
-- 
-- Release notes are formatted the same way as
-- <https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description AppStream descriptions>.
-- 
-- The supported formatting options are:
-- 
-- * Paragraph (@\<p>@)
-- * Ordered list (@\<ol>@), with list items (@\<li>@)
-- * Unordered list (@\<ul>@), with list items (@\<li>@)
-- 
-- Within paragraphs and list items, emphasis (@\<em>@) and inline code
-- (@\<code>@) text styles are supported. The emphasis is rendered in italic,
-- while inline code is shown in a monospaced font.
-- 
-- Any text outside paragraphs or list items is ignored.
-- 
-- Nested lists are not supported.
-- 
-- @AdwAboutWindow@ displays the version above the release notes. If set, the
-- [property/@aboutWindow@/:release-notes-version] of the property will be used
-- as the version; otherwise, [property/@aboutWindow@/:version] is used.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowReleaseNotesPropertyInfo     ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowReleaseNotes                 ,
#endif
    constructAboutWindowReleaseNotes        ,
    getAboutWindowReleaseNotes              ,
    setAboutWindowReleaseNotes              ,


-- ** releaseNotesVersion #attr:releaseNotesVersion#
-- | The version described by the application\'s release notes.
-- 
-- The release notes version is displayed on the What\'s New page, above the
-- release notes.
-- 
-- If not set, [property/@aboutWindow@/:version] will be used instead.
-- 
-- For example, an application with the current version 2.0.2 might want to
-- keep the release notes from 2.0.0, and set the release notes version
-- accordingly.
-- 
-- See [property/@aboutWindow@/:release-notes].
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowReleaseNotesVersionPropertyInfo,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowReleaseNotesVersion          ,
#endif
    constructAboutWindowReleaseNotesVersion ,
    getAboutWindowReleaseNotesVersion       ,
    setAboutWindowReleaseNotesVersion       ,


-- ** supportUrl #attr:supportUrl#
-- | The URL of the application\'s support page.
-- 
-- The support page link is displayed on the main page.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowSupportUrlPropertyInfo       ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowSupportUrl                   ,
#endif
    constructAboutWindowSupportUrl          ,
    getAboutWindowSupportUrl                ,
    setAboutWindowSupportUrl                ,


-- ** translatorCredits #attr:translatorCredits#
-- | The translator credits string.
-- 
-- It will be displayed on the Credits page.
-- 
-- This string should be @\"translator-credits\"@ or @\"translator_credits\"@ and
-- should be marked as translatable.
-- 
-- The string may contain email addresses and URLs, see the introduction for
-- more details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowTranslatorCreditsPropertyInfo,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowTranslatorCredits            ,
#endif
    constructAboutWindowTranslatorCredits   ,
    getAboutWindowTranslatorCredits         ,
    setAboutWindowTranslatorCredits         ,


-- ** version #attr:version#
-- | The version of the application.
-- 
-- The version is displayed on the main page.
-- 
-- If [property/@aboutWindow@/:release-notes-version] is not set, the version
-- will also be displayed above the release notes on the What\'s New page.
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowVersionPropertyInfo          ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowVersion                      ,
#endif
    constructAboutWindowVersion             ,
    getAboutWindowVersion                   ,
    setAboutWindowVersion                   ,


-- ** website #attr:website#
-- | The URL of the application\'s website.
-- 
-- Website is displayed on the Details page, below comments, or on the main
-- page if the Details page doesn\'t have any other content.
-- 
-- Applications can add other links below, see [method/@aboutWindow@/.add_link].
-- 
-- /Since: 1.2/

#if defined(ENABLE_OVERLOADING)
    AboutWindowWebsitePropertyInfo          ,
#endif
#if defined(ENABLE_OVERLOADING)
    aboutWindowWebsite                      ,
#endif
    constructAboutWindowWebsite             ,
    getAboutWindowWebsite                   ,
    setAboutWindowWebsite                   ,




 -- * Signals


-- ** activateLink #signal:activateLink#

    AboutWindowActivateLinkCallback         ,
#if defined(ENABLE_OVERLOADING)
    AboutWindowActivateLinkSignalInfo       ,
#endif
    afterAboutWindowActivateLink            ,
    onAboutWindowActivateLink               ,




    ) 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 {-# SOURCE #-} qualified GI.Adw.Objects.Window as Adw.Window
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gtk.Enums as Gtk.Enums
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.Interfaces.Native as Gtk.Native
import qualified GI.Gtk.Interfaces.Root as Gtk.Root
import qualified GI.Gtk.Interfaces.ShortcutManager as Gtk.ShortcutManager
import qualified GI.Gtk.Objects.Widget as Gtk.Widget
import qualified GI.Gtk.Objects.Window as Gtk.Window

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

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

foreign import ccall "adw_about_window_get_type"
    c_adw_about_window_get_type :: IO B.Types.GType

instance B.Types.TypedObject AboutWindow where
    glibType :: IO GType
glibType = IO GType
c_adw_about_window_get_type

instance B.Types.GObject AboutWindow

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

instance O.HasParentTypes AboutWindow
type instance O.ParentTypes AboutWindow = '[Adw.Window.Window, Gtk.Window.Window, Gtk.Widget.Widget, GObject.Object.Object, Gtk.Accessible.Accessible, Gtk.Buildable.Buildable, Gtk.ConstraintTarget.ConstraintTarget, Gtk.Native.Native, Gtk.Root.Root, Gtk.ShortcutManager.ShortcutManager]

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

-- | Convert 'AboutWindow' 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 AboutWindow) where
    gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_adw_about_window_get_type
    gvalueSet_ :: Ptr GValue -> Maybe AboutWindow -> IO ()
gvalueSet_ Ptr GValue
gv Maybe AboutWindow
P.Nothing = Ptr GValue -> Ptr AboutWindow -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr AboutWindow
forall a. Ptr a
FP.nullPtr :: FP.Ptr AboutWindow)
    gvalueSet_ Ptr GValue
gv (P.Just AboutWindow
obj) = AboutWindow -> (Ptr AboutWindow -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr AboutWindow
obj (Ptr GValue -> Ptr AboutWindow -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
    gvalueGet_ :: Ptr GValue -> IO (Maybe AboutWindow)
gvalueGet_ Ptr GValue
gv = do
        Ptr AboutWindow
ptr <- Ptr GValue -> IO (Ptr AboutWindow)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr AboutWindow)
        if Ptr AboutWindow
ptr Ptr AboutWindow -> Ptr AboutWindow -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr AboutWindow
forall a. Ptr a
FP.nullPtr
        then AboutWindow -> Maybe AboutWindow
forall a. a -> Maybe a
P.Just (AboutWindow -> Maybe AboutWindow)
-> IO AboutWindow -> IO (Maybe AboutWindow)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr AboutWindow -> AboutWindow)
-> Ptr AboutWindow -> IO AboutWindow
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr AboutWindow -> AboutWindow
AboutWindow Ptr AboutWindow
ptr
        else Maybe AboutWindow -> IO (Maybe AboutWindow)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe AboutWindow
forall a. Maybe a
P.Nothing
        
    

#if defined(ENABLE_OVERLOADING)
type family ResolveAboutWindowMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
    ResolveAboutWindowMethod "actionSetEnabled" o = Gtk.Widget.WidgetActionSetEnabledMethodInfo
    ResolveAboutWindowMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
    ResolveAboutWindowMethod "activateAction" o = Gtk.Widget.WidgetActivateActionMethodInfo
    ResolveAboutWindowMethod "activateDefault" o = Gtk.Widget.WidgetActivateDefaultMethodInfo
    ResolveAboutWindowMethod "addAcknowledgementSection" o = AboutWindowAddAcknowledgementSectionMethodInfo
    ResolveAboutWindowMethod "addController" o = Gtk.Widget.WidgetAddControllerMethodInfo
    ResolveAboutWindowMethod "addCreditSection" o = AboutWindowAddCreditSectionMethodInfo
    ResolveAboutWindowMethod "addCssClass" o = Gtk.Widget.WidgetAddCssClassMethodInfo
    ResolveAboutWindowMethod "addLegalSection" o = AboutWindowAddLegalSectionMethodInfo
    ResolveAboutWindowMethod "addLink" o = AboutWindowAddLinkMethodInfo
    ResolveAboutWindowMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
    ResolveAboutWindowMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
    ResolveAboutWindowMethod "allocate" o = Gtk.Widget.WidgetAllocateMethodInfo
    ResolveAboutWindowMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
    ResolveAboutWindowMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
    ResolveAboutWindowMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
    ResolveAboutWindowMethod "close" o = Gtk.Window.WindowCloseMethodInfo
    ResolveAboutWindowMethod "computeBounds" o = Gtk.Widget.WidgetComputeBoundsMethodInfo
    ResolveAboutWindowMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
    ResolveAboutWindowMethod "computePoint" o = Gtk.Widget.WidgetComputePointMethodInfo
    ResolveAboutWindowMethod "computeTransform" o = Gtk.Widget.WidgetComputeTransformMethodInfo
    ResolveAboutWindowMethod "contains" o = Gtk.Widget.WidgetContainsMethodInfo
    ResolveAboutWindowMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
    ResolveAboutWindowMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
    ResolveAboutWindowMethod "destroy" o = Gtk.Window.WindowDestroyMethodInfo
    ResolveAboutWindowMethod "disposeTemplate" o = Gtk.Widget.WidgetDisposeTemplateMethodInfo
    ResolveAboutWindowMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
    ResolveAboutWindowMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
    ResolveAboutWindowMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
    ResolveAboutWindowMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
    ResolveAboutWindowMethod "fullscreen" o = Gtk.Window.WindowFullscreenMethodInfo
    ResolveAboutWindowMethod "fullscreenOnMonitor" o = Gtk.Window.WindowFullscreenOnMonitorMethodInfo
    ResolveAboutWindowMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
    ResolveAboutWindowMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
    ResolveAboutWindowMethod "hasCssClass" o = Gtk.Widget.WidgetHasCssClassMethodInfo
    ResolveAboutWindowMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
    ResolveAboutWindowMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
    ResolveAboutWindowMethod "hasGroup" o = Gtk.Window.WindowHasGroupMethodInfo
    ResolveAboutWindowMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
    ResolveAboutWindowMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
    ResolveAboutWindowMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
    ResolveAboutWindowMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
    ResolveAboutWindowMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
    ResolveAboutWindowMethod "insertAfter" o = Gtk.Widget.WidgetInsertAfterMethodInfo
    ResolveAboutWindowMethod "insertBefore" o = Gtk.Widget.WidgetInsertBeforeMethodInfo
    ResolveAboutWindowMethod "isActive" o = Gtk.Window.WindowIsActiveMethodInfo
    ResolveAboutWindowMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
    ResolveAboutWindowMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
    ResolveAboutWindowMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
    ResolveAboutWindowMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
    ResolveAboutWindowMethod "isFullscreen" o = Gtk.Window.WindowIsFullscreenMethodInfo
    ResolveAboutWindowMethod "isMaximized" o = Gtk.Window.WindowIsMaximizedMethodInfo
    ResolveAboutWindowMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
    ResolveAboutWindowMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
    ResolveAboutWindowMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
    ResolveAboutWindowMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
    ResolveAboutWindowMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
    ResolveAboutWindowMethod "maximize" o = Gtk.Window.WindowMaximizeMethodInfo
    ResolveAboutWindowMethod "measure" o = Gtk.Widget.WidgetMeasureMethodInfo
    ResolveAboutWindowMethod "minimize" o = Gtk.Window.WindowMinimizeMethodInfo
    ResolveAboutWindowMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
    ResolveAboutWindowMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
    ResolveAboutWindowMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
    ResolveAboutWindowMethod "observeChildren" o = Gtk.Widget.WidgetObserveChildrenMethodInfo
    ResolveAboutWindowMethod "observeControllers" o = Gtk.Widget.WidgetObserveControllersMethodInfo
    ResolveAboutWindowMethod "pick" o = Gtk.Widget.WidgetPickMethodInfo
    ResolveAboutWindowMethod "present" o = Gtk.Window.WindowPresentMethodInfo
    ResolveAboutWindowMethod "presentWithTime" o = Gtk.Window.WindowPresentWithTimeMethodInfo
    ResolveAboutWindowMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
    ResolveAboutWindowMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
    ResolveAboutWindowMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
    ResolveAboutWindowMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
    ResolveAboutWindowMethod "ref" o = GObject.Object.ObjectRefMethodInfo
    ResolveAboutWindowMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
    ResolveAboutWindowMethod "removeController" o = Gtk.Widget.WidgetRemoveControllerMethodInfo
    ResolveAboutWindowMethod "removeCssClass" o = Gtk.Widget.WidgetRemoveCssClassMethodInfo
    ResolveAboutWindowMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
    ResolveAboutWindowMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
    ResolveAboutWindowMethod "resetProperty" o = Gtk.Accessible.AccessibleResetPropertyMethodInfo
    ResolveAboutWindowMethod "resetRelation" o = Gtk.Accessible.AccessibleResetRelationMethodInfo
    ResolveAboutWindowMethod "resetState" o = Gtk.Accessible.AccessibleResetStateMethodInfo
    ResolveAboutWindowMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
    ResolveAboutWindowMethod "shouldLayout" o = Gtk.Widget.WidgetShouldLayoutMethodInfo
    ResolveAboutWindowMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
    ResolveAboutWindowMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
    ResolveAboutWindowMethod "snapshotChild" o = Gtk.Widget.WidgetSnapshotChildMethodInfo
    ResolveAboutWindowMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
    ResolveAboutWindowMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
    ResolveAboutWindowMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
    ResolveAboutWindowMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
    ResolveAboutWindowMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
    ResolveAboutWindowMethod "unfullscreen" o = Gtk.Window.WindowUnfullscreenMethodInfo
    ResolveAboutWindowMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
    ResolveAboutWindowMethod "unmaximize" o = Gtk.Window.WindowUnmaximizeMethodInfo
    ResolveAboutWindowMethod "unminimize" o = Gtk.Window.WindowUnminimizeMethodInfo
    ResolveAboutWindowMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
    ResolveAboutWindowMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
    ResolveAboutWindowMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
    ResolveAboutWindowMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
    ResolveAboutWindowMethod "updateNextAccessibleSibling" o = Gtk.Accessible.AccessibleUpdateNextAccessibleSiblingMethodInfo
    ResolveAboutWindowMethod "updateProperty" o = Gtk.Accessible.AccessibleUpdatePropertyMethodInfo
    ResolveAboutWindowMethod "updateRelation" o = Gtk.Accessible.AccessibleUpdateRelationMethodInfo
    ResolveAboutWindowMethod "updateState" o = Gtk.Accessible.AccessibleUpdateStateMethodInfo
    ResolveAboutWindowMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
    ResolveAboutWindowMethod "getAccessibleParent" o = Gtk.Accessible.AccessibleGetAccessibleParentMethodInfo
    ResolveAboutWindowMethod "getAccessibleRole" o = Gtk.Accessible.AccessibleGetAccessibleRoleMethodInfo
    ResolveAboutWindowMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
    ResolveAboutWindowMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
    ResolveAboutWindowMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
    ResolveAboutWindowMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
    ResolveAboutWindowMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
    ResolveAboutWindowMethod "getApplication" o = Gtk.Window.WindowGetApplicationMethodInfo
    ResolveAboutWindowMethod "getApplicationIcon" o = AboutWindowGetApplicationIconMethodInfo
    ResolveAboutWindowMethod "getApplicationName" o = AboutWindowGetApplicationNameMethodInfo
    ResolveAboutWindowMethod "getArtists" o = AboutWindowGetArtistsMethodInfo
    ResolveAboutWindowMethod "getAtContext" o = Gtk.Accessible.AccessibleGetAtContextMethodInfo
    ResolveAboutWindowMethod "getBounds" o = Gtk.Accessible.AccessibleGetBoundsMethodInfo
    ResolveAboutWindowMethod "getBuildableId" o = Gtk.Buildable.BuildableGetBuildableIdMethodInfo
    ResolveAboutWindowMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
    ResolveAboutWindowMethod "getCanTarget" o = Gtk.Widget.WidgetGetCanTargetMethodInfo
    ResolveAboutWindowMethod "getChild" o = Gtk.Window.WindowGetChildMethodInfo
    ResolveAboutWindowMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
    ResolveAboutWindowMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
    ResolveAboutWindowMethod "getColor" o = Gtk.Widget.WidgetGetColorMethodInfo
    ResolveAboutWindowMethod "getComments" o = AboutWindowGetCommentsMethodInfo
    ResolveAboutWindowMethod "getContent" o = Adw.Window.WindowGetContentMethodInfo
    ResolveAboutWindowMethod "getCopyright" o = AboutWindowGetCopyrightMethodInfo
    ResolveAboutWindowMethod "getCssClasses" o = Gtk.Widget.WidgetGetCssClassesMethodInfo
    ResolveAboutWindowMethod "getCssName" o = Gtk.Widget.WidgetGetCssNameMethodInfo
    ResolveAboutWindowMethod "getCursor" o = Gtk.Widget.WidgetGetCursorMethodInfo
    ResolveAboutWindowMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
    ResolveAboutWindowMethod "getDebugInfo" o = AboutWindowGetDebugInfoMethodInfo
    ResolveAboutWindowMethod "getDebugInfoFilename" o = AboutWindowGetDebugInfoFilenameMethodInfo
    ResolveAboutWindowMethod "getDecorated" o = Gtk.Window.WindowGetDecoratedMethodInfo
    ResolveAboutWindowMethod "getDefaultSize" o = Gtk.Window.WindowGetDefaultSizeMethodInfo
    ResolveAboutWindowMethod "getDefaultWidget" o = Gtk.Window.WindowGetDefaultWidgetMethodInfo
    ResolveAboutWindowMethod "getDeletable" o = Gtk.Window.WindowGetDeletableMethodInfo
    ResolveAboutWindowMethod "getDesigners" o = AboutWindowGetDesignersMethodInfo
    ResolveAboutWindowMethod "getDestroyWithParent" o = Gtk.Window.WindowGetDestroyWithParentMethodInfo
    ResolveAboutWindowMethod "getDeveloperName" o = AboutWindowGetDeveloperNameMethodInfo
    ResolveAboutWindowMethod "getDevelopers" o = AboutWindowGetDevelopersMethodInfo
    ResolveAboutWindowMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
    ResolveAboutWindowMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
    ResolveAboutWindowMethod "getDocumenters" o = AboutWindowGetDocumentersMethodInfo
    ResolveAboutWindowMethod "getFirstAccessibleChild" o = Gtk.Accessible.AccessibleGetFirstAccessibleChildMethodInfo
    ResolveAboutWindowMethod "getFirstChild" o = Gtk.Widget.WidgetGetFirstChildMethodInfo
    ResolveAboutWindowMethod "getFocus" o = Gtk.Window.WindowGetFocusMethodInfo
    ResolveAboutWindowMethod "getFocusChild" o = Gtk.Widget.WidgetGetFocusChildMethodInfo
    ResolveAboutWindowMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
    ResolveAboutWindowMethod "getFocusVisible" o = Gtk.Window.WindowGetFocusVisibleMethodInfo
    ResolveAboutWindowMethod "getFocusable" o = Gtk.Widget.WidgetGetFocusableMethodInfo
    ResolveAboutWindowMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
    ResolveAboutWindowMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
    ResolveAboutWindowMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
    ResolveAboutWindowMethod "getGroup" o = Gtk.Window.WindowGetGroupMethodInfo
    ResolveAboutWindowMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
    ResolveAboutWindowMethod "getHandleMenubarAccel" o = Gtk.Window.WindowGetHandleMenubarAccelMethodInfo
    ResolveAboutWindowMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
    ResolveAboutWindowMethod "getHeight" o = Gtk.Widget.WidgetGetHeightMethodInfo
    ResolveAboutWindowMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
    ResolveAboutWindowMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
    ResolveAboutWindowMethod "getHideOnClose" o = Gtk.Window.WindowGetHideOnCloseMethodInfo
    ResolveAboutWindowMethod "getIconName" o = Gtk.Window.WindowGetIconNameMethodInfo
    ResolveAboutWindowMethod "getIssueUrl" o = AboutWindowGetIssueUrlMethodInfo
    ResolveAboutWindowMethod "getLastChild" o = Gtk.Widget.WidgetGetLastChildMethodInfo
    ResolveAboutWindowMethod "getLayoutManager" o = Gtk.Widget.WidgetGetLayoutManagerMethodInfo
    ResolveAboutWindowMethod "getLicense" o = AboutWindowGetLicenseMethodInfo
    ResolveAboutWindowMethod "getLicenseType" o = AboutWindowGetLicenseTypeMethodInfo
    ResolveAboutWindowMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
    ResolveAboutWindowMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
    ResolveAboutWindowMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
    ResolveAboutWindowMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
    ResolveAboutWindowMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
    ResolveAboutWindowMethod "getMnemonicsVisible" o = Gtk.Window.WindowGetMnemonicsVisibleMethodInfo
    ResolveAboutWindowMethod "getModal" o = Gtk.Window.WindowGetModalMethodInfo
    ResolveAboutWindowMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
    ResolveAboutWindowMethod "getNative" o = Gtk.Widget.WidgetGetNativeMethodInfo
    ResolveAboutWindowMethod "getNextAccessibleSibling" o = Gtk.Accessible.AccessibleGetNextAccessibleSiblingMethodInfo
    ResolveAboutWindowMethod "getNextSibling" o = Gtk.Widget.WidgetGetNextSiblingMethodInfo
    ResolveAboutWindowMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
    ResolveAboutWindowMethod "getOverflow" o = Gtk.Widget.WidgetGetOverflowMethodInfo
    ResolveAboutWindowMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
    ResolveAboutWindowMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
    ResolveAboutWindowMethod "getPlatformState" o = Gtk.Accessible.AccessibleGetPlatformStateMethodInfo
    ResolveAboutWindowMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
    ResolveAboutWindowMethod "getPrevSibling" o = Gtk.Widget.WidgetGetPrevSiblingMethodInfo
    ResolveAboutWindowMethod "getPrimaryClipboard" o = Gtk.Widget.WidgetGetPrimaryClipboardMethodInfo
    ResolveAboutWindowMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
    ResolveAboutWindowMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
    ResolveAboutWindowMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
    ResolveAboutWindowMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
    ResolveAboutWindowMethod "getReleaseNotes" o = AboutWindowGetReleaseNotesMethodInfo
    ResolveAboutWindowMethod "getReleaseNotesVersion" o = AboutWindowGetReleaseNotesVersionMethodInfo
    ResolveAboutWindowMethod "getRenderer" o = Gtk.Native.NativeGetRendererMethodInfo
    ResolveAboutWindowMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
    ResolveAboutWindowMethod "getResizable" o = Gtk.Window.WindowGetResizableMethodInfo
    ResolveAboutWindowMethod "getRoot" o = Gtk.Widget.WidgetGetRootMethodInfo
    ResolveAboutWindowMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
    ResolveAboutWindowMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
    ResolveAboutWindowMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
    ResolveAboutWindowMethod "getSize" o = Gtk.Widget.WidgetGetSizeMethodInfo
    ResolveAboutWindowMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
    ResolveAboutWindowMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
    ResolveAboutWindowMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
    ResolveAboutWindowMethod "getSupportUrl" o = AboutWindowGetSupportUrlMethodInfo
    ResolveAboutWindowMethod "getSurface" o = Gtk.Native.NativeGetSurfaceMethodInfo
    ResolveAboutWindowMethod "getSurfaceTransform" o = Gtk.Native.NativeGetSurfaceTransformMethodInfo
    ResolveAboutWindowMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
    ResolveAboutWindowMethod "getTitle" o = Gtk.Window.WindowGetTitleMethodInfo
    ResolveAboutWindowMethod "getTitlebar" o = Gtk.Window.WindowGetTitlebarMethodInfo
    ResolveAboutWindowMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
    ResolveAboutWindowMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
    ResolveAboutWindowMethod "getTransientFor" o = Gtk.Window.WindowGetTransientForMethodInfo
    ResolveAboutWindowMethod "getTranslatorCredits" o = AboutWindowGetTranslatorCreditsMethodInfo
    ResolveAboutWindowMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
    ResolveAboutWindowMethod "getVersion" o = AboutWindowGetVersionMethodInfo
    ResolveAboutWindowMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
    ResolveAboutWindowMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
    ResolveAboutWindowMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
    ResolveAboutWindowMethod "getWebsite" o = AboutWindowGetWebsiteMethodInfo
    ResolveAboutWindowMethod "getWidth" o = Gtk.Widget.WidgetGetWidthMethodInfo
    ResolveAboutWindowMethod "setAccessibleParent" o = Gtk.Accessible.AccessibleSetAccessibleParentMethodInfo
    ResolveAboutWindowMethod "setApplication" o = Gtk.Window.WindowSetApplicationMethodInfo
    ResolveAboutWindowMethod "setApplicationIcon" o = AboutWindowSetApplicationIconMethodInfo
    ResolveAboutWindowMethod "setApplicationName" o = AboutWindowSetApplicationNameMethodInfo
    ResolveAboutWindowMethod "setArtists" o = AboutWindowSetArtistsMethodInfo
    ResolveAboutWindowMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
    ResolveAboutWindowMethod "setCanTarget" o = Gtk.Widget.WidgetSetCanTargetMethodInfo
    ResolveAboutWindowMethod "setChild" o = Gtk.Window.WindowSetChildMethodInfo
    ResolveAboutWindowMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
    ResolveAboutWindowMethod "setComments" o = AboutWindowSetCommentsMethodInfo
    ResolveAboutWindowMethod "setContent" o = Adw.Window.WindowSetContentMethodInfo
    ResolveAboutWindowMethod "setCopyright" o = AboutWindowSetCopyrightMethodInfo
    ResolveAboutWindowMethod "setCssClasses" o = Gtk.Widget.WidgetSetCssClassesMethodInfo
    ResolveAboutWindowMethod "setCursor" o = Gtk.Widget.WidgetSetCursorMethodInfo
    ResolveAboutWindowMethod "setCursorFromName" o = Gtk.Widget.WidgetSetCursorFromNameMethodInfo
    ResolveAboutWindowMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
    ResolveAboutWindowMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
    ResolveAboutWindowMethod "setDebugInfo" o = AboutWindowSetDebugInfoMethodInfo
    ResolveAboutWindowMethod "setDebugInfoFilename" o = AboutWindowSetDebugInfoFilenameMethodInfo
    ResolveAboutWindowMethod "setDecorated" o = Gtk.Window.WindowSetDecoratedMethodInfo
    ResolveAboutWindowMethod "setDefaultSize" o = Gtk.Window.WindowSetDefaultSizeMethodInfo
    ResolveAboutWindowMethod "setDefaultWidget" o = Gtk.Window.WindowSetDefaultWidgetMethodInfo
    ResolveAboutWindowMethod "setDeletable" o = Gtk.Window.WindowSetDeletableMethodInfo
    ResolveAboutWindowMethod "setDesigners" o = AboutWindowSetDesignersMethodInfo
    ResolveAboutWindowMethod "setDestroyWithParent" o = Gtk.Window.WindowSetDestroyWithParentMethodInfo
    ResolveAboutWindowMethod "setDeveloperName" o = AboutWindowSetDeveloperNameMethodInfo
    ResolveAboutWindowMethod "setDevelopers" o = AboutWindowSetDevelopersMethodInfo
    ResolveAboutWindowMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
    ResolveAboutWindowMethod "setDisplay" o = Gtk.Window.WindowSetDisplayMethodInfo
    ResolveAboutWindowMethod "setDocumenters" o = AboutWindowSetDocumentersMethodInfo
    ResolveAboutWindowMethod "setFocus" o = Gtk.Window.WindowSetFocusMethodInfo
    ResolveAboutWindowMethod "setFocusChild" o = Gtk.Widget.WidgetSetFocusChildMethodInfo
    ResolveAboutWindowMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
    ResolveAboutWindowMethod "setFocusVisible" o = Gtk.Window.WindowSetFocusVisibleMethodInfo
    ResolveAboutWindowMethod "setFocusable" o = Gtk.Widget.WidgetSetFocusableMethodInfo
    ResolveAboutWindowMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
    ResolveAboutWindowMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
    ResolveAboutWindowMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
    ResolveAboutWindowMethod "setHandleMenubarAccel" o = Gtk.Window.WindowSetHandleMenubarAccelMethodInfo
    ResolveAboutWindowMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
    ResolveAboutWindowMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
    ResolveAboutWindowMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
    ResolveAboutWindowMethod "setHideOnClose" o = Gtk.Window.WindowSetHideOnCloseMethodInfo
    ResolveAboutWindowMethod "setIconName" o = Gtk.Window.WindowSetIconNameMethodInfo
    ResolveAboutWindowMethod "setIssueUrl" o = AboutWindowSetIssueUrlMethodInfo
    ResolveAboutWindowMethod "setLayoutManager" o = Gtk.Widget.WidgetSetLayoutManagerMethodInfo
    ResolveAboutWindowMethod "setLicense" o = AboutWindowSetLicenseMethodInfo
    ResolveAboutWindowMethod "setLicenseType" o = AboutWindowSetLicenseTypeMethodInfo
    ResolveAboutWindowMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
    ResolveAboutWindowMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
    ResolveAboutWindowMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
    ResolveAboutWindowMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
    ResolveAboutWindowMethod "setMnemonicsVisible" o = Gtk.Window.WindowSetMnemonicsVisibleMethodInfo
    ResolveAboutWindowMethod "setModal" o = Gtk.Window.WindowSetModalMethodInfo
    ResolveAboutWindowMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
    ResolveAboutWindowMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
    ResolveAboutWindowMethod "setOverflow" o = Gtk.Widget.WidgetSetOverflowMethodInfo
    ResolveAboutWindowMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
    ResolveAboutWindowMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
    ResolveAboutWindowMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
    ResolveAboutWindowMethod "setReleaseNotes" o = AboutWindowSetReleaseNotesMethodInfo
    ResolveAboutWindowMethod "setReleaseNotesVersion" o = AboutWindowSetReleaseNotesVersionMethodInfo
    ResolveAboutWindowMethod "setResizable" o = Gtk.Window.WindowSetResizableMethodInfo
    ResolveAboutWindowMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
    ResolveAboutWindowMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
    ResolveAboutWindowMethod "setStartupId" o = Gtk.Window.WindowSetStartupIdMethodInfo
    ResolveAboutWindowMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
    ResolveAboutWindowMethod "setSupportUrl" o = AboutWindowSetSupportUrlMethodInfo
    ResolveAboutWindowMethod "setTitle" o = Gtk.Window.WindowSetTitleMethodInfo
    ResolveAboutWindowMethod "setTitlebar" o = Gtk.Window.WindowSetTitlebarMethodInfo
    ResolveAboutWindowMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
    ResolveAboutWindowMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
    ResolveAboutWindowMethod "setTransientFor" o = Gtk.Window.WindowSetTransientForMethodInfo
    ResolveAboutWindowMethod "setTranslatorCredits" o = AboutWindowSetTranslatorCreditsMethodInfo
    ResolveAboutWindowMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
    ResolveAboutWindowMethod "setVersion" o = AboutWindowSetVersionMethodInfo
    ResolveAboutWindowMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
    ResolveAboutWindowMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
    ResolveAboutWindowMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
    ResolveAboutWindowMethod "setWebsite" o = AboutWindowSetWebsiteMethodInfo
    ResolveAboutWindowMethod l o = O.MethodResolutionFailed l o

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

#endif

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

#endif

-- signal AboutWindow::activate-link
-- | Emitted when a URL is activated.
-- 
-- Applications may connect to it to override the default behavior, which is
-- to call 'GI.Gtk.Functions.showUri'.
-- 
-- /Since: 1.2/
type AboutWindowActivateLinkCallback =
    T.Text
    -- ^ /@uri@/: the URI to activate
    -> IO Bool
    -- ^ __Returns:__ @TRUE@ if the link has been activated

type C_AboutWindowActivateLinkCallback =
    Ptr AboutWindow ->                      -- object
    CString ->
    Ptr () ->                               -- user_data
    IO CInt

-- | Generate a function pointer callable from C code, from a `C_AboutWindowActivateLinkCallback`.
foreign import ccall "wrapper"
    mk_AboutWindowActivateLinkCallback :: C_AboutWindowActivateLinkCallback -> IO (FunPtr C_AboutWindowActivateLinkCallback)

wrap_AboutWindowActivateLinkCallback :: 
    GObject a => (a -> AboutWindowActivateLinkCallback) ->
    C_AboutWindowActivateLinkCallback
wrap_AboutWindowActivateLinkCallback :: forall a.
GObject a =>
(a -> AboutWindowActivateLinkCallback)
-> C_AboutWindowActivateLinkCallback
wrap_AboutWindowActivateLinkCallback a -> AboutWindowActivateLinkCallback
gi'cb Ptr AboutWindow
gi'selfPtr CString
uri Ptr ()
_ = do
    Text
uri' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
uri
    Bool
result <- Ptr AboutWindow -> (AboutWindow -> IO Bool) -> IO Bool
forall o b.
(HasCallStack, GObject o) =>
Ptr o -> (o -> IO b) -> IO b
B.ManagedPtr.withNewObject Ptr AboutWindow
gi'selfPtr ((AboutWindow -> IO Bool) -> IO Bool)
-> (AboutWindow -> IO Bool) -> IO Bool
forall a b. (a -> b) -> a -> b
$ \AboutWindow
gi'self -> a -> AboutWindowActivateLinkCallback
gi'cb (AboutWindow -> a
forall a b. Coercible a b => a -> b
Coerce.coerce AboutWindow
gi'self)  Text
uri'
    let result' :: CInt
result' = (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
result
    CInt -> IO CInt
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CInt
result'


-- | Connect a signal handler for the [activateLink](#signal:activateLink) signal, to be run before the default handler.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Signals.on' aboutWindow #activateLink callback
-- @
-- 
-- 
onAboutWindowActivateLink :: (IsAboutWindow a, MonadIO m) => a -> ((?self :: a) => AboutWindowActivateLinkCallback) -> m SignalHandlerId
onAboutWindowActivateLink :: forall a (m :: * -> *).
(IsAboutWindow a, MonadIO m) =>
a
-> ((?self::a) => AboutWindowActivateLinkCallback)
-> m SignalHandlerId
onAboutWindowActivateLink a
obj (?self::a) => AboutWindowActivateLinkCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
    let wrapped :: a -> AboutWindowActivateLinkCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => AboutWindowActivateLinkCallback
AboutWindowActivateLinkCallback
cb
    let wrapped' :: C_AboutWindowActivateLinkCallback
wrapped' = (a -> AboutWindowActivateLinkCallback)
-> C_AboutWindowActivateLinkCallback
forall a.
GObject a =>
(a -> AboutWindowActivateLinkCallback)
-> C_AboutWindowActivateLinkCallback
wrap_AboutWindowActivateLinkCallback a -> AboutWindowActivateLinkCallback
wrapped
    FunPtr C_AboutWindowActivateLinkCallback
wrapped'' <- C_AboutWindowActivateLinkCallback
-> IO (FunPtr C_AboutWindowActivateLinkCallback)
mk_AboutWindowActivateLinkCallback C_AboutWindowActivateLinkCallback
wrapped'
    a
-> Text
-> FunPtr C_AboutWindowActivateLinkCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"activate-link" FunPtr C_AboutWindowActivateLinkCallback
wrapped'' SignalConnectMode
SignalConnectBefore Maybe Text
forall a. Maybe a
Nothing

-- | Connect a signal handler for the [activateLink](#signal:activateLink) signal, to be run after the default handler.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Signals.after' aboutWindow #activateLink callback
-- @
-- 
-- 
-- 
-- By default the object invoking the signal is not passed to the callback.
-- If you need to access it, you can use the implit @?self@ parameter.
-- Note that this requires activating the @ImplicitParams@ GHC extension.
-- 
afterAboutWindowActivateLink :: (IsAboutWindow a, MonadIO m) => a -> ((?self :: a) => AboutWindowActivateLinkCallback) -> m SignalHandlerId
afterAboutWindowActivateLink :: forall a (m :: * -> *).
(IsAboutWindow a, MonadIO m) =>
a
-> ((?self::a) => AboutWindowActivateLinkCallback)
-> m SignalHandlerId
afterAboutWindowActivateLink a
obj (?self::a) => AboutWindowActivateLinkCallback
cb = IO SignalHandlerId -> m SignalHandlerId
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO SignalHandlerId -> m SignalHandlerId)
-> IO SignalHandlerId -> m SignalHandlerId
forall a b. (a -> b) -> a -> b
$ do
    let wrapped :: a -> AboutWindowActivateLinkCallback
wrapped a
self = let ?self = a
?self::a
self in (?self::a) => AboutWindowActivateLinkCallback
AboutWindowActivateLinkCallback
cb
    let wrapped' :: C_AboutWindowActivateLinkCallback
wrapped' = (a -> AboutWindowActivateLinkCallback)
-> C_AboutWindowActivateLinkCallback
forall a.
GObject a =>
(a -> AboutWindowActivateLinkCallback)
-> C_AboutWindowActivateLinkCallback
wrap_AboutWindowActivateLinkCallback a -> AboutWindowActivateLinkCallback
wrapped
    FunPtr C_AboutWindowActivateLinkCallback
wrapped'' <- C_AboutWindowActivateLinkCallback
-> IO (FunPtr C_AboutWindowActivateLinkCallback)
mk_AboutWindowActivateLinkCallback C_AboutWindowActivateLinkCallback
wrapped'
    a
-> Text
-> FunPtr C_AboutWindowActivateLinkCallback
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
forall o a.
GObject o =>
o
-> Text
-> FunPtr a
-> SignalConnectMode
-> Maybe Text
-> IO SignalHandlerId
connectSignalFunPtr a
obj Text
"activate-link" FunPtr C_AboutWindowActivateLinkCallback
wrapped'' SignalConnectMode
SignalConnectAfter Maybe Text
forall a. Maybe a
Nothing


#if defined(ENABLE_OVERLOADING)
data AboutWindowActivateLinkSignalInfo
instance SignalInfo AboutWindowActivateLinkSignalInfo where
    type HaskellCallbackType AboutWindowActivateLinkSignalInfo = AboutWindowActivateLinkCallback
    connectSignal obj cb connectMode detail = do
        let cb' = wrap_AboutWindowActivateLinkCallback cb
        cb'' <- mk_AboutWindowActivateLinkCallback cb'
        connectSignalFunPtr obj "activate-link" cb'' connectMode detail
    dbgSignalInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow::activate-link"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:signal:activateLink"})

#endif

-- VVV Prop "application-icon"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@application-icon@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #applicationIcon
-- @
getAboutWindowApplicationIcon :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowApplicationIcon :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowApplicationIcon o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowApplicationIcon" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"application-icon"

-- | Set the value of the “@application-icon@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #applicationIcon 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowApplicationIcon :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowApplicationIcon :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowApplicationIcon o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"application-icon" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@application-icon@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowApplicationIcon :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowApplicationIcon :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowApplicationIcon Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"application-icon" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowApplicationIconPropertyInfo
instance AttrInfo AboutWindowApplicationIconPropertyInfo where
    type AttrAllowedOps AboutWindowApplicationIconPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowApplicationIconPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowApplicationIconPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowApplicationIconPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowApplicationIconPropertyInfo = T.Text
    type AttrGetType AboutWindowApplicationIconPropertyInfo = T.Text
    type AttrLabel AboutWindowApplicationIconPropertyInfo = "application-icon"
    type AttrOrigin AboutWindowApplicationIconPropertyInfo = AboutWindow
    attrGet = getAboutWindowApplicationIcon
    attrSet = setAboutWindowApplicationIcon
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowApplicationIcon
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.applicationIcon"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:applicationIcon"
        })
#endif

-- VVV Prop "application-name"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@application-name@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #applicationName
-- @
getAboutWindowApplicationName :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowApplicationName :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowApplicationName o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowApplicationName" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"application-name"

-- | Set the value of the “@application-name@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #applicationName 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowApplicationName :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowApplicationName :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowApplicationName o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"application-name" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@application-name@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowApplicationName :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowApplicationName :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowApplicationName Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"application-name" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowApplicationNamePropertyInfo
instance AttrInfo AboutWindowApplicationNamePropertyInfo where
    type AttrAllowedOps AboutWindowApplicationNamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowApplicationNamePropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowApplicationNamePropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowApplicationNamePropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowApplicationNamePropertyInfo = T.Text
    type AttrGetType AboutWindowApplicationNamePropertyInfo = T.Text
    type AttrLabel AboutWindowApplicationNamePropertyInfo = "application-name"
    type AttrOrigin AboutWindowApplicationNamePropertyInfo = AboutWindow
    attrGet = getAboutWindowApplicationName
    attrSet = setAboutWindowApplicationName
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowApplicationName
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.applicationName"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:applicationName"
        })
#endif

-- VVV Prop "artists"
   -- Type: TCArray True (-1) (-1) (TBasicType TUTF8)
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just True)

-- | Get the value of the “@artists@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #artists
-- @
getAboutWindowArtists :: (MonadIO m, IsAboutWindow o) => o -> m (Maybe [T.Text])
getAboutWindowArtists :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> m (Maybe [Text])
getAboutWindowArtists o
obj = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe [Text])
forall a. GObject a => a -> String -> IO (Maybe [Text])
B.Properties.getObjectPropertyStringArray o
obj String
"artists"

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

-- | Construct a `GValueConstruct` with valid value for the “@artists@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowArtists :: (IsAboutWindow o, MIO.MonadIO m) => [T.Text] -> m (GValueConstruct o)
constructAboutWindowArtists :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
[Text] -> m (GValueConstruct o)
constructAboutWindowArtists [Text]
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe [Text] -> IO (GValueConstruct o)
forall o. String -> Maybe [Text] -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyStringArray String
"artists" ([Text] -> Maybe [Text]
forall a. a -> Maybe a
P.Just [Text]
val)

-- | Set the value of the “@artists@” 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' #artists
-- @
clearAboutWindowArtists :: (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowArtists :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowArtists o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe [Text] -> IO ()
forall a. GObject a => a -> String -> Maybe [Text] -> IO ()
B.Properties.setObjectPropertyStringArray o
obj String
"artists" (Maybe [Text]
forall a. Maybe a
Nothing :: Maybe [T.Text])

#if defined(ENABLE_OVERLOADING)
data AboutWindowArtistsPropertyInfo
instance AttrInfo AboutWindowArtistsPropertyInfo where
    type AttrAllowedOps AboutWindowArtistsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint AboutWindowArtistsPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowArtistsPropertyInfo = (~) [T.Text]
    type AttrTransferTypeConstraint AboutWindowArtistsPropertyInfo = (~) [T.Text]
    type AttrTransferType AboutWindowArtistsPropertyInfo = [T.Text]
    type AttrGetType AboutWindowArtistsPropertyInfo = (Maybe [T.Text])
    type AttrLabel AboutWindowArtistsPropertyInfo = "artists"
    type AttrOrigin AboutWindowArtistsPropertyInfo = AboutWindow
    attrGet = getAboutWindowArtists
    attrSet = setAboutWindowArtists
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowArtists
    attrClear = clearAboutWindowArtists
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.artists"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:artists"
        })
#endif

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

-- | Get the value of the “@comments@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #comments
-- @
getAboutWindowComments :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowComments :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowComments o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowComments" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"comments"

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

-- | Construct a `GValueConstruct` with valid value for the “@comments@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowComments :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowComments :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowComments Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"comments" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowCommentsPropertyInfo
instance AttrInfo AboutWindowCommentsPropertyInfo where
    type AttrAllowedOps AboutWindowCommentsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowCommentsPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowCommentsPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowCommentsPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowCommentsPropertyInfo = T.Text
    type AttrGetType AboutWindowCommentsPropertyInfo = T.Text
    type AttrLabel AboutWindowCommentsPropertyInfo = "comments"
    type AttrOrigin AboutWindowCommentsPropertyInfo = AboutWindow
    attrGet = getAboutWindowComments
    attrSet = setAboutWindowComments
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowComments
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.comments"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:comments"
        })
#endif

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

-- | Get the value of the “@copyright@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #copyright
-- @
getAboutWindowCopyright :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowCopyright :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowCopyright o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowCopyright" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"copyright"

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

-- | Construct a `GValueConstruct` with valid value for the “@copyright@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowCopyright :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowCopyright :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowCopyright Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"copyright" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowCopyrightPropertyInfo
instance AttrInfo AboutWindowCopyrightPropertyInfo where
    type AttrAllowedOps AboutWindowCopyrightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowCopyrightPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowCopyrightPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowCopyrightPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowCopyrightPropertyInfo = T.Text
    type AttrGetType AboutWindowCopyrightPropertyInfo = T.Text
    type AttrLabel AboutWindowCopyrightPropertyInfo = "copyright"
    type AttrOrigin AboutWindowCopyrightPropertyInfo = AboutWindow
    attrGet = getAboutWindowCopyright
    attrSet = setAboutWindowCopyright
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowCopyright
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.copyright"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:copyright"
        })
#endif

-- VVV Prop "debug-info"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@debug-info@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #debugInfo
-- @
getAboutWindowDebugInfo :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowDebugInfo :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowDebugInfo o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowDebugInfo" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"debug-info"

-- | Set the value of the “@debug-info@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #debugInfo 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowDebugInfo :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowDebugInfo :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowDebugInfo o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"debug-info" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@debug-info@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowDebugInfo :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowDebugInfo :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowDebugInfo Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"debug-info" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowDebugInfoPropertyInfo
instance AttrInfo AboutWindowDebugInfoPropertyInfo where
    type AttrAllowedOps AboutWindowDebugInfoPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowDebugInfoPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowDebugInfoPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowDebugInfoPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowDebugInfoPropertyInfo = T.Text
    type AttrGetType AboutWindowDebugInfoPropertyInfo = T.Text
    type AttrLabel AboutWindowDebugInfoPropertyInfo = "debug-info"
    type AttrOrigin AboutWindowDebugInfoPropertyInfo = AboutWindow
    attrGet = getAboutWindowDebugInfo
    attrSet = setAboutWindowDebugInfo
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowDebugInfo
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.debugInfo"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:debugInfo"
        })
#endif

-- VVV Prop "debug-info-filename"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@debug-info-filename@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #debugInfoFilename
-- @
getAboutWindowDebugInfoFilename :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowDebugInfoFilename :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowDebugInfoFilename o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowDebugInfoFilename" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"debug-info-filename"

-- | Set the value of the “@debug-info-filename@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #debugInfoFilename 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowDebugInfoFilename :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowDebugInfoFilename :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowDebugInfoFilename o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"debug-info-filename" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@debug-info-filename@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowDebugInfoFilename :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowDebugInfoFilename :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowDebugInfoFilename Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"debug-info-filename" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowDebugInfoFilenamePropertyInfo
instance AttrInfo AboutWindowDebugInfoFilenamePropertyInfo where
    type AttrAllowedOps AboutWindowDebugInfoFilenamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowDebugInfoFilenamePropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowDebugInfoFilenamePropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowDebugInfoFilenamePropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowDebugInfoFilenamePropertyInfo = T.Text
    type AttrGetType AboutWindowDebugInfoFilenamePropertyInfo = T.Text
    type AttrLabel AboutWindowDebugInfoFilenamePropertyInfo = "debug-info-filename"
    type AttrOrigin AboutWindowDebugInfoFilenamePropertyInfo = AboutWindow
    attrGet = getAboutWindowDebugInfoFilename
    attrSet = setAboutWindowDebugInfoFilename
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowDebugInfoFilename
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.debugInfoFilename"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:debugInfoFilename"
        })
#endif

-- VVV Prop "designers"
   -- Type: TCArray True (-1) (-1) (TBasicType TUTF8)
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just True)

-- | Get the value of the “@designers@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #designers
-- @
getAboutWindowDesigners :: (MonadIO m, IsAboutWindow o) => o -> m (Maybe [T.Text])
getAboutWindowDesigners :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> m (Maybe [Text])
getAboutWindowDesigners o
obj = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe [Text])
forall a. GObject a => a -> String -> IO (Maybe [Text])
B.Properties.getObjectPropertyStringArray o
obj String
"designers"

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

-- | Construct a `GValueConstruct` with valid value for the “@designers@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowDesigners :: (IsAboutWindow o, MIO.MonadIO m) => [T.Text] -> m (GValueConstruct o)
constructAboutWindowDesigners :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
[Text] -> m (GValueConstruct o)
constructAboutWindowDesigners [Text]
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe [Text] -> IO (GValueConstruct o)
forall o. String -> Maybe [Text] -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyStringArray String
"designers" ([Text] -> Maybe [Text]
forall a. a -> Maybe a
P.Just [Text]
val)

-- | Set the value of the “@designers@” 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' #designers
-- @
clearAboutWindowDesigners :: (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowDesigners :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowDesigners o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe [Text] -> IO ()
forall a. GObject a => a -> String -> Maybe [Text] -> IO ()
B.Properties.setObjectPropertyStringArray o
obj String
"designers" (Maybe [Text]
forall a. Maybe a
Nothing :: Maybe [T.Text])

#if defined(ENABLE_OVERLOADING)
data AboutWindowDesignersPropertyInfo
instance AttrInfo AboutWindowDesignersPropertyInfo where
    type AttrAllowedOps AboutWindowDesignersPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint AboutWindowDesignersPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowDesignersPropertyInfo = (~) [T.Text]
    type AttrTransferTypeConstraint AboutWindowDesignersPropertyInfo = (~) [T.Text]
    type AttrTransferType AboutWindowDesignersPropertyInfo = [T.Text]
    type AttrGetType AboutWindowDesignersPropertyInfo = (Maybe [T.Text])
    type AttrLabel AboutWindowDesignersPropertyInfo = "designers"
    type AttrOrigin AboutWindowDesignersPropertyInfo = AboutWindow
    attrGet = getAboutWindowDesigners
    attrSet = setAboutWindowDesigners
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowDesigners
    attrClear = clearAboutWindowDesigners
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.designers"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:designers"
        })
#endif

-- VVV Prop "developer-name"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@developer-name@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #developerName
-- @
getAboutWindowDeveloperName :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowDeveloperName :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowDeveloperName o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowDeveloperName" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"developer-name"

-- | Set the value of the “@developer-name@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #developerName 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowDeveloperName :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowDeveloperName :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowDeveloperName o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"developer-name" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@developer-name@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowDeveloperName :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowDeveloperName :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowDeveloperName Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"developer-name" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowDeveloperNamePropertyInfo
instance AttrInfo AboutWindowDeveloperNamePropertyInfo where
    type AttrAllowedOps AboutWindowDeveloperNamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowDeveloperNamePropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowDeveloperNamePropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowDeveloperNamePropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowDeveloperNamePropertyInfo = T.Text
    type AttrGetType AboutWindowDeveloperNamePropertyInfo = T.Text
    type AttrLabel AboutWindowDeveloperNamePropertyInfo = "developer-name"
    type AttrOrigin AboutWindowDeveloperNamePropertyInfo = AboutWindow
    attrGet = getAboutWindowDeveloperName
    attrSet = setAboutWindowDeveloperName
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowDeveloperName
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.developerName"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:developerName"
        })
#endif

-- VVV Prop "developers"
   -- Type: TCArray True (-1) (-1) (TBasicType TUTF8)
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just True)

-- | Get the value of the “@developers@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #developers
-- @
getAboutWindowDevelopers :: (MonadIO m, IsAboutWindow o) => o -> m (Maybe [T.Text])
getAboutWindowDevelopers :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> m (Maybe [Text])
getAboutWindowDevelopers o
obj = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe [Text])
forall a. GObject a => a -> String -> IO (Maybe [Text])
B.Properties.getObjectPropertyStringArray o
obj String
"developers"

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

-- | Construct a `GValueConstruct` with valid value for the “@developers@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowDevelopers :: (IsAboutWindow o, MIO.MonadIO m) => [T.Text] -> m (GValueConstruct o)
constructAboutWindowDevelopers :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
[Text] -> m (GValueConstruct o)
constructAboutWindowDevelopers [Text]
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe [Text] -> IO (GValueConstruct o)
forall o. String -> Maybe [Text] -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyStringArray String
"developers" ([Text] -> Maybe [Text]
forall a. a -> Maybe a
P.Just [Text]
val)

-- | Set the value of the “@developers@” 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' #developers
-- @
clearAboutWindowDevelopers :: (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowDevelopers :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowDevelopers o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe [Text] -> IO ()
forall a. GObject a => a -> String -> Maybe [Text] -> IO ()
B.Properties.setObjectPropertyStringArray o
obj String
"developers" (Maybe [Text]
forall a. Maybe a
Nothing :: Maybe [T.Text])

#if defined(ENABLE_OVERLOADING)
data AboutWindowDevelopersPropertyInfo
instance AttrInfo AboutWindowDevelopersPropertyInfo where
    type AttrAllowedOps AboutWindowDevelopersPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint AboutWindowDevelopersPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowDevelopersPropertyInfo = (~) [T.Text]
    type AttrTransferTypeConstraint AboutWindowDevelopersPropertyInfo = (~) [T.Text]
    type AttrTransferType AboutWindowDevelopersPropertyInfo = [T.Text]
    type AttrGetType AboutWindowDevelopersPropertyInfo = (Maybe [T.Text])
    type AttrLabel AboutWindowDevelopersPropertyInfo = "developers"
    type AttrOrigin AboutWindowDevelopersPropertyInfo = AboutWindow
    attrGet = getAboutWindowDevelopers
    attrSet = setAboutWindowDevelopers
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowDevelopers
    attrClear = clearAboutWindowDevelopers
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.developers"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:developers"
        })
#endif

-- VVV Prop "documenters"
   -- Type: TCArray True (-1) (-1) (TBasicType TUTF8)
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just True,Just True)

-- | Get the value of the “@documenters@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #documenters
-- @
getAboutWindowDocumenters :: (MonadIO m, IsAboutWindow o) => o -> m (Maybe [T.Text])
getAboutWindowDocumenters :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> m (Maybe [Text])
getAboutWindowDocumenters o
obj = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe [Text])
forall a. GObject a => a -> String -> IO (Maybe [Text])
B.Properties.getObjectPropertyStringArray o
obj String
"documenters"

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

-- | Construct a `GValueConstruct` with valid value for the “@documenters@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowDocumenters :: (IsAboutWindow o, MIO.MonadIO m) => [T.Text] -> m (GValueConstruct o)
constructAboutWindowDocumenters :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
[Text] -> m (GValueConstruct o)
constructAboutWindowDocumenters [Text]
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe [Text] -> IO (GValueConstruct o)
forall o. String -> Maybe [Text] -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyStringArray String
"documenters" ([Text] -> Maybe [Text]
forall a. a -> Maybe a
P.Just [Text]
val)

-- | Set the value of the “@documenters@” 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' #documenters
-- @
clearAboutWindowDocumenters :: (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowDocumenters :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m ()
clearAboutWindowDocumenters o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe [Text] -> IO ()
forall a. GObject a => a -> String -> Maybe [Text] -> IO ()
B.Properties.setObjectPropertyStringArray o
obj String
"documenters" (Maybe [Text]
forall a. Maybe a
Nothing :: Maybe [T.Text])

#if defined(ENABLE_OVERLOADING)
data AboutWindowDocumentersPropertyInfo
instance AttrInfo AboutWindowDocumentersPropertyInfo where
    type AttrAllowedOps AboutWindowDocumentersPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint AboutWindowDocumentersPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowDocumentersPropertyInfo = (~) [T.Text]
    type AttrTransferTypeConstraint AboutWindowDocumentersPropertyInfo = (~) [T.Text]
    type AttrTransferType AboutWindowDocumentersPropertyInfo = [T.Text]
    type AttrGetType AboutWindowDocumentersPropertyInfo = (Maybe [T.Text])
    type AttrLabel AboutWindowDocumentersPropertyInfo = "documenters"
    type AttrOrigin AboutWindowDocumentersPropertyInfo = AboutWindow
    attrGet = getAboutWindowDocumenters
    attrSet = setAboutWindowDocumenters
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowDocumenters
    attrClear = clearAboutWindowDocumenters
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.documenters"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:documenters"
        })
#endif

-- VVV Prop "issue-url"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@issue-url@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #issueUrl
-- @
getAboutWindowIssueUrl :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowIssueUrl :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowIssueUrl o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowIssueUrl" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"issue-url"

-- | Set the value of the “@issue-url@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #issueUrl 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowIssueUrl :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowIssueUrl :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowIssueUrl o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"issue-url" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@issue-url@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowIssueUrl :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowIssueUrl :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowIssueUrl Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"issue-url" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowIssueUrlPropertyInfo
instance AttrInfo AboutWindowIssueUrlPropertyInfo where
    type AttrAllowedOps AboutWindowIssueUrlPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowIssueUrlPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowIssueUrlPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowIssueUrlPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowIssueUrlPropertyInfo = T.Text
    type AttrGetType AboutWindowIssueUrlPropertyInfo = T.Text
    type AttrLabel AboutWindowIssueUrlPropertyInfo = "issue-url"
    type AttrOrigin AboutWindowIssueUrlPropertyInfo = AboutWindow
    attrGet = getAboutWindowIssueUrl
    attrSet = setAboutWindowIssueUrl
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowIssueUrl
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.issueUrl"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:issueUrl"
        })
#endif

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

-- | Get the value of the “@license@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #license
-- @
getAboutWindowLicense :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowLicense :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowLicense o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowLicense" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"license"

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

-- | Construct a `GValueConstruct` with valid value for the “@license@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowLicense :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowLicense :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowLicense Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"license" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowLicensePropertyInfo
instance AttrInfo AboutWindowLicensePropertyInfo where
    type AttrAllowedOps AboutWindowLicensePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowLicensePropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowLicensePropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowLicensePropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowLicensePropertyInfo = T.Text
    type AttrGetType AboutWindowLicensePropertyInfo = T.Text
    type AttrLabel AboutWindowLicensePropertyInfo = "license"
    type AttrOrigin AboutWindowLicensePropertyInfo = AboutWindow
    attrGet = getAboutWindowLicense
    attrSet = setAboutWindowLicense
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowLicense
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.license"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:license"
        })
#endif

-- VVV Prop "license-type"
   -- Type: TInterface (Name {namespace = "Gtk", name = "License"})
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@license-type@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #licenseType
-- @
getAboutWindowLicenseType :: (MonadIO m, IsAboutWindow o) => o -> m Gtk.Enums.License
getAboutWindowLicenseType :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> m License
getAboutWindowLicenseType o
obj = IO License -> m License
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO License -> m License) -> IO License -> m License
forall a b. (a -> b) -> a -> b
$ o -> String -> IO License
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"license-type"

-- | Set the value of the “@license-type@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #licenseType 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowLicenseType :: (MonadIO m, IsAboutWindow o) => o -> Gtk.Enums.License -> m ()
setAboutWindowLicenseType :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> License -> m ()
setAboutWindowLicenseType o
obj License
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 -> License -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"license-type" License
val

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

#if defined(ENABLE_OVERLOADING)
data AboutWindowLicenseTypePropertyInfo
instance AttrInfo AboutWindowLicenseTypePropertyInfo where
    type AttrAllowedOps AboutWindowLicenseTypePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowLicenseTypePropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowLicenseTypePropertyInfo = (~) Gtk.Enums.License
    type AttrTransferTypeConstraint AboutWindowLicenseTypePropertyInfo = (~) Gtk.Enums.License
    type AttrTransferType AboutWindowLicenseTypePropertyInfo = Gtk.Enums.License
    type AttrGetType AboutWindowLicenseTypePropertyInfo = Gtk.Enums.License
    type AttrLabel AboutWindowLicenseTypePropertyInfo = "license-type"
    type AttrOrigin AboutWindowLicenseTypePropertyInfo = AboutWindow
    attrGet = getAboutWindowLicenseType
    attrSet = setAboutWindowLicenseType
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowLicenseType
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.licenseType"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:licenseType"
        })
#endif

-- VVV Prop "release-notes"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@release-notes@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #releaseNotes
-- @
getAboutWindowReleaseNotes :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowReleaseNotes :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowReleaseNotes o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowReleaseNotes" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"release-notes"

-- | Set the value of the “@release-notes@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #releaseNotes 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowReleaseNotes :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowReleaseNotes :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowReleaseNotes o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"release-notes" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@release-notes@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowReleaseNotes :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowReleaseNotes :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowReleaseNotes Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"release-notes" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowReleaseNotesPropertyInfo
instance AttrInfo AboutWindowReleaseNotesPropertyInfo where
    type AttrAllowedOps AboutWindowReleaseNotesPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowReleaseNotesPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowReleaseNotesPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowReleaseNotesPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowReleaseNotesPropertyInfo = T.Text
    type AttrGetType AboutWindowReleaseNotesPropertyInfo = T.Text
    type AttrLabel AboutWindowReleaseNotesPropertyInfo = "release-notes"
    type AttrOrigin AboutWindowReleaseNotesPropertyInfo = AboutWindow
    attrGet = getAboutWindowReleaseNotes
    attrSet = setAboutWindowReleaseNotes
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowReleaseNotes
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.releaseNotes"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:releaseNotes"
        })
#endif

-- VVV Prop "release-notes-version"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@release-notes-version@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #releaseNotesVersion
-- @
getAboutWindowReleaseNotesVersion :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowReleaseNotesVersion :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowReleaseNotesVersion o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowReleaseNotesVersion" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"release-notes-version"

-- | Set the value of the “@release-notes-version@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #releaseNotesVersion 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowReleaseNotesVersion :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowReleaseNotesVersion :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowReleaseNotesVersion o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"release-notes-version" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@release-notes-version@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowReleaseNotesVersion :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowReleaseNotesVersion :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowReleaseNotesVersion Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"release-notes-version" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowReleaseNotesVersionPropertyInfo
instance AttrInfo AboutWindowReleaseNotesVersionPropertyInfo where
    type AttrAllowedOps AboutWindowReleaseNotesVersionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowReleaseNotesVersionPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowReleaseNotesVersionPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowReleaseNotesVersionPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowReleaseNotesVersionPropertyInfo = T.Text
    type AttrGetType AboutWindowReleaseNotesVersionPropertyInfo = T.Text
    type AttrLabel AboutWindowReleaseNotesVersionPropertyInfo = "release-notes-version"
    type AttrOrigin AboutWindowReleaseNotesVersionPropertyInfo = AboutWindow
    attrGet = getAboutWindowReleaseNotesVersion
    attrSet = setAboutWindowReleaseNotesVersion
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowReleaseNotesVersion
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.releaseNotesVersion"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:releaseNotesVersion"
        })
#endif

-- VVV Prop "support-url"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@support-url@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #supportUrl
-- @
getAboutWindowSupportUrl :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowSupportUrl :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowSupportUrl o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowSupportUrl" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"support-url"

-- | Set the value of the “@support-url@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #supportUrl 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowSupportUrl :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowSupportUrl :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowSupportUrl o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"support-url" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@support-url@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowSupportUrl :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowSupportUrl :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowSupportUrl Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"support-url" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowSupportUrlPropertyInfo
instance AttrInfo AboutWindowSupportUrlPropertyInfo where
    type AttrAllowedOps AboutWindowSupportUrlPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowSupportUrlPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowSupportUrlPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowSupportUrlPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowSupportUrlPropertyInfo = T.Text
    type AttrGetType AboutWindowSupportUrlPropertyInfo = T.Text
    type AttrLabel AboutWindowSupportUrlPropertyInfo = "support-url"
    type AttrOrigin AboutWindowSupportUrlPropertyInfo = AboutWindow
    attrGet = getAboutWindowSupportUrl
    attrSet = setAboutWindowSupportUrl
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowSupportUrl
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.supportUrl"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:supportUrl"
        })
#endif

-- VVV Prop "translator-credits"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Just False,Just False)

-- | Get the value of the “@translator-credits@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #translatorCredits
-- @
getAboutWindowTranslatorCredits :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowTranslatorCredits :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowTranslatorCredits o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowTranslatorCredits" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"translator-credits"

-- | Set the value of the “@translator-credits@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.set' aboutWindow [ #translatorCredits 'Data.GI.Base.Attributes.:=' value ]
-- @
setAboutWindowTranslatorCredits :: (MonadIO m, IsAboutWindow o) => o -> T.Text -> m ()
setAboutWindowTranslatorCredits :: forall (m :: * -> *) o.
(MonadIO m, IsAboutWindow o) =>
o -> Text -> m ()
setAboutWindowTranslatorCredits o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
    o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"translator-credits" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)

-- | Construct a `GValueConstruct` with valid value for the “@translator-credits@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowTranslatorCredits :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowTranslatorCredits :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowTranslatorCredits Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"translator-credits" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowTranslatorCreditsPropertyInfo
instance AttrInfo AboutWindowTranslatorCreditsPropertyInfo where
    type AttrAllowedOps AboutWindowTranslatorCreditsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowTranslatorCreditsPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowTranslatorCreditsPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowTranslatorCreditsPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowTranslatorCreditsPropertyInfo = T.Text
    type AttrGetType AboutWindowTranslatorCreditsPropertyInfo = T.Text
    type AttrLabel AboutWindowTranslatorCreditsPropertyInfo = "translator-credits"
    type AttrOrigin AboutWindowTranslatorCreditsPropertyInfo = AboutWindow
    attrGet = getAboutWindowTranslatorCredits
    attrSet = setAboutWindowTranslatorCredits
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowTranslatorCredits
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.translatorCredits"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:translatorCredits"
        })
#endif

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

-- | Get the value of the “@version@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #version
-- @
getAboutWindowVersion :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowVersion :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowVersion o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowVersion" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"version"

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

-- | Construct a `GValueConstruct` with valid value for the “@version@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowVersion :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowVersion :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowVersion Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"version" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowVersionPropertyInfo
instance AttrInfo AboutWindowVersionPropertyInfo where
    type AttrAllowedOps AboutWindowVersionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowVersionPropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowVersionPropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowVersionPropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowVersionPropertyInfo = T.Text
    type AttrGetType AboutWindowVersionPropertyInfo = T.Text
    type AttrLabel AboutWindowVersionPropertyInfo = "version"
    type AttrOrigin AboutWindowVersionPropertyInfo = AboutWindow
    attrGet = getAboutWindowVersion
    attrSet = setAboutWindowVersion
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowVersion
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.version"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:version"
        })
#endif

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

-- | Get the value of the “@website@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' aboutWindow #website
-- @
getAboutWindowWebsite :: (MonadIO m, IsAboutWindow o) => o -> m T.Text
getAboutWindowWebsite :: forall (m :: * -> *) o. (MonadIO m, IsAboutWindow o) => o -> m Text
getAboutWindowWebsite o
obj = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ Text -> IO (Maybe Text) -> IO Text
forall a. HasCallStack => Text -> IO (Maybe a) -> IO a
checkUnexpectedNothing Text
"getAboutWindowWebsite" (IO (Maybe Text) -> IO Text) -> IO (Maybe Text) -> IO Text
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"website"

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

-- | Construct a `GValueConstruct` with valid value for the “@website@” property. This is rarely needed directly, but it is used by `Data.GI.Base.Constructible.new`.
constructAboutWindowWebsite :: (IsAboutWindow o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructAboutWindowWebsite :: forall o (m :: * -> *).
(IsAboutWindow o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructAboutWindowWebsite Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
    IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"website" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)

#if defined(ENABLE_OVERLOADING)
data AboutWindowWebsitePropertyInfo
instance AttrInfo AboutWindowWebsitePropertyInfo where
    type AttrAllowedOps AboutWindowWebsitePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrBaseTypeConstraint AboutWindowWebsitePropertyInfo = IsAboutWindow
    type AttrSetTypeConstraint AboutWindowWebsitePropertyInfo = (~) T.Text
    type AttrTransferTypeConstraint AboutWindowWebsitePropertyInfo = (~) T.Text
    type AttrTransferType AboutWindowWebsitePropertyInfo = T.Text
    type AttrGetType AboutWindowWebsitePropertyInfo = T.Text
    type AttrLabel AboutWindowWebsitePropertyInfo = "website"
    type AttrOrigin AboutWindowWebsitePropertyInfo = AboutWindow
    attrGet = getAboutWindowWebsite
    attrSet = setAboutWindowWebsite
    attrTransfer _ v = do
        return v
    attrConstruct = constructAboutWindowWebsite
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Adw.Objects.AboutWindow.website"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-adwaita-1.0.6/docs/GI-Adw-Objects-AboutWindow.html#g:attr:website"
        })
#endif

#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList AboutWindow
type instance O.AttributeList AboutWindow = AboutWindowAttributeList
type AboutWindowAttributeList = ('[ '("accessibleRole", Gtk.Accessible.AccessibleAccessibleRolePropertyInfo), '("application", Gtk.Window.WindowApplicationPropertyInfo), '("applicationIcon", AboutWindowApplicationIconPropertyInfo), '("applicationName", AboutWindowApplicationNamePropertyInfo), '("artists", AboutWindowArtistsPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("canTarget", Gtk.Widget.WidgetCanTargetPropertyInfo), '("child", Gtk.Window.WindowChildPropertyInfo), '("comments", AboutWindowCommentsPropertyInfo), '("content", Adw.Window.WindowContentPropertyInfo), '("copyright", AboutWindowCopyrightPropertyInfo), '("cssClasses", Gtk.Widget.WidgetCssClassesPropertyInfo), '("cssName", Gtk.Widget.WidgetCssNamePropertyInfo), '("cursor", Gtk.Widget.WidgetCursorPropertyInfo), '("debugInfo", AboutWindowDebugInfoPropertyInfo), '("debugInfoFilename", AboutWindowDebugInfoFilenamePropertyInfo), '("decorated", Gtk.Window.WindowDecoratedPropertyInfo), '("defaultHeight", Gtk.Window.WindowDefaultHeightPropertyInfo), '("defaultWidget", Gtk.Window.WindowDefaultWidgetPropertyInfo), '("defaultWidth", Gtk.Window.WindowDefaultWidthPropertyInfo), '("deletable", Gtk.Window.WindowDeletablePropertyInfo), '("designers", AboutWindowDesignersPropertyInfo), '("destroyWithParent", Gtk.Window.WindowDestroyWithParentPropertyInfo), '("developerName", AboutWindowDeveloperNamePropertyInfo), '("developers", AboutWindowDevelopersPropertyInfo), '("display", Gtk.Window.WindowDisplayPropertyInfo), '("documenters", AboutWindowDocumentersPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("focusVisible", Gtk.Window.WindowFocusVisiblePropertyInfo), '("focusWidget", Gtk.Window.WindowFocusWidgetPropertyInfo), '("focusable", Gtk.Widget.WidgetFocusablePropertyInfo), '("fullscreened", Gtk.Window.WindowFullscreenedPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("handleMenubarAccel", Gtk.Window.WindowHandleMenubarAccelPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("hideOnClose", Gtk.Window.WindowHideOnClosePropertyInfo), '("iconName", Gtk.Window.WindowIconNamePropertyInfo), '("isActive", Gtk.Window.WindowIsActivePropertyInfo), '("issueUrl", AboutWindowIssueUrlPropertyInfo), '("layoutManager", Gtk.Widget.WidgetLayoutManagerPropertyInfo), '("license", AboutWindowLicensePropertyInfo), '("licenseType", AboutWindowLicenseTypePropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("maximized", Gtk.Window.WindowMaximizedPropertyInfo), '("mnemonicsVisible", Gtk.Window.WindowMnemonicsVisiblePropertyInfo), '("modal", Gtk.Window.WindowModalPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("overflow", Gtk.Widget.WidgetOverflowPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("releaseNotes", AboutWindowReleaseNotesPropertyInfo), '("releaseNotesVersion", AboutWindowReleaseNotesVersionPropertyInfo), '("resizable", Gtk.Window.WindowResizablePropertyInfo), '("root", Gtk.Widget.WidgetRootPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("startupId", Gtk.Window.WindowStartupIdPropertyInfo), '("supportUrl", AboutWindowSupportUrlPropertyInfo), '("title", Gtk.Window.WindowTitlePropertyInfo), '("titlebar", Gtk.Window.WindowTitlebarPropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("transientFor", Gtk.Window.WindowTransientForPropertyInfo), '("translatorCredits", AboutWindowTranslatorCreditsPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("version", AboutWindowVersionPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("website", AboutWindowWebsitePropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo)] :: [(Symbol, DK.Type)])
#endif

#if defined(ENABLE_OVERLOADING)
aboutWindowApplicationIcon :: AttrLabelProxy "applicationIcon"
aboutWindowApplicationIcon = AttrLabelProxy

aboutWindowApplicationName :: AttrLabelProxy "applicationName"
aboutWindowApplicationName = AttrLabelProxy

aboutWindowArtists :: AttrLabelProxy "artists"
aboutWindowArtists = AttrLabelProxy

aboutWindowComments :: AttrLabelProxy "comments"
aboutWindowComments = AttrLabelProxy

aboutWindowCopyright :: AttrLabelProxy "copyright"
aboutWindowCopyright = AttrLabelProxy

aboutWindowDebugInfo :: AttrLabelProxy "debugInfo"
aboutWindowDebugInfo = AttrLabelProxy

aboutWindowDebugInfoFilename :: AttrLabelProxy "debugInfoFilename"
aboutWindowDebugInfoFilename = AttrLabelProxy

aboutWindowDesigners :: AttrLabelProxy "designers"
aboutWindowDesigners = AttrLabelProxy

aboutWindowDeveloperName :: AttrLabelProxy "developerName"
aboutWindowDeveloperName = AttrLabelProxy

aboutWindowDevelopers :: AttrLabelProxy "developers"
aboutWindowDevelopers = AttrLabelProxy

aboutWindowDocumenters :: AttrLabelProxy "documenters"
aboutWindowDocumenters = AttrLabelProxy

aboutWindowIssueUrl :: AttrLabelProxy "issueUrl"
aboutWindowIssueUrl = AttrLabelProxy

aboutWindowLicense :: AttrLabelProxy "license"
aboutWindowLicense = AttrLabelProxy

aboutWindowLicenseType :: AttrLabelProxy "licenseType"
aboutWindowLicenseType = AttrLabelProxy

aboutWindowReleaseNotes :: AttrLabelProxy "releaseNotes"
aboutWindowReleaseNotes = AttrLabelProxy

aboutWindowReleaseNotesVersion :: AttrLabelProxy "releaseNotesVersion"
aboutWindowReleaseNotesVersion = AttrLabelProxy

aboutWindowSupportUrl :: AttrLabelProxy "supportUrl"
aboutWindowSupportUrl = AttrLabelProxy

aboutWindowTranslatorCredits :: AttrLabelProxy "translatorCredits"
aboutWindowTranslatorCredits = AttrLabelProxy

aboutWindowVersion :: AttrLabelProxy "version"
aboutWindowVersion = AttrLabelProxy

aboutWindowWebsite :: AttrLabelProxy "website"
aboutWindowWebsite = AttrLabelProxy

#endif

#if defined(ENABLE_OVERLOADING)
type instance O.SignalList AboutWindow = AboutWindowSignalList
type AboutWindowSignalList = ('[ '("activateDefault", Gtk.Window.WindowActivateDefaultSignalInfo), '("activateFocus", Gtk.Window.WindowActivateFocusSignalInfo), '("activateLink", AboutWindowActivateLinkSignalInfo), '("closeRequest", Gtk.Window.WindowCloseRequestSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("enableDebugging", Gtk.Window.WindowEnableDebuggingSignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("keysChanged", Gtk.Window.WindowKeysChangedSignalInfo), '("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 AboutWindow::new
-- method type : Constructor
-- Args: []
-- Lengths: []
-- returnType: Just (TInterface Name { namespace = "Adw" , name = "AboutWindow" })
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_new" adw_about_window_new :: 
    IO (Ptr AboutWindow)

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

#if defined(ENABLE_OVERLOADING)
#endif

-- method AboutWindow::add_acknowledgement_section
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "name"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the section name" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "people"
--           , argType = TCArray True (-1) (-1) (TBasicType TUTF8)
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the list of names" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_add_acknowledgement_section" adw_about_window_add_acknowledgement_section :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- name : TBasicType TUTF8
    Ptr CString ->                          -- people : TCArray True (-1) (-1) (TBasicType TUTF8)
    IO ()

-- | Adds a section to the Acknowledgements page.
-- 
-- This can be used to acknowledge additional people and organizations for their
-- non-development contributions - for example, backers in a crowdfunded
-- project.
-- 
-- Each name may contain email addresses and URLs, see the introduction for more
-- details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- 
-- /Since: 1.2/
aboutWindowAddAcknowledgementSection ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> Maybe (T.Text)
    -- ^ /@name@/: the section name
    -> [T.Text]
    -- ^ /@people@/: the list of names
    -> m ()
aboutWindowAddAcknowledgementSection :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Maybe Text -> [Text] -> m ()
aboutWindowAddAcknowledgementSection a
self Maybe Text
name [Text]
people = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
maybeName <- case Maybe Text
name of
        Maybe Text
Nothing -> CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
        Just Text
jName -> do
            CString
jName' <- Text -> IO CString
textToCString Text
jName
            CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jName'
    Ptr CString
people' <- [Text] -> IO (Ptr CString)
packZeroTerminatedUTF8CArray [Text]
people
    Ptr AboutWindow -> CString -> Ptr CString -> IO ()
adw_about_window_add_acknowledgement_section Ptr AboutWindow
self' CString
maybeName Ptr CString
people'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeName
    (CString -> IO ()) -> Ptr CString -> IO ()
forall a b. (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()
mapZeroTerminatedCArray CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
people'
    Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
people'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowAddAcknowledgementSectionMethodInfo
instance (signature ~ (Maybe (T.Text) -> [T.Text] -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowAddAcknowledgementSectionMethodInfo a signature where
    overloadedMethod = aboutWindowAddAcknowledgementSection

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


#endif

-- method AboutWindow::add_credit_section
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "name"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the section name" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "people"
--           , argType = TCArray True (-1) (-1) (TBasicType TUTF8)
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the list of names" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_add_credit_section" adw_about_window_add_credit_section :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- name : TBasicType TUTF8
    Ptr CString ->                          -- people : TCArray True (-1) (-1) (TBasicType TUTF8)
    IO ()

-- | Adds an extra section to the Credits page.
-- 
-- Extra sections are displayed below the standard categories.
-- 
-- Each name may contain email addresses and URLs, see the introduction for more
-- details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/
aboutWindowAddCreditSection ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> Maybe (T.Text)
    -- ^ /@name@/: the section name
    -> [T.Text]
    -- ^ /@people@/: the list of names
    -> m ()
aboutWindowAddCreditSection :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Maybe Text -> [Text] -> m ()
aboutWindowAddCreditSection a
self Maybe Text
name [Text]
people = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
maybeName <- case Maybe Text
name of
        Maybe Text
Nothing -> CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
        Just Text
jName -> do
            CString
jName' <- Text -> IO CString
textToCString Text
jName
            CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jName'
    Ptr CString
people' <- [Text] -> IO (Ptr CString)
packZeroTerminatedUTF8CArray [Text]
people
    Ptr AboutWindow -> CString -> Ptr CString -> IO ()
adw_about_window_add_credit_section Ptr AboutWindow
self' CString
maybeName Ptr CString
people'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeName
    (CString -> IO ()) -> Ptr CString -> IO ()
forall a b. (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()
mapZeroTerminatedCArray CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
people'
    Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
people'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowAddCreditSectionMethodInfo
instance (signature ~ (Maybe (T.Text) -> [T.Text] -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowAddCreditSectionMethodInfo a signature where
    overloadedMethod = aboutWindowAddCreditSection

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


#endif

-- method AboutWindow::add_legal_section
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "title"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the name of the section"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "copyright"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "a copyright string" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "license_type"
--           , argType =
--               TInterface Name { namespace = "Gtk" , name = "License" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the type of license"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "license"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "custom license information"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_add_legal_section" adw_about_window_add_legal_section :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- title : TBasicType TUTF8
    CString ->                              -- copyright : TBasicType TUTF8
    CUInt ->                                -- license_type : TInterface (Name {namespace = "Gtk", name = "License"})
    CString ->                              -- license : TBasicType TUTF8
    IO ()

-- | Adds an extra section to the Legal page.
-- 
-- Extra sections will be displayed below the application\'s own information.
-- 
-- The parameters /@copyright@/, /@licenseType@/ and /@license@/ will be used to present
-- the it the same way as [property/@aboutWindow@/:copyright],
-- [property/@aboutWindow@/:license-type] and [property/@aboutWindow@/:license] are
-- for the application\'s own information.
-- 
-- See those properties for more details.
-- 
-- This can be useful to attribute the application dependencies or data.
-- 
-- Examples:
-- 
-- 
-- === /c code/
-- >adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
-- >                                    _("Copyright and a known license"),
-- >                                    "© 2022 Example",
-- >                                    GTK_LICENSE_LGPL_2_1,
-- >                                    NULL);
-- >
-- >adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
-- >                                    _("Copyright and custom license"),
-- >                                    "© 2022 Example",
-- >                                    GTK_LICENSE_CUSTOM,
-- >                                    "Custom license text");
-- >
-- >adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
-- >                                    _("Copyright only"),
-- >                                    "© 2022 Example",
-- >                                    GTK_LICENSE_UNKNOWN,
-- >                                    NULL);
-- >
-- >adw_about_window_add_legal_section (ADW_ABOUT_WINDOW (about),
-- >                                    _("Custom license only"),
-- >                                    NULL,
-- >                                    GTK_LICENSE_CUSTOM,
-- >                                    "Something completely custom here.");
-- 
-- 
-- /Since: 1.2/
aboutWindowAddLegalSection ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@title@/: the name of the section
    -> Maybe (T.Text)
    -- ^ /@copyright@/: a copyright string
    -> Gtk.Enums.License
    -- ^ /@licenseType@/: the type of license
    -> Maybe (T.Text)
    -- ^ /@license@/: custom license information
    -> m ()
aboutWindowAddLegalSection :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> Maybe Text -> License -> Maybe Text -> m ()
aboutWindowAddLegalSection a
self Text
title Maybe Text
copyright License
licenseType Maybe Text
license = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
title' <- Text -> IO CString
textToCString Text
title
    CString
maybeCopyright <- case Maybe Text
copyright of
        Maybe Text
Nothing -> CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
        Just Text
jCopyright -> do
            CString
jCopyright' <- Text -> IO CString
textToCString Text
jCopyright
            CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jCopyright'
    let licenseType' :: CUInt
licenseType' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (License -> Int) -> License -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. License -> Int
forall a. Enum a => a -> Int
fromEnum) License
licenseType
    CString
maybeLicense <- case Maybe Text
license of
        Maybe Text
Nothing -> CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
        Just Text
jLicense -> do
            CString
jLicense' <- Text -> IO CString
textToCString Text
jLicense
            CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jLicense'
    Ptr AboutWindow -> CString -> CString -> CUInt -> CString -> IO ()
adw_about_window_add_legal_section Ptr AboutWindow
self' CString
title' CString
maybeCopyright CUInt
licenseType' CString
maybeLicense
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
title'
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeCopyright
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeLicense
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowAddLegalSectionMethodInfo
instance (signature ~ (T.Text -> Maybe (T.Text) -> Gtk.Enums.License -> Maybe (T.Text) -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowAddLegalSectionMethodInfo a signature where
    overloadedMethod = aboutWindowAddLegalSection

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


#endif

-- method AboutWindow::add_link
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "title"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the link title" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "url"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the link URL" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_add_link" adw_about_window_add_link :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- title : TBasicType TUTF8
    CString ->                              -- url : TBasicType TUTF8
    IO ()

-- | Adds an extra link to the Details page.
-- 
-- Extra links are displayed under the comment and website.
-- 
-- Underlines in /@title@/ will be interpreted as indicating a mnemonic.
-- 
-- See [property/@aboutWindow@/:website].
-- 
-- /Since: 1.2/
aboutWindowAddLink ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@title@/: the link title
    -> T.Text
    -- ^ /@url@/: the link URL
    -> m ()
aboutWindowAddLink :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> Text -> m ()
aboutWindowAddLink a
self Text
title Text
url = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
title' <- Text -> IO CString
textToCString Text
title
    CString
url' <- Text -> IO CString
textToCString Text
url
    Ptr AboutWindow -> CString -> CString -> IO ()
adw_about_window_add_link Ptr AboutWindow
self' CString
title' CString
url'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
title'
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
url'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowAddLinkMethodInfo
instance (signature ~ (T.Text -> T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowAddLinkMethodInfo a signature where
    overloadedMethod = aboutWindowAddLink

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


#endif

-- method AboutWindow::get_application_icon
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_application_icon" adw_about_window_get_application_icon :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the name of the application icon for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetApplicationIcon ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the application icon name
aboutWindowGetApplicationIcon :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetApplicationIcon a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_application_icon Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetApplicationIcon" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetApplicationIconMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetApplicationIconMethodInfo a signature where
    overloadedMethod = aboutWindowGetApplicationIcon

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


#endif

-- method AboutWindow::get_application_name
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_application_name" adw_about_window_get_application_name :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the application name for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetApplicationName ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the application name
aboutWindowGetApplicationName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetApplicationName a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_application_name Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetApplicationName" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetApplicationNameMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetApplicationNameMethodInfo a signature where
    overloadedMethod = aboutWindowGetApplicationName

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


#endif

-- method AboutWindow::get_artists
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TCArray True (-1) (-1) (TBasicType TUTF8))
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_artists" adw_about_window_get_artists :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO (Ptr CString)

-- | Gets the list of artists of the application.
-- 
-- /Since: 1.2/
aboutWindowGetArtists ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m (Maybe [T.Text])
    -- ^ __Returns:__ The list of artists
aboutWindowGetArtists :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m (Maybe [Text])
aboutWindowGetArtists a
self = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
result <- Ptr AboutWindow -> IO (Ptr CString)
adw_about_window_get_artists Ptr AboutWindow
self'
    Maybe [Text]
maybeResult <- Ptr CString -> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr CString
result ((Ptr CString -> IO [Text]) -> IO (Maybe [Text]))
-> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ \Ptr CString
result' -> do
        [Text]
result'' <- HasCallStack => Ptr CString -> IO [Text]
Ptr CString -> IO [Text]
unpackZeroTerminatedUTF8CArray Ptr CString
result'
        [Text] -> IO [Text]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Text]
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe [Text] -> IO (Maybe [Text])
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe [Text]
maybeResult

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetArtistsMethodInfo
instance (signature ~ (m (Maybe [T.Text])), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetArtistsMethodInfo a signature where
    overloadedMethod = aboutWindowGetArtists

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


#endif

-- method AboutWindow::get_comments
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_comments" adw_about_window_get_comments :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the comments about the application.
-- 
-- /Since: 1.2/
aboutWindowGetComments ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the comments
aboutWindowGetComments :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetComments a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_comments Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetComments" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetCommentsMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetCommentsMethodInfo a signature where
    overloadedMethod = aboutWindowGetComments

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


#endif

-- method AboutWindow::get_copyright
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_copyright" adw_about_window_get_copyright :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the copyright information for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetCopyright ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the copyright information
aboutWindowGetCopyright :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetCopyright a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_copyright Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetCopyright" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetCopyrightMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetCopyrightMethodInfo a signature where
    overloadedMethod = aboutWindowGetCopyright

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


#endif

-- method AboutWindow::get_debug_info
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_debug_info" adw_about_window_get_debug_info :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the debug information for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetDebugInfo ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the debug information
aboutWindowGetDebugInfo :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetDebugInfo a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_debug_info Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetDebugInfo" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetDebugInfoMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetDebugInfoMethodInfo a signature where
    overloadedMethod = aboutWindowGetDebugInfo

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


#endif

-- method AboutWindow::get_debug_info_filename
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_debug_info_filename" adw_about_window_get_debug_info_filename :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the debug information filename for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetDebugInfoFilename ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the debug information filename
aboutWindowGetDebugInfoFilename :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetDebugInfoFilename a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_debug_info_filename Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetDebugInfoFilename" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetDebugInfoFilenameMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetDebugInfoFilenameMethodInfo a signature where
    overloadedMethod = aboutWindowGetDebugInfoFilename

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


#endif

-- method AboutWindow::get_designers
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TCArray True (-1) (-1) (TBasicType TUTF8))
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_designers" adw_about_window_get_designers :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO (Ptr CString)

-- | Gets the list of designers of the application.
-- 
-- /Since: 1.2/
aboutWindowGetDesigners ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m (Maybe [T.Text])
    -- ^ __Returns:__ The list of designers
aboutWindowGetDesigners :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m (Maybe [Text])
aboutWindowGetDesigners a
self = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
result <- Ptr AboutWindow -> IO (Ptr CString)
adw_about_window_get_designers Ptr AboutWindow
self'
    Maybe [Text]
maybeResult <- Ptr CString -> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr CString
result ((Ptr CString -> IO [Text]) -> IO (Maybe [Text]))
-> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ \Ptr CString
result' -> do
        [Text]
result'' <- HasCallStack => Ptr CString -> IO [Text]
Ptr CString -> IO [Text]
unpackZeroTerminatedUTF8CArray Ptr CString
result'
        [Text] -> IO [Text]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Text]
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe [Text] -> IO (Maybe [Text])
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe [Text]
maybeResult

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetDesignersMethodInfo
instance (signature ~ (m (Maybe [T.Text])), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetDesignersMethodInfo a signature where
    overloadedMethod = aboutWindowGetDesigners

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


#endif

-- method AboutWindow::get_developer_name
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_developer_name" adw_about_window_get_developer_name :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the developer name for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetDeveloperName ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the developer_name
aboutWindowGetDeveloperName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetDeveloperName a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_developer_name Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetDeveloperName" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetDeveloperNameMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetDeveloperNameMethodInfo a signature where
    overloadedMethod = aboutWindowGetDeveloperName

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


#endif

-- method AboutWindow::get_developers
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TCArray True (-1) (-1) (TBasicType TUTF8))
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_developers" adw_about_window_get_developers :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO (Ptr CString)

-- | Gets the list of developers of the application.
-- 
-- /Since: 1.2/
aboutWindowGetDevelopers ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m (Maybe [T.Text])
    -- ^ __Returns:__ The list of developers
aboutWindowGetDevelopers :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m (Maybe [Text])
aboutWindowGetDevelopers a
self = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
result <- Ptr AboutWindow -> IO (Ptr CString)
adw_about_window_get_developers Ptr AboutWindow
self'
    Maybe [Text]
maybeResult <- Ptr CString -> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr CString
result ((Ptr CString -> IO [Text]) -> IO (Maybe [Text]))
-> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ \Ptr CString
result' -> do
        [Text]
result'' <- HasCallStack => Ptr CString -> IO [Text]
Ptr CString -> IO [Text]
unpackZeroTerminatedUTF8CArray Ptr CString
result'
        [Text] -> IO [Text]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Text]
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe [Text] -> IO (Maybe [Text])
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe [Text]
maybeResult

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetDevelopersMethodInfo
instance (signature ~ (m (Maybe [T.Text])), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetDevelopersMethodInfo a signature where
    overloadedMethod = aboutWindowGetDevelopers

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


#endif

-- method AboutWindow::get_documenters
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TCArray True (-1) (-1) (TBasicType TUTF8))
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_documenters" adw_about_window_get_documenters :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO (Ptr CString)

-- | Gets the list of documenters of the application.
-- 
-- /Since: 1.2/
aboutWindowGetDocumenters ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m (Maybe [T.Text])
    -- ^ __Returns:__ The list of documenters
aboutWindowGetDocumenters :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m (Maybe [Text])
aboutWindowGetDocumenters a
self = IO (Maybe [Text]) -> m (Maybe [Text])
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe [Text]) -> m (Maybe [Text]))
-> IO (Maybe [Text]) -> m (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
result <- Ptr AboutWindow -> IO (Ptr CString)
adw_about_window_get_documenters Ptr AboutWindow
self'
    Maybe [Text]
maybeResult <- Ptr CString -> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr CString
result ((Ptr CString -> IO [Text]) -> IO (Maybe [Text]))
-> (Ptr CString -> IO [Text]) -> IO (Maybe [Text])
forall a b. (a -> b) -> a -> b
$ \Ptr CString
result' -> do
        [Text]
result'' <- HasCallStack => Ptr CString -> IO [Text]
Ptr CString -> IO [Text]
unpackZeroTerminatedUTF8CArray Ptr CString
result'
        [Text] -> IO [Text]
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return [Text]
result''
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Maybe [Text] -> IO (Maybe [Text])
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe [Text]
maybeResult

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetDocumentersMethodInfo
instance (signature ~ (m (Maybe [T.Text])), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetDocumentersMethodInfo a signature where
    overloadedMethod = aboutWindowGetDocumenters

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


#endif

-- method AboutWindow::get_issue_url
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_issue_url" adw_about_window_get_issue_url :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the issue tracker URL for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetIssueUrl ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the issue tracker URL
aboutWindowGetIssueUrl :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetIssueUrl a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_issue_url Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetIssueUrl" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetIssueUrlMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetIssueUrlMethodInfo a signature where
    overloadedMethod = aboutWindowGetIssueUrl

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


#endif

-- method AboutWindow::get_license
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_license" adw_about_window_get_license :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the license for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetLicense ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the license
aboutWindowGetLicense :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetLicense a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_license Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetLicense" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetLicenseMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetLicenseMethodInfo a signature where
    overloadedMethod = aboutWindowGetLicense

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


#endif

-- method AboutWindow::get_license_type
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TInterface Name { namespace = "Gtk" , name = "License" })
-- throws : False
-- Skip return : False

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

-- | Gets the license type for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetLicenseType ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m Gtk.Enums.License
    -- ^ __Returns:__ the license type
aboutWindowGetLicenseType :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m License
aboutWindowGetLicenseType a
self = IO License -> m License
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO License -> m License) -> IO License -> m License
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CUInt
result <- Ptr AboutWindow -> IO CUInt
adw_about_window_get_license_type Ptr AboutWindow
self'
    let result' :: License
result' = (Int -> License
forall a. Enum a => Int -> a
toEnum (Int -> License) -> (CUInt -> Int) -> CUInt -> License
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
    License -> IO License
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return License
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetLicenseTypeMethodInfo
instance (signature ~ (m Gtk.Enums.License), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetLicenseTypeMethodInfo a signature where
    overloadedMethod = aboutWindowGetLicenseType

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


#endif

-- method AboutWindow::get_release_notes
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_release_notes" adw_about_window_get_release_notes :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the release notes for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetReleaseNotes ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the release notes
aboutWindowGetReleaseNotes :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetReleaseNotes a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_release_notes Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetReleaseNotes" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetReleaseNotesMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetReleaseNotesMethodInfo a signature where
    overloadedMethod = aboutWindowGetReleaseNotes

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


#endif

-- method AboutWindow::get_release_notes_version
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_release_notes_version" adw_about_window_get_release_notes_version :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the version described by the application\'s release notes.
-- 
-- /Since: 1.2/
aboutWindowGetReleaseNotesVersion ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the release notes version
aboutWindowGetReleaseNotesVersion :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetReleaseNotesVersion a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_release_notes_version Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetReleaseNotesVersion" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetReleaseNotesVersionMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetReleaseNotesVersionMethodInfo a signature where
    overloadedMethod = aboutWindowGetReleaseNotesVersion

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


#endif

-- method AboutWindow::get_support_url
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_support_url" adw_about_window_get_support_url :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the URL of the support page for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetSupportUrl ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the support page URL
aboutWindowGetSupportUrl :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetSupportUrl a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_support_url Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetSupportUrl" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetSupportUrlMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetSupportUrlMethodInfo a signature where
    overloadedMethod = aboutWindowGetSupportUrl

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


#endif

-- method AboutWindow::get_translator_credits
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_translator_credits" adw_about_window_get_translator_credits :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the translator credits string.
-- 
-- /Since: 1.2/
aboutWindowGetTranslatorCredits ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ The translator credits string
aboutWindowGetTranslatorCredits :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetTranslatorCredits a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_translator_credits Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetTranslatorCredits" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetTranslatorCreditsMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetTranslatorCreditsMethodInfo a signature where
    overloadedMethod = aboutWindowGetTranslatorCredits

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


#endif

-- method AboutWindow::get_version
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_version" adw_about_window_get_version :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the version for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetVersion ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the version
aboutWindowGetVersion :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetVersion a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_version Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetVersion" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetVersionMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetVersionMethodInfo a signature where
    overloadedMethod = aboutWindowGetVersion

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


#endif

-- method AboutWindow::get_website
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_get_website" adw_about_window_get_website :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    IO CString

-- | Gets the application website URL for /@self@/.
-- 
-- /Since: 1.2/
aboutWindowGetWebsite ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> m T.Text
    -- ^ __Returns:__ the website URL
aboutWindowGetWebsite :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> m Text
aboutWindowGetWebsite a
self = IO Text -> m Text
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr AboutWindow -> IO CString
adw_about_window_get_website Ptr AboutWindow
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"aboutWindowGetWebsite" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data AboutWindowGetWebsiteMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowGetWebsiteMethodInfo a signature where
    overloadedMethod = aboutWindowGetWebsite

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


#endif

-- method AboutWindow::set_application_icon
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "application_icon"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the application icon name"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_application_icon" adw_about_window_set_application_icon :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- application_icon : TBasicType TUTF8
    IO ()

-- | Sets the name of the application icon for /@self@/.
-- 
-- The icon is displayed at the top of the main page.
-- 
-- /Since: 1.2/
aboutWindowSetApplicationIcon ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@applicationIcon@/: the application icon name
    -> m ()
aboutWindowSetApplicationIcon :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetApplicationIcon a
self Text
applicationIcon = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
applicationIcon' <- Text -> IO CString
textToCString Text
applicationIcon
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_application_icon Ptr AboutWindow
self' CString
applicationIcon'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
applicationIcon'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetApplicationIconMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetApplicationIconMethodInfo a signature where
    overloadedMethod = aboutWindowSetApplicationIcon

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


#endif

-- method AboutWindow::set_application_name
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "application_name"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the application name"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_application_name" adw_about_window_set_application_name :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- application_name : TBasicType TUTF8
    IO ()

-- | Sets the application name for /@self@/.
-- 
-- The name is displayed at the top of the main page.
-- 
-- /Since: 1.2/
aboutWindowSetApplicationName ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@applicationName@/: the application name
    -> m ()
aboutWindowSetApplicationName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetApplicationName a
self Text
applicationName = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
applicationName' <- Text -> IO CString
textToCString Text
applicationName
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_application_name Ptr AboutWindow
self' CString
applicationName'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
applicationName'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetApplicationNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetApplicationNameMethodInfo a signature where
    overloadedMethod = aboutWindowSetApplicationName

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


#endif

-- method AboutWindow::set_artists
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "artists"
--           , argType = TCArray True (-1) (-1) (TBasicType TUTF8)
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the list of artists"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_artists" adw_about_window_set_artists :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    Ptr CString ->                          -- artists : TCArray True (-1) (-1) (TBasicType TUTF8)
    IO ()

-- | Sets the list of artists of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for more
-- details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/
aboutWindowSetArtists ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> Maybe ([T.Text])
    -- ^ /@artists@/: the list of artists
    -> m ()
aboutWindowSetArtists :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Maybe [Text] -> m ()
aboutWindowSetArtists a
self Maybe [Text]
artists = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
maybeArtists <- case Maybe [Text]
artists of
        Maybe [Text]
Nothing -> Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
forall a. Ptr a
nullPtr
        Just [Text]
jArtists -> do
            Ptr CString
jArtists' <- [Text] -> IO (Ptr CString)
packZeroTerminatedUTF8CArray [Text]
jArtists
            Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
jArtists'
    Ptr AboutWindow -> Ptr CString -> IO ()
adw_about_window_set_artists Ptr AboutWindow
self' Ptr CString
maybeArtists
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    (CString -> IO ()) -> Ptr CString -> IO ()
forall a b. (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()
mapZeroTerminatedCArray CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeArtists
    Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeArtists
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetArtistsMethodInfo
instance (signature ~ (Maybe ([T.Text]) -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetArtistsMethodInfo a signature where
    overloadedMethod = aboutWindowSetArtists

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


#endif

-- method AboutWindow::set_comments
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "comments"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the comments" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_comments" adw_about_window_set_comments :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- comments : TBasicType TUTF8
    IO ()

-- | Sets the comments about the application.
-- 
-- Comments will be shown on the Details page, above links.
-- 
-- Unlike [AboutDialog:comments]("GI.Gtk.Objects.AboutDialog#g:attr:comments"), this string can be long and
-- detailed. It can also contain links and Pango markup.
-- 
-- /Since: 1.2/
aboutWindowSetComments ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@comments@/: the comments
    -> m ()
aboutWindowSetComments :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetComments a
self Text
comments = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
comments' <- Text -> IO CString
textToCString Text
comments
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_comments Ptr AboutWindow
self' CString
comments'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
comments'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetCommentsMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetCommentsMethodInfo a signature where
    overloadedMethod = aboutWindowSetComments

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


#endif

-- method AboutWindow::set_copyright
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "copyright"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the copyright information"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_copyright" adw_about_window_set_copyright :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- copyright : TBasicType TUTF8
    IO ()

-- | Sets the copyright information for /@self@/.
-- 
-- This should be a short string of one or two lines, for example:
-- @© 2022 Example@.
-- 
-- The copyright information will be displayed on the Legal page, before the
-- application license.
-- 
-- [method/@aboutWindow@/.add_legal_section] can be used to add copyright
-- information for the application dependencies or other components.
-- 
-- /Since: 1.2/
aboutWindowSetCopyright ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@copyright@/: the copyright information
    -> m ()
aboutWindowSetCopyright :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetCopyright a
self Text
copyright = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
copyright' <- Text -> IO CString
textToCString Text
copyright
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_copyright Ptr AboutWindow
self' CString
copyright'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
copyright'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetCopyrightMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetCopyrightMethodInfo a signature where
    overloadedMethod = aboutWindowSetCopyright

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


#endif

-- method AboutWindow::set_debug_info
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "debug_info"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the debug information"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_debug_info" adw_about_window_set_debug_info :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- debug_info : TBasicType TUTF8
    IO ()

-- | Sets the debug information for /@self@/.
-- 
-- Debug information will be shown on the Troubleshooting page. It\'s intended
-- to be attached to issue reports when reporting issues against the
-- application.
-- 
-- @AdwAboutWindow@ provides a quick way to save debug information to a file.
-- When saving, [property/@aboutWindow@/:debug-info-filename] would be used as
-- the suggested filename.
-- 
-- Debug information cannot contain markup or links.
-- 
-- /Since: 1.2/
aboutWindowSetDebugInfo ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@debugInfo@/: the debug information
    -> m ()
aboutWindowSetDebugInfo :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetDebugInfo a
self Text
debugInfo = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
debugInfo' <- Text -> IO CString
textToCString Text
debugInfo
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_debug_info Ptr AboutWindow
self' CString
debugInfo'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
debugInfo'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetDebugInfoMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetDebugInfoMethodInfo a signature where
    overloadedMethod = aboutWindowSetDebugInfo

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


#endif

-- method AboutWindow::set_debug_info_filename
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "filename"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the debug info filename"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_debug_info_filename" adw_about_window_set_debug_info_filename :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- filename : TBasicType TUTF8
    IO ()

-- | Sets the debug information filename for /@self@/.
-- 
-- It will be used as the suggested filename when saving debug information to a
-- file.
-- 
-- See [property/@aboutWindow@/:debug-info].
-- 
-- /Since: 1.2/
aboutWindowSetDebugInfoFilename ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@filename@/: the debug info filename
    -> m ()
aboutWindowSetDebugInfoFilename :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetDebugInfoFilename a
self Text
filename = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
filename' <- Text -> IO CString
textToCString Text
filename
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_debug_info_filename Ptr AboutWindow
self' CString
filename'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
filename'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetDebugInfoFilenameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetDebugInfoFilenameMethodInfo a signature where
    overloadedMethod = aboutWindowSetDebugInfoFilename

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


#endif

-- method AboutWindow::set_designers
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "designers"
--           , argType = TCArray True (-1) (-1) (TBasicType TUTF8)
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the list of designers"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_designers" adw_about_window_set_designers :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    Ptr CString ->                          -- designers : TCArray True (-1) (-1) (TBasicType TUTF8)
    IO ()

-- | Sets the list of designers of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for more
-- details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/
aboutWindowSetDesigners ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> Maybe ([T.Text])
    -- ^ /@designers@/: the list of designers
    -> m ()
aboutWindowSetDesigners :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Maybe [Text] -> m ()
aboutWindowSetDesigners a
self Maybe [Text]
designers = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
maybeDesigners <- case Maybe [Text]
designers of
        Maybe [Text]
Nothing -> Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
forall a. Ptr a
nullPtr
        Just [Text]
jDesigners -> do
            Ptr CString
jDesigners' <- [Text] -> IO (Ptr CString)
packZeroTerminatedUTF8CArray [Text]
jDesigners
            Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
jDesigners'
    Ptr AboutWindow -> Ptr CString -> IO ()
adw_about_window_set_designers Ptr AboutWindow
self' Ptr CString
maybeDesigners
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    (CString -> IO ()) -> Ptr CString -> IO ()
forall a b. (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()
mapZeroTerminatedCArray CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeDesigners
    Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeDesigners
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetDesignersMethodInfo
instance (signature ~ (Maybe ([T.Text]) -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetDesignersMethodInfo a signature where
    overloadedMethod = aboutWindowSetDesigners

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


#endif

-- method AboutWindow::set_developer_name
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "developer_name"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the developer name" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_developer_name" adw_about_window_set_developer_name :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- developer_name : TBasicType TUTF8
    IO ()

-- | Sets the developer name for /@self@/.
-- 
-- The developer name is displayed on the main page, under the application name.
-- 
-- If the application is developed by multiple people, the developer name can be
-- set to values like \"AppName team\", \"AppName developers\" or
-- \"The AppName project\", and the individual contributors can be listed on the
-- Credits page, with [property/@aboutWindow@/:developers] and related properties.
-- 
-- /Since: 1.2/
aboutWindowSetDeveloperName ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@developerName@/: the developer name
    -> m ()
aboutWindowSetDeveloperName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetDeveloperName a
self Text
developerName = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
developerName' <- Text -> IO CString
textToCString Text
developerName
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_developer_name Ptr AboutWindow
self' CString
developerName'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
developerName'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetDeveloperNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetDeveloperNameMethodInfo a signature where
    overloadedMethod = aboutWindowSetDeveloperName

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


#endif

-- method AboutWindow::set_developers
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "developers"
--           , argType = TCArray True (-1) (-1) (TBasicType TUTF8)
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the list of developers"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_developers" adw_about_window_set_developers :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    Ptr CString ->                          -- developers : TCArray True (-1) (-1) (TBasicType TUTF8)
    IO ()

-- | Sets the list of developers of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for more
-- details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/
aboutWindowSetDevelopers ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> Maybe ([T.Text])
    -- ^ /@developers@/: the list of developers
    -> m ()
aboutWindowSetDevelopers :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Maybe [Text] -> m ()
aboutWindowSetDevelopers a
self Maybe [Text]
developers = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
maybeDevelopers <- case Maybe [Text]
developers of
        Maybe [Text]
Nothing -> Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
forall a. Ptr a
nullPtr
        Just [Text]
jDevelopers -> do
            Ptr CString
jDevelopers' <- [Text] -> IO (Ptr CString)
packZeroTerminatedUTF8CArray [Text]
jDevelopers
            Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
jDevelopers'
    Ptr AboutWindow -> Ptr CString -> IO ()
adw_about_window_set_developers Ptr AboutWindow
self' Ptr CString
maybeDevelopers
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    (CString -> IO ()) -> Ptr CString -> IO ()
forall a b. (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()
mapZeroTerminatedCArray CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeDevelopers
    Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeDevelopers
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetDevelopersMethodInfo
instance (signature ~ (Maybe ([T.Text]) -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetDevelopersMethodInfo a signature where
    overloadedMethod = aboutWindowSetDevelopers

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


#endif

-- method AboutWindow::set_documenters
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "documenters"
--           , argType = TCArray True (-1) (-1) (TBasicType TUTF8)
--           , direction = DirectionIn
--           , mayBeNull = True
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the list of documenters"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_documenters" adw_about_window_set_documenters :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    Ptr CString ->                          -- documenters : TCArray True (-1) (-1) (TBasicType TUTF8)
    IO ()

-- | Sets the list of documenters of the application.
-- 
-- It will be displayed on the Credits page.
-- 
-- Each name may contain email addresses and URLs, see the introduction for more
-- details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:translator-credits]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/
aboutWindowSetDocumenters ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> Maybe ([T.Text])
    -- ^ /@documenters@/: the list of documenters
    -> m ()
aboutWindowSetDocumenters :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Maybe [Text] -> m ()
aboutWindowSetDocumenters a
self Maybe [Text]
documenters = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr CString
maybeDocumenters <- case Maybe [Text]
documenters of
        Maybe [Text]
Nothing -> Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
forall a. Ptr a
nullPtr
        Just [Text]
jDocumenters -> do
            Ptr CString
jDocumenters' <- [Text] -> IO (Ptr CString)
packZeroTerminatedUTF8CArray [Text]
jDocumenters
            Ptr CString -> IO (Ptr CString)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Ptr CString
jDocumenters'
    Ptr AboutWindow -> Ptr CString -> IO ()
adw_about_window_set_documenters Ptr AboutWindow
self' Ptr CString
maybeDocumenters
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    (CString -> IO ()) -> Ptr CString -> IO ()
forall a b. (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()
mapZeroTerminatedCArray CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeDocumenters
    Ptr CString -> IO ()
forall a. Ptr a -> IO ()
freeMem Ptr CString
maybeDocumenters
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetDocumentersMethodInfo
instance (signature ~ (Maybe ([T.Text]) -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetDocumentersMethodInfo a signature where
    overloadedMethod = aboutWindowSetDocumenters

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


#endif

-- method AboutWindow::set_issue_url
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "issue_url"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the issue tracker URL"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_issue_url" adw_about_window_set_issue_url :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- issue_url : TBasicType TUTF8
    IO ()

-- | Sets the issue tracker URL for /@self@/.
-- 
-- The issue tracker link is displayed on the main page.
-- 
-- /Since: 1.2/
aboutWindowSetIssueUrl ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@issueUrl@/: the issue tracker URL
    -> m ()
aboutWindowSetIssueUrl :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetIssueUrl a
self Text
issueUrl = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
issueUrl' <- Text -> IO CString
textToCString Text
issueUrl
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_issue_url Ptr AboutWindow
self' CString
issueUrl'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
issueUrl'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetIssueUrlMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetIssueUrlMethodInfo a signature where
    overloadedMethod = aboutWindowSetIssueUrl

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


#endif

-- method AboutWindow::set_license
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "license"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the license" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_license" adw_about_window_set_license :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- license : TBasicType TUTF8
    IO ()

-- | Sets the license for /@self@/.
-- 
-- This can be used to set a custom text for the license if it can\'t be set via
-- [property/@aboutWindow@/:license-type].
-- 
-- When set, [property/@aboutWindow@/:license-type] will be set to
-- @GTK_LICENSE_CUSTOM@.
-- 
-- The license text will be displayed on the Legal page, below the copyright
-- information.
-- 
-- License text can contain Pango markup and links.
-- 
-- [method/@aboutWindow@/.add_legal_section] can be used to add license information
-- for the application dependencies or other components.
-- 
-- /Since: 1.2/
aboutWindowSetLicense ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@license@/: the license
    -> m ()
aboutWindowSetLicense :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetLicense a
self Text
license = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
license' <- Text -> IO CString
textToCString Text
license
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_license Ptr AboutWindow
self' CString
license'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
license'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetLicenseMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetLicenseMethodInfo a signature where
    overloadedMethod = aboutWindowSetLicense

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


#endif

-- method AboutWindow::set_license_type
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "license_type"
--           , argType =
--               TInterface Name { namespace = "Gtk" , name = "License" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the license type" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_license_type" adw_about_window_set_license_type :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CUInt ->                                -- license_type : TInterface (Name {namespace = "Gtk", name = "License"})
    IO ()

-- | Sets the license for /@self@/ from a list of known licenses.
-- 
-- If the application\'s license is not in the list,
-- [property/@aboutWindow@/:license] can be used instead. The license type will be
-- automatically set to @GTK_LICENSE_CUSTOM@ in that case.
-- 
-- If /@licenseType@/ is @GTK_LICENSE_UNKNOWN@, no information will be displayed.
-- 
-- If /@licenseType@/ is different from @GTK_LICENSE_CUSTOM@.
-- [property/@aboutWindow@/:license] will be cleared out.
-- 
-- The license description will be displayed on the Legal page, below the
-- copyright information.
-- 
-- [method/@aboutWindow@/.add_legal_section] can be used to add license information
-- for the application dependencies or other components.
-- 
-- /Since: 1.2/
aboutWindowSetLicenseType ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> Gtk.Enums.License
    -- ^ /@licenseType@/: the license type
    -> m ()
aboutWindowSetLicenseType :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> License -> m ()
aboutWindowSetLicenseType a
self License
licenseType = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    let licenseType' :: CUInt
licenseType' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (License -> Int) -> License -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. License -> Int
forall a. Enum a => a -> Int
fromEnum) License
licenseType
    Ptr AboutWindow -> CUInt -> IO ()
adw_about_window_set_license_type Ptr AboutWindow
self' CUInt
licenseType'
    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 AboutWindowSetLicenseTypeMethodInfo
instance (signature ~ (Gtk.Enums.License -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetLicenseTypeMethodInfo a signature where
    overloadedMethod = aboutWindowSetLicenseType

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


#endif

-- method AboutWindow::set_release_notes
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "release_notes"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the release notes" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_release_notes" adw_about_window_set_release_notes :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- release_notes : TBasicType TUTF8
    IO ()

-- | Sets the release notes for /@self@/.
-- 
-- Release notes are displayed on the the What\'s New page.
-- 
-- Release notes are formatted the same way as
-- <https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-description AppStream descriptions>.
-- 
-- The supported formatting options are:
-- 
-- * Paragraph (@\<p>@)
-- * Ordered list (@\<ol>@), with list items (@\<li>@)
-- * Unordered list (@\<ul>@), with list items (@\<li>@)
-- 
-- Within paragraphs and list items, emphasis (@\<em>@) and inline code
-- (@\<code>@) text styles are supported. The emphasis is rendered in italic,
-- while inline code is shown in a monospaced font.
-- 
-- Any text outside paragraphs or list items is ignored.
-- 
-- Nested lists are not supported.
-- 
-- @AdwAboutWindow@ displays the version above the release notes. If set, the
-- [property/@aboutWindow@/:release-notes-version] of the property will be used
-- as the version; otherwise, [property/@aboutWindow@/:version] is used.
-- 
-- /Since: 1.2/
aboutWindowSetReleaseNotes ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@releaseNotes@/: the release notes
    -> m ()
aboutWindowSetReleaseNotes :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetReleaseNotes a
self Text
releaseNotes = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
releaseNotes' <- Text -> IO CString
textToCString Text
releaseNotes
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_release_notes Ptr AboutWindow
self' CString
releaseNotes'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
releaseNotes'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetReleaseNotesMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetReleaseNotesMethodInfo a signature where
    overloadedMethod = aboutWindowSetReleaseNotes

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


#endif

-- method AboutWindow::set_release_notes_version
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "version"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the release notes version"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_release_notes_version" adw_about_window_set_release_notes_version :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- version : TBasicType TUTF8
    IO ()

-- | Sets the version described by the application\'s release notes.
-- 
-- The release notes version is displayed on the What\'s New page, above the
-- release notes.
-- 
-- If not set, [property/@aboutWindow@/:version] will be used instead.
-- 
-- For example, an application with the current version 2.0.2 might want to
-- keep the release notes from 2.0.0, and set the release notes version
-- accordingly.
-- 
-- See [property/@aboutWindow@/:release-notes].
-- 
-- /Since: 1.2/
aboutWindowSetReleaseNotesVersion ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@version@/: the release notes version
    -> m ()
aboutWindowSetReleaseNotesVersion :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetReleaseNotesVersion a
self Text
version = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
version' <- Text -> IO CString
textToCString Text
version
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_release_notes_version Ptr AboutWindow
self' CString
version'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
version'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetReleaseNotesVersionMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetReleaseNotesVersionMethodInfo a signature where
    overloadedMethod = aboutWindowSetReleaseNotesVersion

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


#endif

-- method AboutWindow::set_support_url
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "support_url"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the support page URL"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_support_url" adw_about_window_set_support_url :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- support_url : TBasicType TUTF8
    IO ()

-- | Sets the URL of the support page for /@self@/.
-- 
-- The support page link is displayed on the main page.
-- 
-- /Since: 1.2/
aboutWindowSetSupportUrl ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@supportUrl@/: the support page URL
    -> m ()
aboutWindowSetSupportUrl :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetSupportUrl a
self Text
supportUrl = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
supportUrl' <- Text -> IO CString
textToCString Text
supportUrl
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_support_url Ptr AboutWindow
self' CString
supportUrl'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
supportUrl'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetSupportUrlMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetSupportUrlMethodInfo a signature where
    overloadedMethod = aboutWindowSetSupportUrl

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


#endif

-- method AboutWindow::set_translator_credits
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "translator_credits"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the translator credits"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_translator_credits" adw_about_window_set_translator_credits :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- translator_credits : TBasicType TUTF8
    IO ()

-- | Sets the translator credits string.
-- 
-- It will be displayed on the Credits page.
-- 
-- This string should be @\"translator-credits\"@ or @\"translator_credits\"@ and
-- should be marked as translatable.
-- 
-- The string may contain email addresses and URLs, see the introduction for
-- more details.
-- 
-- See also:
-- 
-- * [property/@aboutWindow@/:developers]
-- * [property/@aboutWindow@/:designers]
-- * [property/@aboutWindow@/:artists]
-- * [property/@aboutWindow@/:documenters]
-- * [method/@aboutWindow@/.add_credit_section]
-- * [method/@aboutWindow@/.add_acknowledgement_section]
-- 
-- /Since: 1.2/
aboutWindowSetTranslatorCredits ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@translatorCredits@/: the translator credits
    -> m ()
aboutWindowSetTranslatorCredits :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetTranslatorCredits a
self Text
translatorCredits = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
translatorCredits' <- Text -> IO CString
textToCString Text
translatorCredits
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_translator_credits Ptr AboutWindow
self' CString
translatorCredits'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
translatorCredits'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetTranslatorCreditsMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetTranslatorCreditsMethodInfo a signature where
    overloadedMethod = aboutWindowSetTranslatorCredits

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


#endif

-- method AboutWindow::set_version
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "version"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the version" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_version" adw_about_window_set_version :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- version : TBasicType TUTF8
    IO ()

-- | Sets the version for /@self@/.
-- 
-- The version is displayed on the main page.
-- 
-- If [property/@aboutWindow@/:release-notes-version] is not set, the version will
-- also be displayed above the release notes on the What\'s New page.
-- 
-- /Since: 1.2/
aboutWindowSetVersion ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@version@/: the version
    -> m ()
aboutWindowSetVersion :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetVersion a
self Text
version = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
version' <- Text -> IO CString
textToCString Text
version
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_version Ptr AboutWindow
self' CString
version'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
version'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetVersionMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetVersionMethodInfo a signature where
    overloadedMethod = aboutWindowSetVersion

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


#endif

-- method AboutWindow::set_website
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface Name { namespace = "Adw" , name = "AboutWindow" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "an about window" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "website"
--           , argType = TBasicType TUTF8
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the website URL" , sinceVersion = Nothing }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Nothing
-- throws : False
-- Skip return : False

foreign import ccall "adw_about_window_set_website" adw_about_window_set_website :: 
    Ptr AboutWindow ->                      -- self : TInterface (Name {namespace = "Adw", name = "AboutWindow"})
    CString ->                              -- website : TBasicType TUTF8
    IO ()

-- | Sets the application website URL for /@self@/.
-- 
-- Website is displayed on the Details page, below comments, or on the main page
-- if the Details page doesn\'t have any other content.
-- 
-- Applications can add other links below, see [method/@aboutWindow@/.add_link].
-- 
-- /Since: 1.2/
aboutWindowSetWebsite ::
    (B.CallStack.HasCallStack, MonadIO m, IsAboutWindow a) =>
    a
    -- ^ /@self@/: an about window
    -> T.Text
    -- ^ /@website@/: the website URL
    -> m ()
aboutWindowSetWebsite :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsAboutWindow a) =>
a -> Text -> m ()
aboutWindowSetWebsite a
self Text
website = 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 AboutWindow
self' <- a -> IO (Ptr AboutWindow)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
website' <- Text -> IO CString
textToCString Text
website
    Ptr AboutWindow -> CString -> IO ()
adw_about_window_set_website Ptr AboutWindow
self' CString
website'
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
website'
    () -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()

#if defined(ENABLE_OVERLOADING)
data AboutWindowSetWebsiteMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsAboutWindow a) => O.OverloadedMethod AboutWindowSetWebsiteMethodInfo a signature where
    overloadedMethod = aboutWindowSetWebsite

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


#endif