gi-gtk-3.0.32: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.RecentChooserWidget

Contents

Description

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

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

Recently used files are supported since GTK+ 2.10.

Synopsis

Exported types

newtype RecentChooserWidget Source #

Memory-managed wrapper type.

Constructors

RecentChooserWidget (ManagedPtr RecentChooserWidget) 
Instances
Eq RecentChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.RecentChooserWidget

GObject RecentChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.RecentChooserWidget

Methods

gobjectType :: IO GType

IsGValue RecentChooserWidget Source #

Convert RecentChooserWidget to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.RecentChooserWidget

Methods

toGValue :: RecentChooserWidget -> IO GValue

fromGValue :: GValue -> IO RecentChooserWidget

HasParentTypes RecentChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.RecentChooserWidget

type ParentTypes RecentChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.RecentChooserWidget

type ParentTypes RecentChooserWidget = Box ': (Container ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': (Orientable ': (RecentChooser ': ([] :: [Type]))))))))

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

noRecentChooserWidget :: Maybe RecentChooserWidget Source #

A convenience alias for Nothing :: Maybe RecentChooserWidget.

Methods

Overloaded methods

new

recentChooserWidgetNew Source #

Arguments

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

Returns: a new tRecentChooserWidget

Creates a new tRecentChooserWidget 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 tRecentManager

-> m RecentChooserWidget

Returns: a new tRecentChooserWidget

Creates a new tRecentChooserWidget 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 tRecentManager object.

Since: 2.10