forked from AuroraMiddleware/gtk
2550c6a4db
Instead of putting it inside the button manually, put it there properly by adding a box containing the cell view and the arrow. Do the same thing in list mode, instead of creating an event box that tries to behave as a button.
28 lines
956 B
XML
28 lines
956 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
<template class="GtkComboBox" parent="GtkBin">
|
|
<child>
|
|
<object class="GtkToggleButton" id="button">
|
|
<property name="visible">True</property>
|
|
<property name="focus-on-click">True</property>
|
|
<signal name="toggled" handler="gtk_combo_box_button_toggled" swapped="no"/>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkImage" id="arrow">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">pan-down-symbolic</property>
|
|
</object>
|
|
<packing>
|
|
<property name="pack_type">end</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|