Re: Glade and TreeView



Yes thanks. I figure this one  out by myself :)

The problem with treeview still remains.
The code is compiled OK and when I run there is nothing in treeview.
Why is that ?!

Can you please examine my code again ? I have a new one.

Your wallpapoz-0.1 source code has been really helpful, thanks.


On 7/13/05, Akbar <tuxer myrealbox com> wrote:
> It took more than one hour to solve your problem. I have plenty of
> time. :)
> 
> Open your sysinfo.glade with text editor. Find this line:
>  <property name="fixed_height_mode">True</property>
> and this:
>   <property name="headers_visible">False</property>
> 
> Change them to:
>  <property name="fixed_height_mode">False</property>
> and
>  <property name="headers_visible">True</property>
> 
> 
> Done. Or open the file with Glade. Delete the treeview1. Then add it
> again.
> 
> 
> 
> On Wed, 2005-07-13 at 12:45 +0200, Nil Gradisnik wrote:
> > I just found out that when I run program, I get:
> >
> > Gtk-CRITICAL **: gtk_tree_view_insert_column: assertion
> > `gtk_tree_view_column_get_sizing (column) ==
> > GTK_TREE_VIEW_COLUMN_FIXED' failed
> >
> > And I've attached the source.
> >
> > On 7/13/05, Akbar <tuxer myrealbox com> wrote:
> > > On Sun, 2005-07-10 at 23:14 +0200, Nil Gradisnik wrote:
> > > > I need some help with Gtk::TreeView and glade2 please...
> > > > So I'm using glade to build an GUI and I know that glade can only
> > > > provide textview widget and I need to fill the textview myself with
> > > > coding.
> > > >
> > > > It's like this, I'm accessing treeview created with glade like this:
> > > <snip>
> > > >
> > > > But no luck.. the treeview was empty.
> > > > Thanks for the help.
> > >
> > > Weird, your code suppose to be just fine. Can you give me the complete
> > > source code with the glade file too? Maybe I can check for you. Btw, I
> > > made the application using Glade and treeview. Maybe you want to check
> > > it out to see how treeview work. It is wallpapoz.
> > >
> > > http://wallpapoz.sf.net
> > >
> > >
> 
>

Attachment: sysinfo.tar.gz
Description: GNU Zip compressed data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]