On Thu, Aug 7, 2008 at 12:32 PM, john verzani <jverzani@gmail.com> wrote:

> Antje <niederlein-rstat <at> yahoo.de> writes:
>
> Dear Antje,
>
>
> >
> > Hello there,
> >
> > now that I started with gwidgets, I'll have several question (
> > I hope not  too
> > stupid ones).
> > I've started with a little application which uses a gpanedgroup
> > to show a gtree
> > at the left side and something else on the other side.
> > Gtree works fine except the fact that it produces 3 columns
> > though my offspring
> > function returns a data.frame with 1 column only (two columns
> > then remain
> > without content).
> > Is there any way to delete these columns?
>
>
> Thanks for pointing out this issue. I fixed it in a just-uploaded
> version of gWidgetstcltk and I also found an issue with
> gWidgetsRGtk2 with your example. Again, this is just fixed.
>
> The bug was the number of extra columns was set by the number of
> words in your column title. In the new version, there is just one
> extra column and it has a small width.
>

Maybe a dumb question, but why is there an extra column in the first place?


>
> > And another question:
> > If I expand my folders in the gtree and go deeper into the file
> > structure,  it
> > happens that the filenames are not displayed fully anymore because
> > of too less
> > space. Can I make the gtree automatically horizontal scrollable
> > (it can be
> > scrolled if I push the columns to a certain width).
> >
>

If you're really just making a file chooser, you might be better off using a
prefab file chooser widget. I am not sure if one exists in gwidgets, but
there is a GtkFileChooserWidget in RGtk2 that will likely solve your
problems and give you a lot more functionality for free. I think it's pretty
easy (and it could be made a lot easier) to embed RGtk2 widgets into
gWidgetsRGtk2-based interfaces. Of course, you lose cross-toolkit
compatibility (but it's still cross platform).



>
> I don't have that coded in but can look into it.
>
>
> > Thanks a lot for any help!
> > Antje
> >
>
> Thanks for the report. --JOhn
>
> --code is cut --
>
> _______________________________________________
> R-SIG-GUI mailing list
> R-SIG-GUI@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-gui
>

	[[alternative HTML version deleted]]

