-
Notifications
You must be signed in to change notification settings - Fork 0
/
newsgtk.ui
127 lines (127 loc) · 6.21 KB
/
newsgtk.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 0.10.3 -->
<interface>
<!-- interface-name newsgtk.ui -->
<requires lib="gtk" version="4.6"/>
<object class="GtkApplicationWindow" id="mainWin">
<property name="decorated">False</property>
<property name="default-height">340</property>
<property name="default-width">480</property>
<property name="title">My News</property>
<property name="titlebar">mainHeader</property>
<property name="vexpand">True</property>
<child>
<object class="GtkBox" id="mainCont">
<property name="orientation">vertical</property>
<child>
<object class="GtkHeaderBar" id="mainHeader">
<property name="css-classes">headerBar</property>
<child type="title">
<object class="GtkStackSwitcher" id="newStackSwitcher">
<property name="halign">center</property>
<property name="hexpand">True</property>
<property name="stack">mainStack</property>
<property name="vexpand">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="stackCont">
<property name="orientation">vertical</property>
<property name="vexpand">True</property>
<child>
<object class="GtkStack" id="mainStack">
<property name="transition-type">slide-left-right</property>
<property name="vexpand">True</property>
<child>
<object class="GtkStackPage" id="pageOne">
<property name="child">
<object class="GtkBox" id="pageOneCont">
<property name="css-classes">stackPageOne</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="searchTitle">
<property name="css-classes">searchTitletext</property>
<property name="hexpand">True</property>
<property name="justify">center</property>
<property name="natural-wrap-mode">word</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow" id="searchScroll">
<child>
<object class="GtkBox" id="scrolledCont">
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<property name="vexpand">True</property>
<child>
<object class="GtkSearchEntry" id="searchEntry">
<property name="hexpand">True</property>
<property name="placeholder-text">Search for a topic.....</property>
</object>
</child>
<child>
<object class="GtkListBox" id="searchResult">
<property name="can-focus">False</property>
<property name="focus-on-click">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
<property name="icon-name">system-search-symbolic</property>
<property name="name">Search</property>
<property name="title">Search</property>
<property name="use-underline">True</property>
</object>
</child>
<child>
<object class="GtkStackPage" id="pageTwo">
<property name="child">
<object class="GtkBox" id="headlinesContMain">
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="homeScroll">
<child>
<object class="GtkBox" id="homeScrollCont">
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="headlinesCont">
<property name="can-focus">False</property>
<property name="focus-on-click">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
<property name="icon-name">user-home-symbolic</property>
<property name="name">Home</property>
<property name="title">Home</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<object class="GtkTextBuffer" id="someFiller">
<property name="enable-undo">False</property>
<property name="text">something to just fill this space up</property>
</object>
</interface>