forked from AuroraMiddleware/gtk
widget-factory: Add some nested popovers
These are mainly for stress-testing our popover implementations.
This commit is contained in:
parent
d3ad816d63
commit
e1200230c4
@ -3397,6 +3397,7 @@ bad things might happen.</property>
|
|||||||
<layout>
|
<layout>
|
||||||
<property name="left-attach">1</property>
|
<property name="left-attach">1</property>
|
||||||
<property name="top-attach">1</property>
|
<property name="top-attach">1</property>
|
||||||
|
<property name="column-span">2</property>
|
||||||
</layout>
|
</layout>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
@ -3409,12 +3410,24 @@ bad things might happen.</property>
|
|||||||
<layout>
|
<layout>
|
||||||
<property name="left-attach">1</property>
|
<property name="left-attach">1</property>
|
||||||
<property name="top-attach">0</property>
|
<property name="top-attach">0</property>
|
||||||
|
<property name="column-span">2</property>
|
||||||
|
</layout>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuButton">
|
||||||
|
<property name="halign">end</property>
|
||||||
|
<property name="icon-name">emblem-system-symbolic</property>
|
||||||
|
<property name="menu-model">gear_menu</property>
|
||||||
|
<layout>
|
||||||
|
<property name="left-attach">1</property>
|
||||||
|
<property name="top-attach">2</property>
|
||||||
</layout>
|
</layout>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="open_popover_button">
|
<object class="GtkButton" id="open_popover_button">
|
||||||
<property name="halign">end</property>
|
<property name="halign">fill</property>
|
||||||
<property name="label">_Open</property>
|
<property name="label">_Open</property>
|
||||||
<property name="use-underline">1</property>
|
<property name="use-underline">1</property>
|
||||||
<property name="sensitive">0</property>
|
<property name="sensitive">0</property>
|
||||||
@ -3423,7 +3436,7 @@ bad things might happen.</property>
|
|||||||
<class name="suggested-action"/>
|
<class name="suggested-action"/>
|
||||||
</style>
|
</style>
|
||||||
<layout>
|
<layout>
|
||||||
<property name="left-attach">1</property>
|
<property name="left-attach">2</property>
|
||||||
<property name="top-attach">2</property>
|
<property name="top-attach">2</property>
|
||||||
</layout>
|
</layout>
|
||||||
</object>
|
</object>
|
||||||
@ -3460,15 +3473,39 @@ bad things might happen.</property>
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkPopover" id="notebook_info_popover2">
|
<object class="GtkPopover" id="notebook_info_popover3">
|
||||||
<property name="modal">0</property>
|
<property name="modal">0</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="label">No updates here either</property>
|
<property name="label">You're in too deep!</property>
|
||||||
<accessibility>
|
<accessibility>
|
||||||
<role type="static"/>
|
<role type="static"/>
|
||||||
</accessibility>
|
</accessibility>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
<object class="GtkPopover" id="notebook_info_popover2">
|
||||||
|
<property name="modal">0</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="orientation">horizontal</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="label">Hidden gems:</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuButton">
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<property name="popover">notebook_info_popover3</property>
|
||||||
|
<property name="icon-name">emblem-important-symbolic</property>
|
||||||
|
<property name="relief">none</property>
|
||||||
|
<style>
|
||||||
|
<class name="circular"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
</interface>
|
</interface>
|
||||||
|
Loading…
Reference in New Issue
Block a user