lookupDefault -package:gtk

Return the value to which the specified key is mapped, or the default value if this map contains no mapping for the key. DEPRECATED: lookupDefault is deprecated as of version 0.2.11, replaced by findWithDefault.
Return the value to which the specified key is mapped, or the default value if this map contains no mapping for the key.
>>> let myHashMap = HashMap.fromList [('a', "xxx"), ('b', "yyy")]

>>> lookupDefault "zzz" 'b' myHashMap
"yyy"
>>> lookupDefault "zzz" 'c' myHashMap
"zzz"
Look up a name in the given Config. If a binding exists, and the value can be converted to the desired type, return it, otherwise return the default value.
Looks for an icon in the list of default icon factories. For display to the user, you should use styleLookupIconSet on the Style for the widget that will display the icon, instead of using this function directly, so that themes are taken into account.
Returns the value of an RTuple column based on the ColumnName key if the column name is not found, then it returns a default value