mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-10 13:57:08 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
12 lines
407 B
Python
12 lines
407 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 the first item - using first variant
|
|
my_item_id2 = thePropGrid.Insert(my_item_id, wx.propgrid.StringProperty("My String 2"))
|