View previous topic :: View next topic |
Author |
Message |
dsimcha
Joined: 24 Oct 2008 Posts: 16
|
Posted: Fri Jul 16, 2010 7:42 am Post subject: Drawable Constructor |
|
|
I've noticed that there is no way to create a gdk.Drawable without using the low-level C pointer-to-struct C API that gtkD was created to wrap. The only constructor takes a GdkDrawable*. Is this intentional, or is it an oversight? I want to port a plotting library I wrote for DFL to gtkD, which would mean using Drawable heavily. Could someone please explain the rationale for not giving Drawable a pure D c'tor? |
|
Back to top |
|
|
dsimcha
Joined: 24 Oct 2008 Posts: 16
|
Posted: Fri Jul 16, 2010 10:34 pm Post subject: |
|
|
Never mind, I've RTFM and figured this out, though the docs are a bit obtuse and could use some examples. |
|
Back to top |
|
|
|