lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm having some trouble with IUP 3.0RC3 on GTK.

When I run this:

- ---snip---
require "iuplua"

local d = iup.dialog
	{
		iup.tree
		{
			name = "tree",
			expand = "YES"
		}
	}
	
d:show()

print(iup.GetDialogChild(d, "tree"))

if (not iup.MainLoopLevel or iup.MainLoopLevel()==0) then
	iup.MainLoop()
end
- ---snip---

...I would *expect* to get a valid IUP handle printed to stdout, and see
a window containing an empty tree. What I *get* is 'nil' and a tree
containing a single node, labelled 'tree'.

This doesn't seem to correspond with what the documentation is telling
me --- can anyone enlighten?

- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "People who think they know everything really annoy those of us who
│ know we don't." --- Bjarne Stroustrup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK2yjzf9E0noFvlzgRAm9XAJ0acXQ8njGZO335DbLmPk+Kxbj1bgCfXZtS
0onmjhJE6JpoyZy0wVbf2ag=
=MoQE
-----END PGP SIGNATURE-----