/* * widgets.h * * Copyright (C) 2007 Pau Espin Pedrol (Sharwin_F) * * 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 */ #include #include #include #include #include #include "events.h" GtkWidget *top_window_crea(int amplada, int altura, int border, const char* titol, bool main_widget); GtkWidget *notebook_crea(GtkWidget *parent); GtkWidget *notebook_hbox_crea(GtkWidget *parent); GtkWidget *notebook_vbox_crea(GtkWidget *parent); GtkWidget *alert(const gchar *titol, gchar *text, int error); GtkWidget *textview_scrolled_crea(GtkWidget *parent, gchar *str); void notebook_assigna_pagina(GtkNotebook *parent, GtkWidget *pagina, char *texttab); GtkWidget *pagina_encrypt_crea(GtkNotebook *parent); GtkWidget *pagina_decrypt_crea(GtkNotebook *parent); GtkWidget *pagina_about_crea(GtkNotebook *parent);