1
00:00:01,590 --> 00:00:07,020
OK, so we learned a lot of stuff very, very quickly, and now I think it's time to kind of step back

2
00:00:07,020 --> 00:00:11,760
and build something and play around and have a little bit of fun with this because, yeah, it's cool

3
00:00:11,760 --> 00:00:12,510
to learn this stuff.

4
00:00:12,510 --> 00:00:16,430
But the purpose of this is to build stuff, and that's where the real fun is.

5
00:00:16,440 --> 00:00:20,010
So I think we're going to do that for the rest of the course.

6
00:00:20,090 --> 00:00:25,980
So I thought we'd create a little flash card app and we'll create some math flash cards.

7
00:00:25,980 --> 00:00:29,340
We may create some geography, flash cards, whatever you want to do.

8
00:00:29,880 --> 00:00:31,800
We'll see how it goes as we go along.

9
00:00:31,980 --> 00:00:35,400
But we're just going to create this basic little app and we'll have a menu.

10
00:00:35,400 --> 00:00:39,860
And if we want to add, we can say one plus two equals three.

11
00:00:40,260 --> 00:00:44,040
And this will make this look nicer as it goes along.

12
00:00:44,040 --> 00:00:48,150
But this just sort of an idea to give you a sort of the direction we're heading.

13
00:00:48,150 --> 00:00:50,670
This what we believe will change this color will make it look good.

14
00:00:50,670 --> 00:00:55,970
But I'm still messing around with it as of the time of recording this video.

15
00:00:55,980 --> 00:00:56,880
So don't worry.

16
00:00:56,880 --> 00:00:58,410
As we go on, this will look much nicer.

17
00:00:58,410 --> 00:01:03,350
But you get the idea, create some functionality, do some different things and have some fun.

18
00:01:03,380 --> 00:01:04,830
So so OK.

19
00:01:04,860 --> 00:01:07,280
So I've created a file called Flash Stoppie.

20
00:01:07,410 --> 00:01:09,570
We're back in our CIG's directory.

21
00:01:09,810 --> 00:01:11,430
I've got our terminal here.

22
00:01:11,990 --> 00:01:13,430
I'm back in Sigismund.

23
00:01:13,530 --> 00:01:15,600
We're not in that folder anymore.

24
00:01:15,600 --> 00:01:17,130
We're never going to be in that thing again.

25
00:01:17,760 --> 00:01:20,790
That was just, for example, purposes to show you how to do acces.

26
00:01:21,240 --> 00:01:23,520
We're back where we've been throughout this course.

27
00:01:23,550 --> 00:01:27,660
So it's going to take a bunch of videos and we're just going to have to sort of ease into it.

28
00:01:28,140 --> 00:01:32,910
And so in this video, let's start to create the menu bar at the top.

29
00:01:32,910 --> 00:01:34,920
Let's just start to knock that out of the way.

30
00:01:35,970 --> 00:01:45,870
Out of the way real quick, so let's go define main menu and let's call this my underscore menu.

31
00:01:46,230 --> 00:01:51,240
And remember, we put we created called a menu widget and we want to put it in root.

32
00:01:51,720 --> 00:01:52,170
Right.

33
00:01:52,380 --> 00:01:54,750
And then we want to root config.

34
00:01:57,090 --> 00:02:01,650
To Ancol menu equals my underscore menu.

35
00:02:02,080 --> 00:02:05,980
So this stuff may be rusty, we learned this stuff really quickly.

36
00:02:06,420 --> 00:02:09,810
So now it's time to kind of reinforce these things by by doing them again.

37
00:02:09,810 --> 00:02:11,970
So I'm not going to explain these things as we go along.

38
00:02:12,180 --> 00:02:15,690
If you don't remember how to do these things, go back and watch those original videos.

39
00:02:15,840 --> 00:02:17,480
Otherwise, this would just take forever.

40
00:02:17,700 --> 00:02:20,340
So we're just going to kind of speed through this.

41
00:02:20,340 --> 00:02:26,010
So let's create some menu items and let's call a math menu.

42
00:02:26,700 --> 00:02:27,090
Right.

43
00:02:27,270 --> 00:02:28,830
Math menu.

44
00:02:29,750 --> 00:02:38,120
And this is going to be a menu and it's going to be in, ah, my underscore menu menu and then let's

45
00:02:38,120 --> 00:02:42,050
go my underscore menu add.

46
00:02:43,330 --> 00:02:53,140
Add underscore cascade, and this is a function we want the label to equal math cards maybe.

47
00:02:54,620 --> 00:02:54,940
Sure.

48
00:02:55,300 --> 00:02:59,950
And we want the menu to equal math underscore menu.

49
00:03:01,540 --> 00:03:09,550
OK, and then we want to go math underscore, then you add underscore command.

50
00:03:10,680 --> 00:03:12,000
And let's create a label.

51
00:03:13,900 --> 00:03:19,030
And that's going to be ad and the command will equal the.

52
00:03:20,270 --> 00:03:26,750
There you go, and the command will equal add and let's create a bunch of these, so add, subtract,

53
00:03:26,750 --> 00:03:29,060
multiply and divide and exit.

54
00:03:29,750 --> 00:03:33,350
So let's go add, subtract.

55
00:03:36,030 --> 00:03:40,050
Multiply, divide.

56
00:03:42,260 --> 00:03:50,150
And exit and for exit, we want the command to just be rude, quit and let's put that separator thing,

57
00:03:50,150 --> 00:03:50,520
remember?

58
00:03:50,540 --> 00:03:53,540
So let's go math underscore menu.

59
00:03:54,260 --> 00:03:56,830
That ad underscores separate tours.

60
00:03:58,130 --> 00:03:58,420
Boom.

61
00:03:58,700 --> 00:04:03,410
OK, so we'll change these from add to subtract, multiply to whatever later on.

62
00:04:03,770 --> 00:04:06,530
But for now, let's just leave these as they are.

63
00:04:07,700 --> 00:04:11,270
And let's come up here and create

64
00:04:13,790 --> 00:04:22,400
our addiction function and so we want to define, add and phrenologists has.

65
00:04:23,840 --> 00:04:31,130
OK, so let's save this and run it now, we're flashed up high just to see if we got any errors with

66
00:04:31,130 --> 00:04:34,760
all that we did that pretty fast, flashed up high.

67
00:04:36,200 --> 00:04:42,020
OK, so we got flashcard app, we've got math cards, if we click, add, nothing happens.

68
00:04:42,260 --> 00:04:43,940
If we click exit, it exits.

69
00:04:43,970 --> 00:04:47,470
OK, so at least it's working and we're well on our way.

70
00:04:47,480 --> 00:04:49,100
So I think that's all for this video.

71
00:04:49,100 --> 00:04:52,600
In the next video, we'll move forward and start to build this thing out.
