473,396 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

gtkmm 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

--
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software

So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998

http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

"Yeah - I write Free Software...so SUE ME"

"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."

"I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one."

© Copyright for the Digital Millennium

Oct 10 '08 #1
2 2447
Ruben wrote:

[stuff]

Once is enough!

--
Ian Collins
Oct 10 '08 #2
On Fri, 10 Oct 2008 16:53:39 +1300, Ian Collins wrote:
Ruben wrote:

[stuff]

Once is enough!
Thanks

I had to fix the subject for archival purposes...
I posted to the gtk list as well, when it is up which seems only 50% of
the time of late...
Ruben
--
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software

So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998

http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

"Yeah - I write Free Software...so SUE ME"

"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."

"I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one."

© Copyright for the Digital Millennium

Oct 10 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lars Weber | last post by:
Hi! I am trying out some C++ programmig with my Gentoo Linux distribution. When I generate a Gtkmm project with the Anjuta IDE wizard and just push the "Run configure" button, I end up with the...
1
by: Al-Burak | last post by:
I have been tinkering around the GTK world for a while, and since I am more of a C++ programmer I would like to use GTKmm to develop my GUI. However, I have a GTK+ (from Tor Lillqvist) version...
4
by: Neil Coleclough | last post by:
I am constructing a database to process product returns for my Company. I have a number of toggle buttons to identify the stage to which each return has been processed. For example, clicking the...
2
by: Mel | last post by:
Hi, is there any way I can implement toolstrip toggle button simular to the MS Word alignment button? if one toggle button already pressed down, if user click on the "pushed down button", the...
2
by: Al-Burak | last post by:
Ever since I started tinkering around the GTK+ and later on Gtkmm toolkits, I've noticed a steady flow of programmers talking more and more, and more passionately, about these toolkits. It came...
24
by: silversurfer2025 | last post by:
Hello. I do not know whether this really is the right group, but I could not find any group dealing only with GUIs for C++ so here I am. I am currently deciding which GUI to use in my program....
1
by: Jeffrey Christiansen | last post by:
I wanted to add a toggle button to a VB2005 form to be used for a simple Windows Application (i.e. compiled to a "*.exe"), so I added the ActiveX Microsoft Forms Object toggle button, however I...
2
by: Markus Pitha | last post by:
Hello, I have a window containing a table with some (dynamically created) buttons. I want to change the buttons, when they are clicked, but with dynamically created buttons, this issue seems to...
0
rhitam30111985
by: rhitam30111985 | last post by:
Hi everyone , dunno whether to post this in linux forum or c/c++ forum.. I am trying to create GUI files using gtkmm library in c++ . I am using debian linux with GNOME desktop environment . i...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.