On Monday, 30 June 2014 at 18:42:17 UTC, Mike Wey wrote:
On 06/30/2014 01:32 PM, Chris wrote:
Dunno if it's the ResponseType vs GtkResponseType
ResponseType is an alias for GtkReponseType, so that isn't the
problem.
getParentWindow() returns an gdk.Window.Window while the
Hello, I have a compile error when trying to use GtkD 2.3.3. When
I try to create a FileChooseDialog, I call
new FileChooserDialog(Save File,
editor.drawingArea.getParent().getParentWindow(),
FileChooserAction.SAVE,
[OK,
As the subject says, I would like to pass around an array of
functions. The trick is, that the functions have different type
signatures. Is there a way to put the two functions
int foo(int a, int b);
bool bar(bool a, bool b);
into one array, that I can pass around and cast as necessary?
Hello,
I'm looking to use the Tuple type as a way of generating types to
represent data in a send recieve connection pair. I created a
template to try this:
template s_to_c(UDP packetType) {
static if (packetType == UDP.ping) {
alias Tuple!() s_to_c;
} else static if
On Saturday, 7 June 2014 at 03:14:52 UTC, Chris Nicholson-Sauls
wrote:
Is there any reason you couldn't (or would rather not) use
structs rather than tuples?
That would work. What would be the best way to auto-generate the
types? I have somewhere around 30 already, and the number will
grow