Class: Gtk::TreePath
- Inherits:
-
Object
- Object
- Gtk::TreePath
- Defined in:
- lib/gir_ffi-gtk/tree_path.rb
Overview
Overrides for GtkTreePath
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new_from_indices(indices) ⇒ Object
13 14 15 16 17 |
# File 'lib/gir_ffi-gtk/tree_path.rb', line 13 def self.new_from_indices indices args = indices.flat_map { |index| [:int, index] } ptr = Gtk::Lib.gtk_tree_path_new_from_indices(*args, :int, -1) constructor_wrap ptr end |
Instance Method Details
#get_indices ⇒ Object
24 25 26 27 28 |
# File 'lib/gir_ffi-gtk/tree_path.rb', line 24 def get_indices depth = get_depth ptr = Gtk::Lib.gtk_tree_path_get_indices self GirFFI::SizedArray.wrap(:gint32, depth, ptr) end |