/* * Copyright (C) 2012 - Juan Ferrer Toribio * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef VN_GUI_PRIVATE_H #define VN_GUI_PRIVATE_H #include "vn-gui.h" // Window signal Callbacks VnWindow * vn_gui_add_window (VnGui * obj, VnWindow * window); gboolean vn_gui_on_last_window_deleted (GtkWidget * widget, GdkEvent * event, VnWindow * window); void vn_gui_on_window_destroyed (GtkWindow * widget, VnWindow * window); gboolean vn_gui_on_window_focused (GtkWidget * widget, GdkEvent * event, VnWindow * window); GtkNotebook * vn_gui_on_page_detached (GtkNotebook * old_notebook, GtkWidget * page, gint x, gint y, VnWindow * window); void vn_gui_on_switch_page (GtkNotebook * notebook, VnForm * form, guint num, VnWindow * window); void vn_gui_on_page_removed (GtkNotebook * notebook, GtkWidget * page, guint num, VnWindow * window); void vn_gui_on_page_added (GtkNotebook * notebook, GtkWidget * page, guint num, VnWindow * window); void vn_gui_logout (VnGui * obj, gboolean exit); #endif