0
1
00:00:04,370 --> 00:00:05,600
<v Volkan>Hello again, in previous lecture,</v>
1

2
00:00:05,600 --> 00:00:06,850
we created our database.
2

3
00:00:06,850 --> 00:00:09,340
Now it's time to create a function
3

4
00:00:09,340 --> 00:00:13,630
for actually, a Python file for this Add Book button right.
4

5
00:00:13,630 --> 00:00:14,463
To do that what I need to do?
5

6
00:00:14,463 --> 00:00:17,590
I will go back to my main.py,
6

7
00:00:17,590 --> 00:00:20,190
and I need to find my button.
7

8
00:00:20,190 --> 00:00:22,190
My button is here, Add Book.
8

9
00:00:22,190 --> 00:00:26,933
So here I will say, command is equal to addBook.
9

10
00:00:28,270 --> 00:00:30,482
Okay, this is my Python file, sorry.
10

11
00:00:30,482 --> 00:00:32,700
Firstly, I need to create my function,
11

12
00:00:32,700 --> 00:00:34,560
self.addBook.
12

13
00:00:34,560 --> 00:00:36,501
Okay, this is my definition name.
13

14
00:00:36,501 --> 00:00:38,113
And after that, what I need to do?
14

15
00:00:38,113 --> 00:00:41,570
I need to go to create my Python file.
15

16
00:00:41,570 --> 00:00:45,200
And let's, before that, let's create our definition here.
16

17
00:00:45,200 --> 00:00:46,410
So what I will say here.
17

18
00:00:46,410 --> 00:00:50,120
I will say def addBook, okay.
18

19
00:00:50,120 --> 00:00:53,530
And here, for now, I will simply say pass okay.
19

20
00:00:53,530 --> 00:00:54,523
And after that, what I need to do?
20

21
00:00:54,523 --> 00:00:57,330
I need to create my addBook Python file.
21

22
00:00:57,330 --> 00:01:00,807
Here, I will say addBook, okay.
22

23
00:01:00,807 --> 00:01:01,975
Now, it's ready.
23

24
00:01:01,975 --> 00:01:03,490
And what I need to do?
24

25
00:01:03,490 --> 00:01:05,390
I need to import this Python file, right.
25

26
00:01:05,390 --> 00:01:08,433
Here, I will say import addbook, okay.
26

27
00:01:09,430 --> 00:01:13,440
And let's go back to our definition, it's here.
27

28
00:01:13,440 --> 00:01:15,160
So what I need to do?
28

29
00:01:15,160 --> 00:01:17,670
I need to create an instance, right.
29

30
00:01:17,670 --> 00:01:21,640
And so I will say here, addBook,
30

31
00:01:21,640 --> 00:01:26,640
let's say or something addBook or add
31

32
00:01:29,050 --> 00:01:32,650
equals addbook, my Python file right,
32

33
00:01:32,650 --> 00:01:37,650
dot, this is my class name, AddBook, okay.
33

34
00:01:37,840 --> 00:01:39,730
But I didn't create this class yet.
34

35
00:01:39,730 --> 00:01:40,725
So what I need to do?
35

36
00:01:40,725 --> 00:01:44,440
I need to go back to my addbook file right here.
36

37
00:01:44,440 --> 00:01:47,010
And I will say from tkinter import *.
37

38
00:01:51,920 --> 00:01:54,300
And after that here, what I need to do?
38

39
00:01:54,300 --> 00:01:59,300
Let's also call from tkinter import messagebox.
39

40
00:01:59,900 --> 00:02:01,282
Okay, we will use messagebox.
40

41
00:02:01,282 --> 00:02:02,896
And also what I need to do?
41

42
00:02:02,896 --> 00:02:07,107
I need to import sqlite3, to import sqlite3, okay.
42

43
00:02:07,107 --> 00:02:10,170
Here, I will create my class.
43

44
00:02:10,170 --> 00:02:15,010
My class name was AddBook, okay.
44

45
00:02:15,010 --> 00:02:16,160
So what I need to do?
45

