]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Split example
authorgdd <gdd>
Mon, 23 Jul 2012 15:47:23 +0000 (15:47 +0000)
committergdd <gdd>
Mon, 23 Jul 2012 15:47:23 +0000 (15:47 +0000)
doc/salome/gui/input/text_user_interface.doc

index ac0bc56143f2e8f3b4a6f61241be5108ad331486..0e3f617096297921af0a7f245e1dce2aeb48cd03 100644 (file)
@@ -318,7 +318,9 @@ studyName = salome.sg.getActiveStudyName()
 selCount = salome.sg.SelectedCount() # total number of selected items
 for i in range(selCount):
     print salome.sg.getSelected(i) # print entry ID of i-th selected item
+\endcode
 
+\code
 # get list of all selected objects' IDs
 selected = salome.sg.getAllSelected()