Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-atk GI.Atk.Interfaces.Text Gets a portion of the text exposed through an Text according to a given offset and a specific granularity, along with the start and end offsets defining the boundaries of such a portion of text. If granularity is ATK_TEXT_GRANULARITY_CHAR the character at the offset is returned. If granularity is ATK_TEXT_GRANULARITY_WORD the returned string is from the word start at or before the offset to the word start after the offset. The returned string will contain the word at the offset if the offset is inside a word and will contain the word before the offset if the offset is not inside a word. If granularity is ATK_TEXT_GRANULARITY_SENTENCE the returned string is from the sentence start at or before the offset to the sentence start after the offset. The returned string will contain the sentence at the offset if the offset is inside a sentence and will contain the sentence before the offset if the offset is not inside a sentence. If granularity is ATK_TEXT_GRANULARITY_LINE the returned string is from the line start at or before the offset to the line start after the offset. If granularity is ATK_TEXT_GRANULARITY_PARAGRAPH the returned string is from the start of the paragraph at or before the offset to the start of the following paragraph after the offset. Since: 2.10
-
gi-atk GI.Atk.Interfaces.Text Deprecated: (Since version 2.9.3)Please use textGetStringAtOffset instead.
-
gi-atk GI.Atk.Interfaces.Text Deprecated: This method is deprecated since ATK version2.9.4. Please use textGetStringAtOffset instead.
-
gi-atk GI.Atk.Interfaces.Text Deprecated: (Since version 2.9.3)Please use textGetStringAtOffset instead.
textSetCaretOffset :: (HasCallStack, MonadIO m, IsText a) => a -> Int32 -> m Boolgi-atk GI.Atk.Interfaces.Text Sets the caret (cursor) position to the specified offset. In the case of rich-text content, this method should either grab focus or move the sequential focus navigation starting point (if the application supports this concept) as if the user had clicked on the new caret position. Typically, this means that the target of this operation is the node containing the new caret position or one of its ancestors. In other words, after this method is called, if the user advances focus, it should move to the first focusable node following the new caret position. Calling this method should also scroll the application viewport in a way that matches the behavior of the application's typical caret motion or tab navigation as closely as possible. This also means that if the application's caret motion or focus navigation does not trigger a scroll operation, this method should not trigger one either. If the application does not have a caret motion or focus navigation operation, this method should try to scroll the new caret position into view while minimizing unnecessary scroll motion.
textSetSelection :: (HasCallStack, MonadIO m, IsText a) => a -> Int32 -> Int32 -> Int32 -> m Boolgi-atk GI.Atk.Interfaces.Text Changes the start and end offset of the specified selection.
valueSetCurrentValue :: (HasCallStack, MonadIO m, IsValue a) => a -> GValue -> m Boolgi-atk GI.Atk.Interfaces.Value Deprecated: Since 2.12. Use valueSetValue instead.
valueSetValue :: (HasCallStack, MonadIO m, IsValue a) => a -> Double -> m ()gi-atk GI.Atk.Interfaces.Value Sets the value of this object. This method is intended to provide a way to change the value of the object. In any case, it is possible that the value can't be modified (ie: a read-only component). If the value changes due this call, it is possible that the text could change, and will trigger an Value::valueChanged signal emission. Note for implementors: the deprecated valueSetCurrentValue method returned TRUE or FALSE depending if the value was assigned or not. In the practice several implementors were not able to decide it, and returned TRUE in any case. For that reason it is not required anymore to return if the value was properly assigned or not. Since: 2.12
objectRefRelationSet :: (HasCallStack, MonadIO m, IsObject a) => a -> m RelationSetgi-atk GI.Atk.Objects.Object Gets the RelationSet associated with the object.
objectRefStateSet :: (HasCallStack, MonadIO m, IsObject a) => a -> m StateSetgi-atk GI.Atk.Objects.Object Gets a reference to the state set of the accessible; the caller must unreference it when it is no longer needed.