46
00:02:16,160 --> 00:02:19,023
I need to inherit my class from Toplevel, right.
46

47
00:02:19,860 --> 00:02:22,913
And after that here, I will say def __init__,
47

48
00:02:26,641 --> 00:02:28,464
and parameter will be self.
48

49
00:02:28,464 --> 00:02:30,037
And after that here, what I need to do?
49

50
00:02:30,037 --> 00:02:32,704
I need to say Toplevel.__init__.
50

51
00:02:34,758 --> 00:02:38,352
And here, I need to pass in self parameter again, okay.
51

52
00:02:38,352 --> 00:02:42,403
And let's create, let's define our geometry and title.
52

53
00:02:42,403 --> 00:02:44,653
Self.geometry is 650 by 750
53

54
00:02:50,648 --> 00:02:52,648
plus 550 plus 200, okay.
54

55
00:02:55,145 --> 00:02:58,478
And also let's create title, self.title.
55

56
00:03:00,803 --> 00:03:03,386
I will say here add book, okay.
56

57
00:03:04,505 --> 00:03:07,820
And after that, let's say self.resizable.
57

58
00:03:07,820 --> 00:03:11,720
For both directory, it will be False.
58

59
00:03:11,720 --> 00:03:15,120
False x, False for y, okay.
59

60
00:03:15,120 --> 00:03:18,410
Now, our Python, actually our window is ready.
60

61
00:03:18,410 --> 00:03:21,110
So if I click, go back to my,
61

62
00:03:21,110 --> 00:03:25,020
now it's, it says now, we don't see any error here.
62

63
00:03:25,020 --> 00:03:26,763
So if I run my application,
63

64
00:03:29,120 --> 00:03:31,090
Add Book as you see now, our title,
64

65
00:03:31,090 --> 00:03:32,730
oh sorry, our window is here,
65

66
00:03:32,730 --> 00:03:34,567
and our title is Add Book.
66

67
00:03:34,567 --> 00:03:35,560
So what I need to do?
67

68
00:03:35,560 --> 00:03:39,483
I need to firstly, create my design for my page, right.
68

69
00:03:39,483 --> 00:03:42,210
Okay, so let's go to, go back to our file.
69

70
00:03:42,210 --> 00:03:43,143
And let's do that.
70

71
00:03:44,160 --> 00:03:46,630
Here, I will say firstly, frames.
71

72
00:03:46,630 --> 00:03:51,100
Okay, we will create two frames for this file.
72

73
00:03:51,100 --> 00:03:54,503
And after that here, it's actually something that
73

74
00:03:54,503 --> 00:03:56,220
will be better.
74

75
00:03:56,220 --> 00:04:01,089
Frames, and that one will be,
75

76
00:04:01,089 --> 00:04:04,300
and again that, and now, I will say
76

77
00:04:06,690 --> 00:04:07,743
top frame, okay.
77

78
00:04:09,310 --> 00:04:11,046
Top frame, and for top frame,
78

79
00:04:11,046 --> 00:04:16,046
I will say self.topFrame,
79

80
00:04:16,090 --> 00:04:21,090
self.topFrame is equal to Frame.
80

81
00:04:22,600 --> 00:04:24,080
And here, what I need to do,
81

82
00:04:24,080 --> 00:04:27,300
I need to use self parameter as, master right.
82

83
00:04:27,300 --> 00:04:29,970
Because our master is now self, okay.
83

84
00:04:29,970 --> 00:04:31,520
And after that, here I will say
84

85
00:04:31,520 --> 00:04:34,840
height is equal to 150,
85

86
00:04:34,840 --> 00:04:38,543
and bg is going to be white, okay.
86

87
00:04:39,730 --> 00:04:42,461
This is for my topFrame.
87

88
00:04:42,461 --> 00:04:43,858
And what I need to do?
88

89
00:04:43,858 --> 00:04:46,608
I need to say self.topFrame.pack.
89

90
00:04:49,680 --> 00:04:52,263
I will simply say fill X, okay.
90

