gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.AppChooserDialog

Contents

Description

AppChooserDialog shows a AppChooserWidget inside a Dialog.

Note that AppChooserDialog does not have any interesting methods of its own. Instead, you should get the embedded AppChooserWidget using appChooserDialogGetWidget and call its methods if the generic AppChooser interface is not sufficient for your needs.

To set the heading that is shown above the AppChooserWidget, use appChooserDialogSetHeading.

Synopsis

Exported types

Methods

getHeading

appChooserDialogGetHeading Source #

Arguments

:: (HasCallStack, MonadIO m, IsAppChooserDialog a) 
=> a

self: a AppChooserDialog

-> m (Maybe Text)

Returns: the text to display at the top of the dialog, or Nothing, in which case a default text is displayed

Returns the text to display at the top of the dialog.

getWidget

appChooserDialogGetWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsAppChooserDialog a) 
=> a

self: a AppChooserDialog

-> m Widget

Returns: the AppChooserWidget of self

Returns the AppChooserWidget of this dialog.

Since: 3.0

new

appChooserDialogNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a, IsFile b) 
=> Maybe a

parent: a Window, or Nothing

-> [DialogFlags]

flags: flags for this dialog

-> b

file: a File

-> m AppChooserDialog

Returns: a newly created AppChooserDialog

Creates a new AppChooserDialog for the provided File, to allow the user to select an application for it.

Since: 3.0

newForContentType

appChooserDialogNewForContentType Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> Maybe a

parent: a Window, or Nothing

-> [DialogFlags]

flags: flags for this dialog

-> Text

contentType: a content type string

-> m AppChooserDialog

Returns: a newly created AppChooserDialog

Creates a new AppChooserDialog for the provided content type, to allow the user to select an application for it.

Since: 3.0

setHeading

appChooserDialogSetHeading Source #

Arguments

:: (HasCallStack, MonadIO m, IsAppChooserDialog a) 
=> a

self: a AppChooserDialog

-> Text

heading: a string containing Pango markup

-> m () 

Sets the text to display at the top of the dialog. If the heading is not set, the dialog displays a default text.

Properties

gfile

data AppChooserDialogGfilePropertyInfo Source #

Instances

AttrInfo AppChooserDialogGfilePropertyInfo Source # 
type AttrOrigin AppChooserDialogGfilePropertyInfo Source # 
type AttrLabel AppChooserDialogGfilePropertyInfo Source # 
type AttrGetType AppChooserDialogGfilePropertyInfo Source # 
type AttrBaseTypeConstraint AppChooserDialogGfilePropertyInfo Source # 
type AttrSetTypeConstraint AppChooserDialogGfilePropertyInfo Source # 
type AttrAllowedOps AppChooserDialogGfilePropertyInfo Source # 

heading

data AppChooserDialogHeadingPropertyInfo Source #

Instances

AttrInfo AppChooserDialogHeadingPropertyInfo Source # 
type AttrOrigin AppChooserDialogHeadingPropertyInfo Source # 
type AttrLabel AppChooserDialogHeadingPropertyInfo Source # 
type AttrGetType AppChooserDialogHeadingPropertyInfo Source # 
type AttrBaseTypeConstraint AppChooserDialogHeadingPropertyInfo Source # 
type AttrSetTypeConstraint AppChooserDialogHeadingPropertyInfo Source # 
type AttrAllowedOps AppChooserDialogHeadingPropertyInfo Source #