Skip to content

Port activity to GTK4 and Sugar4#23

Open
Inuth0603 wants to merge 1 commit intosugarlabs:masterfrom
Inuth0603:port-to-gtk4
Open

Port activity to GTK4 and Sugar4#23
Inuth0603 wants to merge 1 commit intosugarlabs:masterfrom
Inuth0603:port-to-gtk4

Conversation

@Inuth0603
Copy link
Copy Markdown

Port activity to GTK4 and Sugar4

Ports the activity from GTK3 to GTK4.

  • Migrate imports to sugar4 and Gtk 4.0.
  • Replace deprecated widgets like VBox/HBox with GtkBox.
  • Update container packing to use append/set_child.
  • Adapt to Paned and ScrolledWindow API changes.
  • Replace styling methods with CssProvider.
  • Update clipboard handling.
  • Adjust metadata and build configuration for the new toolkit.

Migrate the activity from Python 2 and GTK3 to Python 3 and GTK4. Update imports, replace deprecated widgets, use sugar4 in setup.py, and fix UI initialization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant