From 7603bd8fe43f180cb5c90897814ff647f0cf22b5 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Thu, 10 Mar 2011 21:48:14 +0100 Subject: reference: add gtk.InfoBar, gtk.OffscreenWindow, gtk.Spinner, gtk.ToolItemGroup and gtk.ToolPalette skeleton xml files --- docs/Makefile.am | 10 + docs/reference/pygtk-gtk-classes.xml | 5 + docs/reference/pygtk-gtkinfobar.xml | 370 ++++++++++++++++ docs/reference/pygtk-gtkoffscreenwindow.xml | 128 ++++++ docs/reference/pygtk-gtkspinner.xml | 106 +++++ docs/reference/pygtk-gtktoolitemgroup.xml | 521 +++++++++++++++++++++++ docs/reference/pygtk-gtktoolpalette.xml | 636 ++++++++++++++++++++++++++++ 7 files changed, 1776 insertions(+) create mode 100644 docs/reference/pygtk-gtkinfobar.xml create mode 100644 docs/reference/pygtk-gtkoffscreenwindow.xml create mode 100644 docs/reference/pygtk-gtkspinner.xml create mode 100644 docs/reference/pygtk-gtktoolitemgroup.xml create mode 100644 docs/reference/pygtk-gtktoolpalette.xml diff --git a/docs/Makefile.am b/docs/Makefile.am index cfa90ad7..fbff9992 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -152,6 +152,7 @@ XMLFILES = \ reference/pygtk-gtkimcontextsimple.xml \ reference/pygtk-gtkimcontext.xml \ reference/pygtk-gtkimmulticontext.xml \ + reference/pygtk-gtkinfobar.xml \ reference/pygtk-gtkinputdialog.xml \ reference/pygtk-gtkinvisible.xml \ reference/pygtk-gtkitemfactory.xml \ @@ -170,6 +171,7 @@ XMLFILES = \ reference/pygtk-gtkmountoperation.xml \ reference/pygtk-gtknotebook.xml \ reference/pygtk-gtkobject.xml \ + reference/pygtk-gtkoffscreenwindow.xml \ reference/pygtk-gtkoptionmenu.xml \ reference/pygtk-gtkpagesetupunixdialog.xml \ reference/pygtk-gtkpagesetup.xml \ @@ -212,6 +214,7 @@ XMLFILES = \ reference/pygtk-gtksizegroup.xml \ reference/pygtk-gtksocket.xml \ reference/pygtk-gtkspinbutton.xml \ + reference/pygtk-gtkspinner.xml \ reference/pygtk-gtkstatusbar.xml \ reference/pygtk-gtkstatusicon.xml \ reference/pygtk-gtk-stock-items.xml \ @@ -232,6 +235,8 @@ XMLFILES = \ reference/pygtk-gtktoolbar.xml \ reference/pygtk-gtktoolbutton.xml \ reference/pygtk-gtktoolitem.xml \ + reference/pygtk-gtktoolitemgroup.xml \ + reference/pygtk-gtktoolpalette.xml \ reference/pygtk-gtktoolshell.xml \ reference/pygtk-gtktooltip.xml \ reference/pygtk-gtktooltips.xml \ @@ -436,6 +441,7 @@ HTML_FILES = \ html/class-gtkimcontext.html \ html/class-gtkimcontextsimple.html \ html/class-gtkimmulticontext.html \ + html/class-gtkinfobar.html \ html/class-gtkinputdialog.html \ html/class-gtkinvisible.html \ html/class-gtkitemfactory.html \ @@ -454,6 +460,7 @@ HTML_FILES = \ html/class-gtkmountoperation.html \ html/class-gtknotebook.html \ html/class-gtkobject.html \ + html/class-gtkoffscreenwindow.html \ html/class-gtkoptionmenu.html \ html/class-gtkpagesetup.html \ html/class-gtkpagesetupunixdialog.html \ @@ -496,6 +503,7 @@ HTML_FILES = \ html/class-gtksizegroup.html \ html/class-gtksocket.html \ html/class-gtkspinbutton.html \ + html/class-gtkspinner.html \ html/class-gtkstatusbar.html \ html/class-gtkstatusicon.html \ html/class-gtkstyle.html \ @@ -515,6 +523,8 @@ HTML_FILES = \ html/class-gtktoolbar.html \ html/class-gtktoolbutton.html \ html/class-gtktoolitem.html \ + html/class-gtktoolitemgroup.html \ + html/class-gtktoolpalette.html \ html/class-gtktoolshell.html \ html/class-gtktooltip.html \ html/class-gtktooltips.html \ diff --git a/docs/reference/pygtk-gtk-classes.xml b/docs/reference/pygtk-gtk-classes.xml index 4b11f2b5..59012802 100644 --- a/docs/reference/pygtk-gtk-classes.xml +++ b/docs/reference/pygtk-gtk-classes.xml @@ -92,6 +92,7 @@ + @@ -110,6 +111,7 @@ + @@ -148,6 +150,7 @@ + @@ -167,6 +170,8 @@ + + diff --git a/docs/reference/pygtk-gtkinfobar.xml b/docs/reference/pygtk-gtkinfobar.xml new file mode 100644 index 00000000..7109a77c --- /dev/null +++ b/docs/reference/pygtk-gtkinfobar.xml @@ -0,0 +1,370 @@ + + + + + + gtk.InfoBar + + + + + Synopsis + + + gtk.InfoBar + gtk.HBox + + gtk.InfoBar + + + + get_action_area + + + + get_content_area + + + + add_action_widget + child + response_id + + + add_button + button_text + response_id + + + add_buttons + first_button_text + + + set_response_sensitive + response_id + setting + + + set_default_response + response_id + + + response + response_id + + + set_message_type + message_type + + + get_message_type + + + + + + + + Ancestry + ++-- GObject + +-- gtk.Object + +-- gtk.Widget + +-- gtk.Container + +-- gtk.Box + +-- gtk.HBox + +-- gtk.InfoBar + + + + + + Constructor + + + + gtk.InfoBar + + + + + + Returns : + a new gtk.InfoBar object + + + + This constructor is available in PyGTK 2.18 and above. + + + Creates a new gtk.InfoBar object. + + + + + + Methods + + + gtk.InfoBar.get_action_area + + + + get_action_area + + + + + + Returns : + the action area + + + + This method is available in PyGTK 2.18 and above. + + + The get_action_area() method returns the action area of info_bar. + + + + gtk.InfoBar.get_content_area + + + + get_content_area + + + + + + Returns : + the content area + + + + This method is available in PyGTK 2.18 and above. + + + The get_content_area() method returns the content area of info_bar. + + + + gtk.InfoBar.add_action_widget + + + + add_action_widget + child + response_id + + + + + child : + an activatable widget + + + response_id : + response ID for child + + + + This method is available in PyGTK 2.18 and above. + + + Add an activatable widget to the action area of a gtk.InfoBar, +connecting a signal handler that will emit the gtk.InfoBar::response +signal on the message area when the widget is activated. The widget +is appended to the end of the message areas action area. + + + + gtk.InfoBar.add_button + + + + add_button + button_text + response_id + + + + + button_text : + text of button, or stock ID + + + response_id : + response ID for the button + + + Returns : + the button widget that was added + + + + This method is available in PyGTK 2.18 and above. + + + Adds a button with the given text (or a stock button, if button_text +is a stock ID) and sets things up so that clicking the button will emit +the "response" signal with the given response_id. The button is appended +to the end of the info bars's action area. The button widget is +returned, but usually you don't need it. + + + + gtk.InfoBar.add_buttons + + + + add_buttons + first_button_text + + + + + first_button_text : + button text or stock ID + + + + This method is available in PyGTK 2.18 and above. + + + Adds more buttons, same as calling gtk.InfoBar.add_button +repeatedly. The variable argument list should be NULL-terminated +as with gtk_info_bar_new_with_buttons(). Each button must have both +text and response ID. + + + + gtk.InfoBar.set_response_sensitive + + + + set_response_sensitive + response_id + setting + + + + + response_id : + a response ID + + + setting : + TRUE for sensitive + + + + This method is available in PyGTK 2.18 and above. + + + Calls gtk_widget_set_sensitive (widget, setting) for each +widget in the info bars's action area with the given response_id. +A convenient way to sensitize/desensitize dialog buttons. + + + + gtk.InfoBar.set_default_response + + + + set_default_response + response_id + + + + + response_id : + a response ID + + + + This method is available in PyGTK 2.18 and above. + + + The set_default_response() method sets the last widget in the info bar's action area with +the given response_id as the default widget for the dialog. +Pressing "Enter" normally activates the default widget. + + +Note that this function currently requires info_bar to +be added to a widget hierarchy. + + + + gtk.InfoBar.response + + + + response + response_id + + + + + response_id : + a response ID + + + + This method is available in PyGTK 2.18 and above. + + + Emits the 'response' signal with the given response_id. + + + + gtk.InfoBar.set_message_type + + + + set_message_type + message_type + + + + + message_type : + a GtkMessageType + + + + This method is available in PyGTK 2.18 and above. + + + The set_message_type() method sets the message type of the message area. +GTK+ uses this type to determine what color to use +when drawing the message area. + + + + gtk.InfoBar.get_message_type + + + + get_message_type + + + + + + Returns : + the message type of the message area. + + + + This method is available in PyGTK 2.18 and above. + + + The get_message_type() method returns the message type of the message area. + + + + + diff --git a/docs/reference/pygtk-gtkoffscreenwindow.xml b/docs/reference/pygtk-gtkoffscreenwindow.xml new file mode 100644 index 00000000..4206004e --- /dev/null +++ b/docs/reference/pygtk-gtkoffscreenwindow.xml @@ -0,0 +1,128 @@ + + + + + + gtk.OffscreenWindow + + + + + Synopsis + + + gtk.OffscreenWindow + gtk.Window + + gtk.OffscreenWindow + + + + get_pixmap + + + + get_pixbuf + + + + + + + + Ancestry + ++-- GObject + +-- gtk.Object + +-- gtk.Widget + +-- gtk.Container + +-- gtk.Bin + +-- gtk.Window + +-- gtk.OffscreenWindow + + + + + + Constructor + + + + gtk.OffscreenWindow + + + + + + Returns : + A pointer to a gtk.Widget + + + + This constructor is available in PyGTK 2.20 and above. + + + Creates a toplevel container widget that is used to retrieve +snapshots of widgets without showing them on the screen. For +widgets that are on the screen and part of a normal widget +hierarchy, gtk.Widget.get_snapshot can be used instead. + + + + + + Methods + + + gtk.OffscreenWindow.get_pixmap + + + + get_pixmap + + + + + + Returns : + A GdkPixmap pointer to the offscreen pixmap, or NULL. + + + + This method is available in PyGTK 2.20 and above. + + + Retrieves a snapshot of the contained widget in the form of +a GdkPixmap. If you need to keep this around over window +resizes then you should add a reference to it. + + + + gtk.OffscreenWindow.get_pixbuf + + + + get_pixbuf + + + + + + Returns : + A GdkPixbuf pointer, or NULL. + + + + This method is available in PyGTK 2.20 and above. + + + Retrieves a snapshot of the contained widget in the form of +a GdkPixbuf. This is a new pixbuf with a reference count of 1, +and the application should unreference it once it is no longer +needed. + + + + + diff --git a/docs/reference/pygtk-gtkspinner.xml b/docs/reference/pygtk-gtkspinner.xml new file mode 100644 index 00000000..1243358f --- /dev/null +++ b/docs/reference/pygtk-gtkspinner.xml @@ -0,0 +1,106 @@ + + + + + + gtk.Spinner + + + + + Synopsis + + + gtk.Spinner + gtk.DrawingArea + + gtk.Spinner + + + + start + + + + stop + + + + + + + + Ancestry + ++-- GObject + +-- gtk.Object + +-- gtk.Widget + +-- gtk.DrawingArea + +-- gtk.Spinner + + + + + + Constructor + + + + gtk.Spinner + + + + + + Returns : + a new gtk.Spinner + + + + This constructor is available in PyGTK 2.20 and above. + + + Returns a new spinner widget. Not yet started. + + + + + + Methods + + + gtk.Spinner.start + + + + start + + + + + This method is available in PyGTK 2.20 and above. + + + Starts the animation of the spinner. + + + + gtk.Spinner.stop + + + + stop + + + + + This method is available in PyGTK 2.20 and above. + + + Stops the animation of the spinner. + + + + + diff --git a/docs/reference/pygtk-gtktoolitemgroup.xml b/docs/reference/pygtk-gtktoolitemgroup.xml new file mode 100644 index 00000000..84e2a841 --- /dev/null +++ b/docs/reference/pygtk-gtktoolitemgroup.xml @@ -0,0 +1,521 @@ + + + + + + gtk.ToolItemGroup + + + + + Synopsis + + + gtk.ToolItemGroup + gtk.Container + + gtk.ToolItemGroup + label + + + set_label + label + + + set_label_widget + label_widget + + + set_collapsed + collapsed + + + set_ellipsize + ellipsize + + + set_header_relief + style + + + get_label + + + + get_label_widget + + + + get_collapsed + + + + get_ellipsize + + + + get_header_relief + + + + insert + item + position + + + set_item_position + item + position + + + get_item_position + item + + + get_n_items + + + + get_nth_item + index + + + get_drop_item + x + y + + + + + + + Ancestry + ++-- GObject + +-- gtk.Object + +-- gtk.Widget + +-- gtk.Container + +-- gtk.ToolItemGroup + + + + + + Constructor + + + + gtk.ToolItemGroup + label + + + + + label : + the label of the new group + + + Returns : + a new gtk.ToolItemGroup. + + + + This constructor is available in PyGTK 2.20 and above. + + + Creates a new tool item group with label label. + + + + + + Methods + + + gtk.ToolItemGroup.set_label + + + + set_label + label + + + + + label : + the new human-readable label of of the group + + + + This method is available in PyGTK 2.20 and above. + + + The set_label() method sets the label of the tool item group. The label is displayed in the header +of the group. + + + + gtk.ToolItemGroup.set_label_widget + + + + set_label_widget + label_widget + + + + + label_widget : + the widget to be displayed in place of the usual label + + + + This method is available in PyGTK 2.20 and above. + + + The set_label_widget() method sets the label of the tool item group. +The label widget is displayed in the header of the group, in place +of the usual label. + + + + gtk.ToolItemGroup.set_collapsed + + + + set_collapsed + collapsed + + + + + collapsed : + whether the group should be collapsed or expanded + + + + This method is available in PyGTK 2.20 and above. + + + Sets whether the group should be collapsed or expanded. + + + + gtk.ToolItemGroup.set_ellipsize + + + + set_ellipsize + ellipsize + + + + + ellipsize : + the PangoEllipsizeMode labels in group should use + + + + This method is available in PyGTK 2.20 and above. + + + The set_ellipsize() method sets the ellipsization mode which should be used by labels in group. + + + + gtk.ToolItemGroup.set_header_relief + + + + set_header_relief + style + + + + + style : + the GtkReliefStyle + + + + This method is available in PyGTK 2.20 and above. + + + Set the button relief of the group header. +See gtk.Button.set_relief for details. + + + + gtk.ToolItemGroup.get_label + + + + get_label + + + + + + Returns : + the label of group. The label is an internal string of group and must not be modified. Note that NULL is returned if a custom label has been set with gtk.ToolItemGroup.set_label_widget + + + + This method is available in PyGTK 2.20 and above. + + + Gets the label of group. + + + + gtk.ToolItemGroup.get_label_widget + + + + get_label_widget + + + + + + Returns : + the label widget of group + + + + This method is available in PyGTK 2.20 and above. + + + Gets the label widget of group. +See gtk.ToolItemGroup.set_label_widget. + + + + gtk.ToolItemGroup.get_collapsed + + + + get_collapsed + + + + + + Returns : + TRUE if group is collapsed, FALSE if it is expanded + + + + This method is available in PyGTK 2.20 and above. + + + Gets whether group is collapsed or expanded. + + + + gtk.ToolItemGroup.get_ellipsize + + + + get_ellipsize + + + + + + Returns : + the PangoEllipsizeMode of group + + + + This method is available in PyGTK 2.20 and above. + + + Gets the ellipsization mode of group. + + + + gtk.ToolItemGroup.get_header_relief + + + + get_header_relief + + + + + + Returns : + the GtkReliefStyle + + + + This method is available in PyGTK 2.20 and above. + + + Gets the relief mode of the header button of group. + + + + gtk.ToolItemGroup.insert + + + + insert + item + position + + + + + item : + the gtk.ToolItem to insert into group + + + position : + the position of item in group, starting with 0. The position -1 means end of list. + + + + This method is available in PyGTK 2.20 and above. + + + Inserts item at position in the list of children of group. + + + + gtk.ToolItemGroup.set_item_position + + + + set_item_position + item + position + + + + + item : + the gtk.ToolItem to move to a new position, should be a child of group. + + + position : + the new position of item in group, starting with 0. The position -1 means end of list. + + + + This method is available in PyGTK 2.20 and above. + + + The set_item_position() method sets the position of item in the list of children of group. + + + + gtk.ToolItemGroup.get_item_position + + + + get_item_position + item + + + + + item : + a gtk.ToolItem + + + Returns : + the index of item in group or -1 if item is no child of group + + + + This method is available in PyGTK 2.20 and above. + + + Gets the position of item in group as index. + + + + gtk.ToolItemGroup.get_n_items + + + + get_n_items + + + + + + Returns : + the number of tool items in group + + + + This method is available in PyGTK 2.20 and above. + + + Gets the number of tool items in group. + + + + gtk.ToolItemGroup.get_nth_item + + + + get_nth_item + index + + + + + index : + the index + + + Returns : + the gtk.ToolItem at index + + + + This method is available in PyGTK 2.20 and above. + + + Gets the tool item at index in group. + + + + gtk.ToolItemGroup.get_drop_item + + + + get_drop_item + x + y + + + + + x : + the x position + + + y : + the y position + + + Returns : + the gtk.ToolItem at position (x, y) + + + + This method is available in PyGTK 2.20 and above. + + + Gets the tool item at position (x, y). + + + + + diff --git a/docs/reference/pygtk-gtktoolpalette.xml b/docs/reference/pygtk-gtktoolpalette.xml new file mode 100644 index 00000000..34d86d3d --- /dev/null +++ b/docs/reference/pygtk-gtktoolpalette.xml @@ -0,0 +1,636 @@ + + + + + + gtk.ToolPalette + + + + + Synopsis + + + gtk.ToolPalette + gtk.Container + + gtk.ToolPalette + + + + set_group_position + group + position + + + set_exclusive + group + exclusive + + + set_expand + group + expand + + + get_group_position + group + + + get_exclusive + group + + + get_expand + group + + + set_icon_size + icon_size + + + unset_icon_size + + + + set_style + style + + + unset_style + + + + get_icon_size + + + + get_style + + + + get_drop_item + x + y + + + get_drop_group + x + y + + + get_drag_item + selection + + + set_drag_source + targets + + + add_drag_dest + widget + flags + targets + actions + + + get_hadjustment + + + + get_vadjustment + + + + + + + + Ancestry + ++-- GObject + +-- gtk.Object + +-- gtk.Widget + +-- gtk.Container + +-- gtk.ToolPalette + + + + + + Constructor + + + + gtk.ToolPalette + + + + + + Returns : + a new gtk.ToolPalette + + + + This constructor is available in PyGTK 2.20 and above. + + + Creates a new tool palette. + + + + + + Methods + + + gtk.ToolPalette.set_group_position + + + + set_group_position + group + position + + + + + group : + a gtk.ToolItemGroup which is a child of palette + + + position : + a new index for group + + + + This method is available in PyGTK 2.20 and above. + + + The set_group_position() method sets the position of the group as an index of the tool palette. +If position is 0 the group will become the first child, if position is +-1 it will become the last child. + + + + gtk.ToolPalette.set_exclusive + + + + set_exclusive + group + exclusive + + + + + group : + a gtk.ToolItemGroup which is a child of palette + + + exclusive : + whether the group should be exclusive or not + + + + This method is available in PyGTK 2.20 and above. + + + Sets whether the group should be exclusive or not. +If an exclusive group is expanded all other groups are collapsed. + + + + gtk.ToolPalette.set_expand + + + + set_expand + group + expand + + + + + group : + a gtk.ToolItemGroup which is a child of palette + + + expand : + whether the group should be given extra space + + + + This method is available in PyGTK 2.20 and above. + + + Sets whether the group should be given extra space. + + + + gtk.ToolPalette.get_group_position + + + + get_group_position + group + + + + + group : + a gtk.ToolItemGroup + + + Returns : + the index of group or -1 if group is not a child of palette + + + + This method is available in PyGTK 2.20 and above. + + + Gets the position of group in palette as index. +See gtk.ToolPalette.set_group_position. + + + + gtk.ToolPalette.get_exclusive + + + + get_exclusive + group + + + + + group : + a gtk.ToolItemGroup which is a child of palette + + + Returns : + TRUE if group is exclusive + + + + This method is available in PyGTK 2.20 and above. + + + Gets whether group is exclusive or not. +See gtk.ToolPalette.set_exclusive. + + + + gtk.ToolPalette.get_expand + + + + get_expand + group + + + + + group : + a gtk.ToolItemGroup which is a child of palette + + + Returns : + TRUE if group should be given extra space, FALSE otherwise + + + + This method is available in PyGTK 2.20 and above. + + + Gets whether group should be given extra space. +See gtk.ToolPalette.set_expand. + + + + gtk.ToolPalette.set_icon_size + + + + set_icon_size + icon_size + + + + + icon_size : + the GtkIconSize that icons in the tool palette shall have + + + + This method is available in PyGTK 2.20 and above. + + + The set_icon_size() method sets the size of icons in the tool palette. + + + + gtk.ToolPalette.unset_icon_size + + + + unset_icon_size + + + + + This method is available in PyGTK 2.20 and above. + + + Unsets the tool palette icon size set with gtk.ToolPalette.set_icon_size, +so that user preferences will be used to determine the icon size. + + + + gtk.ToolPalette.set_style + + + + set_style + style + + + + + style : + the GtkToolbarStyle that items in the tool palette shall have + + + + This method is available in PyGTK 2.20 and above. + + + The set_style() method sets the style (text, icons or both) of items in the tool palette. + + + + gtk.ToolPalette.unset_style + + + + unset_style + + + + + This method is available in PyGTK 2.20 and above. + + + Unsets a toolbar style set with gtk.ToolPalette.set_style, +so that user preferences will be used to determine the toolbar style. + + + + gtk.ToolPalette.get_icon_size + + + + get_icon_size + + + + + + Returns : + the GtkIconSize of icons in the tool palette + + + + This method is available in PyGTK 2.20 and above. + + + Gets the size of icons in the tool palette. +See gtk.ToolPalette.set_icon_size. + + + + gtk.ToolPalette.get_style + + + + get_style + + + + + + Returns : + the GtkToolbarStyle of items in the tool palette. + + + + This method is available in PyGTK 2.20 and above. + + + Gets the style (icons, text or both) of items in the tool palette. + + + + gtk.ToolPalette.get_drop_item + + + + get_drop_item + x + y + + + + + x : + the x position + + + y : + the y position + + + Returns : + the gtk.ToolItem at position or NULL if there is no such item + + + + This method is available in PyGTK 2.20 and above. + + + Gets the item at position (x, y). +See gtk.ToolPalette.get_drop_group. + + + + gtk.ToolPalette.get_drop_group + + + + get_drop_group + x + y + + + + + x : + the x position + + + y : + the y position + + + Returns : + the gtk.ToolItemGroup at position or NULL if there is no such group + + + + This method is available in PyGTK 2.20 and above. + + + Gets the group at position (x, y). + + + + gtk.ToolPalette.get_drag_item + + + + get_drag_item + selection + + + + + selection : + a gtk.SelectionData + + + Returns : + the dragged item in selection + + + + This method is available in PyGTK 2.20 and above. + + + Get the dragged item from the selection. +This could be a gtk.ToolItem or a gtk.ToolItemGroup. + + + + gtk.ToolPalette.set_drag_source + + + + set_drag_source + targets + + + + + targets : + the GtkToolPaletteDragTargets which the widget should support + + + + This method is available in PyGTK 2.20 and above. + + + The set_drag_source() method sets the tool palette as a drag source. +Enables all groups and items in the tool palette as drag sources +on button 1 and button 3 press with copy and move actions. +See gtk.Widget.drag_source_set. + + + + gtk.ToolPalette.add_drag_dest + + + + add_drag_dest + widget + flags + targets + actions + + + + + widget : + a gtk.Widget which should be a drag destination for palette + + + flags : + the flags that specify what actions GTK+ should take for drops on that widget + + + targets : + the GtkToolPaletteDragTargets which the widget should support + + + actions : + the GdkDragActions which the widget should suppport + + + + This method is available in PyGTK 2.20 and above. + + + Sets palette as drag source (see gtk.ToolPalette.set_drag_source) +and sets widget as a drag destination for drags from palette. +See gtk.Widget.drag_dest_set. + + + + gtk.ToolPalette.get_hadjustment + + + + get_hadjustment + + + + + + Returns : + the horizontal adjustment of palette + + + + This method is available in PyGTK 2.20 and above. + + + Gets the horizontal adjustment of the tool palette. + + + + gtk.ToolPalette.get_vadjustment + + + + get_vadjustment + + + + + + Returns : + the vertical adjustment of palette + + + + This method is available in PyGTK 2.20 and above. + + + Gets the vertical adjustment of the tool palette. + + + + + -- cgit v1.2.1