module GI.Gtk.Objects.NotebookPageAccessible
(
NotebookPageAccessible(..) ,
NotebookPageAccessibleK ,
toNotebookPageAccessible ,
noNotebookPageAccessible ,
notebookPageAccessibleInvalidate ,
notebookPageAccessibleNew ,
) where
import Prelude ()
import Data.GI.Base.ShortPrelude
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import GI.Gtk.Types
import GI.Gtk.Callbacks
import qualified GI.Atk as Atk
import qualified GI.GObject as GObject
newtype NotebookPageAccessible = NotebookPageAccessible (ForeignPtr NotebookPageAccessible)
foreign import ccall "gtk_notebook_page_accessible_get_type"
c_gtk_notebook_page_accessible_get_type :: IO GType
type instance ParentTypes NotebookPageAccessible = NotebookPageAccessibleParentTypes
type NotebookPageAccessibleParentTypes = '[Atk.Object, GObject.Object, Atk.Component]
instance GObject NotebookPageAccessible where
gobjectIsInitiallyUnowned _ = False
gobjectType _ = c_gtk_notebook_page_accessible_get_type
class GObject o => NotebookPageAccessibleK o
instance (GObject o, IsDescendantOf NotebookPageAccessible o) => NotebookPageAccessibleK o
toNotebookPageAccessible :: NotebookPageAccessibleK o => o -> IO NotebookPageAccessible
toNotebookPageAccessible = unsafeCastTo NotebookPageAccessible
noNotebookPageAccessible :: Maybe NotebookPageAccessible
noNotebookPageAccessible = Nothing
type instance AttributeList NotebookPageAccessible = NotebookPageAccessibleAttributeList
type NotebookPageAccessibleAttributeList = ('[ '("accessible-component-layer", Atk.ObjectAccessibleComponentLayerPropertyInfo), '("accessible-component-mdi-zorder", Atk.ObjectAccessibleComponentMdiZorderPropertyInfo), '("accessible-description", Atk.ObjectAccessibleDescriptionPropertyInfo), '("accessible-hypertext-nlinks", Atk.ObjectAccessibleHypertextNlinksPropertyInfo), '("accessible-name", Atk.ObjectAccessibleNamePropertyInfo), '("accessible-parent", Atk.ObjectAccessibleParentPropertyInfo), '("accessible-role", Atk.ObjectAccessibleRolePropertyInfo), '("accessible-table-caption", Atk.ObjectAccessibleTableCaptionPropertyInfo), '("accessible-table-caption-object", Atk.ObjectAccessibleTableCaptionObjectPropertyInfo), '("accessible-table-column-description", Atk.ObjectAccessibleTableColumnDescriptionPropertyInfo), '("accessible-table-column-header", Atk.ObjectAccessibleTableColumnHeaderPropertyInfo), '("accessible-table-row-description", Atk.ObjectAccessibleTableRowDescriptionPropertyInfo), '("accessible-table-row-header", Atk.ObjectAccessibleTableRowHeaderPropertyInfo), '("accessible-table-summary", Atk.ObjectAccessibleTableSummaryPropertyInfo), '("accessible-value", Atk.ObjectAccessibleValuePropertyInfo)] :: [(Symbol, *)])
type instance SignalList NotebookPageAccessible = NotebookPageAccessibleSignalList
type NotebookPageAccessibleSignalList = ('[ '("active-descendant-changed", Atk.ObjectActiveDescendantChangedSignalInfo), '("bounds-changed", Atk.ComponentBoundsChangedSignalInfo), '("children-changed", Atk.ObjectChildrenChangedSignalInfo), '("focus-event", Atk.ObjectFocusEventSignalInfo), '("notify", GObject.ObjectNotifySignalInfo), '("property-change", Atk.ObjectPropertyChangeSignalInfo), '("state-change", Atk.ObjectStateChangeSignalInfo), '("visible-data-changed", Atk.ObjectVisibleDataChangedSignalInfo), '("notify::[property]", GObjectNotifySignalInfo)] :: [(Symbol, *)])
foreign import ccall "gtk_notebook_page_accessible_new" gtk_notebook_page_accessible_new ::
Ptr NotebookAccessible ->
Ptr Widget ->
IO (Ptr NotebookPageAccessible)
notebookPageAccessibleNew ::
(MonadIO m, NotebookAccessibleK a, WidgetK b) =>
a ->
b ->
m NotebookPageAccessible
notebookPageAccessibleNew notebook child = liftIO $ do
let notebook' = unsafeManagedPtrCastPtr notebook
let child' = unsafeManagedPtrCastPtr child
result <- gtk_notebook_page_accessible_new notebook' child'
checkUnexpectedReturnNULL "gtk_notebook_page_accessible_new" result
result' <- (wrapObject NotebookPageAccessible) result
touchManagedPtr notebook
touchManagedPtr child
return result'
foreign import ccall "gtk_notebook_page_accessible_invalidate" gtk_notebook_page_accessible_invalidate ::
Ptr NotebookPageAccessible ->
IO ()
notebookPageAccessibleInvalidate ::
(MonadIO m, NotebookPageAccessibleK a) =>
a ->
m ()
notebookPageAccessibleInvalidate _obj = liftIO $ do
let _obj' = unsafeManagedPtrCastPtr _obj
gtk_notebook_page_accessible_invalidate _obj'
touchManagedPtr _obj
return ()