| 38 | } |
| 39 | |
| 40 | void ScrolledWindow::SetHorizontalAdjustment( Adjustment::Ptr adjustment ) { |
| 41 | m_horizontal_scrollbar->SetAdjustment( adjustment ); |
| 42 | |
| 43 | if( m_viewport ) { |
| 44 | m_viewport->SetHorizontalAdjustment( adjustment ); |
| 45 | } |
| 46 | |
| 47 | RecalculateContentAllocation(); |
| 48 | Invalidate(); |
| 49 | } |
| 50 | |
| 51 | Adjustment::Ptr ScrolledWindow::GetVerticalAdjustment() const { |
| 52 | return m_vertical_scrollbar->GetAdjustment(); |
no test coverage detected