Solved: How to make a gtktreeview column flexible?

2008-04-26 Thread Till Harbaum / Lists
Hi, in have solved this problem. Here's the answer for reference: Instead of using gtk_tree_view_insert_column_with_attributes to insert a column, one might use seperate calls to gtk_tree_view_column_new_with_attributes and gtk_tree_view_insert_column as this give us an explicit reference to

Re: Learning Glade

2008-04-26 Thread Patrick Braga
Well, I can figure out how to use Glade, but after I have a .glade file, how do I use it in my program? On Sat, 2008-04-26 at 17:17 +0800, Alvis Koon wrote: Hi, glade by itself is quite self-explanatory. Try glade2, even easier. Just begin with vbox and hbox and put widgets there, then

Re: Solved: How to make a gtktreeview column flexible?

2008-04-26 Thread Thomas Dybdahl Ahle
Interesting, and that make the text eclipse correctly as well? On Sat, 2008-04-26 at 11:16 +0100, Till Harbaum / Lists wrote: Hi, in have solved this problem. Here's the answer for reference: Instead of using gtk_tree_view_insert_column_with_attributes to insert a column, one might use

Re: Learning Glade

2008-04-26 Thread Tristan Van Berkom
On Sat, Apr 26, 2008 at 7:47 AM, Patrick Braga [EMAIL PROTECTED] wrote: [...] On 26/04/2008, Patrick Braga [EMAIL PROTECTED] wrote: Hi, I'm a relative newcomer to GTK+ programming, but I've been using GNU/Linux for about a year and a half, know it pretty well, and am enjoying

Re: Learning Glade

2008-04-26 Thread Patrick Braga
Thanks - the code included in those docs seem helpful. I'll try them out. On Sat, 2008-04-26 at 09:51 -0300, Tristan Van Berkom wrote: On Sat, Apr 26, 2008 at 7:47 AM, Patrick Braga [EMAIL PROTECTED] wrote: [...] On 26/04/2008, Patrick Braga [EMAIL PROTECTED] wrote: Hi, I'm a relative

Re: Solved: How to make a gtktreeview column flexible?

2008-04-26 Thread Thomas Dybdahl Ahle
On Sat, 2008-04-26 at 12:16 +0100, Till Harbaum / Lists wrote: Am Samstag 26 April 2008 schrieb Thomas Dybdahl Ahle: Interesting, and that make the text eclipse correctly as well? You have to enable ellipsize seperately of course, but then yes, once the window is not wide enough the text in

Re: Learning Glade

2008-04-26 Thread Carlos Pereira
However, I feel it will be easier for me to write graphical applications with an interface designer. The GNOME Library (http://library.gnome.org/ ) wasn't very useful and I haven't been able to find any decent, up-to-date tutorials on Glade. GTK Forums have several examples with C and

Re: setting the font of a dialog widget

2008-04-26 Thread Garth's KidStuff
Hey there, I just now got back to this problem. Maybe I'm misunderstanding something, but it seems that the solution you recommend is solely a solution for Gtk::Labels -- not for general widgets. I can change the font size for labels -- but not for other widgets (e.g. CheckButton,