lly a wrapper around the assorted C
> libraries. So you end up with two redundant layers of
> object-orientation on top of each other which doesn't hurt a bit but
> which I find conceptually so abhorrent that, if I'd want to write C++
> GUI apps, I'd use Qt.
C is a k
Le lundi 26 novembre 2007 à 08:39 +, Neil Bird a écrit :
> Around about 25/11/07 12:31, Benoît Dejean typed ...
> > I've switched gnome-system-monitor to C++ and i'm very happy with it.
>
>Just out of interest, did you choose GTKmm or C++ with vanilla GTK+
choice than with Qt.
I wouldn't call GTKmm thin. It's smart and changes the way you can use
GTK+. The best example is treeview: in C or python, they are not
typesafe, i.e. you can get runtime errors because you inserted the
wrong datatype in the wrong column. Gtkmm provides typesafe treevi
Le lundi 26 novembre 2007 à 15:56 +0100, Fernando Apesteguía a écrit :
> On 11/25/07, Benoît Dejean <[EMAIL PROTECTED]> wrote:
> >
> > I've switched gnome-system-monitor to C++ and i'm very happy with it.
It's still 95% Gtk + 5% Gtkmm
> Two question
ther
> does C++, I can't say why that is.
>
> Since you worked with python which is object oriented I would imagine
> going with C++ will be easier for you during the first weeks.
I've switched gnome-system-monitor to C++ and i'm very happy with it.
--
Benoît Dej
tach;
> + GValue left_attach = { 0, };
> +
> + g_value_init (&left_attach);
> +
I always though that this requirement was error prone. You just get to
initialize
your GValue twice to make it OK. A lot of beginners hit this error. The
doc says "A
Le dimanche 07 octobre 2007 à 00:21 +0200, René Stadler a écrit :
> Am Freitag, den 05.10.2007, 19:48 +0200 schrieb Benoît Dejean:
> > Hello,
> >
> > I'd like to know if it is safe to walk over a model and remove rows at
> > the same time. I'm doing this i
ld, -1);
remove_info_from_tree(procdata, model, child, [...]);
}
g_assert(not gtk_tree_model_iter_has_child(model, ¤t->node));
gtk_tree_store_remove(GTK_TREE_STORE(model), ¤t->node);
}
Thank you.
--
Benoît Dejean
GNOME http://www.gn