On Friday, 4 August 2017 at 23:14:38 UTC, Adam D. Ruppe wrote:
On Friday, 4 August 2017 at 21:53:14 UTC, Johnson Jones wrote:
When I click on gtk on the link you gave it gives basically an
empty page(a single module).
Yeah, there is no overview page in the source code... but I can
make it cre
On Friday, 4 August 2017 at 21:54:26 UTC, Johnson Jones wrote:
On Friday, 4 August 2017 at 15:24:51 UTC, Gerald wrote:
On Friday, 4 August 2017 at 15:08:27 UTC, Mike Wey wrote:
[...]
Mike I had contributed the makeddox.sh script awhile ago, it
generates much nicer documentation then candydoc
On Friday, 4 August 2017 at 21:53:14 UTC, Johnson Jones wrote:
When I click on gtk on the link you gave it gives basically an
empty page(a single module).
Yeah, there is no overview page in the source code... but I can
make it create one automatically.
http://dpldocs.info/experimental-docs
On Friday, 4 August 2017 at 15:24:51 UTC, Gerald wrote:
On Friday, 4 August 2017 at 15:08:27 UTC, Mike Wey wrote:
Improving the documentation is something i want to do but
there are always some more important things to do. Like the
Questions/Issues you posted earlier.
So unless somebody volun
On Friday, 4 August 2017 at 13:59:11 UTC, Adam D. Ruppe wrote:
On Friday, 4 August 2017 at 02:08:31 UTC, Johnson Jones wrote:
https://api.gtkd.org/gtkd/gtk/ApplicationWindow.html
So I ran gtkd through my doc generator too
http://dpldocs.info/experimental-docs/gtk.ApplicationWindow.Application
On 8/4/17 4:16 PM, Jeremy DeHaan wrote:
I'm trying to do some binding code, and I know that C++ bool isn't
defined to be a specific size like D's bool. That said, can I assume
that the two are the same size on the most platforms?
I shudder to think that D may work with a platform that doesn't
I'm trying to do some binding code, and I know that C++ bool
isn't defined to be a specific size like D's bool. That said, can
I assume that the two are the same size on the most platforms?
The only platforms I'm really interested in are Windows, Linux,
OSX, iOS, FreeBSD, Android. The only thi
On Friday, 4 August 2017 at 02:38:10 UTC, Andrew Edwards wrote:
OK, I was is indeed the problem. I was thinking for some reason
that s gets initialized inside nk_color_hex_rgb()
Usually C functions don't allocate memory. And when they do, they
do it in unique ways, which is a PITA, that's why
On Friday, 4 August 2017 at 13:09:55 UTC, Steven Schveighoffer
wrote:
Any foreach range statement like this:
foreach(var; A .. B)
is treated as if you wrote:
for(auto var = A; var < B; ++var)
So it's pretty much exactly like what you wrote, just the
initializer is different but the result
On Friday, 4 August 2017 at 15:08:27 UTC, Mike Wey wrote:
Improving the documentation is something i want to do but there
are always some more important things to do. Like the
Questions/Issues you posted earlier.
So unless somebody volunteers it won't happen anytime soon.
Mike I had contribu
On 04-08-17 03:51, Johnson Jones wrote:
https://api.gtkd.org
It is difficult to navigate.
1. clicking the documentation on the main site takes it to the
gtk.AboutDialog api. That is all it shows, I was confused at first, as
I'm sure most people would be.
2. The packages list lists all the p
On Thursday, 3 August 2017 at 12:49:48 UTC, data pulverizer wrote:
Hmm ... it looks as the specialization `:` operator is working
like the constraint `:` operator and doing convertible at least
for the floating point case. Is that right?
They're both doing the same thing as far as I know.
On Friday, 4 August 2017 at 02:08:31 UTC, Johnson Jones wrote:
https://api.gtkd.org/gtkd/gtk/ApplicationWindow.html
So I ran gtkd through my doc generator too
http://dpldocs.info/experimental-docs/gtk.ApplicationWindow.ApplicationWindow.html
and I didn't make a top-level package file either..
On 8/4/17 8:49 AM, Q. Schroll wrote:
One can do
BigInt n = returnsBigInt();
foreach (i; BigInt(0) .. n)
{ .. }
How is this implemented? The code for BigInt is very large and I didn't
find it.
And is it more efficient than
for (BigInt i = 0; i < n; ++i)
{ .. }
Any foreach range
On Friday, 4 August 2017 at 12:49:30 UTC, Q. Schroll wrote:
One can do
BigInt n = returnsBigInt();
foreach (i; BigInt(0) .. n)
{ .. }
How is this implemented? The code for BigInt is very large and
I didn't find it.
And is it more efficient than
for (BigInt i = 0; i < n; ++i)
{ .. }
as
One can do
BigInt n = returnsBigInt();
foreach (i; BigInt(0) .. n)
{ .. }
How is this implemented? The code for BigInt is very large and I
didn't find it.
And is it more efficient than
for (BigInt i = 0; i < n; ++i)
{ .. }
as incrementing is a costly operation?
On Friday, 4 August 2017 at 09:58:34 UTC, Mike Parker wrote:
Your first error is actually this line:
callToMyFunction(ref this);
You can't use ref in a function call, only in function
declarations. But once that's fixed, you've got other errors in
the code you've posted -- you've declared ma
On Friday, 4 August 2017 at 09:58:34 UTC, Mike Parker wrote:
Also, class references are *already* references, so you don't
need to declare the function parameters as ref. Finally,
although this is not an error, @property has no effect on
member variables. It only applies to member functions. A
On Friday, 4 August 2017 at 09:38:59 UTC, Pippo wrote:
I'm trying to do something like this:
module mylib.classA;
class A
{
@property string myproperty;
void function(ref A a) callToMyFunction;
void myfunction()
{
callToMyFunction(ref this);
}
}
module
I'm trying to do something like this:
module mylib.classA;
class A
{
@property string myproperty;
void function(ref A a) callToMyFunction;
void myfunction()
{
callToMyFunction(ref this);
}
}
module myapp;
import mylib.classA;
int main()
{
A a = new A
On Friday, 4 August 2017 at 06:58:00 UTC, Antonio Corbi wrote:
On Thursday, 3 August 2017 at 21:06:36 UTC, Johnson Jones wrote:
[...]
Hi!
I load images using Gtk like this (I use gtk under gnu/linux):
[...]
Thanks! I'm sure it will if it works ;)
On Thursday, 3 August 2017 at 21:06:36 UTC, Johnson Jones wrote:
On Thursday, 3 August 2017 at 13:12:03 UTC, Mengu wrote:
On Thursday, 3 August 2017 at 03:59:40 UTC, Johnson Jones
wrote:
How can be use gtkD to load images, I assume through
gdkpixbuf? While I am getting errors loading images thr
22 matches
Mail list logo