Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-09-07 02:54:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-07 02:54:22 +0400
commit2c688788e6d5508f3138371fc4c818041d66f392 (patch)
tree88194bcaa9c33271830207d9ad986c8c255cc2df /source/blender/makesrna/intern/rna_wm.c
parent35cd649c6625b55aad277fdbeaa87cc5d21b65ce (diff)
wrap cursor setting so python can make use of it, eg:
- win.cursor_set('WAIT') - win.cursor_modal_set('TEXT') - win.cursor_modal_restore()
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c
index 0d1c684e6a1..8e0e948f040 100644
--- a/source/blender/makesrna/intern/rna_wm.c
+++ b/source/blender/makesrna/intern/rna_wm.c
@@ -1735,6 +1735,8 @@ static void rna_def_window(BlenderRNA *brna)
RNA_def_property_int_sdna(prop, NULL, "sizey");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "Height", "Window height");
+
+ RNA_api_window(srna);
}
/* curve.splines */