⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gefaxinfo.c

📁 收发传真
💻 C
字号:
/* gefax: (gefax is a easy frontend for efax. With efax you can send faxesover your modem to someone else.) Copyright (C) 2000 Rainer Wiener <rainer@konqui.de>This program is free software; you can redistribute it and/ormodify it under the terms of the GNU Public License as published bythe Free Software Foundation; either version 2 of the License, or (atyour option) any later version.This program is distibuted in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUGeneral Public Licence for more details.You should have received a copy of the GNU General Public Licencealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.*/ #include <gtk/gtk.h>#include <stdio.h>#include "gefaxinfo.h"#include "gefaxerror.h"extern GtkWidget *window2;void info(GtkWidget *widget, gpointer data){  GtkWidget *buttoninfo, *tabelle1, *labelinfo;       window2 = gtk_window_new(GTK_WINDOW_TOPLEVEL);   gtk_widget_set_usize (GTK_WIDGET (window2), 310, 350);   gtk_window_set_title (GTK_WINDOW (window2), "ABOUT");       gtk_container_border_width (GTK_CONTAINER (window2), 10);   tabelle1 = gtk_table_new(100,20,TRUE);   gtk_container_add(GTK_CONTAINER(window2),tabelle1);   buttoninfo = gtk_button_new_with_label("OK");   labelinfo = gtk_label_new("gefax is a frontend for efax----------------------------gefax     Version 0.06(c) Copyright 2000 by Rainer Wiener\nThe source code of gefax is under the GPL licence.See the LICENCE file for details.\neMail: rainer@konqui.de\nHomepage: http://www.konqui.de");   gtk_table_attach_defaults(GTK_TABLE(tabelle1),labelinfo,0,20,0,90);   gtk_table_attach_defaults(GTK_TABLE(tabelle1),buttoninfo,7 ,14,91,100);   gtk_signal_connect (GTK_OBJECT (buttoninfo), "clicked",                     GTK_SIGNAL_FUNC (close1), NULL);   gtk_widget_show_all(window2);}void ready3(){  GtkWidget *buttoninfo, *tabelle1, *labelinfo;      window2 = gtk_window_new(GTK_WINDOW_TOPLEVEL);  gtk_widget_set_usize (GTK_WIDGET (window2), 200, 200);  gtk_window_set_title (GTK_WINDOW (window2), "Info");  gtk_container_border_width (GTK_CONTAINER (window2), 10);  tabelle1 = gtk_table_new(100, 20, TRUE);  gtk_container_add(GTK_CONTAINER(window2), tabelle1);  buttoninfo = gtk_button_new_with_label("OK");  labelinfo = gtk_label_new("FAX was sended");  gtk_table_attach_defaults(GTK_TABLE(tabelle1), labelinfo,  0,  20,  0, 80);  gtk_table_attach_defaults(GTK_TABLE(tabelle1), buttoninfo, 7,  14, 80,100);    gtk_signal_connect (GTK_OBJECT (buttoninfo), "clicked",		      GTK_SIGNAL_FUNC(close1), NULL);  gtk_widget_show_all(window2);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -