Add GtkHeaderBar to the a11y tests
This commit is contained in:
		| @ -75,6 +75,7 @@ testdata = \ | ||||
| 	combos.ui combos.txt \ | ||||
| 	listbox.ui listbox.txt \ | ||||
| 	stack.ui stack.txt \ | ||||
| 	headerbar.ui headerbar.txt \ | ||||
| 	$(NULL) | ||||
|  | ||||
| test_in_files = \ | ||||
|  | ||||
							
								
								
									
										49
									
								
								testsuite/a11y/headerbar.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								testsuite/a11y/headerbar.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,49 @@ | ||||
| window1 | ||||
|   "window" | ||||
|   index: 0 | ||||
|   state: enabled resizable sensitive showing visible | ||||
|   toolkit: gtk | ||||
|   <AtkComponent> | ||||
|   layer: window | ||||
|   alpha: 1 | ||||
|   headerbar1 | ||||
|     "filler" | ||||
|     parent: window1 | ||||
|     index: 0 | ||||
|     state: enabled sensitive showing visible | ||||
|     toolkit: gtk | ||||
|     <AtkComponent> | ||||
|     layer: widget | ||||
|     alpha: 1 | ||||
|     button1 | ||||
|       "push button" | ||||
|       parent: headerbar1 | ||||
|       index: 0 | ||||
|       name: Yes | ||||
|       state: enabled focusable sensitive showing visible | ||||
|       toolkit: gtk | ||||
|       <AtkComponent> | ||||
|       layer: widget | ||||
|       alpha: 1 | ||||
|       <AtkImage> | ||||
|       image size: -1 x -1 | ||||
|       image description: (null) | ||||
|       <AtkAction> | ||||
|       action 0 name: click | ||||
|       action 0 description: Clicks the button | ||||
|     page2 | ||||
|       "push button" | ||||
|       parent: headerbar1 | ||||
|       index: 1 | ||||
|       name: No | ||||
|       state: enabled focusable sensitive showing visible | ||||
|       toolkit: gtk | ||||
|       <AtkComponent> | ||||
|       layer: widget | ||||
|       alpha: 1 | ||||
|       <AtkImage> | ||||
|       image size: -1 x -1 | ||||
|       image description: (null) | ||||
|       <AtkAction> | ||||
|       action 0 name: click | ||||
|       action 0 description: Clicks the button | ||||
							
								
								
									
										33
									
								
								testsuite/a11y/headerbar.ui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								testsuite/a11y/headerbar.ui
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <interface> | ||||
|   <!-- interface-requires gtk+ 3.0 --> | ||||
|   <object class="GtkWindow" id="window1"> | ||||
|     <property name="can_focus">False</property> | ||||
|     <property name="type">popup</property> | ||||
|     <child> | ||||
|       <object class="GtkHeaderBar" id="headerbar1"> | ||||
|         <property name="visible">True</property> | ||||
|         <property name="title">Title</property> | ||||
|         <property name="subtitle">Subtitle</property> | ||||
|         <child> | ||||
|           <object class="GtkButton" id="button1"> | ||||
|             <property name="label" translatable="yes">Yes</property> | ||||
|             <property name="visible">True</property> | ||||
|           </object> | ||||
|           <packing> | ||||
|             <property name="pack-type">start</property> | ||||
|           </packing> | ||||
|         </child> | ||||
|         <child> | ||||
|           <object class="GtkButton" id="page2"> | ||||
|             <property name="label" translatable="yes">No</property> | ||||
|             <property name="visible">True</property> | ||||
|           </object> | ||||
|           <packing> | ||||
|             <property name="pack-type">end</property> | ||||
|           </packing> | ||||
|         </child> | ||||
|       </object> | ||||
|     </child> | ||||
|   </object> | ||||
| </interface> | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen