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

GI.Gtk.Objects.AssistantPage

Description

GtkAssistantPage is an auxiliary object used by `GtkAssistant.

Synopsis

Exported types

newtype AssistantPage Source #

Memory-managed wrapper type.

Constructors

AssistantPage (ManagedPtr AssistantPage) 

Instances

Instances details
Eq AssistantPage Source # 
Instance details

Defined in GI.Gtk.Objects.AssistantPage

GObject AssistantPage Source # 
Instance details

Defined in GI.Gtk.Objects.AssistantPage

ManagedPtrNewtype AssistantPage Source # 
Instance details

Defined in GI.Gtk.Objects.AssistantPage

Methods

toManagedPtr :: AssistantPage -> ManagedPtr AssistantPage

TypedObject AssistantPage Source # 
Instance details

Defined in GI.Gtk.Objects.AssistantPage

Methods

glibType :: IO GType

HasParentTypes AssistantPage Source # 
Instance details

Defined in GI.Gtk.Objects.AssistantPage

IsGValue (Maybe AssistantPage) Source #

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

Instance details

Defined in GI.Gtk.Objects.AssistantPage

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes AssistantPage Source # 
Instance details

Defined in GI.Gtk.Objects.AssistantPage

type ParentTypes AssistantPage = '[Object]

class (GObject o, IsDescendantOf AssistantPage o) => IsAssistantPage o Source #

Type class for types which can be safely cast to AssistantPage, for instance with toAssistantPage.

Instances

Instances details
(GObject o, IsDescendantOf AssistantPage o) => IsAssistantPage o Source # 
Instance details

Defined in GI.Gtk.Objects.AssistantPage

toAssistantPage :: (MonadIO m, IsAssistantPage o) => o -> m AssistantPage Source #

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

Methods

getChild

assistantPageGetChild Source #

Arguments

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

page: a GtkAssistantPage

-> m Widget

Returns: the child to which page belongs

Returns the child to which page belongs.

Properties

child

The child widget.

constructAssistantPageChild :: (IsAssistantPage 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.

getAssistantPageChild :: (MonadIO m, IsAssistantPage o) => o -> m Widget Source #

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

get assistantPage #child

complete

Whether all required fields are filled in.

GTK uses this information to control the sensitivity of the navigation buttons.

constructAssistantPageComplete :: (IsAssistantPage o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getAssistantPageComplete :: (MonadIO m, IsAssistantPage o) => o -> m Bool Source #

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

get assistantPage #complete

setAssistantPageComplete :: (MonadIO m, IsAssistantPage o) => o -> Bool -> m () Source #

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

set assistantPage [ #complete := value ]

pageType

The type of the assistant page.

constructAssistantPagePageType :: (IsAssistantPage o, MonadIO m) => AssistantPageType -> m (GValueConstruct o) Source #

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

getAssistantPagePageType :: (MonadIO m, IsAssistantPage o) => o -> m AssistantPageType Source #

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

get assistantPage #pageType

setAssistantPagePageType :: (MonadIO m, IsAssistantPage o) => o -> AssistantPageType -> m () Source #

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

set assistantPage [ #pageType := value ]

title

The title of the page.

clearAssistantPageTitle :: (MonadIO m, IsAssistantPage o) => o -> m () Source #

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

clear #title

constructAssistantPageTitle :: (IsAssistantPage o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getAssistantPageTitle :: (MonadIO m, IsAssistantPage o) => o -> m (Maybe Text) Source #

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

get assistantPage #title

setAssistantPageTitle :: (MonadIO m, IsAssistantPage o) => o -> Text -> m () Source #

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

set assistantPage [ #title := value ]