From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,84fadb10359fe385,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.germany.com!newsfeed.kamp.net!newsfeed.kamp.net!213.239.142.2.MISMATCH!feed.xsnews.nl!border-1.ams.xsnews.nl!68.142.88.75.MISMATCH!hwmnpeer01.ams!news-out.ntli.net!newsrout1-gui.ntli.net!ntli.net!news.highwinds-media.com!newspeer1-win.ntli.net!newsfe1-win.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: GtkAda Tree_View properties User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Message-Id: Newsgroups: comp.lang.ada MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 22 May 2007 11:36:38 GMT NNTP-Posting-Host: 82.21.99.109 X-Trace: newsfe1-win.ntli.net 1179833798 82.21.99.109 (Tue, 22 May 2007 12:36:38 BST) NNTP-Posting-Date: Tue, 22 May 2007 12:36:38 BST Organization: NTL Xref: g2news1.google.com comp.lang.ada:15875 Date: 2007-05-22T11:36:38+00:00 List-Id: Hi guys! Sorry this is not strictly a language question, but I figure people here will know the answer. Using GtkAda, I was to set properties for a Gtk_Tree_View. The lines in the widget have rather excessive vertical spacing. I think if I set "ypad" and/or "vertical-separator" properties, I could reduce the spacing. (this seems to be a perennial problem with gtk programs now. I though I had solved it, but it became unsolved) Can't I set the properties in a gtkrc file? (this had no effect) Thanks for any input! -- Adrian -- Code fragment GtkAda, gtk2, Linux, GNAT etc. procedure RunTrans (Frame : access Gtk.Frame.Gtk_Frame_Record'Class; Model : out Gtk_Tree_Store) is Tree : Gtk_Tree_View; begin Gtk_New (Model, (Age_Column => GType_String, -- stuff deleted Strike_Column => GType_Boolean, Editable_Column => GType_Boolean, Active_Column => GType_Boolean, Foreground_Column => GType_String)); Gtk_New (Tree, Model); -- What goes here? Set_Property (Tree, "ypad", 0); -- This does not compile --... end RunTrans;