Here even so in this video we are going to learn the widgets that are related with windows that do some
changes in the windows.
So we have four here.
That is a frame top level list box and a message box.
We will begin with the frame.
So what.
Actually a frame is visible if you'll notice the item then here we have different push on in the same
window.
Here we have this only one window.
But if you notice here we have one portion where the objects are listed.
Then here we have the second one where we are writing a code.
Then the third one one so these are frames you can consider these as sub windows in our window we have
some windows where you can add different commands and perform any particular task in each thing like
this one is showing the these values or against a find that are in particular desktop.
This one is for coding.
This one is also for coding.
Then also we have the bottom frame which is like all the terminals and all that things that are not
working right now.
But Steve now let me begin with creating a frame.
So basically I will show you that how these things work.
So first of all I'm going to create two frames a frame and a bottom frame or just frame two so frame
first one to create any visit.
Just try the widget name frame and in which window you require that sofa and just frame don't bank.
Now before that.
Let me create two also.
This one is also a frame and also in window now frame to dot back and the prince's knife you run this
one on the terminal
really not get anything No me see that one day we have this window but this is very small we get that
one but very small.
So if you consider this window then we do not have anything at all.
The reason for that is the frames are actually there but there's nothing in France someone who is familiar
with the web development can also out for this one as the Division X in each Damn it by which you separate
out page in two different parts until you do not enter anything the display page will be blank.
So let me show you when you add something there.
So let we have some buttons of red button denoting are denoted by ADP say this one beautiful t on and
then provided this one a frame.
So here I have written frame but actually how it classify button is are visible to button and they I
just positive window but right now I'm not passing the window and passing a frame as I have told you
you consider you can consider the frame as a sub window in which your data is going to end.
So my this R B button is going to be in frame looking window and that frame is in window so here you'd
need to add that in which frame you want while you're working on your application whenever you are required
to add a button most of the time you are going to use frame not div windows because creating the buttons
in windows is not much efficient as compared to this one by creating some particular frames and then
adding the buttons in that.
So be familiar with that one frame you are going to require this one and X2 is equal to
after that the White f gs equal to red we had this and then I'll be back.
But why this side is equal to left capital also provide this one decide equal to bottom a device David
overlap each of the lyrical commands and if you know run this one you will get and edit the edit here
is we have in total PCL and I will R B button they have some edit in this one text is equal to where
F.
Here we have it done by mistake F so sorry for that one this is f g so there we go with that gun now
if you run that one you will get this.
So here a radical a button the button with the red text here.
This one is in frame fun.
If I add an edit button here I want to see this one.
Come on V here and name this one as Green Button JS the color into Green
and this side that we have this one moto
video and now this time I'm going to make this one in frame 2 in studio frame fun.
So this one is now frame two and if I run this one now I go this way I read in Fremont and read in frame
two.
This one is something that seemed to me like simple buttons but you will understand this one in a while.
Then I add more buttons in frame but like if I add more buttons in frame one say this one a blue button
this on a black button.
And change this in blue.
This one also blue this one black.
Also this frame is a little hard to understand while we are taking simple examples but I cannot take
advanced examples here right now.
But when we build any application you will understand this better.
If I run this one now if you don't see this one here I have red button black button green button my
blue is missing the why do we have blue button this as are going to be a b
and that one again.
There we go with three buttons.
So here my first frame is defining these three.
Now if you notice when I have done this thing they are separated.
This is frame one and this is frame 2 in which I have only one button here.
I have three buttons in frame so in a four frames.
I'm not considering anything more because you will understand this one while we are going to work with
this one with an application so that full frame until that.
Now let me move to another that isn't on the list box.
So list works is basically a window in which you will get different options out of it you can select
any option and this one is very simple to create that we have l denoting list books or just L.B. then
list books and provide the window now a list box is created.
You just need to unpack that one.
So L.B. do back.
We go with it.
Now you can add as many number or vacancy as many lists here as you want to by simply just L.B. not
insert pencils in which plus past the number and then pass what you want to exit by.
Then we have L.B. dot insert two comma and then in court C C copy to son we have this one three this
one for and this one says C++ this one say Jake worry and you can add as a number of this day you want
to say this one Ruby and if I've done this one
you will get this list books.
As you can see.
This one is a separate box with these vendors out of it you can select any value here you cannot select
more than one value at a time.
But you can go for any value you want them.
So enough about this one.
This one is a just little topic again two small topics we left here.
No that is top level and message books.
They are completely weighted with the window box like top level.
If I have this one right now here then the atom is dope on this one right now.
The terminal is on top of the atom.
So this is what actually top level is.
Let me show you that one with an example.
If I have a window with title say first day we have this one then I have the equal to top level.
I have added the rigid treadmill and just top dot data.
This method is actually used to add these windows on the top of one another.
See this one second.
No you did not reply to any pecking and pecking order just come on us and run that one here.
There we go.
So here we have first.
And then on top we have second.
So this is how you can create multiple windows on the top and on the second.
So this is the top level.
Another small topic a message box like some time and you click something there will be a palpable message
showing any foreign or showing any particular option that is known as a message box.
And that is also very simple to create but for that one you are required to import
message box from into.
So from opting to import message books we have imported everything prompting them.
But without this one you will get added because you need to set some time you need to separately import
values in that one.
Now let's begin.
First of all I have a button that is beautiful to end on clicking which you will get a popup.
And this one is in Windows text saying popup after that then a command of any function say hello.
And now define this Hello Function.
Until now we do not have added the message books.
We will do that and right now.
So how to add a message books just message books.
This is the only widget in which you use small and not capital and then after that one note.
Now what information you need to show there.
So show in full.
In that one we have two barometers here.
So you know the parameter to values here first one from Vega you need to show like from computer
then what do you want to see like Hey there do we have this one.
Now just be the back
commanders and run this man.
There we go.
It does pop a button.
Now when you click this one you will get a popup message here and this one is from computer.
As you can see this one title here and the messages hit the.
So this is a message book.
You will also need this one.
This is an important digit so in the fourth window type of widgets we will continue in the next video.
Thanks for watching.