 95959ef470
			
		
	
	95959ef470
	
	
	
		
			
			Just pretend that the main widget is an empty widget the size of the overlay. Makes it possible to write testcases where no size requests are run on overlay widgets before size_allocate() is called. Testcase included.
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <!-- Generated with glade 3.18.1 -->
 | |
| <interface>
 | |
|   <requires lib="gtk+" version="3.12"/>
 | |
|   <object class="GtkWindow" id="window1">
 | |
|     <property name="can_focus">False</property>
 | |
|     <child>
 | |
|       <object class="GtkOverlay" id="overlay1">
 | |
|         <property name="width_request">100</property>
 | |
|         <property name="height_request">100</property>
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <child>
 | |
|           <object class="GtkBox" id="box1">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">False</property>
 | |
|             <property name="orientation">vertical</property>
 | |
|             <child>
 | |
|               <placeholder/>
 | |
|             </child>
 | |
|           </object>
 | |
|         </child>
 | |
|         <child type="overlay">
 | |
|           <object class="GtkLabel" id="label1">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">False</property>
 | |
|             <property name="label" translatable="yes">VISIBLE</property>
 | |
|           </object>
 | |
|         </child>
 | |
|       </object>
 | |
|     </child>
 | |
|   </object>
 | |
| </interface>
 |