91
00:04:53,846 --> 00:04:55,756
And after that, what I need to do?
91

92
00:04:55,756 --> 00:04:57,526
I need to create my bottom frame.
92

93
00:04:57,526 --> 00:05:00,943
So bottom frame, I will say bottom frame.
93

94
00:05:01,860 --> 00:05:06,860
For bottom frame, I will say self.bottomFrame
94

95
00:05:09,350 --> 00:05:12,880
is equal to Frame of course, constructor method.
95

96
00:05:12,880 --> 00:05:15,150
And again, self parameter
96

97
00:05:15,150 --> 00:05:19,270
and height is going to be 600,
97

98
00:05:19,270 --> 00:05:22,877
and bg is going to be fcc324, okay.
98

99
00:05:29,485 --> 00:05:30,767
And after that, what I need to do?
99

100
00:05:30,767 --> 00:05:35,390
I need to use here, Geometry Manager,
100

101
00:05:35,390 --> 00:05:39,027
and the bottomFrame.pack.
101

102
00:05:39,027 --> 00:05:43,003
For pack, what I will say, fill X, okay.
102

103
00:05:45,090 --> 00:05:47,250
Now, if I run my application,
103

104
00:05:47,250 --> 00:05:48,440
we will see our frames.
104

105
00:05:48,440 --> 00:05:51,290
We can see because we have bg background color, right,
105

106
00:05:51,290 --> 00:05:52,700
for our frames.
106

107
00:05:52,700 --> 00:05:55,166
So Add Book, as you see now, it's here.
107

108
00:05:55,166 --> 00:05:56,066
This is the topFrame
108

109
00:05:56,066 --> 00:05:57,600
and this is the bottomFrame.
109

110
00:05:57,600 --> 00:05:58,570
So what I need to do?
110

111
00:05:58,570 --> 00:06:00,880
Here, first I will create here heading.
111

112
00:06:00,880 --> 00:06:04,410
And image, and also title for Add Book.
112

113
00:06:04,410 --> 00:06:05,243
We know, and after that here,
113

114
00:06:05,243 --> 00:06:07,050
we will create some entries,
114

115
00:06:07,050 --> 00:06:09,636
and also one button, okay.
115

116
00:06:09,636 --> 00:06:12,719
And so to do that what we need to do
116

117
00:06:13,744 --> 00:06:15,648
here I will go back to my addBook.
117

118
00:06:15,648 --> 00:06:17,315
And here, I will say
118

119
00:06:19,244 --> 00:06:21,577
heading and image, and date.
119

120
00:06:25,958 --> 00:06:29,176
Also let's create date for our,
120

121
00:06:29,176 --> 00:06:32,542
actually, we don't, like if you remember,
121

122
00:06:32,542 --> 00:06:35,635
we created a date for our Address Book application
122

123
00:06:35,635 --> 00:06:37,828
but for this one, we don't need it actually.
123

124
00:06:37,828 --> 00:06:39,572
So what I will say here
124

125
00:06:39,572 --> 00:06:42,989
is self.top_image is equal to PhotoImage,
125

126
00:06:49,274 --> 00:06:52,726
library file location will be
126

127
00:06:52,726 --> 00:06:55,059
icons dot addbook.png, okay.
127

128
00:06:57,340 --> 00:06:59,777
It is here, by  the way icons,
128

129
00:06:59,777 --> 00:07:02,150
addBook.png that one,
129

130
00:07:02,150 --> 00:07:03,900
that file okay.
130

131
00:07:05,377 --> 00:07:07,460
And after that top image,
131

132
00:07:08,367 --> 00:07:09,585
what I need to do,
132

133
00:07:09,585 --> 00:07:12,643
I need to create a label for my image right.
133

134
00:07:12,643 --> 00:07:15,893
Image and I will say lbl, top_image_lbl
134

135
00:07:19,287 --> 00:07:20,822
is going to label.
135

136
00:07:20,822 --> 00:07:22,927
If I want to locate my image somewhere,
136

137
00:07:22,927 --> 00:07:25,076
so I need to use label right.
137

138
00:07:25,076 --> 00:07:28,493
And here I will use self.topFrame, right.
138

139
00:07:29,679 --> 00:07:32,195
Our master is topFrame for image.
139

140
00:07:32,195 --> 00:07:36,862
And image property is going to be self.top_image, right.
140

141
00:07:39,156 --> 00:07:42,739
And let's also use bg is going to be white.
141

142
00:07:46,277 --> 00:07:48,297
And after that, here what I need to do?
142

143
00:07:48,297 --> 00:07:51,687
I need to use Geometry Manager.
143

144
00:07:51,687 --> 00:07:53,604
So top_image_lbl right?
144

145
00:07:55,432 --> 00:07:57,099
Top_image_lbl.place.
145

146
00:08:00,651 --> 00:08:03,724
For place, I need to say x, 120,
146

147
00:08:03,724 --> 00:08:06,224
and y is going to be 10, okay.
147

148
00:08:08,163 --> 00:08:10,638
Let's also create our heading.
148

149
00:08:10,638 --> 00:08:13,305
So for heading, what I will say,
149

150
00:08:14,746 --> 00:08:17,579
self.heading is going to be Label.
150

151
00:08:21,166 --> 00:08:23,703
Let's don't use here self
151

152
00:08:23,703 --> 00:08:25,534
because this is static, right.
152

153
00:08:25,534 --> 00:08:26,586
Our label is static.
153

154
00:08:26,586 --> 00:08:28,929
So we don't need to say self,
154

155
00:08:28,929 --> 00:08:31,147
and we don't need to use self parameter
155

156
00:08:31,147 --> 00:08:35,814
And here, what I will say is Label, self.topFrame again,
156

157
00:08:37,205 --> 00:08:40,743
and to do that here, what I will say
157

158
00:08:40,743 --> 00:08:43,243
text is going to be add books.
158

159
00:08:45,116 --> 00:08:49,124
So I want to use some gabs here add book, okay.
159

160
00:08:49,124 --> 00:08:52,123
And also, I need to use font property.
160

161
00:08:52,123 --> 00:08:55,937
Font is going to be Arial, 22 and bold, okay.
161

162
00:08:59,330 --> 00:09:02,470
And also font-ground and also background,
162

163
00:09:02,470 --> 00:09:07,470
fg is going to be 003f8a, okay.
163

164
00:09:13,050 --> 00:09:18,050
For bg, I will say simply white, okay.
164

165
00:09:18,190 --> 00:09:19,947
And the last thing, what I need to do,
165

166
00:09:19,947 --> 00:09:22,578
I need to use pack Geometry Manager or place,
166

167
00:09:22,578 --> 00:09:23,552
doesn't matter.
167

168
00:09:23,552 --> 00:09:24,759
So we are going to use place
168

169
00:09:24,759 --> 00:09:26,187
because we already used place here.
169

170
00:09:26,187 --> 00:09:28,520
So all right, and I will say
170

171
00:09:29,480 --> 00:09:34,480
heading.place, I will say x, 290, y is 60.
171

172
00:09:39,310 --> 00:09:41,140
Now, if I run my application,
172

173
00:09:41,140 --> 00:09:45,000
We can see all our widgets for topFrame.
173

174
00:09:45,000 --> 00:09:46,780
Add Book, as you see now, it's here
174

175
00:09:46,780 --> 00:09:50,093
but we don't see our heading, its title right.
175

176
00:09:51,000 --> 00:09:53,396
So let me check what's wrong here.
176

177
00:09:53,396 --> 00:09:55,296
PhotoImage object has no attribute _w.
177

178
00:09:59,140 --> 00:10:02,090
So where is it this problem?
178

179
00:10:02,090 --> 00:10:02,983
If master
179

180
00:10:06,660 --> 00:10:07,493
35.
180

181
00:10:09,488 --> 00:10:12,571
Let's go back to here and here, text.
181

182
00:10:15,531 --> 00:10:16,448
Image self.
182

