some gtk2 code

Miscellaneous Forums/Linux Discussion/some gtk2 code

Running the IDE in strace (thank's for letting me know) gives:

--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "/doc/commands.html#CreateBank ta"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "o.mod/doc/commands.html#Upper ta"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, ">\r\n&nbsp;<a class=navsmall href="..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "mall href=../../mod/brl.mod/blit"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ll href=../../mod/brl.mod/blitz."..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "s.html#EventExtra target=main>Ev"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "nbsp;<a class=navsmall href=../."..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "hics</a><br>\r\n<div id=brl_graphi"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
brk(0x83a9000)                          = 0x83a9000
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "d/freejoy.mod/doc/commands.html#"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, " target=main>ACos</a><br>\r\n&nbsp"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ss=navsmall href=../../mod/brl.m"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, ".mod/doc/commands.html#SetViewpo"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, ">\r\n&nbsp;<a class=navsmall href="..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "p;<a class=navsmall href=../../m"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "tItem</a><br>\r\n&nbsp;<a class=na"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ain>SliderValue</a><br>\r\n&nbsp;<"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "avbig href=../../mod/brl.mod/glm"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ain>KeyDown</a><br>\r\n&nbsp;<a cl"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "pt</a><br>\r\n&nbsp;<a class=navsm"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ream</a><br>\r\n&nbsp;<a class=nav"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "stream.mod/doc/commands.html tar"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ended</a><br>\r\n<a class=navsmall"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ll href=../../mod/brl.mod/maxgui"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "d/brl.mod/maxgui.mod/doc/command"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "s=navsmall href=../../mod/brl.mo"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
brk(0x83d9000)                          = 0x83d9000
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "=navsmall href=../../mod/brl.mod"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "\n<a class=navsmall href=../../mo"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "s=navsmall href=../../mod/brl.mo"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ToObject</a><br>\r\n<a class=navsm"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "me</a><br>\r\n<a class=navsmall hr"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "d/brl.mod/pngloader.mod/doc/comm"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "rget=main>MouseDown</a><br>\r\n<a "..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "ds.html#PokeFloat target=main>Po"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "RemoveLink</a><br>\r\n<a class=nav"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "small href=../../mod/brl.mod/max"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "od/brl.mod/maxgui.mod/doc/comman"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "all href=../../mod/brl.mod/socke"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "d/brl.mod/audio.mod/doc/commands"..., 4096) = 4096
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "Upper target=main>Upper</a><br>\r"..., 4096) = 3627
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
close(14)                               = 0
munmap(0xb6d56000, 4096)                = 0
brk(0x8409000)                          = 0x8409000
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
brk(0x8439000)                          = 0x8439000
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
brk(0x8469000)                          = 0x8469000
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
brk(0x848c000)                          = 0x848c000
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
writev(4, [{"\2\30\4\0c\0\200\2\0\10\0\0_\200C\0007\2\5\0d\0\200\2c"..., 604}, {"SHAPE", 5}, {"\0\0\0", 3}], 3) = 612
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(4, "\23\0\223\1c\0\200\2c\0\200\2\0\363=\10\0\0\0\0\254\223"..., 32) = 32
read(4, "\23\0\225\1b\0\200\2b\0\200\2\0\363=\10\0\0\0\0\254\223"..., 32) = 32
read(4, "\17\324\225\1b\0\200\2\2\0\0\0\0\0\0\0\264C\331\267\0\0"..., 32) = 32
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(4, "\17\324\225\1c\0\200\2\2\0\0\0\330\\\344\277\271\375\30"..., 32) = 32
read(4, "\23\\\231\1f\0\200\2f\0\200\2\0\0\200\2\1\0\0\300\1\0\0"..., 32) = 32
read(4, "\23\\\235\1g\0\200\2g\0\200\2\0\0\200\2\1\0\0\300\1\0\0"..., 32) = 32
read(4, "\23\\\241\1h\0\200\2h\0\200\2\0\0\200\2\1\0\0\300\1\0\0"..., 32) = 32
read(4, "\23\\\245\1i\0\200\2i\0\200\2\0\0\200\2\1\0\0\300\1\0\0"..., 32) = 32
read(4, "\23\\\251\1j\0\200\2j\0\200\2\0\0\200\2\1\0\0\300\1\0\0"..., 32) = 32
read(4, "\23\\\255\1k\0\200\2k\0\200\2\0\0\200\2\1\0\0\300\1\0\0"..., 32) = 32
read(4, "\1\363\256\1\0\0\0\0\1\200@\0\0\0\0\0\20\0\0\0\20\0\0\0"..., 32) = 32
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}], 6, 0) = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1155218371, 901511}, NULL) = 0
stat64("/home/sebholl/Desktop/BlitzMax/doc/index.html", {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
stat64("/home/sebholl/Desktop/BlitzMax/doc/index.html", {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
stat64("/home/sebholl/Desktop/BlitzMax/doc/index.html", {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
open("/home/sebholl/Desktop/BlitzMax/doc/index.html", O_RDONLY) = 14
fstat64(14, {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d56000
_llseek(14, 0, [0], SEEK_CUR)           = 0
fstat64(14, {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
_llseek(14, 0, [0], SEEK_SET)           = 0
read(14, "<html>\r\n<head>\r\n<link rel="style"..., 1505) = 1505
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
_llseek(14, 1505, [1505], SEEK_SET)     = 0
_llseek(14, -1505, [0], SEEK_CUR)       = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
close(14)                               = 0
munmap(0xb6d56000, 4096)                = 0
stat64("/home/sebholl/Desktop/BlitzMax/doc/index.html", {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
open("/home/sebholl/Desktop/BlitzMax/doc/index.html", O_RDONLY) = 14
fstat64(14, {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d56000
_llseek(14, 0, [0], SEEK_CUR)           = 0
fstat64(14, {st_mode=S_IFREG|0644, st_size=1505, ...}) = 0
_llseek(14, 0, [0], SEEK_SET)           = 0
read(14, "<html>\r\n<head>\r\n<link rel="style"..., 1505) = 1505
_llseek(14, 1505, [1505], SEEK_SET)     = 0
read(14, "", 4096)                      = 0
close(14)                               = 0
munmap(0xb6d56000, 4096)                = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
gettimeofday({1155218371, 939348}, NULL) = 0
stat64("/home/sebholl/Desktop/BlitzMax/doc/bmax120.png", {st_mode=S_IFREG|0644, st_size=13680, ...}) = 0
stat64("/home/sebholl/Desktop/BlitzMax/doc/bmax120.png", {st_mode=S_IFREG|0644, st_size=13680, ...}) = 0
open("/home/sebholl/Desktop/BlitzMax/doc/bmax120.png", O_RDONLY) = 14
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
fstat64(14, {st_mode=S_IFREG|0644, st_size=13680, ...}) = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d56000
_llseek(14, 0, [0], SEEK_CUR)           = 0
fstat64(14, {st_mode=S_IFREG|0644, st_size=13680, ...}) = 0
_llseek(14, 12288, [12288], SEEK_SET)   = 0
read(14, "\30\37x\336\202\335^\201m\222\t\20\261\365\275\335-&\313"..., 1392) = 1392
_llseek(14, 0, [0], SEEK_SET)           = 0
close(14)                               = 0
munmap(0xb6d56000, 4096)                = 0
stat64("/home/sebholl/Desktop/BlitzMax/doc/bmax120.png", {st_mode=S_IFREG|0644, st_size=13680, ...}) = 0
open("/home/sebholl/Desktop/BlitzMax/doc/bmax120.png", O_RDONLY) = 14
fstat64(14, {st_mode=S_IFREG|0644, st_size=13680, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6d56000
_llseek(14, 0, [0], SEEK_CUR)           = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
fstat64(14, {st_mode=S_IFREG|0644, st_size=13680, ...}) = 0
_llseek(14, 12288, [12288], SEEK_SET)   = 0
read(14, "\30\37x\336\202\335^\201m\222\t\20\261\365\275\335-&\313"..., 1392) = 1392
_llseek(14, 0, [0], SEEK_SET)           = 0
read(14, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0x\0\0\0x\10\2\0\0\0\266"..., 4096) = 4096
brk(0x84ad000)                          = 0x84ad000
read(14, "\262j\27\336E\n_q`\347\221=[\3121m-\337\267\375\350\201"..., 4096) = 4096
read(14, "\6\10\r\264\234\363\371}\300+x\314\204PA^.hr\351\265\371"..., 4096) = 4096
read(14, "\30\37x\336\202\335^\201m\222\t\20\261\365\275\335-&\313"..., 4096) = 1392
read(14, "", 4096)                      = 0
close(14)                               = 0
munmap(0xb6d56000, 4096)                = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
uname({sys="Linux", node="laptop", ...}) = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
open("/etc/gtk-2.0/gdk-pixbuf.loaders", O_RDONLY|O_LARGEFILE) = 14
fstat64(14, {st_mode=S_IFREG|0644, st_size=3119, ...}) = 0
read(14, "# GdkPixbuf Image Loader Modules"..., 1024) = 1024
read(14, "der-jpeg.so"\n"jpeg" 5 "gtk20" "T"..., 1024) = 1024
read(14, "tga.so"\n"tga" 4 "gtk20" "The Tar"..., 1024) = 1024
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
read(14, "  " 100\n" <!DOCTYPE svg" "*     "..., 1024) = 47
read(14, "", 1024)                      = 0
close(14)                               = 0
stat64("/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so", {st_mode=S_IFREG|0644, st_size=14720, ...}) = 0
open("/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so", O_RDONLY) = 14
read(14, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\24"..., 512) = 512fstat64(14, {st_mode=S_IFREG|0644, st_size=14720, ...}) = 0
old_mmap(NULL, 17648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 14, 0) = 0xb6ca5000
old_mmap(0xb6ca9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 14, 0x3000) = 0xb6ca9000
close(14)                               = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
brk(0x84d4000)                          = 0x84d4000
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 14
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
writev(14, [{"*** glibc detected *** ", 23}, {"free(): invalid pointer", 23}, {": 0x", 4}, {"084a4660", 8}, {" ***\n", 5}], 5*** glibc detected *** free(): invalid pointer: 0x084a4660 ***
) = 63
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(5011, 5011, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++


I noticed the ***glibc*** message at the end but I can't make anything else out of it. I've tried to use gbd, by type "file ./gtkmaxide" and then "run" but all I get is a load of "no debugging symbols found" before the program halts and doesn't print anymore??? (possibly where it has crashed, but I'm not sure).

The ampersand thing... I only coded it for Menus - silly me - not thinking about buttons etc... I presume it is *only* buttons that need this?
Will sort that out too :-)

In Windows, the ampersand thing appers on all button types - e.g. checkboxes, option button and standard push buttons. I don't think there are any more. Also, are gadget hotkeys (e.g. Ctrl+O) added to buttons or just menus at the moment?

The GADGET_ACTION event must be being raised by the SetButtonState... so I will wrap that so that it doesn't.

It seems also that SetGadgetShape() on Windows, generates an EVENT_WINDOWMOVE / EVENT_WINDOWSIZE event that should be surpressed as well for compatibility with the other modules.

I don't know much about Linux API programming but I may be able to help you with certain BMax areas of GTKMaxGUI so if you need any help, I'll try my best. You've done so much already, it's the least I can do.

Yeah, you tend to find a lot of bugs when writing a GUI editor, like I have with GED ;-)

What's GED? Are you writing a gui-editor too? Looks like we are in competition, :-P. Have a look at mine (Max'd GUI) in my signature, and if you're interested in any part, let me know.

Finally,

P.S... feedback is very much appreciated, and definitely required if improvements are to be made.

Come on Blitz Community - show your support!!!


Thnx

Seb