Hey all,
I use sigc::ref(window) and compiled the progrem, but according to
Murray's opinion that not the best way to do it.
Sorry not told the more information about the gtk and gtkmm releases,
before I use gtk 2.6.9 with gtkmm 2.6.1-1, sames that,at all those are
older, but the problem occured
On Sat, 2005-11-19 at 16:28 +0100, Murray Cumming wrote:
> On Fri, 2005-11-18 at 15:47 -0600, Bob Caryl wrote:
> > Hey Murray,
> >
> > What about the original problem/question: Johnson Zhao's compiler
> > complaining that there is no "visit" method declared for the
> > sigc::bound_argument class?
On Fri, 2005-11-18 at 15:47 -0600, Bob Caryl wrote:
> Hey Murray,
>
> What about the original problem/question: Johnson Zhao's compiler
> complaining that there is no "visit" method declared for the
> sigc::bound_argument class?
> (http://mail.gnome.org/archives/gtkmm-list/2005-November/msg00190
Hey Murray,
What about the original problem/question: Johnson Zhao's compiler
complaining that there is no "visit" method declared for the
sigc::bound_argument class?
(http://mail.gnome.org/archives/gtkmm-list/2005-November/msg00190.html)
Bob
Murray Cumming wrote:
>On Fri, 2005-11-18 at 17:02
On Fri, 2005-11-18 at 17:02 +0100, Armin Burgmeier wrote:
> Normally, you tell sigc::bind via the first template argument which
> argument to bind to and not what type. I do not know whether there is
> some magic to decide whether to interpret this argument as type or
> argument number, but you
Normally, you tell sigc::bind via the first template argument which
argument to bind to and not what type. I do not know whether there is
some magic to decide whether to interpret this argument as type or
argument number, but you may also try this:
m_TreeView.signal_row_activated().connect(
The compiler is complaining that class template
sigc::bound_argument has no member method named "visit".
The docs at http://libsigc.sourceforge.net/ seem to make no mention of
this class at all.
However, I found documentation of this class here:
http://www.spectronet.inf.br/Documentation/libsi
the following is my program structure...
I want to transfer the father window to the signal handler
ComInfo::ComInfo(Gtk::Window& window)
{
// bind Gtk::Window& window
m_TreeView.signal_row_activated().connect(sigc::bind(sigc::mem_fun(*this,
&ComInfo::on_company_activated),window));
the following is my program structure...
I want to transfer the father window to the signal handler
ComInfo::ComInfo(Gtk::Window& window)
{
// bind Gtk::Window& window
m_TreeView.signal_row_activated().connect(sigc::bind(sigc::mem_fun(*this,
&ComInfo::on_company_activated),window));