183
00:10:18,790 --> 00:10:23,431
Sorry here, okay, top, top_image,
183

184
00:10:23,431 --> 00:10:26,630
self.topFrame, right.
184

185
00:10:26,630 --> 00:10:28,903
And self.topFrame.
185

186
00:10:32,920 --> 00:10:34,950
Okay, and the text is that one.
186

187
00:10:34,950 --> 00:10:39,053
And Arial is fine, I think now, so.
187

188
00:10:42,740 --> 00:10:45,328
Add Book, as you see now, it's fine here.
188

189
00:10:45,328 --> 00:10:46,760
So what I need to do now?
189

190
00:10:46,760 --> 00:10:50,560
I need to create here entries and also one button.
190

191
00:10:50,560 --> 00:10:52,530
Of course, we also need to create labels
191

192
00:10:52,530 --> 00:10:55,720
for some name and entry box.
192

193
00:10:55,720 --> 00:10:58,360
And after the book name, entry box,
193

194
00:10:58,360 --> 00:11:01,810
and after that, author an entry box .
194

195
00:11:01,810 --> 00:11:06,020
And also, we need to create for language, right.
195

196
00:11:06,020 --> 00:11:11,010
Something common I think we have for five different entries.
196

197
00:11:11,010 --> 00:11:13,040
So to that, what I need to do?
197

198
00:11:13,040 --> 00:11:15,000
I need to come back here,
198

199
00:11:15,000 --> 00:11:20,000
and say here, let's see for this is for frames right.
199

200
00:11:21,850 --> 00:11:25,653
Top frame, and here, I will use another separator.
200

201
00:11:26,690 --> 00:11:31,690
And let's say here, entries and labels, okay.
201

202
00:11:34,870 --> 00:11:37,493
And for entries, what I need to do?
202

203
00:11:38,570 --> 00:11:41,700
Here, first one is will be name of my book.
203

204
00:11:41,700 --> 00:11:43,840
So self.lbl_name is equal to here.
204

205
00:11:48,130 --> 00:11:52,260
Actually we don't use self for labels
205

206
00:11:52,260 --> 00:11:55,370
but we need to use self for our entries
206

207
00:11:55,370 --> 00:11:57,650
because we are going to use these entries
207

208
00:11:57,650 --> 00:11:59,300
in another function okay.
208

209
00:11:59,300 --> 00:12:03,290
That's why but I will use self parameter for all of them
209

210
00:12:03,290 --> 00:12:07,577
And here, I will say Label, self.bottomFrame of course.
210

211
00:12:08,840 --> 00:12:13,840
The master text is going to be a name right
211

212
00:12:14,654 --> 00:12:16,370
for our book name.
212

213
00:12:16,370 --> 00:12:18,320
And here, something like that.
213

214
00:12:18,320 --> 00:12:20,320
And let's use font property.
214

215
00:12:20,320 --> 00:12:22,887
Font is Arial, 15 and bold, okay.
215

216
00:12:28,650 --> 00:12:30,159
Also what we can you use?
216

217
00:12:30,159 --> 00:12:32,175
Actually, you need to use also font-ground,
217

218
00:12:32,175 --> 00:12:35,686
and also background for our labels.
218

219
00:12:35,686 --> 00:12:40,519
And here I will say, fg is going to be font-ground, white.
219

220
00:12:42,881 --> 00:12:45,670
Background color for my text,
220

221
00:12:45,670 --> 00:12:48,527
bg is going to be fcc324, okay.
221

222
00:12:52,610 --> 00:12:54,800
And this is my text.
222

223
00:12:54,800 --> 00:12:56,180
And after that, what I need use?
223

224
00:12:56,180 --> 00:12:58,847
I need to use here self.lbl_name.place,
224

225
00:13:03,950 --> 00:13:08,950
x, 40, y, 40, okay.
225

226
00:13:09,590 --> 00:13:11,590
And after that now, what I need to do?
226

227
00:13:11,590 --> 00:13:15,550
I need to create my entry.
227

228
00:13:15,550 --> 00:13:18,573
So for entry, I will say self.ent_name, okay,
228

