Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
An action of which represents a list of recently used files
- Module available since Gtk+ version 2.12
Synopsis
- data RecentAction
- class ActionClass o => RecentActionClass o
- castToRecentAction :: GObjectClass obj => obj -> RecentAction
- toRecentAction :: RecentActionClass o => o -> RecentAction
- recentActionNew :: GlibString string => string -> Maybe string -> Maybe string -> Maybe string -> IO RecentAction
- recentActionNewForManager :: (RecentManagerClass manager, GlibString string) => string -> Maybe string -> Maybe string -> Maybe string -> Maybe manager -> IO RecentAction
- recentActionShowNumbers :: RecentActionClass self => Attr self Bool
Detail
A RecentAction
represents a list of recently used files, which can be
shown by widgets such as RecentChooserDialog
or RecentChooserMenu
.
To construct a submenu showing recently used files, use a RecentAction
as the action for a <menuitem>. To construct a menu toolbutton showing the
recently used files in the popup menu, use a RecentAction
as the action
for a <toolitem> element.
Class Hierarchy
Types
data RecentAction Source #
Instances
Eq RecentAction Source # | |
Defined in Graphics.UI.Gtk.Types (==) :: RecentAction -> RecentAction -> Bool # (/=) :: RecentAction -> RecentAction -> Bool # | |
Ord RecentAction Source # | |
Defined in Graphics.UI.Gtk.Types compare :: RecentAction -> RecentAction -> Ordering # (<) :: RecentAction -> RecentAction -> Bool # (<=) :: RecentAction -> RecentAction -> Bool # (>) :: RecentAction -> RecentAction -> Bool # (>=) :: RecentAction -> RecentAction -> Bool # max :: RecentAction -> RecentAction -> RecentAction # min :: RecentAction -> RecentAction -> RecentAction # | |
GObjectClass RecentAction Source # | |
Defined in Graphics.UI.Gtk.Types toGObject :: RecentAction -> GObject # | |
RecentActionClass RecentAction Source # | |
Defined in Graphics.UI.Gtk.Types | |
ActionClass RecentAction Source # | |
Defined in Graphics.UI.Gtk.Types |
class ActionClass o => RecentActionClass o Source #
Instances
RecentActionClass RecentAction Source # | |
Defined in Graphics.UI.Gtk.Types |
castToRecentAction :: GObjectClass obj => obj -> RecentAction Source #
toRecentAction :: RecentActionClass o => o -> RecentAction Source #
Constructors
:: GlibString string | |
=> string |
|
-> Maybe string |
|
-> Maybe string |
|
-> Maybe string |
|
-> IO RecentAction |
Creates a new RecentAction
object. To add the action to a ActionGroup
and set the accelerator for the action, call
actionGroupAddActionWithAccel
.
recentActionNewForManager Source #
:: (RecentManagerClass manager, GlibString string) | |
=> string |
|
-> Maybe string |
|
-> Maybe string |
|
-> Maybe string |
|
-> Maybe manager |
|
-> IO RecentAction |
Creates a new RecentAction
object. To add the action to a ActionGroup
and set the accelerator for the action, call
actionGroupAddActionWithAccel
.
Attributes
recentActionShowNumbers :: RecentActionClass self => Attr self Bool Source #
If recent items should be shown with numbers next to them.