gtk - How can I make a GtkTreeView work with a vertical scrollbar in Glade3? -


i'm using glade 3, create treeview , added row algorithm done, had little issue because treeview add new row, "gui" getting longer below, how add scrollbar treeview? in order make "gui" not getting longer?

note: have added "a new adjustment" , connected treeview , scrollbar vertical well, still not job done.

any idea?

try putting treeview gtkscrolledwindow. e.g.:

<child>   <object class="gtkscrolledwindow" id="scrolledwindow1">     <property name="visible">true</property>     <property name="hscrollbar_policy">automatic</property>     <property name="vscrollbar_policy">automatic</property>     <child>       <object class="gtktreeview" id="items_view">         <property name="visible">true</property>         <property name="can_focus">true</property>         <property name="model">list_items</property>       </object>     </child>   </object> </child> 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -