| 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 | 
GI.Gtk.Objects.FlowBoxChild
Description
No description available in the introspection data.
Synopsis
- newtype FlowBoxChild = FlowBoxChild (ManagedPtr FlowBoxChild)
- class (GObject o, IsDescendantOf FlowBoxChild o) => IsFlowBoxChild o
- toFlowBoxChild :: (MonadIO m, IsFlowBoxChild o) => o -> m FlowBoxChild
- flowBoxChildChanged :: (HasCallStack, MonadIO m, IsFlowBoxChild a) => a -> m ()
- flowBoxChildGetChild :: (HasCallStack, MonadIO m, IsFlowBoxChild a) => a -> m (Maybe Widget)
- flowBoxChildGetIndex :: (HasCallStack, MonadIO m, IsFlowBoxChild a) => a -> m Int32
- flowBoxChildIsSelected :: (HasCallStack, MonadIO m, IsFlowBoxChild a) => a -> m Bool
- flowBoxChildNew :: (HasCallStack, MonadIO m) => m FlowBoxChild
- flowBoxChildSetChild :: (HasCallStack, MonadIO m, IsFlowBoxChild a, IsWidget b) => a -> Maybe b -> m ()
- clearFlowBoxChildChild :: (MonadIO m, IsFlowBoxChild o) => o -> m ()
- constructFlowBoxChildChild :: (IsFlowBoxChild o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getFlowBoxChildChild :: (MonadIO m, IsFlowBoxChild o) => o -> m (Maybe Widget)
- setFlowBoxChildChild :: (MonadIO m, IsFlowBoxChild o, IsWidget a) => o -> a -> m ()
- type C_FlowBoxChildActivateCallback = Ptr () -> Ptr () -> IO ()
- type FlowBoxChildActivateCallback = IO ()
- afterFlowBoxChildActivate :: (IsFlowBoxChild a, MonadIO m) => a -> FlowBoxChildActivateCallback -> m SignalHandlerId
- genClosure_FlowBoxChildActivate :: MonadIO m => FlowBoxChildActivateCallback -> m (GClosure C_FlowBoxChildActivateCallback)
- mk_FlowBoxChildActivateCallback :: C_FlowBoxChildActivateCallback -> IO (FunPtr C_FlowBoxChildActivateCallback)
- noFlowBoxChildActivateCallback :: Maybe FlowBoxChildActivateCallback
- onFlowBoxChildActivate :: (IsFlowBoxChild a, MonadIO m) => a -> FlowBoxChildActivateCallback -> m SignalHandlerId
- wrap_FlowBoxChildActivateCallback :: FlowBoxChildActivateCallback -> C_FlowBoxChildActivateCallback
Exported types
newtype FlowBoxChild Source #
Memory-managed wrapper type.
Constructors
| FlowBoxChild (ManagedPtr FlowBoxChild) | 
Instances
| Eq FlowBoxChild Source # | |
| Defined in GI.Gtk.Objects.FlowBoxChild | |
| GObject FlowBoxChild Source # | |
| Defined in GI.Gtk.Objects.FlowBoxChild | |
| ManagedPtrNewtype FlowBoxChild Source # | |
| Defined in GI.Gtk.Objects.FlowBoxChild Methods toManagedPtr :: FlowBoxChild -> ManagedPtr FlowBoxChild | |
| TypedObject FlowBoxChild Source # | |
| Defined in GI.Gtk.Objects.FlowBoxChild | |
| HasParentTypes FlowBoxChild Source # | |
| Defined in GI.Gtk.Objects.FlowBoxChild | |
| IsGValue (Maybe FlowBoxChild) Source # | Convert  | 
| Defined in GI.Gtk.Objects.FlowBoxChild Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe FlowBoxChild -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe FlowBoxChild) | |
| type ParentTypes FlowBoxChild Source # | |
| Defined in GI.Gtk.Objects.FlowBoxChild | |
class (GObject o, IsDescendantOf FlowBoxChild o) => IsFlowBoxChild o Source #
Type class for types which can be safely cast to FlowBoxChild, for instance with toFlowBoxChild.
Instances
| (GObject o, IsDescendantOf FlowBoxChild o) => IsFlowBoxChild o Source # | |
| Defined in GI.Gtk.Objects.FlowBoxChild | |
toFlowBoxChild :: (MonadIO m, IsFlowBoxChild o) => o -> m FlowBoxChild Source #
Cast to FlowBoxChild, 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
actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, bindProperty, bindPropertyFull, changed, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, dragCheckThreshold, errorBell, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFloating, isFocus, isSelected, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, queueAllocate, queueDraw, queueResize, realize, ref, refSink, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateProperty, updateRelation, updateState, watchClosure.
Getters
getAccessibleRole, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getBuildableId, getCanFocus, getCanTarget, getChild, getChildVisible, getClipboard, getCssClasses, getCssName, getCursor, getData, getDirection, getDisplay, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getIndex, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth.
Setters
setCanFocus, setCanTarget, setChild, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setHalign, setHasTooltip, setHexpand, setHexpandSet, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOverflow, setParent, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible.
changed
Arguments
| :: (HasCallStack, MonadIO m, IsFlowBoxChild a) | |
| => a | 
 | 
