On 8/9/07, <b class="gmail_sendername">Marc Weber</b> <<a href="mailto:marco-oweber@gmx.de">marco-oweber@gmx.de</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-- load up the glade file<br> dialogXmlM <- xmlNew "simple.glade"<br> let dialogXml = case dialogXmlM of<br> (Just dialogXml) -> dialogXml<br> Nothing -> error "can't find the glade file \"
simple.glade\" \<br> \in the current directory"<br><br> -- get a handle on a couple widgets from the glade file<br> window <- xmlGetWidget dialogXml castToWindow "window1"
<br> button <- xmlGetWidget dialogXml castToButton "button1"<br></blockquote></div><br><br>Oooo... nice :-)<br><br><span class="gmail_quote"></span>