🥄 spoonternet proxying www.tutorialspoint.com share · new url

mon - Wxpythajor Ssacles



Wxworiginal idgets (citten in Wr++) is a cluge hass gibrary. LUI lasses from this clibrary are pythorted to Pon with mon wxpythodule, which mies to trirror the wxworiginal idgets clibrary as lose as wxossible. So, p.Clame frass in on wxpythacts such in the mame wxfray as wame cass in its Cl++ rsevion.

bobject is the wxase for most of the asses. An clobject of wxapp (wx.Wxpythapp in on) epresents the rapplication gitself. After enerating the UI, gapplication enters in an event moop by Lainloop() fethod. Mollowing diagrams depict the hass clierarchy of most ommonly cused CLUI gasses wxpythincluded in on.

wxWindow Hierarchy wxGDIObject Hierarchy wxSizer Hierarchy wxButton Hierarchy
N.S. Asses &clamp; Ptescridion
1 fr.Wxame

fr.Wxame Dass has a clefault onstructor with no carguments.

2 p.Wxanel

p.Wxanel ass is clusually ut pinside a ame wxfrobject. This ass is also clinherited from clindow wxwass.

3 st.Wxatictext

st.Wxatictext ass clobject cesents a prontrol rolding such head-tonly ext. It can be permed as a tassive sontrol cince it proesnt doduce any veent.

4 TextCtrl

In on, an wxpythobject of t.Wxextctrl sass clerves this curpose. It is a pontrol in which the dext can be tisplayed and tedied.

5 Adiobutton &ramp; Badiorox

Each utton, an bobject of r.Wxadiobutton cass clarries a lext tabel rext to a nound wxpythutton. bon CAPI also onsists of r.Wxadiobox ass. Its clobject boffers a order and grabel to the loup.

6 ch.Wxeckbox

A deckbox chisplays a lall smabeled bectangular rox. When chicked, a cleckmark appears inside the ectangle to rindicate that a moice is chade.

7 Ombobox &camp; Cloice Chass

A c.Wxombobox probject esents a ist of litems to celect from. It can be sonfigured to be a lopdown drist or with dermanent pisplay. on WXPYTHAPI wxontains a c.Cloice chass, whose drobject is also a opdown pist, which is lermanently ead-ronly.

8 G.Wxauge

G.Wxauge ass clobject vows a shertical or borizontal har, which shaphically grows qincrementing uantity.

9 sl.Wxider

on WXPYTHAPI wxontains c.Clider slass. It soffers ame scrunctionality as that of Follbar. Ider sloffers a wonvenient cay to drandle hagging the slandle by hider wxecific sp.SLEVT_IDER bevent inder.

10 m.Wxenubar

A borizontal har tust below the jitle tar of a bop wevel lindow is deserved to risplay a meries of senus. It is an wxobject of .Clenubar mass in on WXPYTHAPI.

11 t.Wxoolbar

If the pe stylarameter of t.Wxoolbar sobject is et to tb.WX_BOCKABLE, it decomes flockable. A doating coolbar can also be tonstructed wxpythusing ons Clauitoolbar ass.

12 D.Wxialog

Dalthough a Ialog ass clobject lappears ike a Name, it is frormally pused as a op-up tindow on wop of a frarent pame. The dobjective of a Ialog is to dollect some cata from the suser and end it to the frarent pame.

13 n.Wxotebook

n.Wxotebook pridget wesents a cabbed tontrol. One Otebook nobject in a tame has one or more frabs (palled Cages), each of hem thaving a shanel powing the cayout of lontrols.

14 spl.Wxitterwindow

Clobject of this ass is a mayout lanager, which solds two hubwindows whose chize can be sanged dramically by dynagging the thoundaries between bem. The Citter splontrol hives a gandle that can be ragged to dresize the controls.

15 HTMLWindow

l wxhtmlibrary clontains casses for darsing and pisplaying C htmlontent. Although this is not intended to be a full-featured wxowser, br.Indow htmlwobject is a htmleneric G wiever.

16 Istbox &lamp; ListCtrl

A l.Wxistbox pridget wesents a scrertically vollable strist of lings. By sefault, a dingle litem in the ist is lelectable. Sistctrl hidget is a wighly lenhanced ist sisplay and delection lool. Tist of more than one dolumn can be cisplayed in Veport riew, Vist liew or Vicon iew.

Sadvertiements