libsysprof-gtk: start on a chart row

This is just playing around to get things to render. There is much to do
to ensure that we interact with this well (and cache some values for
faster generation on allocation changes).
This commit is contained in:
Christian Hergert
2023-06-15 16:15:11 -07:00
parent 6dcb5e5fdd
commit d458d312a3
5 changed files with 266 additions and 10 deletions

View File

@ -41,16 +41,28 @@
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkInscription">
<property name="xalign">0</property>
<property name="nat-chars">40</property>
<property name="min-chars">40</property>
<property name="text-overflow">clip</property>
<binding name="text">
<lookup name="name" type="SysprofMarkCatalog">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<object class="GtkBox">
<child>
<object class="GtkInscription">
<property name="xalign">0</property>
<property name="nat-chars">40</property>
<property name="min-chars">40</property>
<property name="text-overflow">clip</property>
<binding name="text">
<lookup name="name" type="SysprofMarkCatalog">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</child>
<child>
<object class="SysprofMarkChartRow">
<property name="hexpand">true</property>
<binding name="catalog">
<lookup name="item">GtkListItem</lookup>
</binding>
</object>
</child>
</object>
</property>
</template>