content = $content; // Init image object $this->gtk = new \GtkImage; } public function set( string $data ): void { $this->gtk->set_from_resource( $data ); } }