Class: Gtk::TreePath

Inherits:
GObject show all
Defined in:
lib/gtk/tree_path.rb

Instance Attribute Summary

Attributes inherited from GObject

#native, #type

Instance Method Summary collapse

Methods inherited from GObject

#method_missing, #signal_connect, type_register, #unref

Constructor Details

#initialize(pointer) ⇒ TreePath

Returns a new instance of TreePath.



8
9
10
# File 'lib/gtk/tree_path.rb', line 8

def initialize(pointer)
  @native = pointer
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Gtk::GObject

Instance Method Details

#get_indicesObject



11
12
13
14
# File 'lib/gtk/tree_path.rb', line 11

def get_indices
  ret = Lib.gtk_tree_path_get_indices(native)
  ret.get_array_of_int(0,depth)
end