hi,

I want to use checkbox is a modal dialog. Here is what i am doing :

const checkbox = imports.ui.checkBox;

<in the modal dialog i do>

this.check = new checkbox.CheckBox();
this.check.setLabel('Label1');
messageBox.add(this.check);

messagebox is a St.BoxLayout and all the other components which are added
to it are working correctly.

how do i use a checkbox?

none of the javascript ui files are using it (so i could use it as
reference). is it deprecated?

I am using Ubuntu 12.04.
gnome-shell version is :3.4.1.

Thanks,
Alok.
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to