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 |
GtkLayoutChild
subclass for children in a GtkOverlayLayout
.
Synopsis
- newtype OverlayLayoutChild = OverlayLayoutChild (ManagedPtr OverlayLayoutChild)
- class (GObject o, IsDescendantOf OverlayLayoutChild o) => IsOverlayLayoutChild o
- toOverlayLayoutChild :: (MonadIO m, IsOverlayLayoutChild o) => o -> m OverlayLayoutChild
- overlayLayoutChildGetClipOverlay :: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) => a -> m Bool
- overlayLayoutChildGetMeasure :: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) => a -> m Bool
- overlayLayoutChildSetClipOverlay :: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) => a -> Bool -> m ()
- overlayLayoutChildSetMeasure :: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) => a -> Bool -> m ()
- constructOverlayLayoutChildClipOverlay :: (IsOverlayLayoutChild o, MonadIO m) => Bool -> m (GValueConstruct o)
- getOverlayLayoutChildClipOverlay :: (MonadIO m, IsOverlayLayoutChild o) => o -> m Bool
- setOverlayLayoutChildClipOverlay :: (MonadIO m, IsOverlayLayoutChild o) => o -> Bool -> m ()
- constructOverlayLayoutChildMeasure :: (IsOverlayLayoutChild o, MonadIO m) => Bool -> m (GValueConstruct o)
- getOverlayLayoutChildMeasure :: (MonadIO m, IsOverlayLayoutChild o) => o -> m Bool
- setOverlayLayoutChildMeasure :: (MonadIO m, IsOverlayLayoutChild o) => o -> Bool -> m ()
Exported types
newtype OverlayLayoutChild Source #
Memory-managed wrapper type.
Instances
Eq OverlayLayoutChild Source # | |
Defined in GI.Gtk.Objects.OverlayLayoutChild (==) :: OverlayLayoutChild -> OverlayLayoutChild -> Bool # (/=) :: OverlayLayoutChild -> OverlayLayoutChild -> Bool # | |
GObject OverlayLayoutChild Source # | |
Defined in GI.Gtk.Objects.OverlayLayoutChild | |
ManagedPtrNewtype OverlayLayoutChild Source # | |
TypedObject OverlayLayoutChild Source # | |
Defined in GI.Gtk.Objects.OverlayLayoutChild | |
HasParentTypes OverlayLayoutChild Source # | |
Defined in GI.Gtk.Objects.OverlayLayoutChild | |
IsGValue (Maybe OverlayLayoutChild) Source # | Convert |
Defined in GI.Gtk.Objects.OverlayLayoutChild gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe OverlayLayoutChild -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe OverlayLayoutChild) # | |
type ParentTypes OverlayLayoutChild Source # | |
Defined in GI.Gtk.Objects.OverlayLayoutChild |
class (GObject o, IsDescendantOf OverlayLayoutChild o) => IsOverlayLayoutChild o Source #
Type class for types which can be safely cast to OverlayLayoutChild
, for instance with toOverlayLayoutChild
.
Instances
(GObject o, IsDescendantOf OverlayLayoutChild o) => IsOverlayLayoutChild o Source # | |
Defined in GI.Gtk.Objects.OverlayLayoutChild |
toOverlayLayoutChild :: (MonadIO m, IsOverlayLayoutChild o) => o -> m OverlayLayoutChild Source #
Cast to OverlayLayoutChild
, 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
getChildWidget, getClipOverlay, getData, getLayoutManager, getMeasure, getProperty, getQdata.
Setters
setClipOverlay, setData, setDataFull, setMeasure, setProperty.
getClipOverlay
overlayLayoutChildGetClipOverlay Source #
:: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) | |
=> a |
|
-> m Bool | Returns: whether the child is clipped |
Retrieves whether the child is clipped.
getMeasure
overlayLayoutChildGetMeasure Source #
:: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) | |
=> a |
|
-> m Bool | Returns: whether the child is measured |
Retrieves whether the child is measured.
setClipOverlay
overlayLayoutChildSetClipOverlay Source #
:: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether to clip this child.
setMeasure
overlayLayoutChildSetMeasure Source #
:: (HasCallStack, MonadIO m, IsOverlayLayoutChild a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether to measure this child.
Properties
clipOverlay
Whether the child should be clipped to fit the parent's size.
constructOverlayLayoutChildClipOverlay :: (IsOverlayLayoutChild o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “clip-overlay
” property. This is rarely needed directly, but it is used by new
.
getOverlayLayoutChildClipOverlay :: (MonadIO m, IsOverlayLayoutChild o) => o -> m Bool Source #
Get the value of the “clip-overlay
” property.
When overloading is enabled, this is equivalent to
get
overlayLayoutChild #clipOverlay
setOverlayLayoutChildClipOverlay :: (MonadIO m, IsOverlayLayoutChild o) => o -> Bool -> m () Source #
Set the value of the “clip-overlay
” property.
When overloading is enabled, this is equivalent to
set
overlayLayoutChild [ #clipOverlay:=
value ]
measure
Whether the child size should contribute to the GtkOverlayLayout
's
measurement.
constructOverlayLayoutChildMeasure :: (IsOverlayLayoutChild o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “measure
” property. This is rarely needed directly, but it is used by new
.
getOverlayLayoutChildMeasure :: (MonadIO m, IsOverlayLayoutChild o) => o -> m Bool Source #
Get the value of the “measure
” property.
When overloading is enabled, this is equivalent to
get
overlayLayoutChild #measure
setOverlayLayoutChildMeasure :: (MonadIO m, IsOverlayLayoutChild o) => o -> Bool -> m () Source #
Set the value of the “measure
” property.
When overloading is enabled, this is equivalent to
set
overlayLayoutChild [ #measure:=
value ]