November 24, 2024, 10:18:44 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Glade Interface Designer  (Read 5603 times)

Offline dalakow

  • Linux Noob !
  • *
  • Posts: 6
Glade Interface Designer
« on: January 16, 2009, 07:40:11 PM »
Hi !
I made my C application. How to use Glade to create interface to it.
/* This is the real working “C” program. I think it is the “window1”
To work propperly “NET” (the name of program) needs to read text file. With “menuitem1” I want to find it. “window1” resaves the name (signal) from “menuitem1”' There are 3 ways of calculation from “NET” : “heat system”,”fresh air system” and “extract air system”. The “radiobutton1”, “radiobutton2” or “radiobutton3” are sending signal how to calculate. From “entry1” and “entry2”  the “window1” resaves signals of values two need variables. “NET” returns resistance of calculatin  gsystem, sending sinal to the “entry3” */

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "f21.h"
#include "f220.h"
#include "farr1.h"
#include "farr2.h"
#include "fbuf.h"
#include "f5.h"
#include "f6.h"


FILE *from,   *to,   *draw,   *chDXF;
char       from_file_name[250],to_file_name[250];
char      bufStr[1024],attarr[128][500],arg[10],deltaTinsts[10];
float      plsLim, datarr2[1000][29],datarr3[1000][8],deltaTinst0;
int      i,endraw;

int main(int argc, char *argv[ ])
      // ./NET executable file
      // argv[1] [net type: E (extract),F (fresh) or H (hydro)]
      // argv[2] [data file name]
      // argv[3] [limit resistance]
      // argv[4] [result file name]  
      // argv[5] [if H - delta T inst]
{
char   limit[100],*pe,bufTitle[1024],buffer[500];
/* body of program */
  return 0;
}
How to send my " My1.glade" ?(  "picture" ("window1" with widgets) )
I do not now how connect "picture" ("window1" with widgets) with C code my application.
Sorry for my Engish.

Dalakow