58 if (view -> atom_win != NULL)
60 if (view -> atom_win -> notebook != NULL)
62 if (GTK_IS_WIDGET(view -> atom_win -> notebook))
66 widg = gtk_notebook_get_nth_page (GTK_NOTEBOOK (view -> atom_win -> notebook), i);
72 if (view -> cell_win != NULL)
74 if (view -> cell_win -> notebook != NULL)
76 if (GTK_IS_WIDGET(view -> cell_win -> notebook))
78 widg = gtk_notebook_get_nth_page (GTK_NOTEBOOK (view -> cell_win -> notebook), 0);
80 widg = gtk_notebook_get_nth_page (GTK_NOTEBOOK (view -> cell_win -> notebook), 1);
82 widg = gtk_notebook_get_nth_page (GTK_NOTEBOOK (view -> cell_win -> notebook), 3);
84 widg = gtk_notebook_get_nth_page (GTK_NOTEBOOK (view -> cell_win -> notebook), 4);
86 widg = gtk_notebook_get_nth_page (GTK_NOTEBOOK (view -> cell_win -> notebook), 5);
101G_MODULE_EXPORT
void rec_start (GtkButton * but, gpointer data)
104 if (! view -> record)
116 view -> record = TRUE;
128G_MODULE_EXPORT
void rec_stop (GtkButton * but, gpointer data)
131 view -> record = FALSE;
140 gtk_window_set_resizable (GTK_WINDOW (view -> win), TRUE);
155 if (view -> rec == NULL)
157 view -> rec = g_malloc0 (
sizeof*view -> rec);
159 view -> rec -> win =
create_win (str, view -> win, FALSE, FALSE);
175 gtk_widget_show (view -> rec -> win);
Global variable declarations Global convenience function declarations Global data structure defin...
GtkWidget * create_win(gchar *str, GtkWidget *parent, gboolean modal, gboolean resiz)
create a new GtkWindow
G_MODULE_EXPORT gboolean hide_this_window(GtkWidget *win, GdkEvent *event, gpointer data)
hide a GtkWindow
void add_gtk_close_event(GtkWidget *widg, GCallback handler, gpointer data)
add a close event signal and callback to a GtkWidget
GtkWidget * create_button(gchar *text, int image_format, gchar *image, int dimx, int dimy, int relief, GCallback handler, gpointer data)
create a simple button
void button_set_image(GtkButton *but, gchar *text, int format, gpointer image)
Add an image to a GtkButton.
void add_box_child_start(int orientation, GtkWidget *widg, GtkWidget *child, gboolean expand, gboolean fill, int padding)
Add a GtkWidget in a GtkBox at the initial position.
void widget_set_sensitive(GtkWidget *widg, gboolean sensitive)
Set sensitivity for a GtkWidget, ensuring it is a GtkWidget.
GtkWidget * create_hbox(int spacing)
create a GtkBox with horizontal orientation
void add_container_child(int type, GtkWidget *widg, GtkWidget *child)
Add a GtkWidget into another GtkWidget.
void show_the_widgets(GtkWidget *widg)
show GtkWidget
project * get_project_by_id(int p)
get project pointer using id number
Variable declarations related to the OpenGL window Function declarations related to the OpenGL wind...
void window_encode(glwin *view, gboolean video)
encoding a movie - creating the dialog
G_MODULE_EXPORT void window_recorder(GtkWidget *widg, gpointer data)
create video recorder window
void prepare_edition_windows(glwin *view, int status)
update the sensitivity of the edition window(s) if any are opened
G_MODULE_EXPORT void rec_start(GtkButton *but, gpointer data)
start recording
G_MODULE_EXPORT void rec_stop(GtkButton *but, gpointer data)
stop recording