Files
clapper/src/lib/clapper-gtk/ui/clapper-gtk-video-placeholder.ui
Rafał Dzięgiel a91ce5b0ab clapper-gtk: Add video placeholder widget
A simple placeholder to be shown when "ClapperGtkVideo" is used with a video
sink that cannot be embedded in it (with a text explaining that).
2025-01-02 13:34:36 +01:00

47 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="clapper-gtk">
<template class="ClapperGtkVideoPlaceholder" parent="ClapperGtkContainer">
<property name="adaptive-width">560</property>
<property name="adaptive-height">400</property>
<signal name="adapt" handler="adapt_cb"/>
<child>
<object class="GtkBox" id="box">
<property name="orientation">vertical</property>
<property name="halign">center</property>
<property name="valign">center</property>
<child>
<object class="GtkImage">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="icon-name">video-display-symbolic</property>
</object>
</child>
<child>
<object class="GtkLabel" id="title_label">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="justify">center</property>
<property name="wrap">true</property>
<property name="label" translatable="yes">External video output</property>
<style>
<class name="title-1"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="justify">center</property>
<property name="wrap">true</property>
<property name="label" translatable="yes">Used video sink cannot be embedded within application window</property>
<style>
<class name="body"/>
</style>
</object>
</child>
</object>
</child>
</template>
</interface>