Add a menubutton to the a11y tests
This commit is contained in:
		| @ -72,6 +72,7 @@ testdata = \ | ||||
| 	scale-drawvalue.ui scale-drawvalue.txt \ | ||||
| 	placeholder-text.ui placeholder-text.txt \ | ||||
| 	menu.ui menu.txt \ | ||||
| 	menubutton.ui menubutton.txt \ | ||||
| 	combos.ui combos.txt \ | ||||
| 	listbox.ui listbox.txt \ | ||||
| 	stack.ui stack.txt \ | ||||
|  | ||||
							
								
								
									
										24
									
								
								testsuite/a11y/menubutton.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								testsuite/a11y/menubutton.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,24 @@ | ||||
| window1 | ||||
|   "frame" | ||||
|   index: 0 | ||||
|   state: enabled resizable sensitive showing visible | ||||
|   toolkit: gtk | ||||
|   <AtkComponent> | ||||
|   layer: window | ||||
|   alpha: 1 | ||||
|   menubutton | ||||
|     "toggle button" | ||||
|     parent: window1 | ||||
|     index: 0 | ||||
|     name: Menu | ||||
|     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 | ||||
							
								
								
									
										27
									
								
								testsuite/a11y/menubutton.ui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								testsuite/a11y/menubutton.ui
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <interface> | ||||
|   <!-- interface-requires gtk+ 3.0 --> | ||||
|   <object class="GtkMenu" id="menu"> | ||||
|     <property name="visible">True</property> | ||||
|     <property name="can_focus">False</property> | ||||
|     <child> | ||||
|       <object class="GtkMenuItem" id="imagemenuitem"> | ||||
|         <property name="label" translatable="yes">_New</property> | ||||
|         <property name="visible">True</property> | ||||
|         <property name="can_focus">False</property> | ||||
|         <property name="use_action_appearance">False</property> | ||||
|         <property name="use_underline">True</property> | ||||
|       </object> | ||||
|     </child> | ||||
|   </object> | ||||
|   <object class="GtkWindow" id="window1"> | ||||
|     <property name="can_focus">False</property> | ||||
|     <child> | ||||
|       <object class="GtkMenuButton" id="menubutton"> | ||||
|         <property name="visible">True</property> | ||||
|         <property name="can_focus">True</property> | ||||
|         <property name="popup">menu</property> | ||||
|       </object> | ||||
|     </child> | ||||
|   </object> | ||||
| </interface> | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen