Sugar-Toolkit-GTK4

Activity Framework

  • sugar4.activity
    • Submodules
      • sugar4.activity.activity
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • HAS_CAIRO
          • SCOPE_PRIVATE
          • SCOPE_INVITE_ONLY
          • SCOPE_NEIGHBORHOOD
          • J_DBUS_SERVICE
          • J_DBUS_PATH
          • J_DBUS_INTERFACE
          • N_BUS_NAME
          • N_OBJ_PATH
          • N_IFACE_NAME
          • PREVIEW_SIZE
          • Activity
            • Activity.__gtype_name__
            • Activity.__gsignals__
            • Activity.shared_activity
            • Activity.sugar_accel_group
            • Activity.add_stop_button()
            • Activity.iconify()
            • Activity.show()
            • Activity.run_main_loop()
            • Activity.get_active()
            • Activity.set_active()
            • Activity.active
            • Activity.get_max_participants()
            • Activity.set_max_participants()
            • Activity.max_participants
            • Activity.get_id()
            • Activity.get_bundle_id()
            • Activity.get_canvas()
            • Activity.set_canvas()
            • Activity.canvas
            • Activity.get_activity_root()
            • Activity.read_file()
            • Activity.write_file()
            • Activity.notify_user()
            • Activity.get_preview()
            • Activity.save()
            • Activity.copy()
            • Activity.get_shared_activity()
            • Activity.get_shared()
            • Activity.invite()
            • Activity.share()
            • Activity.can_close()
            • Activity.close()
            • Activity.get_metadata()
            • Activity.metadata
            • Activity.handle_view_source()
            • Activity.get_document_path()
            • Activity.busy()
            • Activity.unbusy()
          • SimpleActivity
          • get_bundle_name()
          • get_bundle_path()
          • get_activity_root()
          • show_object_in_journal()
          • launch_bundle()
          • get_bundle()
      • sugar4.activity.activityhandle
        • Classes
        • Module Contents
          • ActivityHandle
            • ActivityHandle.activity_id
            • ActivityHandle.object_id
            • ActivityHandle.uri
            • ActivityHandle.invited
            • ActivityHandle.get_dict()
            • ActivityHandle.create_from_dict()
            • ActivityHandle.__repr__()
      • sugar4.activity.activityinstance
        • Classes
        • Functions
        • Module Contents
          • get_single_process_name()
          • get_single_process_path()
          • SingleProcess
            • SingleProcess.constructor
            • SingleProcess.create()
          • main()
      • sugar4.activity.bundlebuilder
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • IGNORE_DIRS
          • IGNORE_FILES
          • list_files()
          • Config
            • Config.source_dir
            • Config.build_dir
            • Config.dist_dir
            • Config.dist_name
            • Config.bundle
            • Config.version
            • Config.activity_name
            • Config.bundle_id
            • Config.bundle_name
            • Config.bundle_root_dir
            • Config.tar_root_dir
            • Config.xo_name
            • Config.tar_name
            • Config.summary
            • Config.description
            • Config.update()
          • Builder
            • Builder.config
            • Builder.locale_dir
            • Builder.build()
            • Builder.build_locale()
            • Builder.get_locale_files()
          • Packager
            • Packager.config
            • Packager.package_path
            • Packager.get_files_in_git()
          • XOPackager
            • XOPackager.builder
            • XOPackager.package_path
            • XOPackager.package()
          • SourcePackager
            • SourcePackager.package_path
            • SourcePackager.package()
          • Installer
            • Installer.builder
            • Installer.install()
          • cmd_check()
          • cmd_dev()
          • cmd_dist_xo()
          • cmd_fix_manifest()
          • cmd_dist_source()
          • cmd_install()
          • cmd_genpot()
          • cmd_build()
          • start()
      • sugar4.activity.widgets
        • Attributes
        • Classes
        • Module Contents
          • print
          • ActivityButton
          • ActivityToolbarButton
          • StopButton
          • UndoButton
          • RedoButton
          • CopyButton
          • PasteButton
          • ShareButton
            • ShareButton.private
            • ShareButton.neighborhood
          • TitleEntry
            • TitleEntry.__gsignals__
            • TitleEntry.entry
            • TitleEntry.save_title()
          • DescriptionItem
            • DescriptionItem.set_expanded()
            • DescriptionItem.get_toolbar_box()
            • DescriptionItem.toolbar_box
          • ActivityToolbar
            • ActivityToolbar.__gsignals__
            • ActivityToolbar.share
          • EditToolbar
            • EditToolbar.undo
            • EditToolbar.redo
            • EditToolbar.separator
            • EditToolbar.copy
            • EditToolbar.paste
    • Classes
    • Package Contents
      • Activity
        • Activity.__gtype_name__
        • Activity.__gsignals__
        • Activity.shared_activity
        • Activity.sugar_accel_group
        • Activity.add_stop_button()
        • Activity.iconify()
        • Activity.show()
        • Activity.run_main_loop()
        • Activity.get_active()
        • Activity.set_active()
        • Activity.active
        • Activity.get_max_participants()
        • Activity.set_max_participants()
        • Activity.max_participants
        • Activity.get_id()
        • Activity.get_bundle_id()
        • Activity.get_canvas()
        • Activity.set_canvas()
        • Activity.canvas
        • Activity.get_activity_root()
        • Activity.read_file()
        • Activity.write_file()
        • Activity.notify_user()
        • Activity.get_preview()
        • Activity.save()
        • Activity.copy()
        • Activity.get_shared_activity()
        • Activity.get_shared()
        • Activity.invite()
        • Activity.share()
        • Activity.can_close()
        • Activity.close()
        • Activity.get_metadata()
        • Activity.metadata
        • Activity.handle_view_source()
        • Activity.get_document_path()
        • Activity.busy()
        • Activity.unbusy()
      • SimpleActivity

