[Glade-devel] glade 3.5.2 GtkTreeView

On Thu, Oct 30, 2008 at 5:10 PM, Tristan Van Berkom <
tristan.van.berkom at gmail.com> wrote:

On Thu, Oct 30, 2008 at 11:51 AM, Sven Richter <sveri-list at gmx.de> wrote:
I have to set "manually" set them clickable
with: GtkTreeView.set_headers_clickable(True)
in my program code.
I am storing the Glade code in libGlade format.

Hmmm in this case I think this is a gtk+ treeview
constructor bug, if:
 - you are using libglade
 - the clickable property is actually saved in
   the resulting glade file (if thats not the case
   then its a default value mixup we can fix)

I think the problem is that it is not saved
in the glade file.
Here is the part of the gtktreeview:
  <widget class="GtkTreeView" id="tvPlaylist">
    <property name="visible">True</property>
    <property name="can_focus">True</property>
    <signal name="row_activated" handler="on_tvPlaylist_row_activated"/>

At least i dont know enough about glade to be totally
sure about it, i think its up to you.

If you need the whole glade file you can get
it under:

I spent a lot of time last week making trunk a lot more
intuitive to use, it's not 100% crash free at the moment but
its worth while checking it out if you have the extra time ;-)

Indeed i had the time to try it out, but i get the following error
on startup and every time i want to do something with it:

(lt-glade-3:12870): GladeUI-CRITICAL **: Unable to load image (Failed to
open file '/usr/local/share/glade3/pixmaps/plus.png': No such file or
(lt-glade-3:12870): GladeUI-WARNING **: Failed to open catalog directory
'/usr/local/share/glade3/catalogs': Error opening directory
'/usr/local/share/glade3/catalogs': No such file or directory
(lt-glade-3:12870): GladeUI-CRITICAL **: glade_palette_new: assertion
`catalogs != NULL' failed
(lt-glade-3:12870): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion
`G_IS_OBJECT (object)' failed
(lt-glade-3:12870): GladeUI-CRITICAL **:
glade_palette_set_show_selector_button: assertion `GLADE_IS_PALETTE
(palette)' failed
(lt-glade-3:12870): Gtk-CRITICAL **: gtk_paned_pack1: assertion
`GTK_IS_WIDGET (child)' failed
(lt-glade-3:12870): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`GTK_IS_WIDGET (widget)' failed
(lt-glade-3:12870): Gtk-CRITICAL **: gtk_widget_show: assertion
`GTK_IS_WIDGET (widget)' failed
GladeUI-Message: No DevHelp installed on your system, devhelp feature will
be disabled.
(lt-glade-3:12870): GladeUI-CRITICAL **: glade_palette_refresh: assertion
`GLADE_IS_PALETTE (palette)' failed
(lt-glade-3:12870): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion
`GTK_IS_WIDGET (widget)' failed

I'd really like to try out more, but i just
cannot see anything in the interface to
work with ;-)


PS: sry for the private mail, googlemail
still is something new to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-devel/attachments/20081030/561865f2/attachment-0001.html 

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