Home | Trees | Indices | Help |
|
---|
|
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Function Details |
Get node count number of TreeView.
|
Get selected path of TreeView.
|
Focus first toplevel node of TreeView.
|
Focus last toplevel node of TreeView.
|
Scroll TreeView vertically.
|
Focus next toplevel node of TreeView.
|
Focus previous toplevel node of TreeView.
|
Get text of entry.
|
Set cursor type with given widget.
|
Show gtk.gdk.HAND2 cursor when mouse hover widget.
|
Set cursor type when mouse hover widget.
|
Get root coordinate with given widget.
|
Get root coordinate with given event.
|
Get coordinate with given event.
|
Propagate expose to children. General, this function use at last position of `expose_event` callback to make child redraw after parent widget. And you must put "return True" after "propagate_expose(widget, event)". Example: >>> def expose_event_callback(widget, event): >>> # Do something. >>> >>> propagate_expose(widget, event) >>> return True
|
Move window with given widget and event. This function generic use for move window when mouse drag on target widget.
|
Resize window with given widget and event. This function generic use for resize window when mouse drag on target widget.
|
Add widget in scrolled_window. Wrap function `add_with_viewport` with shadow type of Gtk.Viewport.
|
Whether an event is single click event.
|
Whether an event is double click event.
|
Whether event is left button event.
|
Whehter event is right button event.
|
Whehter event is middle button event.
|
Make callback call for all children of widget.
|
Helper function for foreach_container.
|
Handy function to remove all children widget from container.
|
Get screen size from the toplevel window associated with widget.
|
Whether target coordinate in given rectangle.
|
Scroll scrolled_window to top position.
|
Scroll scrolled_window to bottom position.
|
Get text size, in pixel.
|
Create directory.
|
Remove file if file exist.
|
Remove directory recursively, equivalent to command `rm -rf path`.
|
Touch file, equivalent to command `touch filepath`. If filepath's parent directory is not exist, this function will create parent directory first.
|
Read file content.
|
Read first line of file.
|
Eval file content.
|
Write file with given content.
|
Kill process.
|
Run command and return first line of output.
|
Run command and return output.
|
Run command silencely.
|
Get OS version with command `lsb_release -i`.
|
Get current time with given time format.
|
Add element in list, don't add if element has in list.
|
Try remove element from list, do nothing if element not in list.
|
Sort list with alpha order.
|
Get size of given directory.
|
Print execute time of function.
|
Get all font families in system.
|
Returns a humanized string for a given amount of bytes.
|
Add color stop as rgba format.
|
Convert alpha color (color, alpha) to cairo color (r, g, b, alpha).
|
Convert hex color to cairo color (r, g, b).
|
Convert a html (hex) RGB value to cairo color.
|
Convert cairo color to hex color.
|
Convert a 8 bit RGB value to cairo color.
|
Get parent widget match given type.
|
Fix bug that PyGtk destroys cycle too early.
|
Return value with map list.
|
Get same type widgets that in same hierarchy level.
|
Return new list that element is max value between list_a and list_b.
|
Unzip [(1, 'a'), (2, 'b'), (3, 'c')] to ([1, 2, 3], ['a', 'b', 'c']).
|
Whether is seriate list.
|
Get index in disperse list.
|
Whether window is maximized.
|
Return last index of list.
|
Protected cairo context state for operate cairo safety.
|
Disable cairo antialias temporary.
|
Print execute time with given code block. Usage: >>> with exec_time(): >>> # Write any code at here. >>> # ...
|
Remove callback id.
|
Remove signal id.
|
Print callback arguments. Usage: >>> some_widget.connect("signal", print_callback_args) |
Whether widget is support composited.
|
Convert color from RGB to HSB format.
|
Find simliar color match search_color.
|
Whether file endswith given suffixs.
|
Place place_window in center of refer_window.
|
Get formats that support by pixbuf.
|
Get parent directory with given return level.
|
Gdk color to string.
|
Is string can convert to long type.
|
Is string can convert to int type.
|
Is string can convert to float type.
|
Is string can convert to hex color type.
|
Get window shadow size.
|
Set layout markup.
|
Get optimum size pixbuf from file.
|
Unique print, generic for test code.
|
Check connect has active with given port.
|
Is network connected, if nothing in file `/proc/net/arp`, network is disconnected.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 8 13:17:34 2012 | http://epydoc.sourceforge.net |