Graphics & UI

  • sugar4.graphics
    • Submodules
      • sugar4.graphics.alert
        • Classes
        • Module Contents
          • Alert
            • Alert.__gtype_name__
            • Alert.__gsignals__
            • Alert.__gproperties__
            • Alert.do_set_property()
            • Alert.do_get_property()
            • Alert.add_entry()
            • Alert.add_button()
            • Alert.remove_button()
          • ConfirmationAlert
          • ErrorAlert
          • TimeoutAlert
          • NotifyAlert
      • sugar4.graphics.animator
        • Attributes
        • Classes
        • Module Contents
          • EASE_OUT_EXPO
          • EASE_IN_EXPO
          • Animator
            • Animator.__gsignals__
            • Animator.add()
            • Animator.remove_all()
            • Animator.start()
            • Animator.stop()
          • Animation
            • Animation.start
            • Animation.end
            • Animation.do_frame()
            • Animation.next_frame()
            • Animation.do_stop()
          • FadeAnimation
            • FadeAnimation.next_frame()
          • ScaleAnimation
            • ScaleAnimation.next_frame()
          • MoveAnimation
            • MoveAnimation.next_frame()
          • ColorAnimation
            • ColorAnimation.next_frame()
      • sugar4.graphics.colorbutton
        • Classes
        • Functions
        • Module Contents
          • get_svg_color_string()
          • setup_accelerator()
          • ColorToolButton
            • ColorToolButton.__gtype_name__
            • ColorToolButton.__gsignals__
            • ColorToolButton.set_accelerator()
            • ColorToolButton.get_accelerator()
            • ColorToolButton.accelerator
            • ColorToolButton.create_palette()
            • ColorToolButton.get_palette_invoker()
            • ColorToolButton.set_palette_invoker()
            • ColorToolButton.palette_invoker
            • ColorToolButton.set_expanded()
            • ColorToolButton.get_toolbar_box()
            • ColorToolButton.toolbar_box
            • ColorToolButton.set_color()
            • ColorToolButton.get_color()
            • ColorToolButton.color
            • ColorToolButton.set_icon_name()
            • ColorToolButton.get_icon_name()
            • ColorToolButton.icon_name
            • ColorToolButton.set_icon_size()
            • ColorToolButton.get_icon_size()
            • ColorToolButton.icon_size
            • ColorToolButton.set_title()
            • ColorToolButton.get_title()
            • ColorToolButton.title
      • sugar4.graphics.combobox
        • Classes
        • Module Contents
          • ComboBox
            • ComboBox.__gtype_name__
            • ComboBox.get_value()
            • ComboBox.value
            • ComboBox.append_item()
            • ComboBox.append_separator()
            • ComboBox.get_active_item()
            • ComboBox.remove_all()
      • sugar4.graphics.icon
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • SMALL_ICON_SIZE
          • STANDARD_ICON_SIZE
          • LARGE_ICON_SIZE
          • Icon
            • Icon.__gtype_name__
            • Icon.do_snapshot()
            • Icon.do_measure()
            • Icon.get_icon_name()
            • Icon.set_icon_name()
            • Icon.get_file_name()
            • Icon.set_file_name()
            • Icon.get_pixel_size()
            • Icon.set_pixel_size()
            • Icon.get_fill_color()
            • Icon.set_fill_color()
            • Icon.get_stroke_color()
            • Icon.set_stroke_color()
            • Icon.get_xo_color()
            • Icon.set_xo_color()
            • Icon.get_badge_name()
            • Icon.set_badge_name()
            • Icon.get_alpha()
            • Icon.set_alpha()
            • Icon.get_scale()
            • Icon.set_scale()
            • Icon.get_badge_size()
            • Icon.icon_name
            • Icon.file_name
            • Icon.pixel_size
            • Icon.fill_color
            • Icon.stroke_color
            • Icon.xo_color
            • Icon.badge_name
            • Icon.alpha
            • Icon.scale
            • Icon.get_pixbuf()
            • Icon.set_pixbuf()
            • Icon.get_gtk_image()
          • EventIcon
            • EventIcon.__gtype_name__
            • EventIcon.__gsignals__
            • EventIcon.get_background_color()
            • EventIcon.set_background_color()
            • EventIcon.get_cache()
            • EventIcon.set_cache()
            • EventIcon.background_color
            • EventIcon.cache
          • CanvasIcon
            • CanvasIcon.__gtype_name__
            • CanvasIcon.do_snapshot()
          • CellRendererIcon
            • CellRendererIcon.set_icon_name()
            • CellRendererIcon.set_file_name()
            • CellRendererIcon.set_xo_color()
            • CellRendererIcon.set_fill_color()
            • CellRendererIcon.set_stroke_color()
            • CellRendererIcon.set_size()
            • CellRendererIcon.get_surface()
          • get_icon_file_name()
          • get_icon_state()
          • get_surface()
      • sugar4.graphics.menuitem
        • Classes
        • Module Contents
          • MenuItem
            • MenuItem.__gtype_name__
            • MenuItem.set_accelerator()
            • MenuItem.get_accelerator()
            • MenuItem.set_text()
            • MenuItem.get_text()
            • MenuItem.accelerator
          • MenuSeparator
      • sugar4.graphics.objectchooser
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • J_DBUS_SERVICE
          • J_DBUS_INTERFACE
          • J_DBUS_PATH
          • FILTER_TYPE_MIME_BY_ACTIVITY
          • FILTER_TYPE_GENERIC_MIME
          • FILTER_TYPE_ACTIVITY
          • get_preview_pixbuf()
          • ObjectChooser
            • ObjectChooser.run()
            • ObjectChooser.get_selected_object()
            • ObjectChooser.destroy()
      • sugar4.graphics.palette
        • Classes
        • Module Contents
          • Palette
            • Palette.__gsignals__
            • Palette.__gtype_name__
            • Palette.action_bar
            • Palette.get_full_size_request()
            • Palette.popup()
            • Palette.popdown()
            • Palette.on_enter()
            • Palette.set_primary_text()
            • Palette.get_primary_text()
            • Palette.primary_text
            • Palette.set_secondary_text()
            • Palette.get_secondary_text()
            • Palette.secondary_text
            • Palette.set_icon()
            • Palette.get_icon()
            • Palette.icon
            • Palette.set_icon_visible()
            • Palette.get_icon_visible()
            • Palette.icon_visible
            • Palette.set_content()
            • Palette.get_label_width()
            • Palette.get_menu()
            • Palette.menu
          • PaletteActionBar
            • PaletteActionBar.add_action()
      • sugar4.graphics.palettegroup
        • Classes
        • Functions
        • Module Contents
          • get_group()
          • popdown_all()
          • Group
            • Group.__gsignals__
            • Group.is_up()
            • Group.get_state()
            • Group.add()
            • Group.remove()
            • Group.popdown()
      • sugar4.graphics.palettemenu
        • Classes
        • Functions
        • Module Contents
          • PaletteMenuBox
            • PaletteMenuBox.append_item()
          • PaletteMenuItemSeparator
            • PaletteMenuItemSeparator.__gtype_name__
          • PaletteMenuItem
            • PaletteMenuItem.__gtype_name__
            • PaletteMenuItem.__gsignals__
            • PaletteMenuItem.icon
            • PaletteMenuItem.set_label()
            • PaletteMenuItem.get_label()
            • PaletteMenuItem.set_image()
            • PaletteMenuItem.set_accelerator()
            • PaletteMenuItem.set_sensitive()
          • create_menu_item()
          • create_separator()
          • create_submenu_item()
          • PaletteMenuGroup
            • PaletteMenuGroup.name
            • PaletteMenuGroup.items
            • PaletteMenuGroup.add_item()
            • PaletteMenuGroup.set_sensitive()
            • PaletteMenuGroup.set_visible()
          • PaletteMenuBuilder
            • PaletteMenuBuilder.menu_box
            • PaletteMenuBuilder.groups
            • PaletteMenuBuilder.add_item()
            • PaletteMenuBuilder.add_separator()
            • PaletteMenuBuilder.get_menu_box()
            • PaletteMenuBuilder.get_group()
      • sugar4.graphics.palettewindow
        • Attributes
        • Classes
        • Module Contents
          • print
          • MouseSpeedDetector
            • MouseSpeedDetector.__gsignals__
            • MouseSpeedDetector.parent
            • MouseSpeedDetector.start()
            • MouseSpeedDetector.stop()
          • PaletteWindow
            • PaletteWindow.__gsignals__
            • PaletteWindow.destroy()
            • PaletteWindow.set_invoker()
            • PaletteWindow.get_invoker()
            • PaletteWindow.invoker
            • PaletteWindow.set_content()
            • PaletteWindow.is_up()
            • PaletteWindow.set_group_id()
            • PaletteWindow.get_group_id()
            • PaletteWindow.group_id
            • PaletteWindow.update_position()
            • PaletteWindow.get_full_size_request()
            • PaletteWindow.popup()
            • PaletteWindow.popdown()
            • PaletteWindow.on_invoker_enter()
            • PaletteWindow.on_invoker_leave()
            • PaletteWindow.on_enter()
            • PaletteWindow.on_leave()
            • PaletteWindow.get_rect()
          • Invoker
            • Invoker.__gtype_name__
            • Invoker.__gsignals__
            • Invoker.ANCHORED
            • Invoker.AT_CURSOR
            • Invoker.BOTTOM
            • Invoker.RIGHT
            • Invoker.TOP
            • Invoker.LEFT
            • Invoker.parent
            • Invoker.locked
            • Invoker.attach()
            • Invoker.detach()
            • Invoker.get_position_for_alignment()
            • Invoker.get_position()
            • Invoker.get_alignment()
            • Invoker.has_rectangle_gap()
            • Invoker.draw_rectangle()
            • Invoker.notify_popup()
            • Invoker.notify_popdown()
            • Invoker.notify_mouse_enter()
            • Invoker.notify_mouse_leave()
            • Invoker.notify_right_click()
            • Invoker.notify_toggle_state()
            • Invoker.get_palette()
            • Invoker.set_palette()
            • Invoker.palette
            • Invoker.get_cache_palette()
            • Invoker.set_cache_palette()
            • Invoker.cache_palette
            • Invoker.get_toggle_palette()
            • Invoker.set_toggle_palette()
            • Invoker.toggle_palette
            • Invoker.get_lock_palette()
            • Invoker.set_lock_palette()
            • Invoker.lock_palette
            • Invoker.primary_text_clicked()
            • Invoker.get_rect()
            • Invoker.get_toplevel()
          • WidgetInvoker
            • WidgetInvoker.attach_widget()
            • WidgetInvoker.detach()
            • WidgetInvoker.get_rect()
            • WidgetInvoker.has_rectangle_gap()
            • WidgetInvoker.draw_rectangle()
            • WidgetInvoker.get_widget()
            • WidgetInvoker.set_widget()
            • WidgetInvoker.widget
            • WidgetInvoker.get_toplevel()
            • WidgetInvoker.notify_popup()
            • WidgetInvoker.notify_popdown()
          • CursorInvoker
            • CursorInvoker.attach()
            • CursorInvoker.detach()
            • CursorInvoker.get_rect()
            • CursorInvoker.get_toplevel()
          • ToolInvoker
            • ToolInvoker.attach_tool()
            • ToolInvoker.primary_text_clicked()
            • ToolInvoker.notify_popup()
            • ToolInvoker.notify_popdown()
          • TreeViewInvoker
            • TreeViewInvoker.palette
            • TreeViewInvoker.attach_treeview()
            • TreeViewInvoker.detach()
            • TreeViewInvoker.get_rect()
            • TreeViewInvoker.get_toplevel()
            • TreeViewInvoker.notify_popdown()
      • sugar4.graphics.radiopalette
        • Attributes
        • Classes
        • Module Contents
          • logger
          • print
          • RadioMenuButton
            • RadioMenuButton.selected_button
            • RadioMenuButton.get_selected_button()
            • RadioMenuButton.set_selected_button()
          • RadioToolsButton
            • RadioToolsButton.do_clicked()
          • RadioPalette
            • RadioPalette.button_box
            • RadioPalette.append()
            • RadioPalette.update_button()
            • RadioPalette.popdown()
            • RadioPalette.popup()
            • RadioPalette.get_buttons()
            • RadioPalette.get_selected_button()
      • sugar4.graphics.radiotoolbutton
        • Attributes
        • Classes
        • Module Contents
          • logger
          • RadioToolButton
            • RadioToolButton.__gtype_name__
            • RadioToolButton.__gsignals__
            • RadioToolButton.get_group()
            • RadioToolButton.set_group()
            • RadioToolButton.get_active()
            • RadioToolButton.set_active()
            • RadioToolButton.active
      • sugar4.graphics.style
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • GTK_AVAILABLE
          • FOCUS_LINE_WIDTH
          • ELLIPSIZE_MODE_DEFAULT
          • Font
            • Font.__str__()
            • Font.__repr__()
            • Font.get_pango_desc()
            • Font.get_css_string()
          • Color
            • Color.__str__()
            • Color.__repr__()
            • Color.get_rgba()
            • Color.get_int()
            • Color.get_gdk_rgba()
            • Color.get_gdk_color()
            • Color.get_html()
            • Color.get_css_rgba()
            • Color.get_svg()
            • Color.with_alpha()
          • zoom()
          • apply_css_to_widget()
          • ZOOM_FACTOR
          • DEFAULT_SPACING
          • DEFAULT_PADDING
          • GRID_CELL_SIZE
          • LINE_WIDTH
          • STANDARD_ICON_SIZE
          • SMALL_ICON_SIZE
          • MEDIUM_ICON_SIZE
          • LARGE_ICON_SIZE
          • XLARGE_ICON_SIZE
          • settings
          • FONT_NORMAL
          • FONT_BOLD
          • FONT_NORMAL_H
          • FONT_BOLD_H
          • FONT_ITALIC
          • TOOLBOX_SEPARATOR_HEIGHT
          • TOOLBOX_HORIZONTAL_PADDING
          • TOOLBOX_TAB_VBORDER
          • TOOLBOX_TAB_HBORDER
          • TOOLBOX_TAB_LABEL_WIDTH
          • COLOR_BLACK
          • COLOR_WHITE
          • COLOR_TRANSPARENT
          • COLOR_PANEL_GREY
          • COLOR_SELECTION_GREY
          • COLOR_TOOLBAR_GREY
          • COLOR_BUTTON_GREY
          • COLOR_INACTIVE_FILL
          • COLOR_INACTIVE_STROKE
          • COLOR_TEXT_FIELD_GREY
          • COLOR_HIGHLIGHT
          • COLOR_PRIMARY
          • COLOR_SUCCESS
          • COLOR_WARNING
          • COLOR_ERROR
          • PALETTE_CURSOR_DISTANCE
          • TOOLBAR_ARROW_SIZE
          • MENU_WIDTH_CHARS
          • BORDER_RADIUS
          • SHADOW_BLUR
          • TRANSITION_DURATION
      • sugar4.graphics.toggletoolbutton
        • Classes
        • Module Contents
          • ToggleToolButton
            • ToggleToolButton.__gtype_name__
            • ToggleToolButton.set_icon_name()
            • ToggleToolButton.get_icon_name()
            • ToggleToolButton.icon_name
            • ToggleToolButton.create_palette()
            • ToggleToolButton.get_palette()
            • ToggleToolButton.set_palette()
            • ToggleToolButton.palette
            • ToggleToolButton.get_palette_invoker()
            • ToggleToolButton.set_palette_invoker()
            • ToggleToolButton.palette_invoker
            • ToggleToolButton.set_tooltip()
            • ToggleToolButton.set_accelerator()
            • ToggleToolButton.get_accelerator()
            • ToggleToolButton.accelerator
            • ToggleToolButton.do_snapshot()
            • ToggleToolButton.do_clicked()
      • sugar4.graphics.toolbarbox
        • Attributes
        • Classes
        • Module Contents
          • logger
          • ToolbarButton
            • ToolbarButton.__gtype_name__
            • ToolbarButton.page_widget
            • ToolbarButton.get_toolbar_box()
            • ToolbarButton.toolbar_box
            • ToolbarButton.get_page()
            • ToolbarButton.set_page()
            • ToolbarButton.page
            • ToolbarButton.is_in_palette()
            • ToolbarButton.is_expanded()
            • ToolbarButton.popdown()
            • ToolbarButton.set_expanded()
            • ToolbarButton.do_snapshot()
          • ToolbarBox
            • ToolbarBox.__gtype_name__
            • ToolbarBox.get_toolbar()
            • ToolbarBox.toolbar
            • ToolbarBox.get_expanded_button()
            • ToolbarBox.set_expanded_button()
            • ToolbarBox.expanded_button
            • ToolbarBox.get_padding()
            • ToolbarBox.set_padding()
            • ToolbarBox.padding
      • sugar4.graphics.toolbox
        • Classes
        • Module Contents
          • Toolbox
            • Toolbox.__gtype_name__
            • Toolbox.__gsignals__
            • Toolbox.add_toolbar()
            • Toolbox.remove_toolbar()
            • Toolbox.set_current_toolbar()
            • Toolbox.get_current_toolbar()
            • Toolbox.get_toolbar_count()
            • Toolbox.get_toolbar_at()
            • Toolbox.set_toolbar_label()
            • Toolbox.get_toolbar_label()
            • Toolbox.current_toolbar
      • sugar4.graphics.toolbutton
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • print
          • setup_accelerator()
          • ToolButton
            • ToolButton.set_tooltip()
            • ToolButton.get_tooltip()
            • ToolButton.tooltip
            • ToolButton.get_hide_tooltip_on_click()
            • ToolButton.set_hide_tooltip_on_click()
            • ToolButton.hide_tooltip_on_click
            • ToolButton.set_accelerator()
            • ToolButton.get_accelerator()
            • ToolButton.accelerator
            • ToolButton.set_icon_name()
            • ToolButton.get_icon_name()
            • ToolButton.icon_name
            • ToolButton.set_icon_widget()
            • ToolButton.get_icon_widget()
            • ToolButton.set_label()
            • ToolButton.get_label()
            • ToolButton.create_palette()
            • ToolButton.get_palette()
            • ToolButton.set_palette()
            • ToolButton.palette
            • ToolButton.get_palette_invoker()
            • ToolButton.set_palette_invoker()
            • ToolButton.palette_invoker
            • ToolButton.do_snapshot()
            • ToolButton.set_active()
            • ToolButton.get_active()
      • sugar4.graphics.toolcombobox
        • Classes
        • Module Contents
          • ToolComboBox
            • ToolComboBox.label
            • ToolComboBox.do_set_property()
            • ToolComboBox.set_label_text()
            • ToolComboBox.get_label_text()
      • sugar4.graphics.tray
        • Attributes
        • Classes
        • Module Contents
          • GRID_CELL_SIZE
          • ALIGN_TO_START
          • ALIGN_TO_END
          • HTray
            • HTray.__gtype_name__
            • HTray.__gproperties__
            • HTray.align
            • HTray.do_dispose()
            • HTray.do_measure()
            • HTray.do_size_allocate()
            • HTray.do_set_property()
            • HTray.do_get_property()
            • HTray.get_drag_active()
            • HTray.set_drag_active()
            • HTray.get_children()
            • HTray.add_item()
            • HTray.remove_item()
            • HTray.get_item_index()
            • HTray.scroll_to_item()
          • VTray
            • VTray.__gtype_name__
            • VTray.__gproperties__
            • VTray.align
            • VTray.do_dispose()
            • VTray.do_measure()
            • VTray.do_size_allocate()
            • VTray.do_set_property()
            • VTray.do_get_property()
            • VTray.get_drag_active()
            • VTray.set_drag_active()
            • VTray.get_children()
            • VTray.add_item()
            • VTray.remove_item()
            • VTray.get_item_index()
            • VTray.scroll_to_item()
          • TrayButton
          • TrayIcon
            • TrayIcon.__gtype_name__
            • TrayIcon.create_palette()
            • TrayIcon.get_palette()
            • TrayIcon.set_palette()
            • TrayIcon.palette
            • TrayIcon.get_palette_invoker()
            • TrayIcon.set_palette_invoker()
            • TrayIcon.palette_invoker
            • TrayIcon.get_icon()
            • TrayIcon.get_icon_name()
            • TrayIcon.set_icon_name()
            • TrayIcon.get_xo_color()
            • TrayIcon.set_xo_color()
            • TrayIcon.icon
      • sugar4.graphics.window
        • Classes
        • Module Contents
          • UnfullscreenButton
            • UnfullscreenButton.__gtype_name__
            • UnfullscreenButton.connect_button_clicked()
          • Window
            • Window.__gtype_name__
            • Window.tray
            • Window.reveal()
            • Window.is_fullscreen()
            • Window.fullscreen()
            • Window.unfullscreen()
            • Window.set_canvas()
            • Window.get_canvas()
            • Window.set_toolbar_box()
            • Window.get_toolbar_box()
            • Window.set_tray()
            • Window.add_alert()
            • Window.remove_alert()
            • Window.set_enable_fullscreen_mode()
            • Window.get_enable_fullscreen_mode()
            • Window.canvas
            • Window.toolbar_box
            • Window.enable_fullscreen_mode
      • sugar4.graphics.xocolor
        • Attributes
        • Classes
        • Module Contents
          • print
          • colors
          • XoColor
            • XoColor.__eq__()
            • XoColor.__ne__()
            • XoColor.__hash__()
            • XoColor.__str__()
            • XoColor.__repr__()
            • XoColor.get_stroke_color()
            • XoColor.get_fill_color()
            • XoColor.to_string()
            • XoColor.from_string()
            • XoColor.get_random_color()
            • XoColor.to_rgba_tuple()
          • match
    • Attributes
    • Classes
    • Functions
    • Package Contents
      • XoColor
        • XoColor.__eq__()
        • XoColor.__ne__()
        • XoColor.__hash__()
        • XoColor.__str__()
        • XoColor.__repr__()
        • XoColor.get_stroke_color()
        • XoColor.get_fill_color()
        • XoColor.to_string()
        • XoColor.from_string()
        • XoColor.get_random_color()
        • XoColor.to_rgba_tuple()
      • Icon
        • Icon.__gtype_name__
        • Icon.do_snapshot()
        • Icon.do_measure()
        • Icon.get_icon_name()
        • Icon.set_icon_name()
        • Icon.get_file_name()
        • Icon.set_file_name()
        • Icon.get_pixel_size()
        • Icon.set_pixel_size()
        • Icon.get_fill_color()
        • Icon.set_fill_color()
        • Icon.get_stroke_color()
        • Icon.set_stroke_color()
        • Icon.get_xo_color()
        • Icon.set_xo_color()
        • Icon.get_badge_name()
        • Icon.set_badge_name()
        • Icon.get_alpha()
        • Icon.set_alpha()
        • Icon.get_scale()
        • Icon.set_scale()
        • Icon.get_badge_size()
        • Icon.icon_name
        • Icon.file_name
        • Icon.pixel_size
        • Icon.fill_color
        • Icon.stroke_color
        • Icon.xo_color
        • Icon.badge_name
        • Icon.alpha
        • Icon.scale
        • Icon.get_pixbuf()
        • Icon.set_pixbuf()
        • Icon.get_gtk_image()
      • EventIcon
        • EventIcon.__gtype_name__
        • EventIcon.__gsignals__
        • EventIcon.get_background_color()
        • EventIcon.set_background_color()
        • EventIcon.get_cache()
        • EventIcon.set_cache()
        • EventIcon.background_color
        • EventIcon.cache
      • CanvasIcon
        • CanvasIcon.__gtype_name__
        • CanvasIcon.do_snapshot()
      • CellRendererIcon
        • CellRendererIcon.set_icon_name()
        • CellRendererIcon.set_file_name()
        • CellRendererIcon.set_xo_color()
        • CellRendererIcon.set_fill_color()
        • CellRendererIcon.set_stroke_color()
        • CellRendererIcon.set_size()
        • CellRendererIcon.get_surface()
      • get_icon_file_name()
      • get_surface()
      • get_icon_state()
      • SMALL_ICON_SIZE
      • STANDARD_ICON_SIZE
      • LARGE_ICON_SIZE