229
00:13:21,950 --> 00:13:24,160
name Entry, Entry.
229

230
00:13:24,160 --> 00:13:26,010
Constructor method, self.bottomFrame,
230

231
00:13:29,310 --> 00:13:30,893
width, width is 30.
231

232
00:13:35,910 --> 00:13:39,828
And also I want to use border here, border is four, okay.
232

233
00:13:39,828 --> 00:13:42,770
And let's use also placeholder text.
233

234
00:13:42,770 --> 00:13:47,770
So I will say self.ent_name.insert zero.
234

235
00:13:49,950 --> 00:13:53,590
And here I will say, please enter a book name.
235

236
00:13:57,559 --> 00:14:01,283
And last thing, I need to create place Geometry Manager
236

237
00:14:01,283 --> 00:14:04,116
for my widget, self.ent_name.place
237

238
00:14:07,782 --> 00:14:11,865
is going to be x, 150, y is going to be 45, okay.
238

239
00:14:13,865 --> 00:14:14,782
45 is fine.
239

240
00:14:15,910 --> 00:14:17,089
So what I need to do?
240

241
00:14:17,089 --> 00:14:19,579
I will copy this guy,
241

242
00:14:19,579 --> 00:14:23,478
and for author, I will paste it here.
242

243
00:14:23,478 --> 00:14:26,311
And I will say here, author, okay.
243

244
00:14:27,720 --> 00:14:30,349
Lbl_name, and here, what I need to do?
244

245
00:14:30,349 --> 00:14:34,099
I need to copy this author and paste it here.
245

246
00:14:38,945 --> 00:14:41,362
Ent_author, ent_author again.
246

247
00:14:42,641 --> 00:14:44,308
And here ent_author.
247

248
00:14:46,099 --> 00:14:50,288
So with this guy will be author, the text.
248

249
00:14:50,288 --> 00:14:54,121
And same but that one is going to be 80, okay.
249

250
00:14:56,874 --> 00:14:58,124
That one is 85.
250

251
00:14:59,086 --> 00:15:01,107
Each time, I will increase 40, okay.
251

252
00:15:01,107 --> 00:15:05,024
40, 80, 45, 85, and please enter a author name.
252

253
00:15:08,880 --> 00:15:12,490
And fine, let me check, run our application.
253

254
00:15:12,490 --> 00:15:15,830
I don't want to have any problem.
254

255
00:15:15,830 --> 00:15:18,270
And here, Add Book, as you see now,
255

256
00:15:18,270 --> 00:15:19,670
name, author is here.
256

257
00:15:19,670 --> 00:15:23,140
And also we have here placeholder text, good.
257

258
00:15:23,140 --> 00:15:25,560
So what we need to do?
258

259
00:15:25,560 --> 00:15:30,560
We need to do that for also page number right.
259

260
00:15:30,690 --> 00:15:32,640
How many page size or anyway?
260

261
00:15:32,640 --> 00:15:36,320
So here I will come to copy this guy
261

262
00:15:36,320 --> 00:15:37,540
and paste it here.
262

263
00:15:38,790 --> 00:15:43,350
And here, simply I will say page, okay.
263

264
00:15:43,350 --> 00:15:47,507
And copy this page, and instead of author, page,
264

265
00:15:50,680 --> 00:15:55,283
page, page, and here again.
265

266
00:16:01,300 --> 00:16:05,143
So please enter page size.
266

267
00:16:07,360 --> 00:16:09,913
And that guy will be page.
267

268
00:16:12,560 --> 00:16:14,877
And this one is 120.
268

269
00:16:17,960 --> 00:16:19,127
And 125, okay.
269

270
00:16:22,002 --> 00:16:25,752
And lbl_page, so this one will be page, okay.
270

271
00:16:27,021 --> 00:16:31,938
So next one is going to be of our language, okay, for book.
271

272
00:16:33,466 --> 00:16:35,663
So here, paste it here.
272

273
00:16:35,663 --> 00:16:37,413
And here, I will say,
273

