Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.SettingProxy
Description
WWW Proxy Settings
Synopsis
- newtype SettingProxy = SettingProxy (ManagedPtr SettingProxy)
- class (GObject o, IsDescendantOf SettingProxy o) => IsSettingProxy o
- toSettingProxy :: (MonadIO m, IsSettingProxy o) => o -> m SettingProxy
- settingProxyGetBrowserOnly :: (HasCallStack, MonadIO m, IsSettingProxy a) => a -> m Bool
- settingProxyGetMethod :: (HasCallStack, MonadIO m, IsSettingProxy a) => a -> m SettingProxyMethod
- settingProxyGetPacScript :: (HasCallStack, MonadIO m, IsSettingProxy a) => a -> m Text
- settingProxyGetPacUrl :: (HasCallStack, MonadIO m, IsSettingProxy a) => a -> m Text
- settingProxyNew :: (HasCallStack, MonadIO m) => m SettingProxy
- constructSettingProxyBrowserOnly :: (IsSettingProxy o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingProxyBrowserOnly :: (MonadIO m, IsSettingProxy o) => o -> m Bool
- setSettingProxyBrowserOnly :: (MonadIO m, IsSettingProxy o) => o -> Bool -> m ()
- constructSettingProxyMethod :: (IsSettingProxy o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingProxyMethod :: (MonadIO m, IsSettingProxy o) => o -> m Int32
- setSettingProxyMethod :: (MonadIO m, IsSettingProxy o) => o -> Int32 -> m ()
- clearSettingProxyPacScript :: (MonadIO m, IsSettingProxy o) => o -> m ()
- constructSettingProxyPacScript :: (IsSettingProxy o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingProxyPacScript :: (MonadIO m, IsSettingProxy o) => o -> m Text
- setSettingProxyPacScript :: (MonadIO m, IsSettingProxy o) => o -> Text -> m ()
- clearSettingProxyPacUrl :: (MonadIO m, IsSettingProxy o) => o -> m ()
- constructSettingProxyPacUrl :: (IsSettingProxy o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingProxyPacUrl :: (MonadIO m, IsSettingProxy o) => o -> m Text
- setSettingProxyPacUrl :: (MonadIO m, IsSettingProxy o) => o -> Text -> m ()
Exported types
newtype SettingProxy Source #
Memory-managed wrapper type.
Constructors
SettingProxy (ManagedPtr SettingProxy) |
Instances
Eq SettingProxy Source # | |
Defined in GI.NM.Objects.SettingProxy | |
GObject SettingProxy Source # | |
Defined in GI.NM.Objects.SettingProxy | |
ManagedPtrNewtype SettingProxy Source # | |
Defined in GI.NM.Objects.SettingProxy Methods | |
TypedObject SettingProxy Source # | |
Defined in GI.NM.Objects.SettingProxy | |
HasParentTypes SettingProxy Source # | |
Defined in GI.NM.Objects.SettingProxy | |
IsGValue (Maybe SettingProxy) Source # | Convert |
Defined in GI.NM.Objects.SettingProxy Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingProxy -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingProxy) # | |
type ParentTypes SettingProxy Source # | |
Defined in GI.NM.Objects.SettingProxy |
class (GObject o, IsDescendantOf SettingProxy o) => IsSettingProxy o Source #
Type class for types which can be safely cast to SettingProxy
, for instance with toSettingProxy
.
Instances
(GObject o, IsDescendantOf SettingProxy o) => IsSettingProxy o Source # | |
Defined in GI.NM.Objects.SettingProxy |
toSettingProxy :: (MonadIO m, IsSettingProxy o) => o -> m SettingProxy Source #
Cast to SettingProxy
, 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
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getBrowserOnly, getData, getDbusPropertyType, getMethod, getName, getPacScript, getPacUrl, getProperty, getQdata, getSecretFlags.
Setters
getBrowserOnly
settingProxyGetBrowserOnly Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingProxy a) | |
=> a |
|
-> m Bool | Returns: |
No description available in the introspection data.
Since: 1.6
getMethod
settingProxyGetMethod Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingProxy a) | |
=> a |
|
-> m SettingProxyMethod | Returns: the proxy configuration method |
Returns the proxy configuration method. By default the value is SettingProxyMethodNone
.
SettingProxyMethodNone
should be selected for a connection intended for direct network
access.
Since: 1.6
getPacScript
settingProxyGetPacScript Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingProxy a) | |
=> a |
|
-> m Text | Returns: the PAC script. |
No description available in the introspection data.
Since: 1.6
getPacUrl
settingProxyGetPacUrl Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingProxy a) | |
=> a |
|
-> m Text | Returns: the PAC URL for obtaining PAC file |
No description available in the introspection data.
Since: 1.6
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingProxy | Returns: the new empty |
Creates a new SettingProxy
object.
Since: 1.6
Properties
browserOnly
Whether the proxy configuration is for browser only.
Since: 1.6
constructSettingProxyBrowserOnly :: (IsSettingProxy o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “browser-only
” property. This is rarely needed directly, but it is used by new
.
getSettingProxyBrowserOnly :: (MonadIO m, IsSettingProxy o) => o -> m Bool Source #
Get the value of the “browser-only
” property.
When overloading is enabled, this is equivalent to
get
settingProxy #browserOnly
setSettingProxyBrowserOnly :: (MonadIO m, IsSettingProxy o) => o -> Bool -> m () Source #
Set the value of the “browser-only
” property.
When overloading is enabled, this is equivalent to
set
settingProxy [ #browserOnly:=
value ]
method
Method for proxy configuration, Default is SettingProxyMethodNone
Since: 1.6
constructSettingProxyMethod :: (IsSettingProxy o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “method
” property. This is rarely needed directly, but it is used by new
.
getSettingProxyMethod :: (MonadIO m, IsSettingProxy o) => o -> m Int32 Source #
Get the value of the “method
” property.
When overloading is enabled, this is equivalent to
get
settingProxy #method
setSettingProxyMethod :: (MonadIO m, IsSettingProxy o) => o -> Int32 -> m () Source #
Set the value of the “method
” property.
When overloading is enabled, this is equivalent to
set
settingProxy [ #method:=
value ]
pacScript
PAC script for the connection. This is an UTF-8 encoded javascript code
that defines a FindProxyForURL()
function.
Since: 1.6
clearSettingProxyPacScript :: (MonadIO m, IsSettingProxy o) => o -> m () Source #
Set the value of the “pac-script
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#pacScript
constructSettingProxyPacScript :: (IsSettingProxy o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pac-script
” property. This is rarely needed directly, but it is used by new
.
getSettingProxyPacScript :: (MonadIO m, IsSettingProxy o) => o -> m Text Source #
Get the value of the “pac-script
” property.
When overloading is enabled, this is equivalent to
get
settingProxy #pacScript
setSettingProxyPacScript :: (MonadIO m, IsSettingProxy o) => o -> Text -> m () Source #
Set the value of the “pac-script
” property.
When overloading is enabled, this is equivalent to
set
settingProxy [ #pacScript:=
value ]
pacUrl
PAC URL for obtaining PAC file.
Since: 1.6
clearSettingProxyPacUrl :: (MonadIO m, IsSettingProxy o) => o -> m () Source #
Set the value of the “pac-url
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#pacUrl
constructSettingProxyPacUrl :: (IsSettingProxy o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pac-url
” property. This is rarely needed directly, but it is used by new
.
getSettingProxyPacUrl :: (MonadIO m, IsSettingProxy o) => o -> m Text Source #
Get the value of the “pac-url
” property.
When overloading is enabled, this is equivalent to
get
settingProxy #pacUrl
setSettingProxyPacUrl :: (MonadIO m, IsSettingProxy o) => o -> Text -> m () Source #
Set the value of the “pac-url
” property.
When overloading is enabled, this is equivalent to
set
settingProxy [ #pacUrl:=
value ]