| 1 | // Take a look at the license at the top of the repository in the LICENSE file. |
|---|---|
| 2 | |
| 3 | use glib::{prelude::*, translate::*}; |
| 4 | |
| 5 | use crate::ColorBalanceChannel; |
| 6 | |
| 7 | impl ColorBalanceChannel { |
| 8 | pub fn label(&self) -> glib::GString { |
| 9 | unsafe { from_glib_none((*self.as_ptr()).label) } |
| 10 | } |
| 11 | |
| 12 | pub fn min_value(&self) -> i32 { |
| 13 | unsafe { (*self.as_ptr()).min_value } |
| 14 | } |
| 15 | |
| 16 | pub fn max_value(&self) -> i32 { |
| 17 | unsafe { (*self.as_ptr()).max_value } |
| 18 | } |
| 19 | } |
| 20 |
