WEBVTT 00:00.280 --> 00:03.940 In this tutorial we will learn about dropdown manuals. 00:04.200 --> 00:06.810 We will create menus menu bar. 00:07.020 --> 00:13.360 We will create toolbar and we will create a status bar in this tutorial. 00:13.500 --> 00:23.190 So let's create a python file under the example one project new option where we create a python file. 00:23.510 --> 00:31.270 Let's give Eric name as manual's soul in this file. 00:31.570 --> 00:38.890 Let's import the package from bingo imports. 00:41.350 --> 00:46.260 Sol we are going to create the function here. 00:46.310 --> 00:52.010 Def do not ping. 00:52.160 --> 00:53.690 We will create the function here. 00:53.720 --> 00:59.780 Do not think in the way where display a message. 01:00.020 --> 01:01.180 OK. 01:01.900 --> 01:02.730 OK. 01:04.420 --> 01:10.240 I want to we are quick to display a message for Gil. 01:10.260 --> 01:16.180 I've worn No just created Leeming. 01:16.250 --> 01:26.520 I'm qualifying the first day of the day we will create men menus does create Haldimand name does manual 01:27.750 --> 01:29.380 in that manual. 01:29.970 --> 01:34.510 I'm going to call the menu option in the menu option. 01:34.620 --> 01:39.950 I just call the to Dalmain as an arguing. 01:40.000 --> 01:42.650 So are we really using here. 01:42.960 --> 01:47.180 Rule darte config option in big functionality. 01:47.250 --> 01:57.800 Dark config and here we've built POS manual haziq quotes to menu so we paused here. 01:57.870 --> 01:59.170 The menu element. 01:59.520 --> 02:06.720 Now Octodad we will use sub menu option in that Subhan menu option. 02:06.720 --> 02:14.510 We will use the menu option and we will Bazile the menu option. 02:14.510 --> 02:15.980 Now what would we do. 02:16.010 --> 02:19.690 We've been just using big functionality. 02:19.700 --> 02:29.170 My new dog I and our school good in that Agang does school cos kid Wayville type here. 02:29.190 --> 02:37.700 The libeller liberalists because we are going to create a menu bar so I'm defining here the labels as 02:37.700 --> 02:39.920 the menus which we are going to create. 02:39.930 --> 02:44.240 No my first label is file menu. 02:44.760 --> 02:48.550 After this I'm going to use the file option file. 02:48.650 --> 02:56.810 Quilts do sub manual not we will use here. 02:56.970 --> 03:00.070 Sub menu dark. 03:00.500 --> 03:08.910 C'mon inside the come on I will use labels here and in that label I'm going to pause here. 03:08.920 --> 03:23.170 The new project does takes two and we will come on here and here I will pass my function. 03:23.170 --> 03:27.360 Do not think I will call that particular function here. 03:27.850 --> 03:31.330 No I really use some my new dog. 03:31.910 --> 03:36.970 I separate go back on the square separator function. 03:36.970 --> 03:39.320 I will call. 03:39.550 --> 03:46.300 We will use sub menu dart and come on inside. 03:46.350 --> 03:47.490 I keep mine. 03:47.500 --> 03:57.300 Ive been using here the label the string which I am going to postulate is the and we will use. 03:57.430 --> 04:02.660 C'mon c'mon I really use that function. 04:02.700 --> 04:06.480 Do not think we will call that particular function here. 04:06.480 --> 04:18.020 Similarly we will create our gig menu goes to menu and parsing the argument as menu. 04:18.160 --> 04:23.020 Now we will use manual thought AG cascade. 04:23.440 --> 04:34.610 We will use Lebel here and we will pause a string as they go and we will use the command option inside 04:34.640 --> 04:36.280 the command option. 04:36.280 --> 04:40.420 We will again call the function do nothing. 04:40.420 --> 04:47.400 Now we will how all dark men are within call. 04:47.560 --> 04:50.610 Now let's run this example. 04:50.710 --> 04:59.990 So we have created a new python file so we have to give here the name and we have to select the by compile 05:00.010 --> 05:01.960 from dropdown menu. 05:02.110 --> 05:10.540 We have created a file name as manual's dog beaver so we will just select this file and we will put 05:10.680 --> 05:14.030 on the project C on running the project. 05:14.050 --> 05:19.960 We have got to drop down man News named as file and read option. 05:19.960 --> 05:24.120 We have new project on picking off new projects. 05:24.310 --> 05:28.140 We have got the message off Do-Nothing function that is OK. 05:28.160 --> 05:31.070 OK I've gone on clicking on ex-aide. 05:31.180 --> 05:35.020 We will get the same string because we have quiet here. 05:35.050 --> 05:37.310 The function name does do nothing. 05:37.330 --> 05:46.390 So inside the file option we have called two options named as new project and exit and we have created 05:46.390 --> 05:50.380 the read option inside raido option. 05:50.530 --> 05:55.340 We have created nothing but up to the clicking on there. 05:55.510 --> 06:00.620 We are getting a message because we have quite the function of doing nothing. 06:00.850 --> 06:04.700 So we are getting that option here and Ben everywhere. 06:04.780 --> 06:06.420 I'm going to click on that. 06:06.610 --> 06:09.380 We are getting the message on my console. 06:10.210 --> 06:14.960 So this is the thing which we have created a menubar. 06:15.310 --> 06:24.520 What if I want to add an extra functionality and I want to create a toolbar here so what I really do 06:24.520 --> 06:34.140 is I've been just creating the toolbar toolbar. 06:34.380 --> 06:39.740 So for DEC toolbar Let's pause here. 06:40.170 --> 06:44.320 Cummings. 06:45.390 --> 06:47.670 I'm going to pause here. 06:47.670 --> 06:52.740 The commands are there particular commands. 06:52.950 --> 06:55.910 We are going to write the code for toolbar. 06:56.100 --> 06:59.120 Let's create an element of toolbar. 06:59.120 --> 07:03.260 Is it close to frame inside the frame. 07:03.270 --> 07:08.940 I will pause there looming through it and I will use the background option. 07:09.000 --> 07:15.940 Background is equal to blue so we will use that option here. 07:16.230 --> 07:29.110 I will use the install button inside but is it closed due to an so I built basilar tool bar and the 07:29.510 --> 07:32.450 text which I want to use and here is 07:37.040 --> 07:37.980 in Sarr. 07:41.790 --> 07:51.400 Inside mappings and the can mine which I've worn to uses. 07:51.610 --> 07:56.320 I will call my function or do nothing. 07:56.320 --> 08:10.040 So I really use answered Bart dot FAQ option inside there I will use site is a quilt store move Baillieu's 08:10.650 --> 08:19.930 Baghdad say Zic quilts to do and we will use similarly for bag by using quilts to do.