gi-gtk-4.0.4: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.NotebookPage

Description

A page in the Notebook.

The GtkNotebookPage structure only contains private data.

Synopsis

Exported types

newtype NotebookPage Source #

Memory-managed wrapper type.

Constructors

NotebookPage (ManagedPtr NotebookPage) 

Instances

Instances details
Eq NotebookPage Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookPage

GObject NotebookPage Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookPage

ManagedPtrNewtype NotebookPage Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookPage

Methods

toManagedPtr :: NotebookPage -> ManagedPtr NotebookPage

TypedObject NotebookPage Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookPage

Methods

glibType :: IO GType

HasParentTypes NotebookPage Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookPage

IsGValue (Maybe NotebookPage) Source #

Convert NotebookPage to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.NotebookPage

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe NotebookPage -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe NotebookPage)

type ParentTypes NotebookPage Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookPage

type ParentTypes NotebookPage = '[Object]

class (GObject o, IsDescendantOf NotebookPage o) => IsNotebookPage o Source #

Type class for types which can be safely cast to NotebookPage, for instance with toNotebookPage.

Instances

Instances details
(GObject o, IsDescendantOf NotebookPage o) => IsNotebookPage o Source # 
Instance details

Defined in GI.Gtk.Objects.NotebookPage

toNotebookPage :: (MonadIO m, IsNotebookPage o) => o -> m NotebookPage Source #

Cast to NotebookPage, for types for which this is known to be safe. For general casts, use castTo.

Methods

getChild

notebookPageGetChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsNotebookPage a) 
=> a

page: a NotebookPage

-> m Widget

Returns: the child to which page belongs

Returns the notebook child to which page belongs.

Properties

child

No description available in the introspection data.

constructNotebookPageChild :: (IsNotebookPage o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “child” property. This is rarely needed directly, but it is used by new.

getNotebookPageChild :: (MonadIO m, IsNotebookPage o) => o -> m Widget Source #

Get the value of the “child” property. When overloading is enabled, this is equivalent to

get notebookPage #child

detachable

No description available in the introspection data.

constructNotebookPageDetachable :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “detachable” property. This is rarely needed directly, but it is used by new.

getNotebookPageDetachable :: (MonadIO m, IsNotebookPage o) => o -> m Bool Source #

Get the value of the “detachable” property. When overloading is enabled, this is equivalent to

get notebookPage #detachable

setNotebookPageDetachable :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m () Source #

Set the value of the “detachable” property. When overloading is enabled, this is equivalent to

set notebookPage [ #detachable := value ]

menu

No description available in the introspection data.

constructNotebookPageMenu :: (IsNotebookPage o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “menu” property. This is rarely needed directly, but it is used by new.

getNotebookPageMenu :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Widget) Source #

Get the value of the “menu” property. When overloading is enabled, this is equivalent to

get notebookPage #menu

menuLabel

No description available in the introspection data.

clearNotebookPageMenuLabel :: (MonadIO m, IsNotebookPage o) => o -> m () Source #

Set the value of the “menu-label” property to Nothing. When overloading is enabled, this is equivalent to

clear #menuLabel

constructNotebookPageMenuLabel :: (IsNotebookPage o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “menu-label” property. This is rarely needed directly, but it is used by new.

getNotebookPageMenuLabel :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Text) Source #

Get the value of the “menu-label” property. When overloading is enabled, this is equivalent to

get notebookPage #menuLabel

setNotebookPageMenuLabel :: (MonadIO m, IsNotebookPage o) => o -> Text -> m () Source #

Set the value of the “menu-label” property. When overloading is enabled, this is equivalent to

set notebookPage [ #menuLabel := value ]

position

No description available in the introspection data.

constructNotebookPagePosition :: (IsNotebookPage o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “position” property. This is rarely needed directly, but it is used by new.

getNotebookPagePosition :: (MonadIO m, IsNotebookPage o) => o -> m Int32 Source #

Get the value of the “position” property. When overloading is enabled, this is equivalent to

get notebookPage #position

setNotebookPagePosition :: (MonadIO m, IsNotebookPage o) => o -> Int32 -> m () Source #

Set the value of the “position” property. When overloading is enabled, this is equivalent to

set notebookPage [ #position := value ]

reorderable

No description available in the introspection data.

constructNotebookPageReorderable :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “reorderable” property. This is rarely needed directly, but it is used by new.

getNotebookPageReorderable :: (MonadIO m, IsNotebookPage o) => o -> m Bool Source #

Get the value of the “reorderable” property. When overloading is enabled, this is equivalent to

get notebookPage #reorderable

setNotebookPageReorderable :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m () Source #

Set the value of the “reorderable” property. When overloading is enabled, this is equivalent to

set notebookPage [ #reorderable := value ]

tab

No description available in the introspection data.

constructNotebookPageTab :: (IsNotebookPage o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “tab” property. This is rarely needed directly, but it is used by new.

getNotebookPageTab :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Widget) Source #

Get the value of the “tab” property. When overloading is enabled, this is equivalent to

get notebookPage #tab

tabExpand

No description available in the introspection data.

constructNotebookPageTabExpand :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “tab-expand” property. This is rarely needed directly, but it is used by new.

getNotebookPageTabExpand :: (MonadIO m, IsNotebookPage o) => o -> m Bool Source #

Get the value of the “tab-expand” property. When overloading is enabled, this is equivalent to

get notebookPage #tabExpand

setNotebookPageTabExpand :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m () Source #

Set the value of the “tab-expand” property. When overloading is enabled, this is equivalent to

set notebookPage [ #tabExpand := value ]

tabFill

No description available in the introspection data.

constructNotebookPageTabFill :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “tab-fill” property. This is rarely needed directly, but it is used by new.

getNotebookPageTabFill :: (MonadIO m, IsNotebookPage o) => o -> m Bool Source #

Get the value of the “tab-fill” property. When overloading is enabled, this is equivalent to

get notebookPage #tabFill

setNotebookPageTabFill :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m () Source #

Set the value of the “tab-fill” property. When overloading is enabled, this is equivalent to

set notebookPage [ #tabFill := value ]

tabLabel

No description available in the introspection data.

clearNotebookPageTabLabel :: (MonadIO m, IsNotebookPage o) => o -> m () Source #

Set the value of the “tab-label” property to Nothing. When overloading is enabled, this is equivalent to

clear #tabLabel

constructNotebookPageTabLabel :: (IsNotebookPage o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “tab-label” property. This is rarely needed directly, but it is used by new.

getNotebookPageTabLabel :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Text) Source #

Get the value of the “tab-label” property. When overloading is enabled, this is equivalent to

get notebookPage #tabLabel

setNotebookPageTabLabel :: (MonadIO m, IsNotebookPage o) => o -> Text -> m () Source #

Set the value of the “tab-label” property. When overloading is enabled, this is equivalent to

set notebookPage [ #tabLabel := value ]