fn render_widget_to_texture(widget: &impl IsA<Widget>) -> Option<Texture>
Render the given widget to a GdkTexture.
GdkTexture