Ticket #1106 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

Add windowForeignNew

Reported by: guest Owned by: somebody
Priority: normal Milestone:
Component: general (Gtk+, Glib) Version: 0.9.12
Keywords: Cc: jleedev@…


GDK has a function window_foreign_new that creates a gdk window object for any existing X window. It is available in the C and python bindings; I would like to use this function in gtk2hs.

(I am trying to write a screensaver using Cairo and gtk2hs; It seems that you need to draw on the root window or any arbitrary window in order to work.)

Change History

Changed 9 years ago by axel

  • status changed from new to closed
  • resolution set to fixed

I've added this in the darcs repository. The handle that you pass is a type synonym of CInt or some such. I haven't tried it, since I'm not quite sure how you get the handle from X11.

Sorry it took so long, Axel.

Changed 8 years ago by Alvaro

Possessions increase to fill the space available for their storage.

-- Ryan

compra on line fioricet uk farmaco cialis purchase tramadol

Changed 8 years ago by Alvaro

I don't think I'm gonna agree with that. Way too much visual confusion...

-- Larry Wall in <199709021627.JAA11966@…>

acquista viagra online fioricet information dove accettano viagra con postepay tramadol pharmacy

Note: See TracTickets for help on using tickets.