mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:22:44 +00:00 
			
		
		
		
	 eb610b309e
			
		
	
	
		eb610b309e
		
	
	
	
	
		
			
			I found myself having to cast to GWidget* all the time when writing some generic debugging code that just wanted to dump widget info.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <LibGUI/GWindow.h>
 | |
| 
 | |
| class GFilePicker final : public GWindow {
 | |
| public:
 | |
|     GFilePicker();
 | |
|     virtual ~GFilePicker() override;
 | |
| 
 | |
|     virtual const char* class_name() const override { return "GFilePicker"; }
 | |
| 
 | |
| private:
 | |
| };
 |