Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.propgrid.PropertyGridInterface.Insert.1.py
2016-09-19 17:27:57 -07:00

12 lines
422 B
Python

# append category
my_cat_id = thePropGrid.Append(wx.propgrid.PropertyCategory("My Category"))
...
# insert into category - using second variant
my_item_id1 = thePropGrid.Insert(my_cat_id, 0, wx.propgrid.StringProperty("My String 1"))
# insert before to first item - using first variant
my_item_id2 = thePropGrid.Insert(my_item_id, wx.propgrid.StringProperty("My String 2"))