Why is GtkTreeViewColumn's "width" property read-only?
If you can make the column resizeable so the user can change the width,
why isn't there a means to do so under program control? Or is there a
way and I just haven't found it?
___
gtk-app-devel-li
Hi Phil,
You should be able to resize columns if you want. If you have set sizes of text
to display in the tree view and want to allocate sizes you can do that.
Eric
/*
Tested with Ubuntu16.04 and GTK3.18.
gcc -Wall tree_column1.c -o tree_column1 `pkg-config --cflags --libs
gtk+-3.
Try switching the sizing to what is needed. Something like
...
gint combo_id=gtk_combo_box_get_active(combo);
if(combo_id==0)
{
g_print("%i\n", gtk_tree_view_column_get_width(column2));
gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column2),
GTK_TREE_VIEW_COL
Il Sat, 17 Feb 2018 21:32:19 +0100 (CET) Wojciech Puchar
scrisse:
> i want in my program to change background color of the gtk_button to red
> sometimes as a signal to the user.
>
> it works fine with default theme but not with some other themes like
> E17gtk.
>
> how to fix this and ENFORCE
how to fix this - large combobox text (with lots of entries) behave like
this
http://www.puchar.net/NOBACKUP/gtk1.png
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list