Re: bells and whistle in Gtkmm

2008-12-07 Thread Jamiil
Thanks Mohamed for the help! I read the documentation and it is exactly what I am looking for and more. However, the compiler complains saying that Display() is protected and in Gdk::Display::Display *is a 'protected' method (?) What can I do to fix this problem? Thanks --- #include

Re: bells and whistle in Gtkmm

2008-12-07 Thread Chris Vine
On Sun, 07 Dec 2008 07:19:01 -0500 Jamiil [EMAIL PROTECTED] wrote: Thanks Mohamed for the help! I read the documentation and it is exactly what I am looking for and more. However, the compiler complains saying that Display() is protected and in Gdk::Display::Display *is a 'protected' method

Re: bells and whistle in Gtkmm

2008-12-07 Thread Jam
Chris Vine wrote: On Sun, 07 Dec 2008 07:19:01 -0500 Jamiil [EMAIL PROTECTED] wrote: Thanks Mohamed for the help! I read the documentation and it is exactly what I am looking for and more. However, the compiler complains saying that Display() is protected and in Gdk::Display::Display *is a

Re: bells and whistle in Gtkmm

2008-12-07 Thread Jam
Yah! as in the message below, there is a problem here, obviously the writer did not want this class to be used directly. So what I have done is derive a class from it, and that solve the problem! namespace hamd class Display : virtual public Gdk::Display{ public: Display(){} }; } #include

Re: gtkmm documentation for gtkmm-win32-devel-2.14.1-3

2008-12-07 Thread Armin Burgmeier
On Thu, 2008-12-04 at 13:04 -0500, Jam wrote: Armin Burgmeier wrote: On Wed, 2008-12-03 at 20:40 -0500, Jam wrote: Hello folks, I am using 'gtkmm-win32-devel-2.14.1-3' and after installing it I cannot find the documentation, there is the first page only, index.html, but the

Re: bells and whistle in Gtkmm

2008-12-07 Thread Jam
Sorry, I forgot to mention, I don't here any beeping. What have left undone!! Mohammed Sameer wrote: On Sat, Dec 06, 2008 at 06:06:51PM -0500, Jam wrote: Hello folks! It has been a long time since I started posting again, but here we go again! My question is: I have a debugging class that

Re: bells and whistle in Gtkmm

2008-12-07 Thread Jam
Milosz Derezynski wrote: You have been already explained that the way to acquire a Gdk::Display to use is to either use: Gdk::Display::get_default () (C API: gdk_display_get_default() ) which will get the default Gtk+ display (which is the one on which your application is running/connected

Re: gtkmm documentation for gtkmm-win32-devel-2.14.1-3

2008-12-07 Thread Jam
Armin Burgmeier wrote: On Thu, 2008-12-04 at 13:04 -0500, Jam wrote: Armin Burgmeier wrote: On Wed, 2008-12-03 at 20:40 -0500, Jam wrote: Hello folks, I am using 'gtkmm-win32-devel-2.14.1-3' and after installing it I cannot find the documentation, there is the first page

Re: bells and whistle in Gtkmm

2008-12-07 Thread Jam
Paul Davis wrote: On Sun, 2008-12-07 at 12:35 -0500, Jam wrote: What is lacking is your understanding of (1) static methods (2) classes with a constructor, either because they must always be created via a factory method (which typically returns a reference counted pointer) or because the class

Re: bells and whistle in Gtkmm

2008-12-07 Thread Mohammed Sameer
Of course it will not beep! What do you expect ? You are not using the correct method that has been explained to you. The API was designed like this for a reason, In order to understand why, you need to dig through the C/GDK code. Now the fact that you are ignoring all the explanations given to

Re: bells and whistle in Gtkmm

2008-12-07 Thread Jam
Mohammed Sameer wrote: Of course it will not beep! What do you expect ? You are not using the correct method that has been explained to you. The API was designed like this for a reason, In order to understand why, you need to dig through the C/GDK code. Now the fact that you are ignoring all