Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
gliftReadPrec :: (Generic1 f, GRead1 (Rep1 f)) => ReadPrec a -> ReadPrec [a] -> ReadPrec (f a)generic-data Generic.Data.Internal.Read Generic liftReadPrec.
greadPrec :: (Generic a, GRead0 (Rep a)) => ReadPrec ageneric-data Generic.Data.Internal.Read Generic readPrec.
instance Read MyType where readPrec = greadPrec readListPrec = readListPrecDefault
liftReadPrecCompat :: Read1 f => (ReadPrec a, ReadPrec [a]) -> ReadPrec (f a)generic-data Generic.Data.Internal.Read A backwards-compatible version of liftReadPrec. This is needed for compatibility with base-4.9, where Read1 only offers liftReadsPrec, not liftReadPrec.
toReadPrec :: ReadPrecTree a -> ReadPrec ageneric-data Generic.Data.Internal.Read No documentation available.
RoleDocumentSpreadsheet :: Rolegi-atk GI.Atk.Enums A document frame which contains a spreadsheet. (Since: 2.1.0)
StateTypeReadOnly :: StateTypegi-atk GI.Atk.Enums Indicates that a widget which is ENABLED and SENSITIVE has a value which can be read, but not modified, by the user. Note that this state should only be applied to widget types whose value is normally directly user modifiable, such as check boxes, radio buttons, spin buttons, text input fields, and combo boxes, as a means to convey that the expected interaction with that widget is not possible. When the expected interaction with a widget does not include modification by the user, as is the case with labels and containers, ATK_STATE_READ_ONLY should not be applied. See also ATK_STATE_EDITABLE. since: ATK-2-16
miscThreadsEnter :: (HasCallStack, MonadIO m, IsMisc a) => a -> m ()gi-atk GI.Atk.Objects.Misc Deprecated: Since 2.12.
miscThreadsLeave :: (HasCallStack, MonadIO m, IsMisc a) => a -> m ()gi-atk GI.Atk.Objects.Misc Deprecated: Since 2.12.
GrabStatusAlreadyGrabbed :: GrabStatusgi-gdk3 GI.Gdk.Enums the resource is actively grabbed by another client.
threadsAddIdle :: (HasCallStack, MonadIO m) => Int32 -> SourceFunc -> m Word32gi-gdk3 GI.Gdk.Functions Adds a function to be called whenever there are no higher priority events pending. If the function returns False it is automatically removed from the list of event sources and will not be called again. This variant of idleAdd calls function with the GDK lock held. It can be thought of a MT-safe version for GTK+ widgets for the following use case, where you have to worry about idle_callback() running in thread A and accessing self after it has been finalized in thread B:
C code
static gboolean idle_callback (gpointer data) { // gdk_threads_enter(); would be needed for g_idle_add() SomeWidget *self = data; // do stuff with self self->idle_id = 0; // gdk_threads_leave(); would be needed for g_idle_add() return FALSE; } static void some_widget_do_stuff_later (SomeWidget *self) { self->idle_id = gdk_threads_add_idle (idle_callback, self) // using g_idle_add() here would require thread protection in the callback } static void some_widget_finalize (GObject *object) { SomeWidget *self = SOME_WIDGET (object); if (self->idle_id) g_source_remove (self->idle_id); G_OBJECT_CLASS (parent_class)->finalize (object); }Since: 2.12