inspector: Add search for extensions

My Windows AMD driver has 295 GL extensions...
This commit is contained in:
Benjamin Otte 2024-10-18 11:41:54 +02:00 committed by Matthias Clasen
parent 9c564eb893
commit 6723fe0d5c

View File

@ -815,15 +815,34 @@
<property name="margin-start">10</property>
</object>
</property>
<child>
<object class="GtkBox">
<property name="margin-top">20</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchEntry" id="gl_extensions_searchentry"/>
</child>
<child>
<object class="GtkListView">
<property name="margin-top">20</property>
<property name="margin-top">20</property>
<style>
<class name="rich-list"/>
</style>
<property name="model">
<object class="GtkNoSelection">
<property name="model">
<object class="GtkFilterListModel">
<property name="filter">
<object class="GtkStringFilter">
<property name="expression">
<lookup name='string' type='GtkStringObject' />
</property>
<binding name="search">
<lookup name="text" type="GtkSearchEntry">
gl_extensions_searchentry
</lookup>
</binding>
</object>
</property>
<property name="model">
<object class="GtkSortListModel">
<property name="sorter">
@ -840,6 +859,8 @@
</property>
</object>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
@ -867,6 +888,8 @@
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBoxRow" id="egl_extensions_row">
<property name="activatable">0</property>
@ -879,15 +902,34 @@
<property name="margin-start">10</property>
</object>
</property>
<child>
<object class="GtkBox">
<property name="margin-top">20</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchEntry" id="egl_extensions_searchentry"/>
</child>
<child>
<object class="GtkListView">
<property name="margin-top">20</property>
<property name="margin-top">20</property>
<style>
<class name="rich-list"/>
</style>
<property name="model">
<object class="GtkNoSelection">
<property name="model">
<object class="GtkFilterListModel">
<property name="filter">
<object class="GtkStringFilter">
<property name="expression">
<lookup name='string' type='GtkStringObject' />
</property>
<binding name="search">
<lookup name="text" type="GtkSearchEntry">
egl_extensions_searchentry
</lookup>
</binding>
</object>
</property>
<property name="model">
<object class="GtkSortListModel">
<property name="sorter">
@ -904,6 +946,8 @@
</property>
</object>
</property>
</object>
</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
@ -933,6 +977,8 @@
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkListBox" id="vulkan_box">
<property name="selection-mode">none</property>