Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A page in the Notebook
.
The GtkNotebookPage
structure only contains private data.
Synopsis
- newtype NotebookPage = NotebookPage (ManagedPtr NotebookPage)
- class (GObject o, IsDescendantOf NotebookPage o) => IsNotebookPage o
- toNotebookPage :: (MonadIO m, IsNotebookPage o) => o -> m NotebookPage
- notebookPageGetChild :: (HasCallStack, MonadIO m, IsNotebookPage a) => a -> m Widget
- constructNotebookPageChild :: (IsNotebookPage o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getNotebookPageChild :: (MonadIO m, IsNotebookPage o) => o -> m Widget
- constructNotebookPageDetachable :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o)
- getNotebookPageDetachable :: (MonadIO m, IsNotebookPage o) => o -> m Bool
- setNotebookPageDetachable :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m ()
- constructNotebookPageMenu :: (IsNotebookPage o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getNotebookPageMenu :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Widget)
- clearNotebookPageMenuLabel :: (MonadIO m, IsNotebookPage o) => o -> m ()
- constructNotebookPageMenuLabel :: (IsNotebookPage o, MonadIO m) => Text -> m (GValueConstruct o)
- getNotebookPageMenuLabel :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Text)
- setNotebookPageMenuLabel :: (MonadIO m, IsNotebookPage o) => o -> Text -> m ()
- constructNotebookPagePosition :: (IsNotebookPage o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getNotebookPagePosition :: (MonadIO m, IsNotebookPage o) => o -> m Int32
- setNotebookPagePosition :: (MonadIO m, IsNotebookPage o) => o -> Int32 -> m ()
- constructNotebookPageReorderable :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o)
- getNotebookPageReorderable :: (MonadIO m, IsNotebookPage o) => o -> m Bool
- setNotebookPageReorderable :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m ()
- constructNotebookPageTab :: (IsNotebookPage o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getNotebookPageTab :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Widget)
- constructNotebookPageTabExpand :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o)
- getNotebookPageTabExpand :: (MonadIO m, IsNotebookPage o) => o -> m Bool
- setNotebookPageTabExpand :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m ()
- constructNotebookPageTabFill :: (IsNotebookPage o, MonadIO m) => Bool -> m (GValueConstruct o)
- getNotebookPageTabFill :: (MonadIO m, IsNotebookPage o) => o -> m Bool
- setNotebookPageTabFill :: (MonadIO m, IsNotebookPage o) => o -> Bool -> m ()
- clearNotebookPageTabLabel :: (MonadIO m, IsNotebookPage o) => o -> m ()
- constructNotebookPageTabLabel :: (IsNotebookPage o, MonadIO m) => Text -> m (GValueConstruct o)
- getNotebookPageTabLabel :: (MonadIO m, IsNotebookPage o) => o -> m (Maybe Text)
- setNotebookPageTabLabel :: (MonadIO m, IsNotebookPage o) => o -> Text -> m ()
Exported types
newtype NotebookPage Source #
Memory-managed wrapper type.
NotebookPage (ManagedPtr NotebookPage) |
Instances
Eq NotebookPage Source # | |
Defined in GI.Gtk.Objects.NotebookPage (==) :: NotebookPage -> NotebookPage -> Bool # (/=) :: NotebookPage -> NotebookPage -> Bool # | |
GObject NotebookPage Source # | |
Defined in GI.Gtk.Objects.NotebookPage | |
ManagedPtrNewtype NotebookPage Source # | |
Defined in GI.Gtk.Objects.NotebookPage toManagedPtr :: NotebookPage -> ManagedPtr NotebookPage | |
TypedObject NotebookPage Source # | |
Defined in GI.Gtk.Objects.NotebookPage | |
HasParentTypes NotebookPage Source # | |
Defined in GI.Gtk.Objects.NotebookPage | |
IsGValue (Maybe NotebookPage) Source # | Convert |
Defined in GI.Gtk.Objects.NotebookPage gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe NotebookPage -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe NotebookPage) | |
type ParentTypes NotebookPage Source # | |
Defined in GI.Gtk.Objects.NotebookPage |
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
(GObject o, IsDescendantOf NotebookPage o) => IsNotebookPage o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getChild, getData, getProperty, getQdata.
Setters
getChild
:: (HasCallStack, MonadIO m, IsNotebookPage a) | |
=> a |
|
-> m Widget | Returns: the child to which |
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 ]