Re: Gtk window.show() (maybe just c++ related)



Eric,

http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/index.html

In general when you're looking at the API, if you're wanting to do
something that the API warns is incorrect, there's probably a very
good reason. Your best bet is to ask on the mailing list why its a bad
idea and for other means in accomplishing the same goal.

You'll probably find that the gtkmm tutorial is a much better place to
start than reading the actual API.  It trys to give an overview of the
important ideas behind building gtkmm apps so you can figure out the
details later.

Other than that, good luck. I think you'll find gtkmm is a very easy
toolkit to use after a bit of use.

Paul Davis


On 12/2/06, eric jrdn2 <eric_jrdn2 yahoo fr> wrote:
Pavlo Korzhyk wrote:
>
>     Thank you, the assumptions you made are right. Another newbie
>     question:
>     Should I call delete() on each widget created with new() inside this
>     widget1, or will widget1 do it itself when it will die?
>     Sorry for such a lame understanding of c++ :-)
>
>
> Do you know about gtkmm tutorial?
No :-) What's this? :-) I'm more used to class and methods lists than to
tutorials. I know i'm wrong, and i missed manage(). Thank you. I'm just
begining with widgets on which I don't know how many things I put on at
build time.

 From the same point of view, many methods of gtkmm which are marked as
"don't use it! you're warned!" are the only ones that do what i want to
do...
I'm ashamed that simple things could need so much hack of the API. gtkmm
is great, though, and i'm happy with this mailing list.

Eric







___________________________________________________________________________
D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions !
Profitez des connaissances, des opinions et des exp�riences des internautes sur Yahoo! Questions/R�ponses
http://fr.answers.yahoo.com


_______________________________________________
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]