Hi to all.
I have a panel with this function
bl_space_type = 'VIEW_3D'
bl_region_type = 'TOOLS'
bl_label = "abc"
bl_context = "objectmode"
def draw(self, context):
layout = self.layout
col = layout.column(align=True)
col.operator("object.adsfad, text="dfs")
col.separator()
col.prop(scn, "kjdfkl", slider = True)
col.separator()
col.operator("object.slkjf", text="kj")
col.separator()
col.operator("object.kd", text="sld")
also, I have a list of some scene objects and I need to display below the button “sld” but I do not need to display items from the list, I need to display a name (list1 for example) and when I give click with the mouse pointer automatically select the objects that match the name list1.
Thanks in advance.