274
00:16:39,103 --> 00:16:41,020
wait and copy this guy.
274

275
00:16:42,975 --> 00:16:44,142
Paste it here.
275

276
00:16:46,100 --> 00:16:46,933
And here.
276

277
00:16:50,533 --> 00:16:52,283
And for this one too.
277

278
00:16:54,511 --> 00:16:56,928
So here, I will say language.
278

279
00:16:58,535 --> 00:17:01,618
So after that, bottomFrame, 160, 165.
279

280
00:17:04,971 --> 00:17:07,471
Please enter a language, okay.
280

281
00:17:10,130 --> 00:17:11,130
And on this.
281

282
00:17:16,840 --> 00:17:19,520
like that, and the last thing is our button.
282

283
00:17:19,520 --> 00:17:21,020
And after that, we are going to finish
283

284
00:17:21,020 --> 00:17:23,366
our design for this page.
284

285
00:17:23,366 --> 00:17:24,460
This name of,
285

286
00:17:24,460 --> 00:17:26,437
and button is button,
286

287
00:17:29,680 --> 00:17:31,793
Button constructor method, self.bottomFrame.
287

288
00:17:36,420 --> 00:17:38,837
Text is going to be add book.
288

289
00:17:42,570 --> 00:17:46,760
And the command is going to be
289

290
00:17:46,760 --> 00:17:48,363
self.addBook, okay.
290

291
00:17:52,530 --> 00:17:56,420
Let's say addBook, okay.
291

292
00:17:56,420 --> 00:17:59,710
And after that, I need to use a Geometry Manager, right.
292

293
00:17:59,710 --> 00:18:00,803
Button.place.
293

294
00:18:02,137 --> 00:18:07,137
For place, I will say x, 270, y, 200, okay.
294

295
00:18:11,320 --> 00:18:12,217
And last thing, what I need to do?
295

296
00:18:12,217 --> 00:18:14,470
I need to create this function,
296

297
00:18:14,470 --> 00:18:16,260
this definition for my button.
297

298
00:18:16,260 --> 00:18:19,440
And after that, we are going to finish our design.
298

299
00:18:19,440 --> 00:18:24,260
AddBook, and here I will say for now,
299

300
00:18:24,260 --> 00:18:26,080
simply pass, okay.
300

301
00:18:26,080 --> 00:18:29,280
So because we are not going to create this definition
301

302
00:18:29,280 --> 00:18:30,510
in this lesson.
302

303
00:18:30,510 --> 00:18:32,190
And here, Run.
303

304
00:18:34,031 --> 00:18:36,864
Add Book, as you see now, everything is here.
304

305
00:18:36,864 --> 00:18:39,965
So only problem here, we don't have
305

306
00:18:39,965 --> 00:18:41,845
and this entry.
306

307
00:18:41,845 --> 00:18:44,266
For the entry, what I will say here?
307

308
00:18:44,266 --> 00:18:46,349
I will go to the find my,
308

309
00:18:47,831 --> 00:18:49,920
and here, language, okay.
309

310
00:18:49,920 --> 00:18:50,828
So what's wrong here?
310

311
00:18:50,828 --> 00:18:51,911
Let me check.
311

312
00:18:53,277 --> 00:18:55,860
Because this must be 165, okay.
312

313
00:18:57,131 --> 00:18:58,727
So I think it's fine now.
313

314
00:18:58,727 --> 00:19:00,394
Let me run it again.
314

315
00:19:03,463 --> 00:19:06,987
Add Book, as you see now, it's also here, this entry.
315

316
00:19:06,987 --> 00:19:08,050
And for now, that's all.
316

317
00:19:08,050 --> 00:19:11,390
In next lesson, we are going to create our function
317

318
00:19:13,100 --> 00:19:14,310
for Add Book.
318

319
00:19:14,310 --> 00:19:18,426
And we are going, we will add our books to our database.
319

320
00:19:18,426 --> 00:19:19,391
For now, that's all.
320

321
00:19:19,391 --> 00:19:21,058
See you in the next.
