Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Begin work migrating TestWindow demo #320

Open
wants to merge 3 commits into
base: gtk4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
.hgignore
.svn
.dub
.vscode/
434 changes: 226 additions & 208 deletions demos/gtkD/TestWindow/TTextView.d

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions demos/gtkD/TestWindow/TestAspectFrame.d
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module TestAspectFrame;

private import gtk.AspectFrame;

private import TestDrawingArea;
private import TestDrawingArea : TestDrawingArea;

/**
* This tests the DUI aspect frame
Expand All @@ -30,7 +30,7 @@ class TestAspectFrame : AspectFrame
this()
{
// string label, gfloat xalign, gfloat yalign, gfloat ratio, bit obeyChild)
super("Aspect 3x1", .5, .5, 3.0, false);
add(new TestDrawingArea());
super(.5, .5, 3.0, false);
setChild(new TestDrawingArea());
}
}
Loading