example: Make gears button square

Another application of image-button.
This commit is contained in:
Matthias Clasen 2014-04-17 12:39:07 -07:00
parent 35f4243315
commit 763250e04d
3 changed files with 9 additions and 0 deletions

View File

@ -55,6 +55,9 @@
<child>
<object class="GtkMenuButton" id="gears">
<property name="visible">True</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage" id="gears-icon">
<property name="visible">True</property>

View File

@ -41,6 +41,9 @@
<child>
<object class="GtkMenuButton" id="gears">
<property name="visible">True</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage" id="gears-icon">
<property name="visible">True</property>

View File

@ -58,6 +58,9 @@
<child>
<object class="GtkMenuButton" id="gears">
<property name="visible">True</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage" id="gears-icon">
<property name="visible">True</property>