How to use checkBox ?
- From: alok barsode <alokbarsode gmail com>
- To: gnome-shell-list gnome org
- Subject: How to use checkBox ?
- Date: Mon, 17 Sep 2012 12:47:59 +0300
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]