From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: GtkAda Tree_View properties
Date: Tue, 22 May 2007 11:36:38 GMT
Date: 2007-05-22T11:36:38+00:00 [thread overview]
Message-ID: <pan.2007.05.22.11.37.02.565004@linuxchip.demon.co.uk.uk.uk> (raw)
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;
next reply other threads:[~2007-05-22 11:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-22 11:36 Dr. Adrian Wrigley [this message]
2007-05-22 13:21 ` GtkAda Tree_View properties Dmitry A. Kazakov
2007-05-25 0:05 ` Dr. Adrian Wrigley
2007-05-25 8:01 ` Dmitry A. Kazakov
2007-05-25 14:43 ` petter_fryklund
2007-05-25 15:12 ` Dr. Adrian Wrigley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox