gi-gtk-3.0.43: Gtk bindings

Copyright | Will Thompson and Iñaki García Etxebarria
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | None
Language | Haskell2010

GI.Gtk.Objects.RecentChooserWidget

Contents

- Exported types
- Methods
  - new
  - newForManager

Description

`RecentChooserWidget` is a widget suitable for selecting recently used files. It is the main building block of a `RecentChooserDialog`. Most applications will only need to use the latter; you can use `RecentChooserWidget` as part of a larger window if you have special needs.

Note that `RecentChooserWidget` does not have any methods of its own. Instead, you should use the functions that work on a `RecentChooser`.

Recently used files are supported since GTK+ 2.10.

Synopsis

- newtype RecentChooserWidget = RecentChooserWidget (ManagedPtr RecentChooserWidget)
- class (GObject o, IsDescendantOf RecentChooserWidget o) => IsRecentChooserWidget o
- toRecentChooserWidget :: (MonadIO m, IsRecentChooserWidget o) => o -> m RecentChooserWidget
- recentChooserWidgetNew :: (HasCallStack, MonadIO m) => m RecentChooserWidget
- recentChooserWidgetNewForManager :: (HasCallStack, MonadIO m, IsRecentManager a) => a -> m RecentChooserWidget

# Exported types

newtype RecentChooserWidget Source #

Memory-managed wrapper type.

Constructors

RecentChooserWidget (ManagedPtr RecentChooserWidget) |

#### Instances

Instances details

Eq RecentChooserWidget Source # |
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget Methods (==) :: RecentChooserWidget -> RecentChooserWidget -> Bool Source # (/=) :: RecentChooserWidget -> RecentChooserWidget -> Bool Source #
GObject RecentChooserWidget Source # |
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget
ManagedPtrNewtype RecentChooserWidget Source # |
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget Methods toManagedPtr :: RecentChooserWidget -> ManagedPtr RecentChooserWidget Source #
TypedObject RecentChooserWidget Source # |
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget Methods glibType :: IO GType Source #
HasParentTypes RecentChooserWidget Source # |
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget
IsGValue (Maybe RecentChooserWidget) Source # | Convert `RecentChooserWidget` to and from `GValue`. See `toGValue` and `fromGValue`.
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget Methods gvalueGType_ :: IO GType Source # gvalueSet_ :: Ptr GValue -> Maybe RecentChooserWidget -> IO () Source # gvalueGet_ :: Ptr GValue -> IO (Maybe RecentChooserWidget) Source #
type ParentTypes RecentChooserWidget Source # |
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget type ParentTypes RecentChooserWidget = '[Box, Container, Widget, Object, ImplementorIface, Buildable, Orientable, RecentChooser]

class (GObject o, IsDescendantOf RecentChooserWidget o) => IsRecentChooserWidget o Source #

Type class for types which can be safely cast to `RecentChooserWidget`, for instance with `toRecentChooserWidget`.

#### Instances

Instances details

(GObject o, IsDescendantOf RecentChooserWidget o) => IsRecentChooserWidget o Source # |
Instance details Defined in GI.Gtk.Objects.RecentChooserWidget

toRecentChooserWidget :: (MonadIO m, IsRecentChooserWidget o) => o -> m RecentChooserWidget Source #

Cast to `RecentChooserWidget`, 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, addFilter, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, 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, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listFilters, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, packEnd, packStart, parserFinished, path, propagateDraw, queryChildPacking, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeFilter, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reorderChild, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, selectAll, selectUri, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unselectAll, unselectUri, unsetFocusChain, unsetStateFlags, watchClosure.

#### Getters

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

#### Setters

setAccelPath, setAllocation, setAppPaintable, setBaselinePosition, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setCenterWidget, setChildPacking, setChildVisible, setClip, setCompositeName, setCurrentUri, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFilter, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setHomogeneous, setLimit, setLocalOnly, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSelectMultiple, setSensitive, setShowIcons, setShowNotFound, setShowPrivate, setShowTips, setSizeRequest, setSortFunc, setSortType, setSpacing, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.

## new

recentChooserWidgetNew Source #

Arguments

:: (HasCallStack, MonadIO m) |
=> m RecentChooserWidget | Returns: a new `RecentChooserWidget`

Creates a new `RecentChooserWidget` object. This is an embeddable widget used to access the recently used resources list.

Since: 2.10

## newForManager

recentChooserWidgetNewForManager Source #

Arguments

:: (HasCallStack, MonadIO m, IsRecentManager a) |
=> a | `manager`: a `RecentManager`
-> m RecentChooserWidget | Returns: a new `RecentChooserWidget`

Creates a new `RecentChooserWidget` with a specified recent manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a `RecentManager` object.

Since: 2.10