- Change to another workspace and open a terminal program in
'SIDE/DEMOS/SIDEdemos/GNOMECGL/Sample1/src'.
- We will 'run' the
Program 'sample1' in a
terminal.
- and run the program ( ./sample1 ) notice the full stop and
forward slash to run a program in the current directory to get the
following messages ( or similar ),
db@wks1:~/Data/Projects/SIDE/DEMOS/SIDEdemos/GNOMECGL/Sample1/src$
./sample1
Trying local 'glade' file
Local 'glade' file found!
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_save1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_preferences1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_quit1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_cut1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_about1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_open1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_paste1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_clear1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_new1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_save_as1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_properties1_activate'.
(sample1:7169): libglade-WARNING **:
could not find signal handler 'on_copy1_activate'.
gdk_gl_choose_visual() visual depth =
24
Mesa: CPU vendor: GenuineIntel
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa: Not testing OS support for SSE,
leaving enabled.
Mesa: Mesa 7.0.2 DEBUG build Jan 12
2008 13:36:46
Fig-3
|
- Try dragging the window wider,
notice that the white triangle changes shape to fill the new window
dimensions.
- this is because of line 144 of
'main.c'
g_signal_connect(GTK_OBJECT(glarea),"configure_event",G_CALLBACK(glareaReshape),NULL);
- Close the 'sample1' program
window by clicking
on the top right 'X'.
- Return to the workspace that
contains the sied4linux IDE,
- Close the 'sample1' project
'Project>Close Project'.