From 7720713691f335ebf28bd18f4519539074d6c818 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Wed, 9 Mar 2011 07:36:21 +0100 Subject: reference: pygtk-gtktoolitem.xml: add missing methods --- docs/reference/pygtk-gtktoolitem.xml | 115 ++++++++++++++++++++++++++++++++++- 1 file changed, 114 insertions(+), 1 deletion(-) diff --git a/docs/reference/pygtk-gtktoolitem.xml b/docs/reference/pygtk-gtktoolitem.xml index 35f9acd9..e7630358 100644 --- a/docs/reference/pygtk-gtktoolitem.xml +++ b/docs/reference/pygtk-gtktoolitem.xml @@ -117,6 +117,22 @@ toolbar_reconfigured + + get_ellipsize_mode + + + + get_text_alignment + + + + get_text_orientation + + + + get_text_size_group + + @@ -1050,11 +1066,108 @@ must be called when the tool item changes what it will do in response to the gtk.ToolBar and other gtk.ToolShell - implementations use this function to notify children, when some aspect of their configuration changes. + implementations use this method to notify children, when some aspect of their configuration changes. + + gtk.ToolItem.get_ellipsize_mode + + + get_ellipsize_mode + + + + + Returns : + one of the + indicating how text should be ellipsized. + + + + + This method is available in PyGTK 2.20 and above. + + + The get_ellipsize_mode() method returns the ellipsize mode used + for the tool item. Custom subclasses of gtk.ToolItem + should call this method to find out how text should be ellipsized. + + + + + gtk.ToolItem.get_text_alignment + + + get_text_alignment + + + + + Returns : + the horizontal text alignment used for the tool item. + + + + + This method is available in PyGTK 2.20 and above. + + + The get_text_alignment() method returns the text alignment used + for the tool item. Custom subclasses of gtk.ToolItem + should call this method to find out how text should be aligned. + + + + + gtk.ToolItem.get_text_orientation + + + get_text_orientation + + + + + Returns : + the text orientation used for the tool item. + + + + + This method is available in PyGTK 2.20 and above. + + + The get_text_orientation() method returns the text orientation used + for the tool item. Custom subclasses of gtk.ToolItem + should call this method to find out how text should be orientated. + + + + + gtk.ToolItem.get_text_size_group + + + get_text_size_group + + + + + Returns : + a gtk.SizeGroup. + + + + + This method is available in PyGTK 2.20 and above. + + + The get_text_size_group() method returns the size group used for labels + in the tool item. Custom subclasses of gtk.ToolItem + should call this method and use the size group for labels. + + + -- cgit v1.2.1