File tree Expand file tree Collapse file tree 2 files changed +50
-4
lines changed Expand file tree Collapse file tree 2 files changed +50
-4
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,57 @@ template $ShutterWindow: ApplicationWindow {
44 default-width: 600;
55 default-height: 300;
66
7- child: Label label {
7+ child: Box {
8+ orientation: vertical;
9+
10+ Box {
11+ Label {
12+ label: "Hello";
13+ }
14+
15+ styles [
16+ "toolbar",
17+ ]
18+ }
19+
20+ Notebook {
21+ vexpand: true;
22+
23+ Label {
24+ label: "Hello";
25+ }
26+ [tab]
27+ Label {
28+ label: "tab";
29+ }
30+
31+ Box{
32+ orientation: vertical;
33+ Label {
34+ label: "World";
35+ }
36+ Label {
37+ label: "Second line";
38+ }
39+ }
40+ [tab]
41+ Label {
42+ label: "tab2";
43+ }
44+ }
45+
46+ Box {
47+ Label {
48+ label: "Status bar?";
49+ }
50+ }
51+ }
52+
53+ /* child: Label label {
854 label: "Hello, World!";
955
1056 styles [
1157 "title-1",
1258 ]
13- };
59+ }*/ ;
1460}
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ mod imp {
3131 // Template widgets
3232 //#[template_child]
3333 //pub header_bar: TemplateChild<gtk::HeaderBar>,
34- #[ template_child]
35- pub label : TemplateChild < gtk:: Label > ,
34+ // #[template_child]
35+ // pub label: TemplateChild<gtk::Label>,
3636 }
3737
3838 #[ glib:: object_subclass]
You can’t perform that action at this time.
0 commit comments