| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Dazzle.Objects.FileChooserEntry
Description
No description available in the introspection data.
Synopsis
- newtype FileChooserEntry = FileChooserEntry (ManagedPtr FileChooserEntry)
- class (GObject o, IsDescendantOf FileChooserEntry o) => IsFileChooserEntry o
- toFileChooserEntry :: (MonadIO m, IsFileChooserEntry o) => o -> m FileChooserEntry
- fileChooserEntryGetEntry :: (HasCallStack, MonadIO m, IsFileChooserEntry a) => a -> m Entry
- fileChooserEntryGetFile :: (HasCallStack, MonadIO m, IsFileChooserEntry a) => a -> m (Maybe File)
- fileChooserEntryNew :: (HasCallStack, MonadIO m) => Text -> FileChooserAction -> m FileChooserEntry
- fileChooserEntrySetFile :: (HasCallStack, MonadIO m, IsFileChooserEntry a, IsFile b) => a -> b -> m ()
- constructFileChooserEntryAction :: (IsFileChooserEntry o, MonadIO m) => FileChooserAction -> m (GValueConstruct o)
- getFileChooserEntryAction :: (MonadIO m, IsFileChooserEntry o) => o -> m FileChooserAction
- setFileChooserEntryAction :: (MonadIO m, IsFileChooserEntry o) => o -> FileChooserAction -> m ()
- constructFileChooserEntryCreateFolders :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o)
- getFileChooserEntryCreateFolders :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool
- setFileChooserEntryCreateFolders :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m ()
- constructFileChooserEntryDoOverwriteConfirmation :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o)
- getFileChooserEntryDoOverwriteConfirmation :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool
- setFileChooserEntryDoOverwriteConfirmation :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m ()
- constructFileChooserEntryFile :: (IsFileChooserEntry o, MonadIO m, IsFile a) => a -> m (GValueConstruct o)
- getFileChooserEntryFile :: (MonadIO m, IsFileChooserEntry o) => o -> m (Maybe File)
- setFileChooserEntryFile :: (MonadIO m, IsFileChooserEntry o, IsFile a) => o -> a -> m ()
- clearFileChooserEntryFilter :: (MonadIO m, IsFileChooserEntry o) => o -> m ()
- constructFileChooserEntryFilter :: (IsFileChooserEntry o, MonadIO m, IsFileFilter a) => a -> m (GValueConstruct o)
- getFileChooserEntryFilter :: (MonadIO m, IsFileChooserEntry o) => o -> m (Maybe FileFilter)
- setFileChooserEntryFilter :: (MonadIO m, IsFileChooserEntry o, IsFileFilter a) => o -> a -> m ()
- constructFileChooserEntryLocalOnly :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o)
- getFileChooserEntryLocalOnly :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool
- setFileChooserEntryLocalOnly :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m ()
- constructFileChooserEntryMaxWidthChars :: (IsFileChooserEntry o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getFileChooserEntryMaxWidthChars :: (MonadIO m, IsFileChooserEntry o) => o -> m Int32
- setFileChooserEntryMaxWidthChars :: (MonadIO m, IsFileChooserEntry o) => o -> Int32 -> m ()
- constructFileChooserEntryShowHidden :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o)
- getFileChooserEntryShowHidden :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool
- setFileChooserEntryShowHidden :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m ()
- clearFileChooserEntryTitle :: (MonadIO m, IsFileChooserEntry o) => o -> m ()
- constructFileChooserEntryTitle :: (IsFileChooserEntry o, MonadIO m) => Text -> m (GValueConstruct o)
- getFileChooserEntryTitle :: (MonadIO m, IsFileChooserEntry o) => o -> m (Maybe Text)
- setFileChooserEntryTitle :: (MonadIO m, IsFileChooserEntry o) => o -> Text -> m ()
Exported types
newtype FileChooserEntry Source #
Memory-managed wrapper type.
Constructors
| FileChooserEntry (ManagedPtr FileChooserEntry) |
Instances
class (GObject o, IsDescendantOf FileChooserEntry o) => IsFileChooserEntry o Source #
Type class for types which can be safely cast to FileChooserEntry, for instance with toFileChooserEntry.
Instances
| (GObject o, IsDescendantOf FileChooserEntry o) => IsFileChooserEntry o Source # | |
Defined in GI.Dazzle.Objects.FileChooserEntry | |
toFileChooserEntry :: (MonadIO m, IsFileChooserEntry o) => o -> m FileChooserEntry Source #
Cast to FileChooserEntry, 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
Methods
activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, 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, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, parserFinished, path, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEntry, getEvents, getFile, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFile, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getEntry
fileChooserEntryGetEntry Source #
Arguments
| :: (HasCallStack, MonadIO m, IsFileChooserEntry a) | |
| => a |
|
| -> m Entry | Returns: a |
Gets the entry used by the Entry.
Since: 3.32
getFile
fileChooserEntryGetFile Source #
Arguments
| :: (HasCallStack, MonadIO m, IsFileChooserEntry a) | |
| => a | |
| -> m (Maybe File) |
Returns the currently selected file or Nothing if there is no selection.
new
fileChooserEntryNew :: (HasCallStack, MonadIO m) => Text -> FileChooserAction -> m FileChooserEntry Source #
No description available in the introspection data.
setFile
fileChooserEntrySetFile :: (HasCallStack, MonadIO m, IsFileChooserEntry a, IsFile b) => a -> b -> m () Source #
No description available in the introspection data.
Properties
action
No description available in the introspection data.
constructFileChooserEntryAction :: (IsFileChooserEntry o, MonadIO m) => FileChooserAction -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “action” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryAction :: (MonadIO m, IsFileChooserEntry o) => o -> m FileChooserAction Source #
Get the value of the “action” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #action
setFileChooserEntryAction :: (MonadIO m, IsFileChooserEntry o) => o -> FileChooserAction -> m () Source #
Set the value of the “action” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #action:=value ]
createFolders
No description available in the introspection data.
constructFileChooserEntryCreateFolders :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “create-folders” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryCreateFolders :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool Source #
Get the value of the “create-folders” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #createFolders
setFileChooserEntryCreateFolders :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m () Source #
Set the value of the “create-folders” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #createFolders:=value ]
doOverwriteConfirmation
No description available in the introspection data.
constructFileChooserEntryDoOverwriteConfirmation :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “do-overwrite-confirmation” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryDoOverwriteConfirmation :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool Source #
Get the value of the “do-overwrite-confirmation” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #doOverwriteConfirmation
setFileChooserEntryDoOverwriteConfirmation :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m () Source #
Set the value of the “do-overwrite-confirmation” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #doOverwriteConfirmation:=value ]
file
No description available in the introspection data.
constructFileChooserEntryFile :: (IsFileChooserEntry o, MonadIO m, IsFile a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “file” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryFile :: (MonadIO m, IsFileChooserEntry o) => o -> m (Maybe File) Source #
Get the value of the “file” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #file
setFileChooserEntryFile :: (MonadIO m, IsFileChooserEntry o, IsFile a) => o -> a -> m () Source #
Set the value of the “file” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #file:=value ]
filter
No description available in the introspection data.
clearFileChooserEntryFilter :: (MonadIO m, IsFileChooserEntry o) => o -> m () Source #
Set the value of the “filter” property to Nothing.
When overloading is enabled, this is equivalent to
clear #filter
constructFileChooserEntryFilter :: (IsFileChooserEntry o, MonadIO m, IsFileFilter a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “filter” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryFilter :: (MonadIO m, IsFileChooserEntry o) => o -> m (Maybe FileFilter) Source #
Get the value of the “filter” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #filter
setFileChooserEntryFilter :: (MonadIO m, IsFileChooserEntry o, IsFileFilter a) => o -> a -> m () Source #
Set the value of the “filter” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #filter:=value ]
localOnly
No description available in the introspection data.
constructFileChooserEntryLocalOnly :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “local-only” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryLocalOnly :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool Source #
Get the value of the “local-only” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #localOnly
setFileChooserEntryLocalOnly :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m () Source #
Set the value of the “local-only” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #localOnly:=value ]
maxWidthChars
No description available in the introspection data.
constructFileChooserEntryMaxWidthChars :: (IsFileChooserEntry o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “max-width-chars” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryMaxWidthChars :: (MonadIO m, IsFileChooserEntry o) => o -> m Int32 Source #
Get the value of the “max-width-chars” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #maxWidthChars
setFileChooserEntryMaxWidthChars :: (MonadIO m, IsFileChooserEntry o) => o -> Int32 -> m () Source #
Set the value of the “max-width-chars” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #maxWidthChars:=value ]
showHidden
No description available in the introspection data.
constructFileChooserEntryShowHidden :: (IsFileChooserEntry o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “show-hidden” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryShowHidden :: (MonadIO m, IsFileChooserEntry o) => o -> m Bool Source #
Get the value of the “show-hidden” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #showHidden
setFileChooserEntryShowHidden :: (MonadIO m, IsFileChooserEntry o) => o -> Bool -> m () Source #
Set the value of the “show-hidden” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #showHidden:=value ]
title
No description available in the introspection data.
clearFileChooserEntryTitle :: (MonadIO m, IsFileChooserEntry o) => o -> m () Source #
Set the value of the “title” property to Nothing.
When overloading is enabled, this is equivalent to
clear #title
constructFileChooserEntryTitle :: (IsFileChooserEntry o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “title” property. This is rarely needed directly, but it is used by new.
getFileChooserEntryTitle :: (MonadIO m, IsFileChooserEntry o) => o -> m (Maybe Text) Source #
Get the value of the “title” property.
When overloading is enabled, this is equivalent to
get fileChooserEntry #title
setFileChooserEntryTitle :: (MonadIO m, IsFileChooserEntry o) => o -> Text -> m () Source #
Set the value of the “title” property.
When overloading is enabled, this is equivalent to
setfileChooserEntry [ #title:=value ]