Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
getTextRangeEndOffset :: MonadIO m => TextRange -> m Int32gi-atk GI.Atk.Structs.TextRange Get the value of the “end_offset” field. When overloading is enabled, this is equivalent to
get textRange #endOffset
setTextRangeEndOffset :: MonadIO m => TextRange -> Int32 -> m ()gi-atk GI.Atk.Structs.TextRange Set the value of the “end_offset” field. When overloading is enabled, this is equivalent to
set textRange [ #endOffset := value ]
clearTextSelectionEndObject :: MonadIO m => TextSelection -> m ()gi-atk GI.Atk.Structs.TextSelection Set the value of the “end_object” field to Nothing. When overloading is enabled, this is equivalent to
clear #endObject
getTextSelectionEndObject :: MonadIO m => TextSelection -> m (Maybe Object)gi-atk GI.Atk.Structs.TextSelection Get the value of the “end_object” field. When overloading is enabled, this is equivalent to
get textSelection #endObject
getTextSelectionEndOffset :: MonadIO m => TextSelection -> m Int32gi-atk GI.Atk.Structs.TextSelection Get the value of the “end_offset” field. When overloading is enabled, this is equivalent to
get textSelection #endOffset
setTextSelectionEndObject :: MonadIO m => TextSelection -> Ptr Object -> m ()gi-atk GI.Atk.Structs.TextSelection Set the value of the “end_object” field. When overloading is enabled, this is equivalent to
set textSelection [ #endObject := value ]
setTextSelectionEndOffset :: MonadIO m => TextSelection -> Int32 -> m ()gi-atk GI.Atk.Structs.TextSelection Set the value of the “end_offset” field. When overloading is enabled, this is equivalent to
set textSelection [ #endOffset := value ]
pattern
KEY_VendorHome :: Word32gi-gdk3 GI.Gdk.Constants No description available in the introspection data.
constructDeviceVendorId :: (IsDevice o, MonadIO m) => Text -> m (GValueConstruct o)gi-gdk3 GI.Gdk.Objects.Device Construct a GValueConstruct with valid value for the “vendor-id” property. This is rarely needed directly, but it is used by new.
deviceGetVendorId :: (HasCallStack, MonadIO m, IsDevice a) => a -> m (Maybe Text)gi-gdk3 GI.Gdk.Objects.Device Returns the vendor ID of this device, or Nothing if this information couldn't be obtained. This ID is retrieved from the device, and is thus constant for it. This function, together with deviceGetProductId, can be used to eg. compose Settings paths to store settings for this device.
C code
static GSettings * get_device_settings (GdkDevice *device) { const gchar *vendor, *product; GSettings *settings; GdkDevice *device; gchar *path; vendor = gdk_device_get_vendor_id (device); product = gdk_device_get_product_id (device); path = g_strdup_printf ("/org/example/app/devices/%s:%s/", vendor, product); settings = g_settings_new_with_path (DEVICE_SCHEMA, path); g_free (path); return settings; }Since: 3.16