| -> m () | 
Marks child as changed, causing any state that depends on this
 to be updated. This affects sorting and filtering.
Note that calls to this method must be in sync with the data
 used for the sorting and filtering functions. For instance, if
 the list is mirroring some external data set, and *two* children
 changed in the external data set when you call
 flowBoxChildChanged on the first child, the sort function
 must only read the new data for the first of the two changed
 children, otherwise the resorting of the children will be wrong.
This generally means that if you don’t fully control the data
 model, you have to duplicate the data that affects the sorting
 and filtering functions into the widgets themselves. Another
 alternative is to call flowBoxInvalidateSort on any
 model change, but that is more expensive.
getChild
Arguments
| :: (HasCallStack, MonadIO m, IsFlowBoxChild a) | |
| => a | 
 | 
| -> m (Maybe Widget) | Returns: the child widget of  | 
Gets the child widget of self.
getIndex
Arguments
| :: (HasCallStack, MonadIO m, IsFlowBoxChild a) | |
| => a | 
 | 
| -> m Int32 | Returns: the index of the  | 
Gets the current index of the child in its FlowBox container.
isSelected
flowBoxChildIsSelected Source #
Arguments
| :: (HasCallStack, MonadIO m, IsFlowBoxChild a) | |
| => a | 
 | 
| -> m Bool | Returns:  | 
Returns whether the child is currently selected in its
 FlowBox container.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m FlowBoxChild | Returns: a new  | 
Creates a new FlowBoxChild, to be used as a child
 of a FlowBox.
setChild
Arguments
| :: (HasCallStack, MonadIO m, IsFlowBoxChild a, IsWidget b) | |
| => a | 
 | 
| -> Maybe b | 
 | 
| -> m () | 
Sets the child widget of self.
Properties
child
No description available in the introspection data.
clearFlowBoxChildChild :: (MonadIO m, IsFlowBoxChild o) => o -> m () Source #
Set the value of the “child” property to Nothing.
 When overloading is enabled, this is equivalent to
clear #child
constructFlowBoxChildChild :: (IsFlowBoxChild 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.
getFlowBoxChildChild :: (MonadIO m, IsFlowBoxChild o) => o -> m (Maybe Widget) Source #
Get the value of the “child” property.
 When overloading is enabled, this is equivalent to
get flowBoxChild #child
setFlowBoxChildChild :: (MonadIO m, IsFlowBoxChild o, IsWidget a) => o -> a -> m () Source #
Set the value of the “child” property.
 When overloading is enabled, this is equivalent to
setflowBoxChild [ #child:=value ]
Signals
activate
type C_FlowBoxChildActivateCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FlowBoxChildActivateCallback = IO () Source #
afterFlowBoxChildActivate :: (IsFlowBoxChild a, MonadIO m) => a -> FlowBoxChildActivateCallback -> m SignalHandlerId Source #
Connect a signal handler for the activate signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after flowBoxChild #activate callback
genClosure_FlowBoxChildActivate :: MonadIO m => FlowBoxChildActivateCallback -> m (GClosure C_FlowBoxChildActivateCallback) Source #
Wrap the callback into a GClosure.
mk_FlowBoxChildActivateCallback :: C_FlowBoxChildActivateCallback -> IO (FunPtr C_FlowBoxChildActivateCallback) Source #
Generate a function pointer callable from C code, from a C_FlowBoxChildActivateCallback.
noFlowBoxChildActivateCallback :: Maybe FlowBoxChildActivateCallback Source #
A convenience synonym for Nothing :: Maybe FlowBoxChildActivateCallback
onFlowBoxChildActivate :: (IsFlowBoxChild a, MonadIO m) => a -> FlowBoxChildActivateCallback -> m SignalHandlerId Source #
Connect a signal handler for the activate signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on flowBoxChild #activate callback