On Fri, Jul 13, 2012 at 4:20 PM, Yaa101 <yaa...@xs4all.nl> wrote: > > Thanks for the answers so far Jasper. > > I found the solution to the table/scrollview problem. > I have to put the table into a boxlayout and put that boxlayout into > the scrollview to make the table contents appear in the scrollview. > Putting the table directly into the scrollview will show an empty > scrollview. > > I haven't played with scrollable yet, it seems too difficult with my > current reference documentation.
It should complain wildly in stderr, but maybe you weren't looking there :) >> Most CSS properties are supported by all elements, and you can add >> your own properties by looking them up on the theme node. > > Can you explain further? looking up where? On the theme node > And to come back at my first question, is there any reference document > for ST besides the C version? Currently, no. There is going to be a new doc tool which will handle language differences when generating docs, hopefully. It should for the most part be a 1:1 mapping, except when it isn't (destroy notify, gerror, out parameters). If work on the doc tool doesn't improve, maybe we can lay down some rules of how to translate the C API into the JS API. That would be a shitty last resort, though. > -- > (o_ > //\ Regards, Groeten, > V_/_ Bas Burger. > > > On Fri, 13 Jul 2012 15:47:50 -0400 > "Jasper St. Pierre" <jstpie...@mecheye.net> wrote: > >> On Fri, Jul 13, 2012 at 11:35 AM, Yaa101 <yaa...@xs4all.nl> wrote: >> > >> > Hello all, >> > >> > Does somebody know where to find a proper reference on ST for gjs? >> > I can find the C references ( http://developer.gnome.org/st/3.4/ ) >> > but they lack detail on usage and interaction within the js system. >> > >> > What I am searching for is a document ala >> > ( http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/index.html ) but >> > for ST. >> > >> > Is there any document that has this information? >> > >> > >> > >> > For instance I want to know what CSS properties each ST element use. >> >> Most CSS properties are supported by all elements, and you can add >> your own properties by looking them up on the theme node. >> >> > Also I want to know how I can scroll a St.Table as putting it in a >> > St.ScrollView will give an empty ScrollView on screen and using the >> > table without a scrollview will show the table way too large. >> >> It needs to be in a St.Scrollable, like St.BoxLayout. >> >> > -- >> > (o_ >> > //\ Regards, Groeten, >> > V_/_ Bas Burger. >> > _______________________________________________ >> > gnome-shell-list mailing list >> > gnome-shell-list@gnome.org >> > https://mail.gnome.org/mailman/listinfo/gnome-shell-list >> >> >> > -- Jasper _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list