gi-gtk-3.0.41: 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.FlowBoxChild

Description

No description available in the introspection data.

Synopsis

Exported types

newtype FlowBoxChild Source #

Memory-managed wrapper type.

Constructors

FlowBoxChild (ManagedPtr FlowBoxChild) 

Instances

Instances details
Eq FlowBoxChild Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChild

GObject FlowBoxChild Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChild

ManagedPtrNewtype FlowBoxChild Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChild

Methods

toManagedPtr :: FlowBoxChild -> ManagedPtr FlowBoxChild

TypedObject FlowBoxChild Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChild

Methods

glibType :: IO GType

HasParentTypes FlowBoxChild Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChild

IsGValue (Maybe FlowBoxChild) Source #

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

Instance details

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 # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChild

type ParentTypes FlowBoxChild = '[Bin, Container, Widget, Object, ImplementorIface, Buildable]

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

Instances details
(GObject o, IsDescendantOf FlowBoxChild o) => IsFlowBoxChild o Source # 
Instance details

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

Expand

Methods

activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, changed, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, destroy, destroyed, deviceIsShadowed, dragBegin, dragBeginWithCoordinates, dragCheckThreshold, dragDestAddImageTargets, dragDestAddTextTargets, dragDestAddUriTargets, dragDestFindTarget, dragDestGetTargetList, dragDestGetTrackMotion, dragDestSet, dragDestSetProxy, dragDestSetTargetList, dragDestSetTrackMotion, dragDestUnset, dragGetData, dragHighlight, dragSourceAddImageTargets, dragSourceAddTextTargets, dragSourceAddUriTargets, dragSourceGetTargetList, dragSourceSet, dragSourceSetIconGicon, dragSourceSetIconName, dragSourceSetIconPixbuf, dragSourceSetIconStock, dragSourceSetTargetList, dragSourceUnset, dragUnhighlight, draw, ensureStyle, errorBell, event, forall, forceFloating, foreach, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSelected, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.

Getters

getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getIndex, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.

Setters

setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.

changed

flowBoxChildChanged Source #

Arguments

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

child: a FlowBoxChild

-> 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.

Since: 3.12

getIndex

flowBoxChildGetIndex Source #

Arguments

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

child: a FlowBoxChild

-> m Int32

Returns: the index of the child, or -1 if the child is not in a flow box.

Gets the current index of the child in its FlowBox container.

Since: 3.12

isSelected

flowBoxChildIsSelected Source #

Arguments

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

child: a FlowBoxChild

-> m Bool

Returns: True if child is selected

Returns whether the child is currently selected in its FlowBox container.

Since: 3.12

new

flowBoxChildNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m FlowBoxChild

Returns: a new FlowBoxChild

Creates a new FlowBoxChild, to be used as a child of a FlowBox.

Since: 3.12

Signals

activate

type FlowBoxChildActivateCallback = IO () Source #

The activate signal is emitted when the user activates a child widget in a FlowBox, either by clicking or double-clicking, or by using the Space or Enter key.

While this signal is used as a [keybinding signal][GtkBindingSignal], it can be used by applications for their own purposes.

afterFlowBoxChildActivate :: (IsFlowBoxChild a, MonadIO m) => a -> ((?self :: 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

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onFlowBoxChildActivate :: (IsFlowBoxChild a, MonadIO m) => a -> ((?self :: 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