I'm trying to create a layout with an text view and in the 2nd column 4 buttons aligned vertically. I tried reading documentation but the window isn't rendered or button stay aligned horizontally.
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object id="window" class="GtkWindow">
<property name="title">Test</property>
<property name="resizable">False</property>
<child>
<object class="GtkGrid">
<child>
<object class="GtkTextView" id="viewww">
<property name="overwrite">True</property>
<property name="visible">True</property>
<property name="monospace">True</property>
<property name="input_purpose">GTK_INPUT_PURPOSE_DIGITS</property>
<property name="width-request">400</property>
<property name="height-request">200</property>
<property name="left_margin">10</property>
<property name="right_margin">10</property>
<property name="top_margin">10</property>
<property name="bottom_margin">10</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">READ</property>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">WRITE</property>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
</packing>
</object>
</child>
</object>
</child>
</object>
</interface>
This is an example with packing, but the window isn't rendering anything. Is this a problem with GTK?
I tried packaging, nested grids but nothing works.