EdBx-Python.c

Aller à la documentation de ce fichier.
00001 // gcc -Wall -s `pkg-config --cflags --libs gtk+-2.0` -I/usr/include/gtksourceview-1.0 -lgtksourceview-1.0 -o EdBx-Fasm EdBx-Fasm.c
00002 
00003 #include <gtk/gtk.h>
00004 
00005  gchar  *AppCAPTION     = "Python Bx Editor";
00006  gchar  *AppConf        = "EdBx-Python.conf";
00007  gchar  *AppEXTproj     = "*.bxpyp";
00008  gchar  *AppCOMPILER    = "python";
00009  gchar  *AppLINKER      = "ld";
00010  gchar  *AppICON        = "img/ico.png";
00011 
00012  #define nbEXT 4
00013  gchar  *EXTs[nbEXT]    = { NULL ,    "py"       };
00014  gchar  *IMGs[nbEXT]    = { NULL ,"img/py-16.xpm"};
00015 
00016  gchar  *AppNEWfile     = "new.py";
00017  gchar  *AppMIME        = "text/x-python";
00018  gchar  *AppTEMPLATE    = "Templates/hello.py";
00019  gchar  *AppABOUTstr    = "Python Bx Editor\nEcrit en C avec GTK+ 2.0\n\n"
00020                           "Par Bertrand-Xavier Massot (C) 2006\n";
00021 
00022 #include "Globals.h"
00023 
00024 /* =============================================================================
00025  * Projet: Compiler ************************************************************
00026 ==============================================================================*/
00027 void Projet_Compiler()
00028 {
00029   gchar *S;
00030 
00031   gtk_list_store_clear(GTK_LIST_STORE (model));
00032 
00033   S = g_strdup_printf("%s %s", AppCOMPILER, chemin[idACTIF]);
00034   Liste_Add_Msg(S);
00035   Creer_Pipe(S);
00036 
00037 }
00038 
00039 /* =============================================================================
00040  * Point d' entrée *************************************************************
00041 ==============================================================================*/
00042 int main(int argc, char **argv)
00043 {
00044   gtk_init(&argc, &argv);
00045 
00046   Show_Editor();
00047   if (argv[1]) Projet_Ouvrir(argv[1]);
00048 
00049   gtk_main();
00050   return 0;
00051 }

Généré le Sat Jan 13 02:54:13 2007 pour EdBX:IDELangageC,Python,FASMécritavecGTK+ par  doxygen 1.4.2