GTK 4.6 inouya nekuvandudzwa, kumwe kugadzirisa kwebug uye nezvimwe

Mushure memwedzi mina yekukura kuburitswa kweiyo vhezheni itsva yeGTK 4.6.0 yakaziviswa, umo iyo GTK 4 bazi iri kuvandudzwa sechikamu chehurongwa hutsva hwekuvandudza hunoedza kupa vanogadzira maapplication ane yakagadzikana uye inoenderana API kwemakore akati wandei, inogona kushandiswa pasina kutya kudzokorodza maapplication mwedzi mitanhatu yega yega nekuda kweAPI. shanduko mubazi rinotevera reGTK.

Mune iyi vhezheni itsva yeGTK 4.6 yekare OpenGL inopa injini yakabviswa, yakasimudzwa neinjini yekupa NGL itsva, inotumirwa neyakagadzika kubvira GTK 4.2 uye ichipa kuita kurinani. NGL yakatumidza zita rekuti GL uye yakanyorazve mameseji ekurodha kodhi, yakagadziridzwa tsigiro yemifananidzo mafomati nenzvimbo dzemavara.

Iyo kodhi ine chekuita nekuverenga kwehukuru hwezvinhu uye marongerwo ewijeti yakagadziridzwa zvakanyanya. Kare, iyo GtkWidget :: halign uye GtkWidget :: valign properties yaivimba nesaizi yewidget yakare pakuisa zvinhu, izvo, zvichitsanangura saizi imwe chete mukuzadza mode, zvinogona kuita kuti chinhu chitore imwe nzvimbo.

MuGTK 4.6, kugona kuyera saizi yakashaikwa (semuenzaniso, kana hupamhi hwatsanangurwa, hurefu huripo hunogona kuverengerwa kana uchiisa), zvichikutendera iwe kuti uite mawidget slimmer pasina kutora imwe nzvimbo.

Widget GtkBox inoshandisa kugona kuverenga saizi yega yega zvevana. Nepo kare nzvimbo yaigovewa zvakaenzana pakati pevana majeti zvichibva pakukura kwavo kwakare, GTK 4.6 inofunga nezvehukuru chaihwo hwezvinhu zvevana kana uchipa.

Widget GtkLabel inopa tsigiro yekupeta mameseji pahuwandu hwekupokana hwemitsara, zvichikubvumidza kuti ugadzire mavara akamanikana anotora nzvimbo iripo yakatwasuka. Iko kugona kugadzirisa hudiki saizi kuchikamu chechiyero chakawedzerwa kukirasi yeGtkWindow, ichibvumira hwindo kuti ridzorerwe saizi zvisina tsarukano pasina kutya kuve diki zvakanyanya.

Widget GtkTextView inowedzera tsigiro yematabo akarongedzerwa kurudyi kana pakati-anomisikidzwa. Tsigiro yakawedzerwa yekushandura mameseji uye mitsara yekuverenga kureba, mukuwedzera kune kupuruzira kushanda kwakagadziridzwa kune yakatsanangurwa label, kubata kwekugadzirisa kwakagadziridzwa zvakare uye matambudziko akagadziriswa pakunamira zvinyorwa kubva pa clipboard uye kusarudza nzvimbo yekuratidza kuiswa kweEmoji. interface.

Iyo masitayera sisitimu ikozvino inotsigira font-variant-caps CSS zvivakwa kuratidza madiki caps uye zvinyorwa zvinoshandura kushandura zvinyorwa. Tsigiro yekutevera kudhonza nekudonhedza mashandiro yakawedzerwa kune yekutarisa, iyo yazvino module yekupinda inoratidzwa, yekuona yemukati yawedzerwa kune clipboard, chati yaitwa kuratidza gtk_widget_measure (), uye chiitiko chinyorwa chinopihwa. Dhova uye udonhe rutsigiro rwakawedzerwa kune gtk4-node-editor utility.

Yeimwe shanduko izvo zvinomira pachena:

  • Wayland ine marongero ekumisikidza yakanyanya kusiyanisa modhi. Yakawedzera rutsigiro rweiyo wl_seat v7 protocol.
  • Yakawedzera gtk-hint-font-metrics kurongedza kune fungidziro yemavara ekupa kune GTK3 maitiro.
  • Iyo GtkMenuButton widget inopa kugona kutsanangura yako wega zvinhu zvemwana.
    MuGtkBuilder, yakakwirisa pre-kuvaka matemplate.
  • Yakawedzera chiratidzo chekugonesa kugonesa GtkComboBox uye GtkDropDown majeti.
    Iyo show-arrow pfuma yakawedzerwa kuGtkDropDown widget kuti idzore kuratidzwa kwemuseve.
  • MuGtkPopoverMenu yakawedzera kushandisa markup hunhu hwePango markup mune menyu mavara.
  • Kune X11-yakavakirwa masisitimu, tsigiro yakawedzerwa yekudzora gestures pamabatiro ekubata (pakushandisa XInput 2.4) uye maitiro ekudhonza windows nemusoro akavandudzwa.
  • OpenGL uye OpenGL ES vhezheni yekutarisa yakagadziridzwa muGDK, iyo inopa dhizaini pakati peGTK neiyo graphics subsystem.
  • Yambiro nyowani yawedzerwa, ichizivisa saizi kusawirirana kana iyo widget ikadzosa saizi isiriyo.
  • Yakawedzera rutsigiro rweHSL ruvara nzvimbo.
  • Iwo libpng, libjpeg, uye libtiff maraibhurari anobatanidzwa zvakananga mukurodha mameseji uye kugadzirisa mafomati emifananidzo.
  • EGL yekutanga kodhi yakatamira kudivi rekuonana. Bazi re "tenzi" muGit repository rakatumidzwa zita rekuti "main".

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


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  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