fix(docs): mention orientation in scale properties
This commit is contained in:
parent
7096a5b9d0
commit
d708902c03
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ fn build_gtk_color_chooser(bargs: &mut BuilderArgs) -> Result<gtk::ColorChooserW
|
|||
Ok(gtk_widget)
|
||||
}
|
||||
|
||||
/// @widget scale extends range
|
||||
/// @widget scale extends range, orientable
|
||||
/// @desc A slider.
|
||||
fn build_gtk_scale(bargs: &mut BuilderArgs) -> Result<gtk::Scale> {
|
||||
let gtk_widget = gtk::Scale::new(gtk::Orientation::Horizontal, Some(>k::Adjustment::new(0.0, 0.0, 100.0, 1.0, 1.0, 1.0)));
|
||||
|
|
Loading…
Add table
Reference in a new issue