Toggle Button Bug



It seems to me that the togglebutton toggled() function has a but. Documentation says that when called it will change the state of the object. I can't varify this behavior. It calls the toogle signal but doesn't seem to change the state of the object.

Example Code Below:
http://www.nylxs.com/docs/workshops/toogle.cc
http://www.nylxs.com/docs/workshops/toogle.cc.html
http://www.nylxs.com/docs/workshops/toogle.h
http://www.nylxs.com/docs/workshops/toogle.h.html
http://www.nylxs.com/docs/workshops/toogle_main.c
http://www.nylxs.com/docs/workshops/toogle_main.c.html

result of package config is as follows:

pkg-config gtkmm-2.4 --cflags --libs
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtkmm-2.4 -I/opt/gnome/lib/gtkmm-2.4/include -I/opt/gnome/include/glibmm-2.4 -I/opt/gnome/lib/glibmm-2.4/include -I/opt/gnome/include/gdkmm-2.4 -I/opt/gnome/lib/gdkmm-2.4/include -I/opt/gnome/include/pangomm-1.4 -I/opt/gnome/include/atkmm-1.6 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/include/sigc++-2.0 -I/opt/gnome/lib/sigc++-2.0/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/atk-1.0 -L/opt/gnome/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0



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