]> Pileus Git - ~andy/gtk/blob - tests/visuals/primary-toolbar.ui
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / visuals / primary-toolbar.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <!-- interface-requires gtk+ 3.0 -->
4   <object class="GtkWindow" id="window1">
5     <property name="can_focus">False</property>
6     <property name="default_width">800</property>
7     <child>
8       <object class="GtkGrid" id="grid">
9         <property name="row-spacing">6</property>
10         <property name="orientation">vertical</property>
11         <child>
12           <object class="GtkToolbar" id="toolbar1">
13             <property name="visible">True</property>
14             <property name="can_focus">False</property>
15             <property name="hexpand">True</property>
16             <style>
17               <class name="primary-toolbar"/>
18             </style>
19             <child>
20               <object class="GtkToggleToolButton" id="toolbutton1">
21                 <property name="use_action_appearance">False</property>
22                 <property name="visible">True</property>
23                 <property name="can_focus">False</property>
24                 <property name="use_action_appearance">False</property>
25                 <property name="label" translatable="yes">Normal</property>
26                 <property name="use_underline">True</property>
27                 <property name="is_important">True</property>
28                 <property name="icon_name">edit-find</property>
29               </object>
30               <packing>
31                 <property name="expand">False</property>
32                 <property name="homogeneous">True</property>
33               </packing>
34             </child>
35             <child>
36               <object class="GtkToggleToolButton" id="toolbutton2">
37                 <property name="use_action_appearance">False</property>
38                 <property name="visible">True</property>
39                 <property name="can_focus">False</property>
40                 <property name="use_action_appearance">False</property>
41                 <property name="label" translatable="yes">Active</property>
42                 <property name="use_underline">True</property>
43                 <property name="is_important">True</property>
44                 <property name="icon_name">edit-find</property>
45                 <property name="active">True</property>
46               </object>
47               <packing>
48                 <property name="expand">False</property>
49                 <property name="homogeneous">True</property>
50               </packing>
51             </child>
52             <child>
53               <object class="GtkToggleToolButton" id="toolbutton3">
54                 <property name="use_action_appearance">False</property>
55                 <property name="visible">True</property>
56                 <property name="sensitive">False</property>
57                 <property name="can_focus">False</property>
58                 <property name="label" translatable="yes">Insensitive</property>
59                 <property name="use_underline">True</property>
60                 <property name="is_important">True</property>
61                 <property name="icon_name">edit-find</property>
62               </object>
63               <packing>
64                 <property name="expand">False</property>
65                 <property name="homogeneous">True</property>
66               </packing>
67             </child>
68             <child>
69               <object class="GtkToggleToolButton" id="toolbutton4">
70                 <property name="use_action_appearance">False</property>
71                 <property name="visible">True</property>
72                 <property name="sensitive">False</property>
73                 <property name="can_focus">False</property>
74                 <property name="label" translatable="yes">Insensitive Active</property>
75                 <property name="use_underline">True</property>
76                 <property name="icon_name">edit-find</property>
77                 <property name="is_important">True</property>
78                 <property name="active">True</property>
79               </object>
80               <packing>
81                 <property name="expand">False</property>
82                 <property name="homogeneous">True</property>
83               </packing>
84             </child>
85             <child>
86               <object class="GtkToolItem" id="toolitementry">
87                 <property name="use_action_appearance">False</property>
88                 <property name="visible">True</property>
89                 <property name="can_focus">False</property>
90                 <child>
91                   <object class="GtkEntry" id="entry1">
92                     <property name="visible">True</property>
93                     <property name="can_focus">True</property>
94                     <property name="invisible_char">•</property>
95                     <property name="placeholder-text" translatable="yes">Search...</property>
96                     <property name="secondary-icon-name">edit-find-symbolic</property>
97                   </object>
98                 </child>
99               </object>
100               <packing>
101                 <property name="expand">False</property>
102               </packing>
103             </child>
104             <child>
105               <object class="GtkToolItem" id="toolitemswitch">
106                 <property name="use_action_appearance">False</property>
107                 <property name="visible">True</property>
108                 <property name="can_focus">False</property>
109                 <child>
110                   <object class="GtkSwitch" id="switch1">
111                     <property name="visible">True</property>
112                     <property name="can_focus">True</property>
113                   </object>
114                 </child>
115               </object>
116               <packing>
117                 <property name="expand">False</property>
118               </packing>
119             </child>
120           </object>
121         </child>
122         <child>
123           <object class="GtkToolbar" id="toolbar2">
124             <property name="visible">True</property>
125             <property name="can_focus">False</property>
126             <property name="hexpand">True</property>
127             <style>
128               <class name="primary-toolbar"/>
129             </style>
130             <child>
131               <object class="GtkToggleToolButton" id="toolbutton5">
132                 <property name="use_action_appearance">False</property>
133                 <property name="visible">True</property>
134                 <property name="can_focus">False</property>
135                 <property name="label" translatable="yes">Normal</property>
136                 <property name="use_underline">True</property>
137                 <property name="is_important">True</property>
138                 <property name="icon_name">edit-find-symbolic</property>
139                 <style>
140                   <class name="raised"/>
141                 </style>
142               </object>
143               <packing>
144                 <property name="expand">False</property>
145                 <property name="homogeneous">True</property>
146               </packing>
147             </child>
148             <child>
149               <object class="GtkToggleToolButton" id="toolbutton6">
150                 <property name="use_action_appearance">False</property>
151                 <property name="visible">True</property>
152                 <property name="can_focus">False</property>
153                 <property name="label" translatable="yes">Active</property>
154                 <property name="use_underline">True</property>
155                 <property name="is_important">True</property>
156                 <property name="icon_name">edit-find-symbolic</property>
157                 <property name="active">True</property>
158                 <style>
159                   <class name="raised"/>
160                 </style>
161               </object>
162               <packing>
163                 <property name="expand">False</property>
164                 <property name="homogeneous">True</property>
165               </packing>
166             </child>
167             <child>
168               <object class="GtkToggleToolButton" id="toolbutton7">
169                 <property name="use_action_appearance">False</property>
170                 <property name="visible">True</property>
171                 <property name="sensitive">False</property>
172                 <property name="can_focus">False</property>
173                 <property name="label" translatable="yes">Insensitive</property>
174                 <property name="use_underline">True</property>
175                 <property name="is_important">True</property>
176                 <property name="icon_name">edit-find-symbolic</property>
177                 <style>
178                   <class name="raised"/>
179                 </style>
180               </object>
181               <packing>
182                 <property name="expand">False</property>
183                 <property name="homogeneous">True</property>
184               </packing>
185             </child>
186             <child>
187               <object class="GtkToggleToolButton" id="toolbutton8">
188                 <property name="use_action_appearance">False</property>
189                 <property name="visible">True</property>
190                 <property name="sensitive">False</property>
191                 <property name="can_focus">False</property>
192                 <property name="label" translatable="yes">Insensitive Active</property>
193                 <property name="use_underline">True</property>
194                 <property name="icon_name">edit-find-symbolic</property>
195                 <property name="is_important">True</property>
196                 <property name="active">True</property>
197                 <style>
198                   <class name="raised"/>
199                 </style>
200               </object>
201               <packing>
202                 <property name="expand">False</property>
203                 <property name="homogeneous">True</property>
204               </packing>
205             </child>
206           </object>
207         </child>
208       </object>
209     </child>
210   </object>
211 </interface>