forked from AuroraMiddleware/gtk
aae25c4fa0
We want to remove GtkBin and GtkContainer as they don't provide much useful functionality anymore. See #2681
42 lines
1.5 KiB
XML
42 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk40">
|
|
<template class="GtkComboBox" parent="GtkWidget">
|
|
<child>
|
|
<object class="GtkBox" id="box">
|
|
<style>
|
|
<class name="linked"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkToggleButton" id="button">
|
|
<signal name="toggled" handler="gtk_combo_box_button_toggled" swapped="no"/>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<child>
|
|
<object class="GtkBuiltinIcon" id="arrow">
|
|
<property name="css-name">arrow</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreePopover" id="popup_widget">
|
|
<property name="cell-area"><object class="GtkCellAreaBox" id="area"/></property>
|
|
<property name="has-arrow">0</property>
|
|
<signal name="menu-activate" handler="gtk_combo_box_menu_activate" swapped="no"/>
|
|
<signal name="show" handler="gtk_combo_box_menu_show" swapped="no"/>
|
|
<signal name="hide" handler="gtk_combo_box_menu_hide" swapped="no"/>
|
|
<child>
|
|
<object class="GtkEventControllerKey">
|
|
<signal name="key-pressed" handler="gtk_combo_box_menu_key" swapped="no"/>
|
|
<signal name="key-released" handler="gtk_combo_box_menu_key" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|