Data & Storage

  • sugar4.datastore
    • Submodules
      • sugar4.datastore.datastore
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • DS_DBUS_SERVICE
          • DS_DBUS_INTERFACE
          • DS_DBUS_PATH
          • created
          • deleted
          • updated
          • DSMetadata
            • DSMetadata.__gsignals__
            • DSMetadata.__getitem__()
            • DSMetadata.__setitem__()
            • DSMetadata.__delitem__()
            • DSMetadata.__contains__()
            • DSMetadata.has_key()
            • DSMetadata.keys()
            • DSMetadata.get_dictionary()
            • DSMetadata.copy()
            • DSMetadata.get()
            • DSMetadata.update()
          • DSObject
            • DSObject.get_object_id()
            • DSObject.set_object_id()
            • DSObject.object_id
            • DSObject.get_metadata()
            • DSObject.set_metadata()
            • DSObject.metadata
            • DSObject.get_file_path()
            • DSObject.set_file_path()
            • DSObject.file_path
            • DSObject.destroy()
            • DSObject.__del__()
            • DSObject.copy()
          • RawObject
            • RawObject.object_id
            • RawObject.get_metadata()
            • RawObject.metadata
            • RawObject.get_file_path()
            • RawObject.file_path
            • RawObject.destroy()
            • RawObject.__del__()
          • get()
          • create()
          • write()
          • delete()
          • find()
          • copy()
          • get_unique_values()

