main.c

来自「一个linux下的时钟软件」· C语言 代码 · 共 48 行

C
48
字号
/* * Initial main.c file generated by Glade. Edit as required. * Glade will not overwrite this file. */#ifdef HAVE_CONFIG_H#  include <config.h>#endif#include <gtk/gtk.h>#include "interface.h"#include "support.h"#include "function.h"#include "calendar.h"#include "config.h"
intmain (int argc, char *argv[]){  GtkWidget *ClockMainWindow;  bindtextdomain(PACKAGE,LOCALE_DIR);
  textdomain(PACKAGE);
  gtk_set_locale ();
  gtk_init (&argc, &argv);

  add_pixmap_directory (PACKAGE_DATA_DIR "/clockxpm");  add_pixmap_directory (PACKAGE_SOURCE_DIR "/clockxpm");  /*   * The following code was added by Glade to create one of each component   * (except popup menus), just so that you see something after building   * the project. Delete any components that you don't want shown initially.   */  ClockMainWindow = create_ClockMainWindow ();
  interface_init (ClockMainWindow);  mycalendar_init ( ClockMainWindow);  gtk_widget_show_all (ClockMainWindow);
  gtk_main ();  return 0;}

⌨️ 快捷键说明

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