WEBVTT 00:00.360 --> 00:03.060 As we are learning about the Python programming language. 00:03.270 --> 00:07.000 So in this tutorial we learn about the organizing layout. 00:07.140 --> 00:14.010 So LAODICE is a feature of Python programming with the help of which we can divide our window and we 00:14.010 --> 00:23.130 can drag and drop or we can put the elements or we can put the text boxes labels buttons on the window 00:23.460 --> 00:25.500 of Spuyten program. 00:25.800 --> 00:34.290 With the help of which we are going to write the programming by dividing or by implementing the various 00:34.290 --> 00:37.870 kinds of text boxes on a certain position. 00:37.890 --> 00:40.400 We are dividing the area. 00:40.650 --> 00:48.630 And on that area we are going to implement the concept with the help of that we are going to learn that 00:48.710 --> 00:54.580 things so we are going to create a new python file. 00:54.640 --> 01:01.780 Let's give it namaz layouts because we are dealing with the layouts now. 01:02.110 --> 01:12.600 So let's import a package from Ding-Dong Goldstar. 01:13.600 --> 01:19.810 Now we have to use the root element Nordisk quilts to DK. 01:20.810 --> 01:24.320 And we are going to use the frame option here. 01:24.610 --> 01:29.100 In that frame we are going to use frame. 01:29.320 --> 01:32.830 And here we are going to pause the root element here. 01:33.370 --> 01:43.730 Now we will use top frame dark back option back option is used to display the frame on the window which 01:43.740 --> 01:47.430 we are going to create with the help of entering Dupre's. 01:47.460 --> 01:54.560 Now we will use the bottom frame in that Borkum trim. 01:55.000 --> 02:00.330 We are going to use frame and here we are going to pause the root element. 02:00.340 --> 02:07.590 Now we will use Borglum framed door back option in this back option. 02:07.590 --> 02:14.370 I'm going to use side easy quotes to mark them. 02:14.530 --> 02:19.110 So I'm going to use side is equal to the bottom. 02:19.460 --> 02:22.000 I'm going to create a button. 02:22.180 --> 02:27.370 The name is button one button by music quotes to button. 02:27.370 --> 02:36.730 So as you see the the new functionality the new operator while we can use a neat new key word is not 02:36.730 --> 02:42.820 used in the Python programming whereas in the Java programming if we are going to create a button then 02:42.850 --> 02:43.760 we have to write. 02:43.790 --> 02:46.070 But button is equal to Newbert done. 02:46.180 --> 02:50.960 So here in Python programming we don't need to use a new keyword. 02:51.010 --> 02:51.970 We will just write. 02:51.980 --> 02:54.470 But then one is the what's to be done. 02:54.550 --> 02:58.250 And in that button I'm going to pause here. 02:58.360 --> 03:06.260 And that button should be displayed in the top frame and the text top deck button should be more than 03:06.270 --> 03:14.590 one and the foreground color is equal to today. 03:15.520 --> 03:18.820 The foreground color of that and should be today. 03:18.890 --> 03:27.360 So I will create full buttons so let's call it this chord. 03:27.530 --> 03:29.070 I'm going to write. 03:29.630 --> 03:36.280 I recreate four buttons like one Mike can do them three. 03:36.380 --> 03:37.780 I buy them for. 03:38.000 --> 03:41.770 So I'm going to create these four buttons here. 03:42.840 --> 03:50.420 I will use defraying foreground color for each button one is red Paderborn I can see a blue card. 03:50.420 --> 03:57.990 One is I want to use the possible option and here I want to use green option. 03:58.080 --> 04:02.830 So these are the full color which have used for my bike. 04:02.830 --> 04:07.890 And now all these buttons are in the top trim. 04:08.040 --> 04:16.140 So I will use here button $1 back because I want to display these buttons on the top trim so I need 04:16.140 --> 04:18.220 to use the back option here. 04:18.330 --> 04:22.760 I really use by trying to dodge tack. 04:22.890 --> 04:35.340 Similarly I've only used button three option dark back and I've used them for dark back options so I'm 04:35.340 --> 04:38.790 going to use these four buttons. 04:38.850 --> 04:43.140 So here I really use one 04:46.600 --> 04:59.330 by the mind are bought and in this back option I believe use side Z quilts to let values back down to 04:59.510 --> 05:01.940 the dog back. 05:02.010 --> 05:05.370 And here I've in yours. 05:05.950 --> 05:11.180 Mike don't go dark back and here I really use side is quill to 05:14.970 --> 05:16.660 my country. 05:17.250 --> 05:19.700 Not that I will use 05:22.400 --> 05:30.850 site is it was to let no fall back and fall back option. 05:31.100 --> 05:36.730 I really lose sight is equal to bottom. 05:37.140 --> 05:41.010 So we are going to use this for Blyton's. 05:41.040 --> 05:45.830 Now I warned DeGroot Allemagne with the help of men. 05:46.440 --> 05:49.240 I'm going to use here. 05:49.380 --> 05:52.320 Now let's do this. 05:52.350 --> 05:56.010 My guy is going to happen or what is going to display. 05:56.010 --> 05:59.370 Now we have created Loadstar B why file. 05:59.490 --> 06:02.910 So we need to add on progressions here. 06:02.940 --> 06:05.180 I need to give the name of my file. 06:05.310 --> 06:06.920 I can give any name here. 06:07.110 --> 06:10.190 No need to give the same name of your file. 06:10.260 --> 06:17.680 We need to select done dedicated file which we have written called in. 06:17.820 --> 06:19.630 Now we will apply in OK. 06:19.800 --> 06:29.280 Now let's run with the use of this play button then I'm going to run the application so see we are we 06:29.280 --> 06:33.270 have created but one two three and four. 06:33.690 --> 06:37.110 So we have created an application with Dileep of these. 06:37.110 --> 06:39.280 We have created for Blyton's. 06:39.520 --> 06:43.200 So let's move forward. 06:43.670 --> 06:47.810 And now I'm going to discuss about the comments. 06:47.850 --> 06:55.460 So with in in case if we are going to implement our sort of thing and we want to add history related 06:55.460 --> 06:59.610 items we want to add comments in that particular chord. 06:59.660 --> 07:04.350 So we have to use the hash sign here in the symbol. 07:04.790 --> 07:15.490 I'm going now in this I'm going to use Errichtung midget's 10 layouts so that this code we are going 07:15.490 --> 07:21.740 to implement the particular thing that we've warmed to freak widgets in the layout. 07:21.970 --> 07:29.500 Now what we do first we will command the code for a power called command. 07:29.540 --> 07:34.040 We have made the power line commands are more in line commands. 07:34.040 --> 07:36.190 What is the Mike Dillon commands here. 07:36.200 --> 07:45.890 So what we need to do here from this portion from top frame I will just pull the inverted going was 07:46.290 --> 07:50.600 three in more could go Mohs I had the beginning line from here. 07:50.620 --> 07:58.560 I want to comment on three inverted commas at the end of the line where I want to hoard up bang. 07:58.750 --> 08:00.310 So these are the single lane. 08:00.340 --> 08:02.140 And more power line commands. 08:02.140 --> 08:04.170 In that case all five location. 08:04.270 --> 08:07.400 Now we do right the cord we've been used here. 08:07.400 --> 08:17.100 One one is the name of my buddy Abel Amaan label is the quilts tool we can say that we are going to 08:17.100 --> 08:26.040 pause here that Leeming text which I want to display here is one I and I warn the background color. 08:26.190 --> 08:37.140 DGC quilts too we can see that red and I've worn the foreground color close to light so we have created 08:37.140 --> 08:42.190 a very able for the label name on that label is Van. 08:42.220 --> 08:48.210 Now I really use mind or back option. 08:48.210 --> 08:52.040 So this one will be displayed on our window. 08:52.110 --> 08:56.880 Now I will use the two option to visit quilts to label. 08:57.450 --> 09:00.780 And on that label I've been to use that work. 09:00.940 --> 09:11.190 We will say that text should be too and we've worn that the background color exec will stew green and 09:11.250 --> 09:15.040 I want the full grown calories equals to black. 09:15.300 --> 09:18.150 So I warn these things. 09:18.480 --> 09:22.720 I want to display tall dark back option. 09:22.810 --> 09:34.030 Now I have the card labeled name as tree label and I'm going to pause that Dalmain text should be three 09:34.780 --> 09:37.690 times in the next X should be 3. 09:39.100 --> 09:46.540 Background colors should be blue and the foreground color should be white. 09:46.560 --> 09:53.010 So I will use three dart back option in this option. 09:53.040 --> 10:05.040 I warm side paramita side is equal to left and I Phil is a Close to play. 10:05.610 --> 10:14.110 Similarly for one and two option I don't want to use ending wandered back inside as a parameter but 10:14.110 --> 10:20.950 then to dart back if I want to use here feel option is equal to x. 10:21.030 --> 10:27.050 I want to pass here so after that we will use rule dark men. 10:27.240 --> 10:29.850 Now let's save that for call. 10:29.940 --> 10:32.140 Let's see what is displaying here. 10:32.160 --> 10:37.640 See we are having three labels named as Varn two and three. 10:37.800 --> 10:45.900 So as I'm moving these labels so these are growing simultaneously with the help of these Bindel. 10:45.940 --> 10:52.620 If I'm going to shrink even though these particular labels are there and if I'm going to increase the 10:52.620 --> 10:54.030 size of that window. 10:54.150 --> 10:59.000 These labels are also moving along with the position of that window. 10:59.100 --> 11:05.850 So we have created an application in which we have used three labels and we know we are going to use 11:05.850 --> 11:07.900 the printing widgets in the layout. 11:07.950 --> 11:15.210 So with the help of these layouts we have implemented the concept how we can fit the particular labels 11:15.330 --> 11:16.970 in that particular layout. 11:16.980 --> 11:23.630 So we have used that particular implementation of that labels with the help of layout example.