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 |
GtkListBase is the abstract base class for GTK's list widgets.
Synopsis
- newtype ListBase = ListBase (ManagedPtr ListBase)
- class (GObject o, IsDescendantOf ListBase o) => IsListBase o
- toListBase :: (MonadIO m, IsListBase o) => o -> m ListBase
- constructListBaseOrientation :: (IsListBase o, MonadIO m) => Orientation -> m (GValueConstruct o)
- getListBaseOrientation :: (MonadIO m, IsListBase o) => o -> m Orientation
- setListBaseOrientation :: (MonadIO m, IsListBase o) => o -> Orientation -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq ListBase Source # | |
GObject ListBase Source # | |
Defined in GI.Gtk.Objects.ListBase | |
ManagedPtrNewtype ListBase Source # | |
Defined in GI.Gtk.Objects.ListBase toManagedPtr :: ListBase -> ManagedPtr ListBase | |
TypedObject ListBase Source # | |
Defined in GI.Gtk.Objects.ListBase | |
HasParentTypes ListBase Source # | |
Defined in GI.Gtk.Objects.ListBase | |
IsGValue (Maybe ListBase) Source # | Convert |
Defined in GI.Gtk.Objects.ListBase gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ListBase -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ListBase) | |
type ParentTypes ListBase Source # | |
Defined in GI.Gtk.Objects.ListBase type ParentTypes ListBase = '[Widget, Object, Accessible, Buildable, ConstraintTarget, Orientable, Scrollable] |
class (GObject o, IsDescendantOf ListBase o) => IsListBase o Source #
Type class for types which can be safely cast to ListBase
, for instance with toListBase
.
Instances
(GObject o, IsDescendantOf ListBase o) => IsListBase o Source # | |
Defined in GI.Gtk.Objects.ListBase |
toListBase :: (MonadIO m, IsListBase o) => o -> m ListBase Source #
Methods
Click to display all available methods, including inherited ones
Methods
actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, allocate, bindProperty, bindPropertyFull, 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, 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, getBorder, getBuildableId, getCanFocus, getCanTarget, getChildVisible, getClipboard, getCssClasses, getCssName, getCursor, getData, getDirection, getDisplay, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getHadjustment, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getHscrollPolicy, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextSibling, getOpacity, getOrientation, getOverflow, getPangoContext, getParent, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getVadjustment, getValign, getVexpand, getVexpandSet, getVisible, getVscrollPolicy, getWidth.
Setters
setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setHadjustment, setHalign, setHasTooltip, setHexpand, setHexpandSet, setHscrollPolicy, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOrientation, setOverflow, setParent, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipText, setVadjustment, setValign, setVexpand, setVexpandSet, setVisible, setVscrollPolicy.
Properties
orientation
The orientation of the list. See GtkOrientable:orientation for details.
constructListBaseOrientation :: (IsListBase o, MonadIO m) => Orientation -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “orientation
” property. This is rarely needed directly, but it is used by new
.
getListBaseOrientation :: (MonadIO m, IsListBase o) => o -> m Orientation Source #
Get the value of the “orientation
” property.
When overloading is enabled, this is equivalent to
get
listBase #orientation
setListBaseOrientation :: (MonadIO m, IsListBase o) => o -> Orientation -> m () Source #
Set the value of the “orientation
” property.
When overloading is enabled, this is equivalent to
set
listBase [ #orientation:=
value ]