Bundle Management

  • sugar4.bundle
    • Submodules
      • sugar4.bundle.activitybundle
        • Classes
        • Functions
        • Module Contents
          • ActivityBundle
            • ActivityBundle.MIME_TYPE
            • ActivityBundle.bundle_exec
            • ActivityBundle.get_locale_path()
            • ActivityBundle.get_icons_path()
            • ActivityBundle.get_name()
            • ActivityBundle.get_bundle_id()
            • ActivityBundle.get_icon()
            • ActivityBundle.get_icon_filename()
            • ActivityBundle.get_activity_version()
            • ActivityBundle.get_command()
            • ActivityBundle.get_mime_types()
            • ActivityBundle.get_tags()
            • ActivityBundle.get_summary()
            • ActivityBundle.get_description()
            • ActivityBundle.get_single_instance()
            • ActivityBundle.get_max_participants()
            • ActivityBundle.get_show_launcher()
            • ActivityBundle.install()
            • ActivityBundle.install_mime_type()
            • ActivityBundle.uninstall()
            • ActivityBundle.is_user_activity()
          • get_bundle_instance()
      • sugar4.bundle.bundle
        • Exceptions
        • Classes
        • Module Contents
          • AlreadyInstalledException
          • NotInstalledException
          • InvalidPathException
          • ZipExtractException
          • RegistrationException
          • MalformedBundleException
          • Bundle
            • Bundle.__del__()
            • Bundle.get_file()
            • Bundle.is_file()
            • Bundle.is_dir()
            • Bundle.get_path()
            • Bundle.get_installation_time()
            • Bundle.get_show_launcher()
      • sugar4.bundle.bundleversion
        • VERSION_RE
        • Attributes
        • Exceptions
        • Classes
        • Module Contents
          • VERSION_RE
          • InvalidVersionError
          • NormalizedVersion
            • NormalizedVersion.parts
            • NormalizedVersion.parts
            • NormalizedVersion.__str__()
            • NormalizedVersion.__repr__()
            • NormalizedVersion.__eq__()
            • NormalizedVersion.__lt__()
            • NormalizedVersion.__ne__()
            • NormalizedVersion.__gt__()
            • NormalizedVersion.__le__()
            • NormalizedVersion.__ge__()
      • sugar4.bundle.contentbundle
        • Classes
        • Module Contents
          • ContentBundle
            • ContentBundle.MIME_TYPE
            • ContentBundle.get_name()
            • ContentBundle.get_library_version()
            • ContentBundle.get_locale()
            • ContentBundle.get_activity_start()
            • ContentBundle.get_icon()
            • ContentBundle.get_start_uri()
            • ContentBundle.get_bundle_id()
            • ContentBundle.get_activity_version()
            • ContentBundle.get_tags()
            • ContentBundle.install()
            • ContentBundle.uninstall()
            • ContentBundle.is_user_activity()
      • sugar4.bundle.helpers
        • Functions
        • Module Contents
          • bundle_from_archive()
          • bundle_from_dir()
    • Exceptions
    • Classes
    • Package Contents
      • ActivityBundle
        • ActivityBundle.MIME_TYPE
        • ActivityBundle.bundle_exec
        • ActivityBundle.get_locale_path()
        • ActivityBundle.get_icons_path()
        • ActivityBundle.get_name()
        • ActivityBundle.get_bundle_id()
        • ActivityBundle.get_icon()
        • ActivityBundle.get_icon_filename()
        • ActivityBundle.get_activity_version()
        • ActivityBundle.get_command()
        • ActivityBundle.get_mime_types()
        • ActivityBundle.get_tags()
        • ActivityBundle.get_summary()
        • ActivityBundle.get_description()
        • ActivityBundle.get_single_instance()
        • ActivityBundle.get_max_participants()
        • ActivityBundle.get_show_launcher()
        • ActivityBundle.install()
        • ActivityBundle.install_mime_type()
        • ActivityBundle.uninstall()
        • ActivityBundle.is_user_activity()
      • Bundle
        • Bundle.__del__()
        • Bundle.get_file()
        • Bundle.is_file()
        • Bundle.is_dir()
        • Bundle.get_path()
        • Bundle.get_installation_time()
        • Bundle.get_show_launcher()
      • NormalizedVersion
        • NormalizedVersion.parts
        • NormalizedVersion.parts
        • NormalizedVersion.__str__()
        • NormalizedVersion.__repr__()
        • NormalizedVersion.__eq__()
        • NormalizedVersion.__lt__()
        • NormalizedVersion.__ne__()
        • NormalizedVersion.__gt__()
        • NormalizedVersion.__le__()
        • NormalizedVersion.__ge__()
      • InvalidVersionError
      • ContentBundle
        • ContentBundle.MIME_TYPE
        • ContentBundle.get_name()
        • ContentBundle.get_library_version()
        • ContentBundle.get_locale()
        • ContentBundle.get_activity_start()
        • ContentBundle.get_icon()
        • ContentBundle.get_start_uri()
        • ContentBundle.get_bundle_id()
        • ContentBundle.get_activity_version()
        • ContentBundle.get_tags()
        • ContentBundle.install()
        • ContentBundle.uninstall()
        • ContentBundle.is_user_activity()

Collaboration

  • sugar4.presence
    • Submodules
      • sugar4.presence.activity
        • Attributes
        • Classes
        • Module Contents
          • CHANNEL
          • CHANNEL_INTERFACE_GROUP
          • CONN_INTERFACE_ROOM_CONFIG
          • CHANNEL_TYPE_TUBES
          • CHANNEL_TYPE_TEXT
          • CONNECTION
          • PROPERTIES_INTERFACE
          • CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES
          • HANDLE_TYPE_CONTACT
          • HANDLE_TYPE_ROOM
          • PROPERTY_FLAG_WRITE
          • CONN_INTERFACE_ACTIVITY_PROPERTIES
          • CONN_INTERFACE_BUDDY_INFO
          • Activity
            • Activity.__gsignals__
            • Activity.__gproperties__
            • Activity.telepathy_conn
            • Activity.telepathy_text_chan
            • Activity.telepathy_tubes_chan
            • Activity.room_handle
            • Activity.object_path()
            • Activity.do_get_property()
            • Activity.do_set_property()
            • Activity.set_private()
            • Activity.get_joined_buddies()
            • Activity.get_buddy_by_handle()
            • Activity.invite()
            • Activity.set_up_tubes()
            • Activity.join()
            • Activity.share()
            • Activity.get_channels()
            • Activity.leave()
      • sugar4.presence.buddy
        • Attributes
        • Classes
        • Module Contents
          • CONNECTION
          • CONNECTION_INTERFACE_ALIASING
          • CONNECTION_INTERFACE_CONTACTS
          • HANDLE_TYPE_CONTACT
          • CONN_INTERFACE_BUDDY_INFO
          • BaseBuddy
            • BaseBuddy.__gtype_name__
            • BaseBuddy.__gsignals__
            • BaseBuddy.get_key()
            • BaseBuddy.set_key()
            • BaseBuddy.key
            • BaseBuddy.get_nick()
            • BaseBuddy.set_nick()
            • BaseBuddy.nick
            • BaseBuddy.get_color()
            • BaseBuddy.set_color()
            • BaseBuddy.color
            • BaseBuddy.get_current_activity()
            • BaseBuddy.current_activity
            • BaseBuddy.get_owner()
            • BaseBuddy.set_owner()
            • BaseBuddy.owner
            • BaseBuddy.get_ip4_address()
            • BaseBuddy.set_ip4_address()
            • BaseBuddy.ip4_address
            • BaseBuddy.get_tags()
            • BaseBuddy.set_tags()
            • BaseBuddy.tags
            • BaseBuddy.object_path()
          • Buddy
            • Buddy.__gtype_name__
            • Buddy.contact_id
            • Buddy.contact_handle
            • Buddy.do_get_property()
          • Owner
            • Owner.__gtype_name__
      • sugar4.presence.connectionmanager
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • ACCOUNT_MANAGER_SERVICE
          • ACCOUNT_MANAGER_PATH
          • ACCOUNT_MANAGER
          • ACCOUNT
          • HANDLE_TYPE_CONTACT
          • CONNECTION
          • CONNECTION_STATUS_CONNECTED
          • Connection
            • Connection.account_path
            • Connection.connection
            • Connection.connected
          • ConnectionManager
            • ConnectionManager.get_preferred_connection()
            • ConnectionManager.get_connection()
            • ConnectionManager.get_connections_per_account()
            • ConnectionManager.get_account_for_connection()
          • get_connection_manager()
      • sugar4.presence.presenceservice
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • ACCOUNT_MANAGER_SERVICE
          • ACCOUNT_MANAGER_PATH
          • ACCOUNT_MANAGER
          • ACCOUNT
          • HANDLE_TYPE_CONTACT
          • CONNECTION
          • CONN_INTERFACE_ACTIVITY_PROPERTIES
          • PresenceService
            • PresenceService.__gsignals__
            • PresenceService.get_activity()
            • PresenceService.get_activity_by_handle()
            • PresenceService.get_buddy()
            • PresenceService.get_buddy_by_telepathy_handle()
            • PresenceService.get_owner()
            • PresenceService.share_activity()
            • PresenceService.get_preferred_connection()
            • PresenceService.get()
            • PresenceService.get_activities()
            • PresenceService.get_activities_async()
            • PresenceService.get_buddies()
            • PresenceService.get_buddies_async()
          • get_instance()
      • sugar4.presence.sugartubeconn
        • Attributes
        • Classes
        • Module Contents
          • CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES
          • SugarTubeConnection
            • SugarTubeConnection.get_buddy()
      • sugar4.presence.tubeconn
        • Classes
        • Module Contents
          • TubeConnection
            • TubeConnection.close()
            • TubeConnection.watch_participants()

Event System

  • sugar4.dispatch
    • Submodules
      • sugar4.dispatch.dispatcher
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • WEAKREF_TYPES
          • Signal
            • Signal.receivers
            • Signal.providing_args
            • Signal.connect()
            • Signal.disconnect()
            • Signal.send()
            • Signal.send_robust()
          • im_self()
          • im_func()
      • sugar4.dispatch.saferef
        • Classes
        • Functions
        • Module Contents
          • safeRef()
          • BoundMethodWeakref
            • BoundMethodWeakref.deletionMethods
            • BoundMethodWeakref.key
            • BoundMethodWeakref.weakSelf
            • BoundMethodWeakref.weakFunc
            • BoundMethodWeakref.selfName
            • BoundMethodWeakref.funcName
            • BoundMethodWeakref.calculateKey()
            • BoundMethodWeakref.__str__()
            • BoundMethodWeakref.__repr__
            • BoundMethodWeakref.__bool__()
            • BoundMethodWeakref.__nonzero__()
            • BoundMethodWeakref.__cmp__()
            • BoundMethodWeakref.__call__()
          • BoundNonDescriptorMethodWeakref
            • BoundNonDescriptorMethodWeakref.__call__()
          • get_bound_method_weakref()
          • im_self()
          • im_func()
    • Classes
    • Package Contents
      • Signal
        • Signal.receivers
        • Signal.providing_args
        • Signal.connect()
        • Signal.disconnect()
        • Signal.send()
        • Signal.send_robust()

