RE: gtk_ctree_is_visible()
- From: Tim Janik <timj gtk org>
- To: Lars Hamann <lars gtk org>, Owen Taylor <otaylor redhat com>
- cc: Gtk+ Developers <gtk-devel-list redhat com>, Gtk+ Devils <gtkdev gtk org>
- Subject: RE: gtk_ctree_is_visible()
- Date: Fri, 7 Aug 1998 00:38:52 +0200 (CEST)
On Thu, 6 Aug 1998, Lars Hamann wrote:
> Hi Tim!
>
> On 06-Aug-98 Tim Janik wrote:
>
> > i think the name of gtk_ctree_is_visible() should better be changed
> > to gtk_ctree_node_expanded(), since that is what it actually returns
> > (including the parents, so gtk_ctree_node_fully_expanded() would also
> > be an option).
>
> No, not really. gtk_ctree_is_visible returns TRUE if all of nodes parents
> are expanded, i.e. if gtk_ctree_is_visible (node) == TRUE then node actually
> is in GTK_CLIST (ctree)->row_list.
> I would expect gtk_ctree_node_expanded to return GTK_CTREE_ROW (node)->expanded.
hm, what about _fully_expanded() or is_listed() or something like that then?
[owen, what about your ever-so-good-function-name-ideas? ;)]
>
> > it's actually very easy to confuse with
> > GtkVisibility gtk_clist_row_is_visible (GtkCList * clist,
> > gint row);
> > which returns whether the specified row is inside the viewable portion
> > of the scrolled window or not.
>
> I don't object to rename this function too, but I don't like
> gtk_ctree_node_expanded...
>
>
> bye,
> Lars
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]