mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
get background widgets from xml
This commit is contained in:
parent
3ada32eeac
commit
e21bce1843
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,8 @@ typedef struct App
|
||||||
GtkWidget *generic_duration;
|
GtkWidget *generic_duration;
|
||||||
GstState state;
|
GstState state;
|
||||||
GType selected_type;
|
GType selected_type;
|
||||||
|
GtkWidget *background_properties;
|
||||||
|
GtkComboBox *background_type;
|
||||||
} App;
|
} App;
|
||||||
|
|
||||||
App *app_new (void);
|
App *app_new (void);
|
||||||
|
@ -811,6 +813,8 @@ create_ui (App * app)
|
||||||
GET_WIDGET (app->play, "play", GTK_ACTION);
|
GET_WIDGET (app->play, "play", GTK_ACTION);
|
||||||
GET_WIDGET (app->seconds, "seconds", GTK_ENTRY);
|
GET_WIDGET (app->seconds, "seconds", GTK_ENTRY);
|
||||||
GET_WIDGET (app->generic_duration, "generic_duration", GTK_WIDGET);
|
GET_WIDGET (app->generic_duration, "generic_duration", GTK_WIDGET);
|
||||||
|
GET_WIDGET (app->background_type, "background_type", GTK_COMBO_BOX);
|
||||||
|
GET_WIDGET (app->background_properties, "background_properties", GTK_WIDGET);
|
||||||
|
|
||||||
/* get text notifications */
|
/* get text notifications */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue