Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
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.
Instances
Eq RecentChooserWidget Source # | |
Defined in GI.Gtk.Objects.RecentChooserWidget (==) :: RecentChooserWidget -> RecentChooserWidget -> Bool # (/=) :: RecentChooserWidget -> RecentChooserWidget -> Bool # | |
IsGValue RecentChooserWidget Source # | Convert |
Defined in GI.Gtk.Objects.RecentChooserWidget toGValue :: RecentChooserWidget -> IO GValue # fromGValue :: GValue -> IO RecentChooserWidget # | |
ManagedPtrNewtype RecentChooserWidget Source # | |
TypedObject RecentChooserWidget Source # | |
Defined in GI.Gtk.Objects.RecentChooserWidget | |
GObject RecentChooserWidget Source # | |
Defined in GI.Gtk.Objects.RecentChooserWidget | |
HasParentTypes RecentChooserWidget Source # | |
Defined in GI.Gtk.Objects.RecentChooserWidget | |
type ParentTypes RecentChooserWidget Source # | |
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
(GObject o, IsDescendantOf RecentChooserWidget o) => IsRecentChooserWidget o Source # | |
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
Overloaded methods
new
recentChooserWidgetNew Source #
:: (HasCallStack, MonadIO m) | |
=> m RecentChooserWidget | Returns: a new |
Creates a new RecentChooserWidget
object. This is an embeddable widget
used to access the recently used resources list.
Since: 2.10
newForManager
recentChooserWidgetNewForManager Source #
:: (HasCallStack, MonadIO m, IsRecentManager a) | |
=> a |
|
-> m RecentChooserWidget | Returns: a new |
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