Re: EXTERNAL: Re: widget get_name() not working the way it used to
- From: Damon Register <damon w register lmco com>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: EXTERNAL: Re: widget get_name() not working the way it used to
- Date: Thu, 30 Jun 2011 10:17:19 -0400
On 6/30/2011 7:23 AM, Murray Cumming wrote:
There is Gtk::Buildable::get_name() and Gtk::Widget::get_name() and they
presumably return different things.
since I am using 2.22, Gtk::Buildable::get_name() does not apply,
right?
You could try gtk_buildable_get_name(idc_quit->gobj())
I did and got
$ make
g++ -g -fomit-frame-pointer `pkg-config gtkmm-2.4 --cflags` -c hello.cpp
hello.cpp: In constructor 'hello::hello(Gtk::Window::BaseObjectType*, const Glib
::RefPtr<Gtk::Builder>&)':
hello.cpp:42:57: error: cannot convert 'GtkButton*' to 'GtkBuildable*' for argum
ent '1' to 'const gchar* gtk_buildable_get_name(GtkBuildable*)'
make: *** [hello.o] Error 1
Damon Register
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]