FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Drawable Constructor

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
dsimcha



Joined: 24 Oct 2008
Posts: 16

PostPosted: Fri Jul 16, 2010 7:42 am    Post subject: Drawable Constructor Reply with quote

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
View user's profile Send private message
dsimcha



Joined: 24 Oct 2008
Posts: 16

PostPosted: Fri Jul 16, 2010 10:34 pm    Post subject: Reply with quote

Never mind, I've RTFM and figured this out, though the docs are a bit obtuse and could use some examples.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group