This commit is contained in:
2026-02-01 11:58:40 +01:00
parent 770fe0f8c5
commit a27f38ef6a
10 changed files with 330 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
import gi
gi.require_version("Gtk", "4.0")
gi.require_version("Adw", "1")
from gi.repository import Adw, Gtk
class WelcomePage(Adw.Bin):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
page = Adw.StatusPage()
page.set_title("Welcome to Iridium OS")
page.set_description("The future of computing is here. Let's get you set up.")
page.set_icon_name("system-software-install-symbolic")
# Content Box
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
box.set_spacing(12)
box.set_halign(Gtk.Align.CENTER)
lbl = Gtk.Label(label="Select your language:")
lbl.add_css_class("heading")
box.append(lbl)
# Language Dropdown
languages = [
"English (US)",
"Spanish",
"French",
"German",
"Japanese",
"Chinese (Simplified)",
]
dropdown = Gtk.DropDown.new_from_strings(languages)
dropdown.set_margin_bottom(20)
box.append(dropdown)
page.set_child(box)
self.set_child(page)