📄 gefaxentry.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 "gefaxentry.h"#include <string.h>#include <stdlib.h>extern GString *faxnr,*to1,*from1,*faxfrom1,*filenam;void filename(GtkWidget *widget, gpointer data){ g_string_assign(filenam, gtk_entry_get_text(GTK_ENTRY(widget)));}void faxnummer(GtkWidget *widget, gpointer data){ g_string_assign(faxnr, gtk_entry_get_text(GTK_ENTRY(widget)));}void to2(GtkWidget *widget, gpointer data){ g_string_assign(to1, gtk_entry_get_text(GTK_ENTRY(widget)));}void from2(GtkWidget *widget, gpointer data){ g_string_assign(from1, gtk_entry_get_text(GTK_ENTRY(widget)));}void faxfrom(GtkWidget *widget, gpointer data){ g_string_assign(faxfrom1, gtk_entry_get_text(GTK_ENTRY(widget)));}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -