Libadwaita 1.2 yakatoburitswa uye inosanganisira kuvandudzwa kwakasiyana

meseji-dialog-adaptive-1

Libadwaita inosanganisira seti yezvikamu zvekugadzira iyo mushandisi interface zvinoenderana neGNOME HIG

Iyo purojekiti GNOME yakaburitsa libadwaita 1.2 raibhurari kuburitswa, libadwaita library inoshandiswa pamwe chete neGTK4 uye inosanganisira zvikamu kubva paganda reAdwaita rinoshandiswa muGNOME iro rakatamiswa kubva kuGTK kuenda kune imwe raibhurari.

Fambisa mifananidzo yeGNOME kune imwe raibhurari yakasiyana inobvumira shanduko dzinodiwa dzeGNOME kuti dzigadziriswe zvakasiyana kubva kuGTK, zvichibvumira vanogadzira GTK kuti vatarise pane izvo zvekutanga uye vagadziri veGNOME kusundira yavo yekuchinja maitiro nekukurumidza uye zvakanyanya kuchinjika pasina kukanganisa GTK.

Iyo raibhurari inosanganisira akajairwa majeti anovhara akasiyana zvinhu yechimiro, senge rondedzero, mapaneru, editing block, mabhatani, ma tabo, mafomu ekutsvaga, dialog mabhokisi, nezvimwe. Iwo majeti akatsanangurwa anotendera iwe kuti ugadzire yepasirese interfaces inoshanda mushe pazviratidziro zvakakura zvePC nemalaptops, uye pamadiki ekubata zvikirini zvema smartphones.

Iyo app interface inoshanduka inoshanduka zvichienderana nehukuru hwescreen uye zviripo zvekupinza zvishandiso. Raibhurari iyi inosanganisirawo seti yeAdwaita masitayipi anounza kutaridzika uye kunzwa kune iyo GNOME nhungamiro pasina kudiwa kwemaitiro ekunyora.

Hunhu hutsva hutsva hwe libadwaita 1.2

Mushanduro itsva yakaratidzwa yakawedzera Adw.EntryRow widget kuti ishandiswe sechinhu chezvinyorwa. iyo widget inopa nzvimbo yekupinza uye musoro nekukwanisa kubatanidza mamwe majeti pamberi uye mushure mechikamu chekuisa (semuenzaniso, mabhatani ekusimbisa ekuisa kana chiratidzo chekuti data rinogona kugadziridzwa). Uyezve, iyo Adw.PasswordEntryRow musiyano uripo, wakagadzirirwa kuisa mapassword.

kupinda-mitsara

libadwaita 1.2 Adw.EntryRow widget

Kunze kwazvo akawedzera Adw.MessageDialog widget kuratidza nhaurirano ine meseji kana mubvunzo. Widget inzvimbo yakawedzerwa yeGtk.MessageDialog, iyo inogona kugadzirisa marongerwo ezvinhu kusvika pakukura kwehwindo.

Semuenzaniso, mumahwindo akafara, mabhatani anogona kuratidzwa mumutsara mumwe, uye mune nhete windows anogona kukamurwa kuita akawanda makoramu. Mumwe mutsauko ndewekuti widget haisi mwana wekirasi yeGtkDialog uye inopa API nyowani isina kusungirirwa kune yakafanotsanangurwa GtkResponseType mabhatani marudzi (muAdw.MessageDialog, zviito zvese zvinobatwa neapp), izvo zvinoita kuti zvive nyore. kuisa mamwe majeti anoshandisa chivakwa chemwana-yekuwedzera uye nekupa masitaera akasiyana ezita uye zvinyorwa zvemuviri.

Mukuwedzera kune izvozvo, zvakare Ndinoziva kuti inosimbisa kuti Adw.AboutWindow widget yakawedzerwa kuratidza hwindo rine ruzivo nezvechirongwa. Widget inotsiva Gtk.AboutDialog uye inoratidzira dhizaini inopindura uye zvikamu zvekubatsira zvakawedzerwa senge shanduko yekuchinja, bhokisi rekutenda, ruzivo rwerezinesi rechitatu, zvinongedzo kune zviwanikwa zveruzivo, uye debug data.

Izvo zvakare zvakasimbiswa izvo kugona kweAdw.TabView uye Adw.TabBar majeti akawedzerwa, uko hotkey yekugadzirisa michina yakagadziridzwazve kugadzirisa dambudziko nekushanda musanganiswa unopindirana nevatyairi veGTK4 (semuenzaniso, Ctrl + Tab). Iyo vhezheni itsva zvakare inopa chivakwa chekuseta maturusi ezviratidzi uye tab mabhatani.

Ukuwo, kune kuderera kwehurefu hwezvikamu zvakamira, iyo inobvumira bhari yemusoro uye yekutsvaga bhaa kuti ibvise inovhiringidza mwenje muganho uchifarira rima miganhu yakaiswa ne @headerbar_shade_color uye wedzera kumashure styling kuti ienderane nemusoro mapaneru.

Of the dzimwe shanduko izvo zvinoratidzika kubva pane iyi nyowani vhezheni:

  • Iyo ".large-title" style class yadzimwa uye ".title-1" inofanira kushandiswa pachinzvimbo.
  • Yakaderedzwa padding paAdw.ActionRow widget kuti iunze kutaridzika kwayo pedyo neAdw.EntryRow widget nemapaneru.
  • Yakawedzera kirasi yeAdw.PropertyAnimationTarget kuti zvive nyore kupenyura zvinhu zvechinhu.
  • Chimiro chebhabhu yebhu (Adw.TabBar) yakashandurwa zvakanyanya: iyo inoshanda tab inoratidzirwa zvakajeka, uye musiyano wezvinhu murima dhizaini sarudzo yakawedzerwa.
  • Mawiji eGtk.Actionbar neAdw.ViewSwitcherBar anoshandisa zvitayera zvakafanana nebhara remusoro, bha yekutsvaga, uye tab bar.

Finalmente kana iwe uchifarira kuziva zvakawanda nezvazvo unogona kutarisa ruzivo Mune inotevera chinongedzo.


Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako