Thread: [Java-gnome-developer] TreeView tutorial updated
Brought to you by:
afcowie
From: pancake <pa...@ph...> - 2005-06-09 10:16:42
|
I added some changes into the TreeView tutorial: - how to use TreeStore instead of ListStore to create trees of items. - a comment tip to simplify the use of data in TreeViews. I also added an screenshot of the ClasspathBrowser. The app that i'm coding nowadays... I have a doubt about VBox.. as you can see in http://news.nopcode.org/cpb.jpg , The widgets inside the ScrolledWindow is center aligned.. I want to align them to the left. The widget hirearchy is: ScrolledWindow | '-- VBox | |-- Label | |-- Label | |-- Label . . I was unable to find the way to align them :/ |
From: Dongsu J. <io...@he...> - 2005-06-09 11:42:17
|
hi, it's not an attribute of GtkLabel(exactly GtkMisc, the superclass of). you may use Gtk.Misc.setAlignment() method to do. BTW, your apps looks great. How can i try it? ;) pancake wrote: >I added some changes into the TreeView tutorial: > >- how to use TreeStore instead of ListStore to create trees of items. >- a comment tip to simplify the use of data in TreeViews. > >I also added an screenshot of the ClasspathBrowser. The app that i'm coding nowadays... > >I have a doubt about VBox.. as you can see in http://news.nopcode.org/cpb.jpg , The widgets inside the ScrolledWindow is center aligned.. I want to align them to the left. The widget hirearchy is: > >ScrolledWindow > | > '-- VBox > | > |-- Label > | > |-- Label > | > |-- Label > . > . > >I was unable to find the way to align them :/ > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >a projector? How fast can you ride your desk chair down the office luge track? >If you want to score the big prize, get to know the little guy. >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >_______________________________________________ >java-gnome-developer mailing list >jav...@li... >https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > |
From: pancake <pa...@ph...> - 2005-06-09 15:17:36
|
> hi, > it's not an attribute of GtkLabel(exactly GtkMisc, the superclass of). > you may use Gtk.Misc.setAlignment() method to do. ok, thanks..and how to put it as width=100% ? without using a Table...may be good to create a tutorial about how to use Table widget. > BTW, your apps looks great. How can i try it? ;) it's a alpha-beta-release :) just for impatient users like you: http://news.nopcode.org/ClasspathBrowser.tgz would be good if someone looks at my gtkhtml problem report. My app crashes on that. The javadoc URL is hardcoded (by now) to the sun webpage. But this will be soon configurable :) enjoy. |
From: Dongsu J. <io...@he...> - 2005-06-15 18:35:31
|
Hi, The official gtk tutorial shows the details of GtkTable and GtkBox widgets, so we called layout manager. http://www.gtk.org/tutorial/ch-packingwidgets.html IMHO, the combination of GtkTable and GtkBox is simple than GridBagLayout but powerful enough. To make an easy approach for java-gnome, we need following tutorials: - Using gtk layout manger for java programmer - Using Gtk.TreeView for java programmer I want to write them but I'm not a native speaker/writer. I'll gladly review and translate if someone write them. pancake wrote: >>hi, >>it's not an attribute of GtkLabel(exactly GtkMisc, the superclass of). >>you may use Gtk.Misc.setAlignment() method to do. >> >> > >ok, thanks..and how to put it as width=100% ? without using a Table...may be good to create a tutorial about how to use Table widget. > > > > >>BTW, your apps looks great. How can i try it? ;) >> >> > > >it's a alpha-beta-release :) just for impatient users like you: > >http://news.nopcode.org/ClasspathBrowser.tgz > >would be good if someone looks at my gtkhtml problem report. My app crashes on that. > >The javadoc URL is hardcoded (by now) to the sun webpage. But this will be soon configurable :) > >enjoy. > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >a projector? How fast can you ride your desk chair down the office luge track? >If you want to score the big prize, get to know the little guy. >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >_______________________________________________ >java-gnome-developer mailing list >jav...@li... >https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > |
From: pancake <pa...@ph...> - 2005-06-15 20:38:21
|
-- - Using gtk layout manger for java programmer in TODO :) -- - Using Gtk.TreeView for java programmer it's done by me in the java-gnome wiki -- I want to write them but I'm not a native speaker/writer. -- I'll gladly review and translate if someone write them. don't worry. use the wiki: http://java-gnome.sourceforge.net/cgi-bin/bin/save/Main/LayoutTutorial recently opened by me :) i'm on exams, but I promise to write there. |
From: Joao V. <jvi...@ya...> - 2005-06-09 18:48:51
|
--- pancake <pa...@ph...> escreveu: > I also added an screenshot of the ClasspathBrowser. The app that i'm coding nowadays... That app looks sweet... =) Cheers, J.V. ____________________________________________________ Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! http://mail.yahoo.com.br |