Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Base class for containers.
Synopsis
- newtype ContainerClass = ContainerClass (ManagedPtr ContainerClass)
- newZeroContainerClass :: MonadIO m => m ContainerClass
- containerClassFindChildProperty :: (HasCallStack, MonadIO m) => ContainerClass -> Text -> m (Maybe GParamSpec)
- containerClassHandleBorderWidth :: (HasCallStack, MonadIO m) => ContainerClass -> m ()
- containerClassInstallChildProperty :: (HasCallStack, MonadIO m) => ContainerClass -> Word32 -> GParamSpec -> m ()
- clearContainerClassAdd :: MonadIO m => ContainerClass -> m ()
- getContainerClassAdd :: MonadIO m => ContainerClass -> m (Maybe ContainerClassAddFieldCallback)
- setContainerClassAdd :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassAddFieldCallback -> m ()
- clearContainerClassCheckResize :: MonadIO m => ContainerClass -> m ()
- getContainerClassCheckResize :: MonadIO m => ContainerClass -> m (Maybe ContainerClassCheckResizeFieldCallback)
- setContainerClassCheckResize :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassCheckResizeFieldCallback -> m ()
- clearContainerClassChildType :: MonadIO m => ContainerClass -> m ()
- getContainerClassChildType :: MonadIO m => ContainerClass -> m (Maybe ContainerClassChildTypeFieldCallback)
- setContainerClassChildType :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassChildTypeFieldCallback -> m ()
- clearContainerClassCompositeName :: MonadIO m => ContainerClass -> m ()
- getContainerClassCompositeName :: MonadIO m => ContainerClass -> m (Maybe ContainerClassCompositeNameFieldCallback)
- setContainerClassCompositeName :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassCompositeNameFieldCallback -> m ()
- clearContainerClassForall :: MonadIO m => ContainerClass -> m ()
- getContainerClassForall :: MonadIO m => ContainerClass -> m (Maybe ContainerClassForallFieldCallback_WithClosures)
- setContainerClassForall :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassForallFieldCallback -> m ()
- clearContainerClassGetChildProperty :: MonadIO m => ContainerClass -> m ()
- getContainerClassGetChildProperty :: MonadIO m => ContainerClass -> m (Maybe ContainerClassGetChildPropertyFieldCallback)
- setContainerClassGetChildProperty :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassGetChildPropertyFieldCallback -> m ()
- clearContainerClassGetPathForChild :: MonadIO m => ContainerClass -> m ()
- getContainerClassGetPathForChild :: MonadIO m => ContainerClass -> m (Maybe ContainerClassGetPathForChildFieldCallback)
- setContainerClassGetPathForChild :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassGetPathForChildFieldCallback -> m ()
- getContainerClassParentClass :: MonadIO m => ContainerClass -> m WidgetClass
- clearContainerClassRemove :: MonadIO m => ContainerClass -> m ()
- getContainerClassRemove :: MonadIO m => ContainerClass -> m (Maybe ContainerClassRemoveFieldCallback)
- setContainerClassRemove :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassRemoveFieldCallback -> m ()
- clearContainerClassSetChildProperty :: MonadIO m => ContainerClass -> m ()
- getContainerClassSetChildProperty :: MonadIO m => ContainerClass -> m (Maybe ContainerClassSetChildPropertyFieldCallback)
- setContainerClassSetChildProperty :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassSetChildPropertyFieldCallback -> m ()
- clearContainerClassSetFocusChild :: MonadIO m => ContainerClass -> m ()
- getContainerClassSetFocusChild :: MonadIO m => ContainerClass -> m (Maybe ContainerClassSetFocusChildFieldCallback)
- setContainerClassSetFocusChild :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassSetFocusChildFieldCallback -> m ()
Exported types
newtype ContainerClass Source #
Memory-managed wrapper type.
ContainerClass (ManagedPtr ContainerClass) |
Instances
Eq ContainerClass Source # | |
Defined in GI.Gtk.Structs.ContainerClass (==) :: ContainerClass -> ContainerClass -> Bool # (/=) :: ContainerClass -> ContainerClass -> Bool # | |
BoxedPtr ContainerClass Source # | |
Defined in GI.Gtk.Structs.ContainerClass boxedPtrCopy :: ContainerClass -> IO ContainerClass boxedPtrFree :: ContainerClass -> IO () | |
CallocPtr ContainerClass Source # | |
Defined in GI.Gtk.Structs.ContainerClass | |
ManagedPtrNewtype ContainerClass Source # | |
Defined in GI.Gtk.Structs.ContainerClass toManagedPtr :: ContainerClass -> ManagedPtr ContainerClass | |
tag ~ 'AttrSet => Constructible ContainerClass tag Source # | |
Defined in GI.Gtk.Structs.ContainerClass new :: MonadIO m => (ManagedPtr ContainerClass -> ContainerClass) -> [AttrOp ContainerClass tag] -> m ContainerClass |
newZeroContainerClass :: MonadIO m => m ContainerClass Source #
Construct a ContainerClass
struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
findChildProperty
containerClassFindChildProperty Source #
:: (HasCallStack, MonadIO m) | |
=> ContainerClass |
|
-> Text |
|
-> m (Maybe GParamSpec) | Returns: the |
Finds a child property of a container class by name.
handleBorderWidth
containerClassHandleBorderWidth Source #
:: (HasCallStack, MonadIO m) | |
=> ContainerClass |
|
-> m () |
Modifies a subclass of ContainerClass
to automatically add and
remove the border-width setting on GtkContainer. This allows the
subclass to ignore the border width in its size request and
allocate methods. The intent is for a subclass to invoke this
in its class_init function.
containerClassHandleBorderWidth
is necessary because it
would break API too badly to make this behavior the default. So
subclasses must “opt in” to the parent class handling border_width
for them.
installChildProperty
containerClassInstallChildProperty Source #
:: (HasCallStack, MonadIO m) | |
=> ContainerClass |
|
-> Word32 |
|
-> GParamSpec |
|
-> m () |
Installs a child property on a container class.
Properties
add
No description available in the introspection data.
clearContainerClassAdd :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “add
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#add
getContainerClassAdd :: MonadIO m => ContainerClass -> m (Maybe ContainerClassAddFieldCallback) Source #
Get the value of the “add
” field.
When overloading is enabled, this is equivalent to
get
containerClass #add
setContainerClassAdd :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassAddFieldCallback -> m () Source #
Set the value of the “add
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #add:=
value ]
checkResize
No description available in the introspection data.
clearContainerClassCheckResize :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “check_resize
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#checkResize
getContainerClassCheckResize :: MonadIO m => ContainerClass -> m (Maybe ContainerClassCheckResizeFieldCallback) Source #
Get the value of the “check_resize
” field.
When overloading is enabled, this is equivalent to
get
containerClass #checkResize
setContainerClassCheckResize :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassCheckResizeFieldCallback -> m () Source #
Set the value of the “check_resize
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #checkResize:=
value ]
childType
No description available in the introspection data.
clearContainerClassChildType :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “child_type
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#childType
getContainerClassChildType :: MonadIO m => ContainerClass -> m (Maybe ContainerClassChildTypeFieldCallback) Source #
Get the value of the “child_type
” field.
When overloading is enabled, this is equivalent to
get
containerClass #childType
setContainerClassChildType :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassChildTypeFieldCallback -> m () Source #
Set the value of the “child_type
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #childType:=
value ]
compositeName
No description available in the introspection data.
clearContainerClassCompositeName :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “composite_name
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#compositeName
getContainerClassCompositeName :: MonadIO m => ContainerClass -> m (Maybe ContainerClassCompositeNameFieldCallback) Source #
Get the value of the “composite_name
” field.
When overloading is enabled, this is equivalent to
get
containerClass #compositeName
setContainerClassCompositeName :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassCompositeNameFieldCallback -> m () Source #
Set the value of the “composite_name
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #compositeName:=
value ]
forall
No description available in the introspection data.
clearContainerClassForall :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “forall
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#forall
getContainerClassForall :: MonadIO m => ContainerClass -> m (Maybe ContainerClassForallFieldCallback_WithClosures) Source #
Get the value of the “forall
” field.
When overloading is enabled, this is equivalent to
get
containerClass #forall
setContainerClassForall :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassForallFieldCallback -> m () Source #
Set the value of the “forall
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #forall:=
value ]
getChildProperty
No description available in the introspection data.
clearContainerClassGetChildProperty :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “get_child_property
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#getChildProperty
getContainerClassGetChildProperty :: MonadIO m => ContainerClass -> m (Maybe ContainerClassGetChildPropertyFieldCallback) Source #
Get the value of the “get_child_property
” field.
When overloading is enabled, this is equivalent to
get
containerClass #getChildProperty
setContainerClassGetChildProperty :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassGetChildPropertyFieldCallback -> m () Source #
Set the value of the “get_child_property
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #getChildProperty:=
value ]
getPathForChild
No description available in the introspection data.
clearContainerClassGetPathForChild :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “get_path_for_child
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#getPathForChild
getContainerClassGetPathForChild :: MonadIO m => ContainerClass -> m (Maybe ContainerClassGetPathForChildFieldCallback) Source #
Get the value of the “get_path_for_child
” field.
When overloading is enabled, this is equivalent to
get
containerClass #getPathForChild
setContainerClassGetPathForChild :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassGetPathForChildFieldCallback -> m () Source #
Set the value of the “get_path_for_child
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #getPathForChild:=
value ]
parentClass
The parent class.
getContainerClassParentClass :: MonadIO m => ContainerClass -> m WidgetClass Source #
Get the value of the “parent_class
” field.
When overloading is enabled, this is equivalent to
get
containerClass #parentClass
remove
No description available in the introspection data.
clearContainerClassRemove :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “remove
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#remove
getContainerClassRemove :: MonadIO m => ContainerClass -> m (Maybe ContainerClassRemoveFieldCallback) Source #
Get the value of the “remove
” field.
When overloading is enabled, this is equivalent to
get
containerClass #remove
setContainerClassRemove :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassRemoveFieldCallback -> m () Source #
Set the value of the “remove
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #remove:=
value ]
setChildProperty
No description available in the introspection data.
clearContainerClassSetChildProperty :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “set_child_property
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#setChildProperty
getContainerClassSetChildProperty :: MonadIO m => ContainerClass -> m (Maybe ContainerClassSetChildPropertyFieldCallback) Source #
Get the value of the “set_child_property
” field.
When overloading is enabled, this is equivalent to
get
containerClass #setChildProperty
setContainerClassSetChildProperty :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassSetChildPropertyFieldCallback -> m () Source #
Set the value of the “set_child_property
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #setChildProperty:=
value ]
setFocusChild
No description available in the introspection data.
clearContainerClassSetFocusChild :: MonadIO m => ContainerClass -> m () Source #
Set the value of the “set_focus_child
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#setFocusChild
getContainerClassSetFocusChild :: MonadIO m => ContainerClass -> m (Maybe ContainerClassSetFocusChildFieldCallback) Source #
Get the value of the “set_focus_child
” field.
When overloading is enabled, this is equivalent to
get
containerClass #setFocusChild
setContainerClassSetFocusChild :: MonadIO m => ContainerClass -> FunPtr C_ContainerClassSetFocusChildFieldCallback -> m () Source #
Set the value of the “set_focus_child
” field.
When overloading is enabled, this is equivalent to
set
containerClass [ #setFocusChild:=
value ]