Re: For Win32 developers, only?



Yes, thanks. That typo was not in the source code though... TG!!

Vinzenz 'evilissimo' Feenstra escribió:

Ah, and there is a typo   namage    ;)

Vinzenz 'evilissimo' Feenstra schrieb:

Hey,

You should try Gtk::Stock::   instead of Gtk::StockID::
and you should write Gtk::manage()
;)
BR
Vinzenz 'evilissimo' Feenstra

Jamiil schrieb:

Can anyone tell me what is it that I am doing wrong?
Is this a bug in GtkmmWin32 bug?

TIA
class Jaime : public Gtk::Window{
protected:
Gtk::Button* btnQuit;
Gtk::Button* btnHelp;

......
publc:
Jaime();
virtual ~Jaime();
......
};
Jaime::Jaime(){
this->vBox = manage(new Gtk::VBox());
this->btnQuit = namage(new Gtk::Button(Gtk::StockID::CLOSE));
this->btnHelp = manage(new Gtk::Button(Gtk::StockID::HELP));
.................
this->set_title("Jaime");
this->set_border_width(0);
this->set_size_request(600, 400);
..................
}

This is a snip of what my code looks like, and this is the error I am getting:
Compiler: Default compiler
Building Makefile: "C:\Jamiil\dev\c++\gtkmm\Makefile.win"
Executing make...
make.exe -f "C:\Jamiil\dev\c++\gtkmm\Makefile.win" all
g++.exe -D__DEBUG__ -c jaime.cpp -o jaime.o -I"C:/GnuWin32/INCLUDE" -I"C:/GnuWin32/INCLUDE/GTK-2.0" -I"C:/GnuWin32/INCLUDE/GLIB-2.0" -I"C:/GnuWin32/INCLUDE/PANGO-1.0" -I"C:/GnuWin32/INCLUDE/CAIRO" -I"C:/GnuWin32/INCLUDE/ATK-1.0" -I"C:/GnuWin32/INCLUDE/GTKGLEXT-1.0" -I"C:/GnuWin32/LIB/GTK-2.0/INCLUDE" -I"C:/GnuWin32/LIB/GLIB-2.0/INCLUDE" -I"C:/GnuWin32/LIB/GTKGLEXT-1.0/INCLUDE" -I"C:/GnuWin32/INCLUDE/LIBGLADE-2.0" -I"C:/GnuWin32/INCLUDE/LIBXML2" -IC:/GnuWin32/include/gtkmm-2.4 -IC:/GnuWin32/lib/gtkmm-2.4/include -IC:/GnuWin32/include/glibmm-2.4 -IC:/GnuWin32/lib/glibmm-2.4/include -IC:/GnuWin32/include/gdkmm-2.4 -IC:/GnuWin32/lib/gdkmm-2.4/include -IC:/GnuWin32/include/pangomm-1.4 -IC:/GnuWin32/include/atkmm-1.6 -IC:/GnuWin32/include/gtk-2.0 -IC:/GnuWin32/include/sigc++-2.0 -IC:/GnuWin32/lib/sigc++-2.0/include -IC:/GnuWin32/include/glib-2.0 -IC:/GnuWin32/lib/glib-2.0/include -IC:/GnuWin32/lib/gtk-2.0/include -IC:/GnuWin32/include/pango-1.0 -IC:/GnuWin32/include/atk-1.0 -fno-access-control -fexceptions -fverbose-asm -pg -g3

jaime.cpp: In member function `void jme::Jaime::Init()':
jaime.cpp:29: error: `CLOSE' is not a member of `Gtk::StockID'
jaime.cpp:29: error: `namage' undeclared (first use this function)
jaime.cpp:29: error: (Each undeclared identifier is reported only once for each function it appears in.)
jaime.cpp:30: error: `HELP' is not a member of `Gtk::StockID'
jaime.cpp:30: error: `manage' undeclared (first use this function)

make.exe: *** [jaime.o] Error 1

Execution terminated
=======================


Should you need more information, please don't hesitate to ask for it.




_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


--
* No puedes ejercer tu fuerza hasta el punto de humillar a otros.
                     - Jean Chretien

* No tienes la libertad de desobedecer a Dios, aun mas si desobedeces a tu Señor no puedes llamarte Su servidor, pues te has convertido en un servidor de Satanás y de tus caprichos y vanos deseos.
                   -Sheykg Muhammad ibn ‘Uthaymeen

* Es increíble como la diminuta semilla de desconfianza y malentendido puede producir una bonanza de odio y muerte.
                 - Jorge Escalante


Ma'assalama! Adiós!  bye!







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