Changes

Jump to navigation Jump to search
Line 16: Line 16:  
== Script to list all the enumeration ==
 
== Script to list all the enumeration ==
   −
There is an [http://dev.laptop.org/~dsd/20110806/pygi-enumerate.py script] that list all the Gtk enumerations and it's useful to know the new name and from where it comes from. For example:
+
There is an [http://dev.laptop.org/~dsd/20110806/pygi-enumerate.py script] that list all the Gtk methods and it's useful to know the new name and from where it comes from. For example:
    
<pre>
 
<pre>
 +
[humitos@michifus get-books]$ python pygi-enumerate.py | grep get_selection
 +
Gtk.AccelLabel.get_selection_bounds() (instance method)
 +
Gtk.Editable.get_selection_bounds() (instance method)
 +
Gtk.Entry.get_selection_bounds() (instance method)
 +
Gtk.IconView.get_selection_mode() (instance method)
 +
Gtk.Label.get_selection_bounds() (instance method)
 +
Gtk.SelectionData.get_selection() (instance method)
 +
Gtk.SpinButton.get_selection_bounds() (instance method)
 +
Gtk.TextBuffer.get_selection_bound() (instance method)
 +
Gtk.TextBuffer.get_selection_bounds() (instance method)
 +
Gtk.TreeView.get_selection() (instance method)
 +
[humitos@michifus get-books]$
 
</pre>
 
</pre>
  
266

edits

Navigation menu