Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=htClaaJtgdlbmsaQcJNJ+GqPi26XDJ6Qq4ir+9p+zYU=; b=JoScGFBeF8dHJuEeD73lsmmOoCYh2jgTWoF47mFv7NrVckJSgL6NMK9bVRCAFYEjZKWLbEYGCiCIOXPCBV6irdryp7Vmac1ao9NbTHFxeh+AiYKUxquWMaHLJzfIXgrBxvr+WHTRj8vk5XS4CkCfiCmgUxHnJvO9Fxoysleg2kc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=HSSMPUgdQ99N55xAK0CfTZxwzwhUrl68GUDjPJ4/l61gzlsd+1xz/pv/LiF3cIAHSuHCTgZG9g7rmYSArZZY8xAt2n3CSBNcOOIJ+tm/iuKbdPx8JZRS+0jT1EVO48CPv4CGodBbO61KjS3MryNR8ukUm+8ujW2b9i/qs9OgxxQ= Message-ID: Date: Wed, 26 Mar 2008 00:28:01 -0400 From: "Jacques Le Normand" To: lablgtk at yquem.inria.fr MIME-Version: 1.0 Subject: [Lablgtk] getting the origin of a window Mime-version: 1.0 Content-Type: multipart/mixed; boundary="===============1327271205==" Content-Length: 1339 --===============1327271205== Content-Type: multipart/alternative; boundary="----=_Part_33694_23457650.1206505681512" ------=_Part_33694_23457650.1206505681512 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hello lablgtk list, is there a way to get the position of a window in lablgtk? in gtk you would use gtk_window_get_position(window,&x,&y) in haskell you would do do dw <- widgetGetDrawWindow window drawWindowGetOrigin dw ------=_Part_33694_23457650.1206505681512 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hello lablgtk list,
is there a way to get the position of a window in lablgtk?
in gtk you would use

gtk_window_get_position(window,&x,&y)

in haskell you would do

do
  dw <- widgetGetDrawWindow window
  drawWindowGetOrigin dw



------=_Part_33694_23457650.1206505681512-- --===============1327271205== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk --===============1327271205==--