Re: [gtkmm] Widget* get_nth_page (int page_number) doesn't work here



it's a compile-error, i obviously so something wrong, but i don't know
what.

I've a notebook "days" with a few pages in it, and each page contains
only one Widget, a Button ( this is only a testsituation ), now i'll try
to get a pointer to the button contained by the first page. See the
statement below:

Gtk::Button *btn = days->pages().get_nth_page( 0 );

And then i get my compile-error...

I'll hope this illustrates the problem

bart

On Tue, 2002-10-08 at 18:54, Daniel wrote:
> On 08 Oct 2002 15:13:38 +0200
> Bart Hakvoort <bart hakvoort castel nl> wrote:
> 
> > Hi, 
> > Problem is clear i think, i've tried it with both al plain integer ( 0 )
> > and with  get_current(), but it still won't work.
> > 
> What does not work? Compile-time or runtime errors?
> 
> > if someone needs some sample-code, just say it :)
> > 
> Yes, please give us some sample code illustrating the problem.
> 
> /Daniel
> 
> > bart
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > 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





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