[go: up one dir, main page]

gtk4 0.1.0

Rust bindings of the GTK 4 library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Take a look at the license at the top of the repository in the LICENSE file.

use crate::IconTheme;
use glib::translate::*;

impl IconTheme {
    #[doc(alias = "gtk_icon_theme_set_resource_path")]
    pub fn set_resource_path(&self, path: &str) {
        unsafe {
            ffi::gtk_icon_theme_set_resource_path(self.to_glib_none().0, path.as_ptr() as *const _);
        }
    }
}