Core Utilities

  • sugar4
    • Submodules
      • sugar4.__main__
        • Attributes
        • Functions
        • Module Contents
          • print
          • main()
      • sugar4.activity
        • Submodules
          • sugar4.activity.activity
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.activity.activityhandle
            • Classes
            • Module Contents
          • sugar4.activity.activityinstance
            • Classes
            • Functions
            • Module Contents
          • sugar4.activity.bundlebuilder
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.activity.widgets
            • Attributes
            • Classes
            • Module Contents
        • Classes
        • Package Contents
          • Activity
            • Activity.__gtype_name__
            • Activity.__gsignals__
            • Activity.shared_activity
            • Activity.sugar_accel_group
            • Activity.add_stop_button()
            • Activity.iconify()
            • Activity.show()
            • Activity.run_main_loop()
            • Activity.get_active()
            • Activity.set_active()
            • Activity.active
            • Activity.get_max_participants()
            • Activity.set_max_participants()
            • Activity.max_participants
            • Activity.get_id()
            • Activity.get_bundle_id()
            • Activity.get_canvas()
            • Activity.set_canvas()
            • Activity.canvas
            • Activity.get_activity_root()
            • Activity.read_file()
            • Activity.write_file()
            • Activity.notify_user()
            • Activity.get_preview()
            • Activity.save()
            • Activity.copy()
            • Activity.get_shared_activity()
            • Activity.get_shared()
            • Activity.invite()
            • Activity.share()
            • Activity.can_close()
            • Activity.close()
            • Activity.get_metadata()
            • Activity.metadata
            • Activity.handle_view_source()
            • Activity.get_document_path()
            • Activity.busy()
            • Activity.unbusy()
          • SimpleActivity
      • sugar4.bundle
        • Submodules
          • sugar4.bundle.activitybundle
            • Classes
            • Functions
            • Module Contents
          • sugar4.bundle.bundle
            • Exceptions
            • Classes
            • Module Contents
          • sugar4.bundle.bundleversion
            • VERSION_RE
            • Attributes
            • Exceptions
            • Classes
            • Module Contents
          • sugar4.bundle.contentbundle
            • Classes
            • Module Contents
          • sugar4.bundle.helpers
            • Functions
            • Module Contents
        • Exceptions
        • Classes
        • Package Contents
          • ActivityBundle
            • ActivityBundle.MIME_TYPE
            • ActivityBundle.bundle_exec
            • ActivityBundle.get_locale_path()
            • ActivityBundle.get_icons_path()
            • ActivityBundle.get_name()
            • ActivityBundle.get_bundle_id()
            • ActivityBundle.get_icon()
            • ActivityBundle.get_icon_filename()
            • ActivityBundle.get_activity_version()
            • ActivityBundle.get_command()
            • ActivityBundle.get_mime_types()
            • ActivityBundle.get_tags()
            • ActivityBundle.get_summary()
            • ActivityBundle.get_description()
            • ActivityBundle.get_single_instance()
            • ActivityBundle.get_max_participants()
            • ActivityBundle.get_show_launcher()
            • ActivityBundle.install()
            • ActivityBundle.install_mime_type()
            • ActivityBundle.uninstall()
            • ActivityBundle.is_user_activity()
          • Bundle
            • Bundle.__del__()
            • Bundle.get_file()
            • Bundle.is_file()
            • Bundle.is_dir()
            • Bundle.get_path()
            • Bundle.get_installation_time()
            • Bundle.get_show_launcher()
          • NormalizedVersion
            • NormalizedVersion.parts
            • NormalizedVersion.parts
            • NormalizedVersion.__str__()
            • NormalizedVersion.__repr__()
            • NormalizedVersion.__eq__()
            • NormalizedVersion.__lt__()
            • NormalizedVersion.__ne__()
            • NormalizedVersion.__gt__()
            • NormalizedVersion.__le__()
            • NormalizedVersion.__ge__()
          • InvalidVersionError
          • ContentBundle
            • ContentBundle.MIME_TYPE
            • ContentBundle.get_name()
            • ContentBundle.get_library_version()
            • ContentBundle.get_locale()
            • ContentBundle.get_activity_start()
            • ContentBundle.get_icon()
            • ContentBundle.get_start_uri()
            • ContentBundle.get_bundle_id()
            • ContentBundle.get_activity_version()
            • ContentBundle.get_tags()
            • ContentBundle.install()
            • ContentBundle.uninstall()
            • ContentBundle.is_user_activity()
      • sugar4.config
        • Attributes
        • Module Contents
          • locale_path
      • sugar4.datastore
        • Submodules
          • sugar4.datastore.datastore
            • Attributes
            • Classes
            • Functions
            • Module Contents
      • sugar4.debug
        • Functions
        • Module Contents
          • is_debug_enabled()
          • debug_print()
      • sugar4.dispatch
        • Submodules
          • sugar4.dispatch.dispatcher
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.dispatch.saferef
            • Classes
            • Functions
            • Module Contents
        • Classes
        • Package Contents
          • Signal
            • Signal.receivers
            • Signal.providing_args
            • Signal.connect()
            • Signal.disconnect()
            • Signal.send()
            • Signal.send_robust()
      • sugar4.env
        • Functions
        • Module Contents
          • is_emulator()
          • get_profile_path()
          • get_logs_path()
          • get_user_activities_path()
          • get_user_library_path()
      • sugar4.graphics
        • Submodules
          • sugar4.graphics.alert
            • Classes
            • Module Contents
          • sugar4.graphics.animator
            • Attributes
            • Classes
            • Module Contents
          • sugar4.graphics.colorbutton
            • Classes
            • Functions
            • Module Contents
          • sugar4.graphics.combobox
            • Classes
            • Module Contents
          • sugar4.graphics.icon
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.graphics.menuitem
            • Classes
            • Module Contents
          • sugar4.graphics.objectchooser
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.graphics.palette
            • Classes
            • Module Contents
          • sugar4.graphics.palettegroup
            • Classes
            • Functions
            • Module Contents
          • sugar4.graphics.palettemenu
            • Classes
            • Functions
            • Module Contents
          • sugar4.graphics.palettewindow
            • Attributes
            • Classes
            • Module Contents
          • sugar4.graphics.radiopalette
            • Attributes
            • Classes
            • Module Contents
          • sugar4.graphics.radiotoolbutton
            • Attributes
            • Classes
            • Module Contents
          • sugar4.graphics.style
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.graphics.toggletoolbutton
            • Classes
            • Module Contents
          • sugar4.graphics.toolbarbox
            • Attributes
            • Classes
            • Module Contents
          • sugar4.graphics.toolbox
            • Classes
            • Module Contents
          • sugar4.graphics.toolbutton
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.graphics.toolcombobox
            • Classes
            • Module Contents
          • sugar4.graphics.tray
            • Attributes
            • Classes
            • Module Contents
          • sugar4.graphics.window
            • Classes
            • Module Contents
          • sugar4.graphics.xocolor
            • Attributes
            • Classes
            • Module Contents
        • Attributes
        • Classes
        • Functions
        • Package Contents
          • XoColor
            • XoColor.__eq__()
            • XoColor.__ne__()
            • XoColor.__hash__()
            • XoColor.__str__()
            • XoColor.__repr__()
            • XoColor.get_stroke_color()
            • XoColor.get_fill_color()
            • XoColor.to_string()
            • XoColor.from_string()
            • XoColor.get_random_color()
            • XoColor.to_rgba_tuple()
          • Icon
            • Icon.__gtype_name__
            • Icon.do_snapshot()
            • Icon.do_measure()
            • Icon.get_icon_name()
            • Icon.set_icon_name()
            • Icon.get_file_name()
            • Icon.set_file_name()
            • Icon.get_pixel_size()
            • Icon.set_pixel_size()
            • Icon.get_fill_color()
            • Icon.set_fill_color()
            • Icon.get_stroke_color()
            • Icon.set_stroke_color()
            • Icon.get_xo_color()
            • Icon.set_xo_color()
            • Icon.get_badge_name()
            • Icon.set_badge_name()
            • Icon.get_alpha()
            • Icon.set_alpha()
            • Icon.get_scale()
            • Icon.set_scale()
            • Icon.get_badge_size()
            • Icon.icon_name
            • Icon.file_name
            • Icon.pixel_size
            • Icon.fill_color
            • Icon.stroke_color
            • Icon.xo_color
            • Icon.badge_name
            • Icon.alpha
            • Icon.scale
            • Icon.get_pixbuf()
            • Icon.set_pixbuf()
            • Icon.get_gtk_image()
          • EventIcon
            • EventIcon.__gtype_name__
            • EventIcon.__gsignals__
            • EventIcon.get_background_color()
            • EventIcon.set_background_color()
            • EventIcon.get_cache()
            • EventIcon.set_cache()
            • EventIcon.background_color
            • EventIcon.cache
          • CanvasIcon
            • CanvasIcon.__gtype_name__
            • CanvasIcon.do_snapshot()
          • CellRendererIcon
            • CellRendererIcon.set_icon_name()
            • CellRendererIcon.set_file_name()
            • CellRendererIcon.set_xo_color()
            • CellRendererIcon.set_fill_color()
            • CellRendererIcon.set_stroke_color()
            • CellRendererIcon.set_size()
            • CellRendererIcon.get_surface()
          • get_icon_file_name()
          • get_surface()
          • get_icon_state()
          • SMALL_ICON_SIZE
          • STANDARD_ICON_SIZE
          • LARGE_ICON_SIZE
      • sugar4.logger
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • TRACE
          • get_logs_dir()
          • set_level()
          • cleanup()
          • start()
          • TraceRepr
            • TraceRepr.repr1()
            • TraceRepr.repr_int()
            • TraceRepr.repr_bool()
          • trace()
      • sugar4.mime
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • GENERIC_TYPE_TEXT
          • GENERIC_TYPE_IMAGE
          • GENERIC_TYPE_AUDIO
          • GENERIC_TYPE_VIDEO
          • GENERIC_TYPE_LINK
          • GENERIC_TYPE_BUNDLE
          • ObjectType
            • ObjectType.type_id
            • ObjectType.name
            • ObjectType.icon
            • ObjectType.mime_types
          • get_generic_type()
          • get_all_generic_types()
          • get_for_file()
          • get_from_file_name()
          • get_mime_icon()
          • get_mime_description()
          • get_mime_parents()
          • get_primary_extension()
          • get_extensions_by_mimetype()
          • choose_most_significant()
          • split_uri_list()
      • sugar4.network
        • Classes
        • Functions
        • Module Contents
          • get_authinfo()
          • GlibTCPServer
            • GlibTCPServer.allow_reuse_address
            • GlibTCPServer.request_queue_size
            • GlibTCPServer.close_request()
            • GlibTCPServer.shutdown_request()
          • ChunkedGlibHTTPRequestHandler
            • ChunkedGlibHTTPRequestHandler.CHUNK_SIZE
            • ChunkedGlibHTTPRequestHandler.log_request()
            • ChunkedGlibHTTPRequestHandler.do_GET()
            • ChunkedGlibHTTPRequestHandler.finish()
            • ChunkedGlibHTTPRequestHandler.send_head()
          • GlibURLDownloader
            • GlibURLDownloader.__gsignals__
            • GlibURLDownloader.CHUNK_SIZE
            • GlibURLDownloader.start()
            • GlibURLDownloader.cancel()
            • GlibURLDownloader.cleanup()
      • sugar4.presence
        • Submodules
          • sugar4.presence.activity
            • Attributes
            • Classes
            • Module Contents
          • sugar4.presence.buddy
            • Attributes
            • Classes
            • Module Contents
          • sugar4.presence.connectionmanager
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.presence.presenceservice
            • Attributes
            • Classes
            • Functions
            • Module Contents
          • sugar4.presence.sugartubeconn
            • Attributes
            • Classes
            • Module Contents
          • sugar4.presence.tubeconn
            • Classes
            • Module Contents
      • sugar4.profile
        • Classes
        • Functions
        • Module Contents
          • Profile
            • Profile.pubkey
            • Profile.privkey_hash
            • Profile.is_valid()
            • Profile.convert_profile()
          • get_profile()
          • get_nick_name()
          • get_color()
          • get_pubkey()
          • get_save_as()
      • sugar4.util
        • Attributes
        • Classes
        • Functions
        • Module Contents
          • printable_hash()
          • sha_data()
          • unique_id()
          • ACTIVITY_ID_LEN
          • is_hex()
          • validate_activity_id()
          • set_proc_title()
          • Node
            • Node.__slots__
            • Node.prev
            • Node.me
            • Node.next
          • LRU
            • LRU.count
            • LRU.d
            • LRU.first
            • LRU.last
            • LRU.__contains__()
            • LRU.__getitem__()
            • LRU.__setitem__()
            • LRU.__delitem__()
            • LRU.__iter__()
            • LRU.iteritems()
            • LRU.iterkeys()
            • LRU.itervalues()
            • LRU.keys()
          • units
          • AND
          • COMMA
          • NOW
          • ELAPSED
          • ngettext()
          • timestamp_to_elapsed_string()
          • TempFilePath
            • TempFilePath.__del__()
          • format_size()
    • Classes
    • Package Contents
      • Activity
        • Activity.__gtype_name__
        • Activity.__gsignals__
        • Activity.shared_activity
        • Activity.sugar_accel_group
        • Activity.add_stop_button()
        • Activity.iconify()
        • Activity.show()
        • Activity.run_main_loop()
        • Activity.get_active()
        • Activity.set_active()
        • Activity.active
        • Activity.get_max_participants()
        • Activity.set_max_participants()
        • Activity.max_participants
        • Activity.get_id()
        • Activity.get_bundle_id()
        • Activity.get_canvas()
        • Activity.set_canvas()
        • Activity.canvas
        • Activity.get_activity_root()
        • Activity.read_file()
        • Activity.write_file()
        • Activity.notify_user()
        • Activity.get_preview()
        • Activity.save()
        • Activity.copy()
        • Activity.get_shared_activity()
        • Activity.get_shared()
        • Activity.invite()
        • Activity.share()
        • Activity.can_close()
        • Activity.close()
        • Activity.get_metadata()
        • Activity.metadata
        • Activity.handle_view_source()
        • Activity.get_document_path()
        • Activity.busy()
        • Activity.unbusy()
      • SimpleActivity
      • EventIcon
        • EventIcon.__gtype_name__
        • EventIcon.__gsignals__
        • EventIcon.get_background_color()
        • EventIcon.set_background_color()
        • EventIcon.get_cache()
        • EventIcon.set_cache()
        • EventIcon.background_color
        • EventIcon.cache
      • Icon
        • Icon.__gtype_name__
        • Icon.do_snapshot()
        • Icon.do_measure()
        • Icon.get_icon_name()
        • Icon.set_icon_name()
        • Icon.get_file_name()
        • Icon.set_file_name()
        • Icon.get_pixel_size()
        • Icon.set_pixel_size()
        • Icon.get_fill_color()
        • Icon.set_fill_color()
        • Icon.get_stroke_color()
        • Icon.set_stroke_color()
        • Icon.get_xo_color()
        • Icon.set_xo_color()
        • Icon.get_badge_name()
        • Icon.set_badge_name()
        • Icon.get_alpha()
        • Icon.set_alpha()
        • Icon.get_scale()
        • Icon.set_scale()
        • Icon.get_badge_size()
        • Icon.icon_name
        • Icon.file_name
        • Icon.pixel_size
        • Icon.fill_color
        • Icon.stroke_color
        • Icon.xo_color
        • Icon.badge_name
        • Icon.alpha
        • Icon.scale
        • Icon.get_pixbuf()
        • Icon.set_pixbuf()
        • Icon.get_gtk_image()
      • MenuItem
        • MenuItem.__gtype_name__
        • MenuItem.set_accelerator()
        • MenuItem.get_accelerator()
        • MenuItem.set_text()
        • MenuItem.get_text()
        • MenuItem.accelerator
      • MenuSeparator
      • XoColor
        • XoColor.__eq__()
        • XoColor.__ne__()
        • XoColor.__hash__()
        • XoColor.__str__()
        • XoColor.__repr__()
        • XoColor.get_stroke_color()
        • XoColor.get_fill_color()
        • XoColor.to_string()
        • XoColor.from_string()
        • XoColor.get_random_color()
        • XoColor.to_rgba_tuple()

Examples:

  • Examples
    • Basic Activity
    • Creative Studio Activity Example
    • Hello_World_Dodge Example
    • UI Components
      • Alert Example
      • Icon Example
      • Palette Example
      • Toolbar Examples
    • Other Examples
Sugar-Toolkit-GTK4
  • Search


© Copyright 2025, MostlyK.

Built with Sphinx using a theme provided by Read the Docs.