In Leksah we need to have a binding for this procedure. The patch was
submitted on 2 Sep 2009 on this mailing list from Maciej, but I can't
find the proc.
Can you please tell me were I can find it or add it?
Thanks
Jürgen
diff -Nur gtk2hs-0.10.1/gtk/Graphics/UI/Gtk/General/General.chs
gtk2hs-0.10.1/gtk/Graphics/UI/Gtk/General/General.chs
--- gtk2hs-0.10.1/gtk/Graphics/UI/Gtk/General/General.chs
2009-02-04 09:22:53.000000000 +0100
+++ gtk2hs-0.10.1/gtk/Graphics/UI/Gtk/General/General.chs
2009-07-26 21:35:39.000000000 +0200
@@ -68,7 +68,10 @@
inputAdd,
inputRemove,
IOCondition,
- HandlerId
+ HandlerId,
+
+ -- * Resource configuration functions
+ rcParseString
) where
import System.Environment (getProgName, getArgs)
@@ -244,3 +247,11 @@
--
grabRemove :: WidgetClass w => w -> IO ()
grabRemove = {#call grab_remove#} . toWidget
+
+-- | reads resource configuration string @rcstring@, parses it and
applies
+-- new style configuration
+--
+rcParseString :: String -> IO ()
+rcParseString rcstring =
+ withUTFString rcstring $ \rcstringPtr ->
+ {# call unsafe gtk_rc_parse_string #} rcstringPtr
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel