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

Search found 69 matches
Forum Index
Author Message
  Topic: DerelictGLFW3
JNewt

Replies: 10
Views: 32901

PostForum: Derelict   Posted: Thu May 03, 2012 4:37 pm   Subject: DerelictGLFW3
Yeah, I noticed that the TeX files didn't quite line up with the headers; glfwOpenWindow stands out as a prime example.
  Topic: DerelictGLFW3
JNewt

Replies: 10
Views: 32901

PostForum: Derelict   Posted: Tue Mar 13, 2012 2:25 pm   Subject: DerelictGLFW3
Is there an API reference for GLFW3? The best I've been able to find is the header file, which isn't particularly helpful as to the meanings of the various parameters.
  Topic: DerelictGLFW3
JNewt

Replies: 10
Views: 32901

PostForum: Derelict   Posted: Sat Mar 10, 2012 3:21 pm   Subject: DerelictGLFW3
EDIT: Whoops, I needed a:glfwWaitEvents();

Input doesn't seem to working on Linux. Here's my code:
bool running = true;
while (running)
{
glClear(GL_COLOR_BUFFER_BI ...
  Topic: DerelictGLFW3
JNewt

Replies: 10
Views: 32901

PostForum: Derelict   Posted: Sat Mar 10, 2012 3:09 pm   Subject: A little guide for building on Linux
OK, after a bit of work, I've got things running on Linux. Here's a little guide to point out some of the pitfalls.

1) Get Derelict3 from github. cd into Derelict3/build and run
rdmd derelict.d
...
  Topic: Copying & the Clipboard
JNewt

Replies: 1
Views: 6309

PostForum: gtkD   Posted: Thu May 19, 2011 11:51 am   Subject: Copying & the Clipboard
I'm having trouble figuring out how to make data available for copying. The Clipboard class provides a nice abstraction, but accessing it requires using the static "get" method, which in tur ...
  Topic: Objects and TreeModel
JNewt

Replies: 12
Views: 20054

PostForum: gtkD   Posted: Wed May 04, 2011 3:23 pm   Subject: Objects and TreeModel
Yes, this does fix the problem for me.
  Topic: Objects and TreeModel
JNewt

Replies: 12
Views: 20054

PostForum: gtkD   Posted: Wed May 04, 2011 12:09 pm   Subject: Objects and TreeModel
I've been trying to get TreeModelFilter to work with custom tree models with limited success. My filtered view accurately reflects the state of the model when the filter was instantiated with it (incl ...
  Topic: Breaking changes Custom TreeModels.
JNewt

Replies: 3
Views: 8316

PostForum: gtkD   Posted: Mon Apr 25, 2011 11:18 am   Subject: Breaking changes Custom TreeModels.
Note to people affected by this change: simply remove all the
iter.stamp = stamp
lines from your code to get things working again.
  Topic: Objects and TreeModel
JNewt

Replies: 12
Views: 20054

PostForum: gtkD   Posted: Thu Apr 21, 2011 5:10 pm   Subject: Objects and TreeModel
Bizarrely, I can't reproduce it anymore either. Ah well, while you're messing with the CustomList demo, can you try using the setVisibleFunc? Here's what I'm doing:
...
auto filtered = new TreeModel ...
  Topic: Objects and TreeModel
JNewt

Replies: 12
Views: 20054

PostForum: gtkD   Posted: Thu Apr 21, 2011 12:36 pm   Subject: Objects and TreeModel
If I can pick this thread back up, I've run into a new problem. I've gotten my custom model working nicely and now I'd like to make it filterable. Unfortunately, TreeModelFilter doesn't seem to like m ...
  Topic: Regenerate bindings with gsize and gssize fixed?
JNewt

Replies: 3
Views: 8804

PostForum: gtkD   Posted: Tue Apr 19, 2011 4:05 pm   Subject: Regenerate bindings with gsize and gssize fixed?
Thanks, I've updated and it almost builds. Here's a patch to get it the rest of the way (don't see anyway to attach files here):
Index: src/gdk/Pixbuf.d
========================================= ...
  Topic: Objects and TreeModel
JNewt

Replies: 12
Views: 20054

PostForum: gtkD   Posted: Tue Apr 19, 2011 3:00 pm   Subject: Objects and TreeModel
Thanks Mike. I've actually decided to go with a custom TreeModel, following the great example in the demos.
  Topic: Regenerate bindings with gsize and gssize fixed?
JNewt

Replies: 3
Views: 8804

PostForum: gtkD   Posted: Tue Apr 19, 2011 2:56 pm   Subject: Regenerate bindings with gsize and gssize fixed?
While attempting to diagnose a bug (ticket: http://dsource.org/projects/gtkd/ticket/101), I discovered that glibtypes.d defines gsize and gssize as uint and int respectively. While this works on 32bit ...
  Topic: Exceptions are not handled from callbacks
JNewt

Replies: 1
Views: 6256

PostForum: gtkD   Posted: Wed Apr 13, 2011 3:05 pm   Subject: Exceptions are not handled from callbacks
Using the latest gtkD revision (824), I've built a slightly modified version of the "Exit Button" example:

import gtk.MainWindow;
import gtk.Button;
import gtk.Main;

import std.stdio ...
  Topic: Objects and TreeModel
JNewt

Replies: 12
Views: 20054

PostForum: gtkD   Posted: Fri Apr 08, 2011 2:40 pm   Subject: Objects and TreeModel
While reading this lstSongs = new TreeStore([GType.OBJECT]);
Is this correct when using a list of D objects?

2) Populating the store. In the example, they use an AppendValue method ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group