Re: [glade--]A strange glademm behaviour...



Igor Gorbounov wrote:
Well, I do trying "glade-- gladetest2.glade":
"sh: line 1: gtkmm-config: command not found
Unknown library `gnomemm'

harmless. But perhaps it should not even try to look for gtk1/gnome1.

error parsing version std::string '1.4.1.2
gnome-config --modversion gnomemm: strange result 'gnome-libs-1.4.1.2'

Looks like I should accept four number version strings (or at least truncate them to 1.4.1)

Found pkg-config version 0.14.0
Generating code for gtk 2.2.1 (pkg-config), gtkmm 2.2.0 (pkg-config), [gnomemm 1.3.10 (pkg-config) gnomeuimm 1.3.16 (pkg-config) bonobomm 1.3.5 (pkg-config) bonobouimm 1.3.5 (pkg-config)]
notebook1: cannot create empty pages in Gtkmm (?).
       Please add an empty label"
like it says ...

There were a number of other widgets successfully processed (GtkLabel, GtkDrawingArea,
GtkTreeView, GtkButton ...).
The same test project with a GtkNotebook compiles ok in a pure glade-2 (C project).
What's wrong?

AFAIK has gtkmm no way to create an empty page in a notebook (and it's pretty useless anyway). So please add either a container or a label and it will work.

    Christof





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