text & hscrollbar



Hello everybody: 

i have a fix size window, inside i have a scrolledwindow with a text widget 
inside. The weight of the text widget is larger than the weight of the top 
window, so i want the h_scrollbar of the scrolledwindow to scroll the text. 

With the v_scrollbar everything is ok, but the hscrollbar doesn't work, it 
can't be moved. 

If i try to construct the scrollwindow with an hadjustment argument, the 
hscrollbar can be moved, but i receive a gtk-Warning saying, "hadjustment 
not implemented", every time i try to move it, and it doesn't scroll the 
window. 


I tried to construct the text widget with a hadjustment as an argument as 
well, but when i retrieve the adjustment values they are 0, 

If i add the text widget to the scrollwindow with a view port, the 
hadjustment works ok, but then the vadjustment doesn't work, it scroll down 
the text, but i can't manage to see the top of the text with the vscrollbar.


Can anybody helpme???? 
i'm using gtk+-1.2.5 






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