Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Hi everyone,
I need to create a pop-up window with a button in a brew application.

Is there anybody who knows the solution?
Please help me

BR,
Shahid

In very general terms...
create a static widget
create a button widget
create a container to host the widgets
put the static and button widgets in the container
push the widget interface from the container onto the root container

In very general terms...
create a static widget
create a button widget
create a container to host the widgets
put the static and button widgets in the container
push the widget interface from the container onto the root container

Hello,
Thanks "jharper" for the reply.
Into the reply i am not clear about the container.
What type of container i can use here?
Is it will be root container or others?
And then how can i put the static and button widget into the container?
And also "push the widget interface from the container onto the root container" i am not clear.
If you have enough time please explain me in details.
And if it is possible then give me some sample code.
Thanks in advance.
BR,
Shahid

Hello,
Thanks "jharper" for the reply.
Into the reply i am not clear about the container.
What type of container i can use here?
Is it will be root container or others?
And then how can i put the static and button widget into the container?
And also "push the widget interface from the container onto the root container" i am not clear.
If you have enough time please explain me in details.
And if it is possible then give me some sample code.
Thanks in advance.
BR,
Shahid

Root container is the top level container and is based on XY container that means, widgets are positioned according to X, Y coordinates provided. If you don't want to use other containers, you can directly insert widgets into root container. Else, insert all the widgets into one container like PropContainer and then puch it to root container. Hope its clear.
For more info: Refer "Widgets Technology Guide for Developers" available at https://brewmobileplatform.qualcomm.com/devnet/index.jsp
You can see sample code at examples provided with UI widgets extension. Also, sample code is available at https://brewmobileplatform.qualcomm.com/devnet/index.jsp in UI section

Root container is the top level container and is based on XY container that means, widgets are positioned according to X, Y coordinates provided. If you don't want to use other containers, you can directly insert widgets into root container. Else, insert all the widgets into one container like PropContainer and then puch it to root container. Hope its clear.
For more info: Refer "Widgets Technology Guide for Developers" available at https://brewmobileplatform.qualcomm.com/devnet/index.jsp
You can see sample code at examples provided with UI widgets extension. Also, sample code is available at https://brewmobileplatform.qualcomm.com/devnet/index.jsp in UI section