fpgtk.def 238 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489
  1. definition
  2. GtkPrefix=gtk
  3. UsesList=classes, sysutils, gtk, gdk, glib, FPglib
  4. UnitName=FPgtk
  5. Count=96
  6. Object=Object
  7. GtkFuncName=object
  8. WithPointer
  9. Count=52
  10. Prop=Signal
  11. PropType=SignalType
  12. Count=2
  13. Param=Sender
  14. PascalType=TFPgtkObject
  15. Param=Data
  16. PascalType=pointer
  17. Prop=BooleanSignal
  18. PropType=SignalType
  19. Code=begin,end
  20. Count=3
  21. Param=Sender
  22. PascalType=TFPgtkObject
  23. Param=Bool
  24. PascalType=boolean
  25. Param=data
  26. PascalType=pointer
  27. Prop=Types to help
  28. PropType=TypeDeclaration
  29. Code=" FPgtkException = class (Exception) end;"," PPascalClassData = ^TPascalClassData;"," TPascalClassData = record"," TheInstance : TFPgtkObject;"," end;"," PSignalData = ^TSignalData;"," TSignalData = record"," TheData : pointer;"," TheWidget : TFPgtkObject;"," TheSignalProc : TFPgtkSignalFunction;"," end;"," TDestroyState = (dsAlive, dsWaiting, dsDestroying);"," TFPgtkObjectClass = Class of TFPgtkObject;"
  30. Count=0
  31. Prop=private decl
  32. PropType=Declarations
  33. Section=Private
  34. Code=const," dtPascalInstance = 'Pascal_Instance';",,type," TIntegerPointer = record"," case word of "," 0 : (i : integer);"," 1 : (p : pointer);"," end;",,var," ObjectsToFree : TList;"," ip : TIntegerPointer;"
  35. Count=0
  36. Prop=
  37. PropType=Initialization
  38. Code="ObjectsToFree := TList.Create;"
  39. Count=0
  40. Prop=
  41. PropType=Finilization
  42. Code=ObjectsToFree.Free;
  43. Count=0
  44. Prop=GetPascalInstance
  45. PropType=HelperFunc
  46. PascalType=TFPgtkObject
  47. Code=begin," result := GetPascalInstance(GtkObject);"," if not assigned(result) and assigned(GtkObject) then"," result := ObjClass.CreateFromObject (GtkObject);",end;
  48. Overload
  49. Count=2
  50. Param=gtkObject
  51. PascalType=PGtkObject
  52. Param=ObjClass
  53. PascalType=TFPgtkObjectClass
  54. Prop=GetPascalInstance
  55. PropType=HelperFunc
  56. PascalType=TFPgtkObject
  57. Code="var p : pointer;",begin," result := nil;"," if assigned (gtkobject) then"," begin"," p := gtk_object_get_data (gtkObject, dtPascalInstance);"," if assigned(p) then"," result := PPascalClassData(p)^.TheInstance;"," end;",end;
  58. Overload
  59. Count=1
  60. Param=gtkObject
  61. PascalType=PGtkObject
  62. Prop=ConvertToGtkObject
  63. PropType=HelperFunc
  64. PascalType=PGtkObject
  65. Code=begin," if assigned(AnObject) then"," result := AnObject.TheGtkObject"," else"," result := nil;",end;
  66. Count=1
  67. Param=AnObject
  68. PascalType=TFPgtkObject
  69. Prop=ConvertToPgChar
  70. PropType=HelperFunc
  71. PascalType=PgChar
  72. Code=begin," result := pointer(aString);",end;
  73. Count=1
  74. Param=AString
  75. PascalType=string
  76. Prop=ConvertSignalData
  77. PropType=Function
  78. Section=Private
  79. PascalType=PSignalData
  80. Code=begin," new (result);"," with result^ do"," begin"," TheSignalProc := proc;"," TheWidget := self;"," TheData := data;"," end;"," if FreeIt then"," SignalDatas.Add (result);",end;
  81. Count=3
  82. Param=proc
  83. PascalType=TFPgtkSignalFunction
  84. Param=data
  85. PascalType=pointer
  86. Param=FreeIt
  87. PascalType=boolean
  88. Prop=FGtkObject
  89. PropType=Field
  90. Section=Protected
  91. PascalType=PGtkObject
  92. Count=0
  93. Prop=NotifyList
  94. PropType=Field
  95. Section=Private
  96. PascalType=TList
  97. Count=0
  98. Prop=SignalDatas
  99. PropType=Field
  100. Section=Private
  101. PascalType=TList
  102. Count=0
  103. Prop=ConvertDatas
  104. PropType=Field
  105. Section=Private
  106. PascalType=TStringList
  107. Count=0
  108. Prop=PascalInstance
  109. PropType=Field
  110. Section=Private
  111. PascalType=TPascalClassData
  112. Count=0
  113. Prop=FreeFPgtkObjects
  114. PropType=HelperFunc
  115. PascalType=longbool
  116. Code="var r : integer;"," obj : TFPgtkObject;",begin," for r := ObjectsToFree.Count-1 downto 0 do"," begin"," obj := TFPgtkObject(ObjectsToFree[r]);"," if assigned (Obj) then"," Obj.Free;"," end;"," ObjectsToFree.Clear;"," result := False;",end;
  117. Cdecl
  118. Count=1
  119. Param=Data
  120. PascalType=pointer
  121. Prop=FreeClass
  122. PropType=Procedure
  123. Section=Private
  124. Code=begin," if FDestroying = dsAlive then"," begin"," if ObjectsToFree.Count = 0 then"," g_idle_Add (@FreeFPgtkObjects, null);"," ObjectsToFree.Add (self);"," FGtkObject := null;"," FDestroying := dsWaiting;"," end;",end;
  125. Count=2
  126. Param=Sender
  127. PascalType=TFPgtkObject
  128. Param=Data
  129. PascalType=pointer
  130. Prop=CheckConvertDatas
  131. PropType=Procedure
  132. Section=Private
  133. Code=begin," if not assigned (ConvertDatas) then"," begin"," ConvertDatas := TStringList.Create;"," ConvertDatas.Sorted := True;"," end;",end;
  134. Count=0
  135. Prop=CheckNotifyList
  136. PropType=Procedure
  137. Section=Private
  138. Code=begin," if not assigned (Notifylist) then"," NotifyList := TList.Create;",end;
  139. Count=0
  140. Prop=InitCreate
  141. PropType=Procedure
  142. Section=Private
  143. Code=begin," inherited create;"," SignalDatas := TList.Create;",end;
  144. Count=0
  145. Prop=CreateGtkObject
  146. PropType=Procedure
  147. Section=Protected
  148. Virtual
  149. Abstract
  150. Count=0
  151. Prop=FinalCreate
  152. PropType=Procedure
  153. Section=Private
  154. Code=begin," PascalInstance.TheInstance := Self;"," SetData (dtPascalInstance, @PascalInstance);"," ConnectDestroy (@FreeClass, nil);",end;
  155. Count=0
  156. Prop=Create
  157. PropType=Constructor
  158. Code=begin," InitCreate;"," CreateGtkObject;"," FinalCreate;",end;
  159. Count=0
  160. Prop=CreateFromObject
  161. PropType=Constructor
  162. Code=begin," InitCreate;"," FGtkObject := GtkObject;"," FinalCreate;",end;
  163. Count=1
  164. Param=GtkObject
  165. PascalType=PGtkObject
  166. Prop=Destroying
  167. PropType=Property
  168. PascalType=TDestroyState
  169. ReadFuncType=Field
  170. WriteProcType=NotImplemented
  171. Count=0
  172. Prop=AskNotification
  173. PropType=Procedure
  174. Code=begin," CheckNotifyList;"," with NotifyList do"," if indexof(AnObject) < 0 then"," begin"," Add (AnObject);"," AnObject.AskNotification (Self);"," end;",end;
  175. Count=1
  176. Param=AnObject
  177. PascalType=TFPgtkObject
  178. Prop=Destroy
  179. PropType=Destructor
  180. Code="var r : integer;"," datapointer : PSignalData;",begin," FDestroying := dsDestroying;"," if assigned(NotifyList) then"," begin"," for r := 0 to NotifyList.count-1 do"," TFPgtkObject(NotifyList[r]).NotifyDestroy (Self);"," NotifyList.Free;"," NotifyList := nil;"," end;"," if assigned(FGtkObject) and not Gtk_Object_destroyed(FGtkObject) then"," begin"," gtk_object_destroy (FGtkObject);"," FGtkObject := nil;"," end;"," for r := 0 to SignalDatas.count-1 do"," begin"," datapointer := signaldatas[r];"," dispose (datapointer);"," end;"," signaldatas.Free;"," if assigned (convertDatas) then"," ConvertDatas.Free;"," r := ObjectsToFree.indexof (self);"," if r >= 0 then"," ObjectsToFree[r] := nil;"," inherited destroy;",end;
  181. Override
  182. Count=0
  183. Prop=NotifyDestroy
  184. PropType=Procedure
  185. Section=Protected
  186. Code="var r : integer;",begin," if assigned(NotifyList) then"," begin"," r := NotifyList.indexOf (AnObject);"," if r >= 0 then"," NotifyList.Delete (r);"," end;",end;
  187. Virtual
  188. Count=1
  189. Param=AnObject
  190. PascalType=TFPgtkObject
  191. Prop=Destroy
  192. PropType=Signal
  193. PascalType=Signal
  194. GtkName=destroy
  195. Count=0
  196. Prop=SignalDisconnect
  197. PropType=Procedure
  198. Code=begin," gtk_signal_disconnect (TheGtkObject, SignalHandler);",end;
  199. Count=1
  200. Param=SignalHandler
  201. PascalType=guint
  202. Prop=SignalBlockHandler
  203. PropType=Procedure
  204. Code=begin," gtk_signal_handler_block (TheGtkObject, SignalHandler);",end;
  205. Count=1
  206. Param=SignalHandler
  207. PascalType=guint
  208. Prop=SignalUnblockHandler
  209. PropType=Procedure
  210. Code=begin," gtk_signal_handler_unblock (TheGtkObject, SignalHandler);",end;
  211. Count=1
  212. Param=SignalHandler
  213. PascalType=guint
  214. Prop=SignalEmit
  215. PropType=Procedure
  216. Code=begin," gtk_signal_emit_by_name (TheGtkObject, pgchar(aName), Args);",end;
  217. Count=2
  218. Param=aName
  219. Convert
  220. PascalType=string
  221. Param=Args
  222. PascalType=array of const
  223. Prop=SignalNEmissions
  224. PropType=Function
  225. PascalType=guint
  226. Code=begin," result := gtk_signal_n_emissions_by_name (FGtkObject, pgchar(aName));",end;
  227. Count=1
  228. Param=aName
  229. Convert
  230. PascalType=string
  231. Prop=SignalEmitStop
  232. PropType=Procedure
  233. Code=begin," gtk_signal_emit_stop_by_name (FGtkObject, pgchar(aName));",end;
  234. Count=1
  235. Param=aName
  236. Convert
  237. PascalType=string
  238. Prop=SetData
  239. PropType=Procedure
  240. GtkName=set_data
  241. Count=2
  242. Param=Key
  243. Convert
  244. PascalType=string
  245. Param=Data
  246. PascalType=pointer
  247. Prop=UserData
  248. PropType=Property
  249. PascalType=pointer
  250. GtkName=user_data
  251. WriteGtkName=user_data
  252. Count=0
  253. Prop=SetDataFull
  254. PropType=Procedure
  255. Code=begin," gtk_object_set_data_full (TheGtkObject, pgChar(Key), ConvertSignalData (Destroyer, data, false), TGtkDestroyNotify(@DestroyData));"," CheckConvertDatas;"," ConvertDatas.Add (Key);",end;
  256. Count=3
  257. Param=Key
  258. PascalType=string
  259. Param=Data
  260. PascalType=pointer
  261. Param=Destroyer
  262. PascalType=TFPgtkSignalFunction
  263. Prop=RemoveData
  264. PropType=Procedure
  265. Code="var r : integer;",begin," gtk_object_remove_data (TheGtkObject, pgChar(Key));"," if assigned (ConvertDatas) then"," begin"," r := ConvertDatas.indexof (Key);"," if r >= 0 then"," ConvertDatas.Delete (r);"," end;",end;
  266. Count=1
  267. Param=Key
  268. PascalType=string
  269. Prop=GetData
  270. PropType=Function
  271. PascalType=pointer
  272. Code="var p : pointer;",begin," p := gtk_object_get_data (TheGtkObject, pgChar(Key));"," if assigned(ConvertDatas) and (ConvertDatas.IndexOf (Key) >= 0) then"," result := PPascalClassData (PSignalData(p)^.TheData)^.TheInstance"," else"," result := p;",end;
  273. Count=1
  274. Param=Key
  275. PascalType=string
  276. Prop=DestroyData
  277. PropType=HelperProc
  278. Code=begin," with PSignaldata(data)^ do"," TheSignalProc (TheWidget, TheData);",end;
  279. Cdecl
  280. Count=1
  281. Param=data
  282. PascalType=pointer
  283. Prop=IntToPointer
  284. PropType=HelperFunc
  285. PascalType=pointer
  286. Code=begin," ip.i := Value;"," result := ip.p;",end;
  287. Count=1
  288. Param=Value
  289. PascalType=integer
  290. Prop=PointerToInt
  291. PropType=HelperFunc
  292. PascalType=integer
  293. Code=begin," ip.p := Value;"," result := ip.i;",end;
  294. Count=1
  295. Param=Value
  296. PascalType=pointer
  297. Prop=GtkDestroyed
  298. PropType=Function
  299. PascalType=boolean
  300. GtkName=destroyed
  301. Count=0
  302. Prop=Constructed
  303. PropType=Procedure
  304. GtkName=constructed
  305. Count=0
  306. Prop=ConstructedDefault
  307. PropType=Procedure
  308. GtkName=default_construct
  309. Count=0
  310. Prop=Sink
  311. PropType=Procedure
  312. GtkName=sink
  313. Count=0
  314. Prop=Ref
  315. PropType=Procedure
  316. GtkName=ref
  317. Count=0
  318. Prop=Unref
  319. PropType=Procedure
  320. GtkName=unref
  321. Count=0
  322. Prop=WeakRef
  323. PropType=Procedure
  324. Code=begin," gtk_object_weakref (TheGtkObject, TGtkDestroyNotify(@DestroyData), ConvertSignalData (Notify, data, true));",end;
  325. Count=2
  326. Param=Notify
  327. PascalType=TFPgtkSignalFunction
  328. Param=data
  329. PascalType=pointer
  330. Prop=WeakUnref
  331. PropType=Procedure
  332. Code=begin," gtk_object_weakunref (TheGtkObject, TGtkDestroyNotify(@DestroyData), ConvertSignalData (Notify, data, true));",end;
  333. Count=2
  334. Param=notify
  335. PascalType=TFPgtkSignalFunction
  336. Param=data
  337. PascalType=pointer
  338. Object=Data
  339. Inherit=Object
  340. GtkFuncName=data
  341. Count=1
  342. Prop=Disconnect
  343. PropType=Signal
  344. PascalType=Signal
  345. GtkName=disconnect
  346. Count=0
  347. Object=Adjustment
  348. Inherit=Data
  349. GtkFuncName=Adjustment
  350. CreateParams=0,0,10,1,2,2
  351. CreateObject
  352. Count=12
  353. Prop=Configure
  354. PropType=Procedure
  355. Code=begin," Lower := aLower;"," Upper := anUpper;"," Value := aValue;"," StepIncrement := aStepInc;"," PageIncrement := aPageInc;"," PageSize := aPageSize;",end;
  356. Count=6
  357. Param=aLower
  358. PascalType=gfloat
  359. Param=anUpper
  360. PascalType=gfloat
  361. Param=aValue
  362. PascalType=gfloat
  363. Param=aStepInc
  364. PascalType=gfloat
  365. Param=aPageInc
  366. PascalType=gfloat
  367. Param=aPageSize
  368. PascalType=gfloat
  369. Prop=ValueChanged
  370. PropType=Signal
  371. PascalType=Signal
  372. GtkName=Value_Changed
  373. Count=0
  374. Prop=Changed
  375. PropType=Signal
  376. PascalType=Signal
  377. GtkName=Changed
  378. Count=0
  379. Prop=ValueChanged
  380. PropType=Procedure
  381. GtkName=Value_Changed
  382. Count=0
  383. Prop=Changed
  384. PropType=Procedure
  385. GtkName=Changed
  386. Count=0
  387. Prop=ClampPage
  388. PropType=Procedure
  389. GtkName=Clamp_Page
  390. Count=2
  391. Param=aLower
  392. PascalType=gfloat
  393. Param=aUpper
  394. PascalType=gfloat
  395. Prop=Value
  396. PropType=Property
  397. PascalType=gfloat
  398. GtkName=Value
  399. ReadFuncType=ObjField
  400. WriteGtkName=Value
  401. Count=0
  402. Prop=Lower
  403. PropType=Property
  404. PascalType=gfloat
  405. GtkName=Lower
  406. ReadFuncType=ObjField
  407. WriteProcType=ObjField
  408. WriteGtkName=Lower
  409. Count=0
  410. Prop=Upper
  411. PropType=Property
  412. PascalType=gfloat
  413. GtkName=Upper
  414. ReadFuncType=ObjField
  415. WriteProcType=ObjField
  416. WriteGtkName=Upper
  417. Count=0
  418. Prop=StepIncrement
  419. PropType=Property
  420. PascalType=gfloat
  421. GtkName=Step_Increment
  422. ReadFuncType=ObjField
  423. WriteProcType=ObjField
  424. WriteGtkName=Step_Increment
  425. Count=0
  426. Prop=PageIncrement
  427. PropType=Property
  428. PascalType=gfloat
  429. GtkName=Page_Increment
  430. ReadFuncType=ObjField
  431. WriteProcType=ObjField
  432. WriteGtkName=Page_increment
  433. Count=0
  434. Prop=PageSize
  435. PropType=Property
  436. PascalType=gfloat
  437. GtkName=Page_Size
  438. ReadFuncType=ObjField
  439. WriteProcType=ObjField
  440. WriteGtkName=Page_Size
  441. Count=0
  442. Object=ToolTips
  443. Inherit=Data
  444. GtkFuncName=tooltips
  445. CreateObject
  446. Count=13
  447. Prop=SetColors
  448. PropType=Procedure
  449. GtkName=set_colors
  450. Count=2
  451. Param=Fore
  452. PascalType=PGdkColor
  453. Param=Back
  454. PascalType=PGdkColor
  455. Prop=SetTip
  456. PropType=Procedure
  457. GtkName=set_tip
  458. Count=3
  459. Param=Widget
  460. Convert
  461. PascalType=TFPgtkWidget
  462. Param=TipText
  463. Convert
  464. PascalType=string
  465. Param=TipPrivate
  466. Convert
  467. PascalType=string
  468. Prop=Enabled
  469. PropType=Property
  470. PascalType=boolean
  471. GtkName=enabled
  472. ReadConvert
  473. ReadFuncType=ObjFunc
  474. WriteProcType=Proc
  475. WriteCode=begin," if TheValue then"," gtk_tooltips_enable (TheGtkObject)"," else"," gtk_tooltips_disable (TheGtkObject);",end;
  476. Count=0
  477. Prop=Delay
  478. PropType=Property
  479. PascalType=integer
  480. GtkName=delay
  481. ReadFuncType=ObjFunc
  482. WriteGtkName=delay
  483. Count=0
  484. Prop=ColorForeground
  485. PropType=Property
  486. PascalType=PGdkColor
  487. GtkName=foreground
  488. ReadFuncType=ObjField
  489. WriteProcType=Proc
  490. WriteGtkName=SetColorForeground
  491. WriteCode=begin," SetColors (TheValue, ColorBackGround);",end;
  492. Count=0
  493. Prop=ColorBackground
  494. PropType=Property
  495. PascalType=PGdkColor
  496. GtkName=background
  497. ReadFuncType=ObjField
  498. WriteProcType=Proc
  499. WriteGtkName=SetColorBackground
  500. WriteCode=begin," SetColors (ColorForeground, TheValue);",end;
  501. Count=0
  502. Prop=GetTooltipsData
  503. PropType=HelperFunc
  504. PascalType=PGtkTooltipsData
  505. Code=begin," result := gtk_tooltips_data_get (ConvertToGtkWidget(Widget));",end;
  506. Count=1
  507. Param=Widget
  508. PascalType=TFPgtkWidget
  509. Prop=ComposeTooltip
  510. PropType=HelperFunc
  511. PascalType=string
  512. Code=begin," result := TooltipText;"," if PrivText <> '' then"," result := result + '|' + PrivText;",end;
  513. Count=2
  514. Param=TooltipText
  515. PascalType=string
  516. Param=PrivText
  517. PascalType=string
  518. Prop=DecomposeTooltip
  519. PropType=HelperProc
  520. Code="var r : integer;",begin," r := pos ('|', tooltip);"," if r > 0 then"," begin"," TooltipText := copy(Tooltip, 1, r-1);"," PrivText := copy (Tooltip, r+1, maxint);"," end"," else"," begin"," TooltipText := Tooltip;"," PrivText := '';"," end;",end;
  521. Count=3
  522. Param=Tooltip
  523. PascalType=string
  524. Param=TooltipText
  525. PascalType=string
  526. ParamType=Var
  527. Param=PrivText
  528. PascalType=string
  529. ParamType=Var
  530. Prop=TheTooltips
  531. PropType=Declarations
  532. Code="var "," TheTooltips : TFPgtkTooltips;"
  533. Count=0
  534. Prop=CheckTooltips
  535. PropType=HelperProc
  536. Section=Private
  537. Code=begin,"if not assigned (TheTooltips) then"," TheTooltips := TFPgtkTooltips.Create;",end;
  538. Count=0
  539. Prop=
  540. PropType=Finilization
  541. Code="if assigned (TheTooltips) then"," TheTooltips.Free;"
  542. Count=0
  543. Prop=ForceWindow
  544. PropType=Procedure
  545. GtkName=force_window
  546. Count=0
  547. Object=Widget
  548. Inherit=Object
  549. GtkFuncName=widget
  550. Count=107
  551. Prop=TheGtkWidget
  552. PropType=Property
  553. PascalType=PGtkWidget
  554. Code=begin," result := PGtkWidget (TheGtkObject);",end;
  555. ReadFuncType=Proc
  556. WriteProcType=Proc
  557. WriteCode=begin," FGtkObject := PgtkObject (TheValue);",end;
  558. Count=0
  559. Prop=GetPascalInstance
  560. PropType=HelperFunc
  561. PascalType=TFPgtkWidget
  562. Code=begin," result := TFPgtkWidget (GetPascalInstance (PGtkObject(widget)));",end;
  563. Overload
  564. Count=1
  565. Param=Widget
  566. PascalType=PGtkWidget
  567. Prop=GetPascalInstance
  568. PropType=HelperFunc
  569. PascalType=TFPgtkWidget
  570. Code=begin," result := TFPgtkWidget (GetPascalInstance (PGtkObject(Widget), ObjClass));",end;
  571. Overload
  572. Count=2
  573. Param=Widget
  574. PascalType=PGtkWidget
  575. Param=ObjClass
  576. PascalType=TFPgtkObjectClass
  577. Prop=ConvertToGtkWidget
  578. PropType=HelperFunc
  579. PascalType=PGtkWidget
  580. Code=begin," if assigned(AnObject) then"," result := AnObject.TheGtkWidget"," else"," result := nil;",end;
  581. Count=1
  582. Param=AnObject
  583. PascalType=TFPgtkWidget
  584. Prop=WidgetSignal
  585. PropType=SignalType
  586. Count=3
  587. Param=Sender
  588. PascalType=TFPgtkObject
  589. Param=Widget
  590. Convert
  591. PascalType=TFPgtkWidget
  592. Param=Data
  593. PascalType=pointer
  594. Prop=SetFlags
  595. PropType=Procedure
  596. Section=Protected
  597. GtkName=set_flags
  598. Count=1
  599. Param=NewFlags
  600. PascalType=longint
  601. Prop=UnsetFlags
  602. PropType=Procedure
  603. Section=Protected
  604. GtkName=unset_flags
  605. Count=1
  606. Param=NewUnsetFlags
  607. PascalType=longint
  608. Prop=Map
  609. PropType=Procedure
  610. Section=Protected
  611. GtkName=map
  612. Count=0
  613. Prop=Unmap
  614. PropType=Procedure
  615. Section=Protected
  616. GtkName=unmap
  617. Count=0
  618. Prop=QueueDraw
  619. PropType=Procedure
  620. Section=Protected
  621. GtkName=queue_draw
  622. Count=0
  623. Prop=QueueResize
  624. PropType=Procedure
  625. Section=Protected
  626. GtkName=queue_resize
  627. Count=0
  628. Prop=Draw
  629. PropType=Procedure
  630. GtkName=draw
  631. Overload
  632. Count=1
  633. Param=Rectangle
  634. PascalType=PGdkRectangle
  635. Prop=DrawFocus
  636. PropType=Procedure
  637. Section=Protected
  638. GtkName=draw_focus
  639. Count=0
  640. Prop=DrawDefault
  641. PropType=Procedure
  642. Section=Protected
  643. GtkName=draw_default
  644. Count=0
  645. Prop=Show
  646. PropType=Procedure
  647. GtkName=show
  648. Count=0
  649. Prop=Hide
  650. PropType=Procedure
  651. GtkName=hide
  652. Count=0
  653. Prop=Realize
  654. PropType=Procedure
  655. GtkName=realize
  656. Count=0
  657. Prop=Unrealize
  658. PropType=Procedure
  659. GtkName=unrealize
  660. Count=0
  661. Prop=ShowNow
  662. PropType=Procedure
  663. GtkName=show_now
  664. Count=0
  665. Prop=ShowAll
  666. PropType=Procedure
  667. GtkName=show_all
  668. Count=0
  669. Prop=HideAll
  670. PropType=Procedure
  671. GtkName=hide_all
  672. Count=0
  673. Prop=SetAllocation
  674. PropType=Procedure
  675. Code=begin," with AnAllocation do"," SetAllocation (x, y, width, height);",end;
  676. Overload
  677. Count=1
  678. Param=AnAllocation
  679. PascalType=TGtkAllocation
  680. Prop=SetAllocation
  681. PropType=Procedure
  682. Code=begin," SetUPosition (x, y);"," SetUSize (width, height);",end;
  683. Overload
  684. Count=4
  685. Param=x
  686. PascalType=integer
  687. Param=y
  688. PascalType=integer
  689. Param=width
  690. PascalType=integer
  691. Param=height
  692. PascalType=integer
  693. Prop=Allocation
  694. PropType=Property
  695. PascalType=TGtkAllocation
  696. GtkName=allocation
  697. ReadFuncType=ObjField
  698. WriteProcType=ExistingProc
  699. WriteGtkName=SetAllocation
  700. Count=0
  701. Prop=SetUPosition
  702. PropType=Procedure
  703. GtkName=set_uposition
  704. Count=2
  705. Param=x
  706. PascalType=integer
  707. Param=y
  708. PascalType=integer
  709. Prop=SetUsize
  710. PropType=Procedure
  711. GtkName=set_usize
  712. Count=2
  713. Param=width
  714. PascalType=integer
  715. Param=height
  716. PascalType=integer
  717. Prop=Name
  718. PropType=Property
  719. PascalType=string
  720. GtkName=name
  721. WriteGtkName=name
  722. WriteConvert
  723. Count=0
  724. Prop=Flags
  725. PropType=Property
  726. PascalType=longint
  727. GtkName=GetPropFlags
  728. Code=begin," result := gtk_widget_Flags (TheGtkObject);",end;
  729. ReadFuncType=Proc
  730. WriteProcType=Proc
  731. WriteGtkName=SetPropFlags
  732. WriteCode="var f : integer;",begin," f := GetPropFlags;"," UnsetFlags (f and not TheValue);"," SetFlags (not f and TheValue);",end;
  733. Count=0
  734. Prop=State
  735. PropType=Property
  736. PascalType=longint
  737. GtkName=State
  738. ReadFuncType=GtkMacro
  739. WriteProcType=NotImplemented
  740. Count=0
  741. Prop=SavedState
  742. PropType=Property
  743. PascalType=longint
  744. GtkName=Saved_State
  745. ReadFuncType=GtkMacro
  746. WriteProcType=NotImplemented
  747. Count=0
  748. Prop=Parent
  749. PropType=Property
  750. PascalType=TFPgtkWidget
  751. Code="var gtkparent : PgtkWidget;"," o : TFPgtkObject;",begin," gtkParent := TheGtkObject^.parent;"," o := GetPascalInstance (PgtkObject(GtkParent));"," if o is TFPgtkWidget then"," result := TFPgtkWidget(o)"," else"," result := nil;",end;
  752. ReadFuncType=Proc
  753. WriteProcType=Proc
  754. WriteCode="var gtkparent : PgtkWidget;",begin," gtkParent := TheGtkObject^.parent;"," if assigned(TheValue) then"," if assigned(gtkParent) then"," reparent (TheValue)"," else"," gtk_widget_set_parent (TheGtkWidget, ConvertToGtkWidget(TheValue))"," else"," if assigned(gtkParent) then"," gtk_widget_unparent (TheGtkWidget);","end; "," "
  755. Count=0
  756. Prop=ParentWindow
  757. PropType=Property
  758. PascalType=PGdkWindow
  759. GtkName=parent_window
  760. WriteGtkName=parent_window
  761. Count=0
  762. Prop=Unparent
  763. PropType=Procedure
  764. GtkName=unparent
  765. Count=0
  766. Prop=Reparent
  767. PropType=Procedure
  768. Section=Private
  769. Code=begin," if (NewParent is TFpgtkContainer) then"," begin"," ref;"," TFPgtkContainer(Parent).remove (self);"," TFPgtkContainer(NewParent).Add (Self);"," unref;"," end;",end;
  770. Count=1
  771. Param=NewParent
  772. PascalType=TFPgtkWidget
  773. Prop=Visible
  774. PropType=Property
  775. PascalType=boolean
  776. GtkName=Visible
  777. ReadFuncType=GtkMacro
  778. WriteProcType=Proc
  779. WriteCode=begin," if TheValue then"," Show"," else"," Hide;",end;
  780. Count=0
  781. Prop=NoWindow
  782. PropType=Property
  783. PascalType=boolean
  784. GtkName=No_Window
  785. ReadFuncType=GtkMacro
  786. WriteProcType=Proc
  787. WriteCode=begin," if TheValue then"," SetFlags (GTK_NO_WINDOW)"," else"," UnSetFlags (GTK_NO_WINDOW);",end;
  788. Count=0
  789. Prop=Realized
  790. PropType=Property
  791. PascalType=boolean
  792. GtkName=realized
  793. ReadFuncType=GtkMacro
  794. WriteProcType=Proc
  795. WriteCode=begin," if TheValue then "," Realize"," else"," Unrealize;",end;
  796. Count=0
  797. Prop=Mapped
  798. PropType=Property
  799. PascalType=boolean
  800. GtkName=Mapped
  801. ReadFuncType=GtkMacro
  802. WriteProcType=Proc
  803. WriteCode=begin," if TheValue then"," Map"," else"," Unmap;",end;
  804. Count=0
  805. Prop=Drawable
  806. PropType=Property
  807. PascalType=boolean
  808. GtkName=Drawable
  809. ReadFuncType=GtkMacro
  810. WriteProcType=NotImplemented
  811. Count=0
  812. Prop=IsSensitive
  813. PropType=Property
  814. PascalType=boolean
  815. GtkName=Is_Sensitive
  816. ReadFuncType=GtkMacro
  817. WriteProcType=NotImplemented
  818. Count=0
  819. Prop=Sensitive
  820. PropType=Property
  821. PascalType=boolean
  822. GtkName=Sensitive
  823. ReadFuncType=GtkMacro
  824. WriteGtkName=sensitive
  825. Count=0
  826. Prop=ParentSensitive
  827. PropType=Property
  828. PascalType=boolean
  829. GtkName=Parent_Sensitive
  830. ReadFuncType=GtkMacro
  831. WriteProcType=Proc
  832. WriteCode=begin," if TheValue then"," SetFlags (GTK_PARENT_SENSITIVE)"," else"," UnSetFlags (GTK_PARENT_SENSITIVE);",end;
  833. Count=0
  834. Prop=AppPaintable
  835. PropType=Property
  836. PascalType=boolean
  837. GtkName=App_Paintable
  838. ReadFuncType=GtkMacro
  839. WriteProcType=NotImplemented
  840. WriteGtkName=app_paintable
  841. WriteCode="// conditional compile ; niet bij gtkwin"
  842. Count=0
  843. Prop=CanFocus
  844. PropType=Property
  845. PascalType=boolean
  846. GtkName=Can_Focus
  847. ReadFuncType=GtkMacro
  848. WriteProcType=Proc
  849. WriteCode=begin," if TheValue then"," SetFlags (GTK_CAN_FOCUS)"," else"," UnSetFlags (GTK_CAN_FOCUS);",end;
  850. Count=0
  851. Prop=GrabFocus
  852. PropType=Procedure
  853. GtkName=grab_focus
  854. Count=0
  855. Prop=HasFocus
  856. PropType=Property
  857. PascalType=boolean
  858. GtkName=Has_Focus
  859. ReadFuncType=GtkMacro
  860. WriteProcType=NotImplemented
  861. Count=0
  862. Prop=CanDefault
  863. PropType=Property
  864. PascalType=boolean
  865. GtkName=Can_Default
  866. ReadFuncType=GtkMacro
  867. WriteProcType=Proc
  868. WriteCode=begin," if TheValue then"," SetFlags (GTK_CAN_DEFAULT)"," else"," UnSetFlags (GTK_CAN_DEFAULT);",end;
  869. Count=0
  870. Prop=GrabDefault
  871. PropType=Procedure
  872. GtkName=grab_default
  873. Count=0
  874. Prop=HasDefault
  875. PropType=Property
  876. PascalType=boolean
  877. GtkName=Has_Default
  878. ReadFuncType=GtkMacro
  879. WriteProcType=NotImplemented
  880. Count=0
  881. Prop=ReceivesDefault
  882. PropType=Property
  883. PascalType=boolean
  884. GtkName=Receives_Default
  885. ReadFuncType=GtkMacro
  886. WriteProcType=NotImplemented
  887. Count=0
  888. Prop=CompositeChild
  889. PropType=Property
  890. PascalType=boolean
  891. GtkName=Composite_Child
  892. ReadFuncType=GtkMacro
  893. WriteProcType=NotImplemented
  894. Count=0
  895. Prop=Tooltip
  896. PropType=Property
  897. PascalType=string
  898. Code="var data : PGtkTooltipsData;",begin," data := Gtk_Tooltips_Data_Get (TheGtkObject);"," if assigned(data) then"," with data^ do"," result := ComposeTooltip (Tip_Text, tip_private)"," else"," result := '';",end;
  899. ReadFuncType=Proc
  900. WriteProcType=Proc
  901. WriteCode="var t, p : string;"," ttdata : PGtkTooltipsData;",begin," if TheValue = '' then"," begin"," ttdata := GetTooltipsData (Self);"," if assigned (ttdata) then"," ; // find a way to remove the hint. Setting '' does not remove"," end"," else"," begin"," CheckTooltips;"," DecomposeTooltip (TheValue, t, p);"," TheToolTips.SetTip (self, t, p);"," end;",end;
  902. Count=0
  903. Prop=HideOnDelete
  904. PropType=Procedure
  905. GtkName=hide_on_delete
  906. Count=0
  907. Prop=Colormap
  908. PropType=Property
  909. PascalType=PGdkColormap
  910. GtkName=colormap
  911. WriteGtkName=colormap
  912. Count=0
  913. Prop=Show
  914. PropType=Signal
  915. PascalType=Signal
  916. GtkName=show
  917. Count=0
  918. Prop=hide
  919. PropType=Signal
  920. PascalType=Signal
  921. GtkName=hide
  922. Count=0
  923. Prop=map
  924. PropType=Signal
  925. PascalType=Signal
  926. GtkName=map
  927. Count=0
  928. Prop=unmap
  929. PropType=Signal
  930. PascalType=Signal
  931. GtkName=unmap
  932. Count=0
  933. Prop=realize
  934. PropType=Signal
  935. PascalType=Signal
  936. GtkName=realize
  937. Count=0
  938. Prop=unrealize
  939. PropType=Signal
  940. PascalType=Signal
  941. GtkName=unrealize
  942. Count=0
  943. Prop=DrawFocus
  944. PropType=Signal
  945. PascalType=Signal
  946. GtkName=draw-focus
  947. Count=0
  948. Prop=DrawDefault
  949. PropType=Signal
  950. PascalType=Signal
  951. GtkName=draw-defaut
  952. Count=0
  953. Prop=ParentSet
  954. PropType=Signal
  955. PascalType=WidgetSignal
  956. GtkName=parent-set
  957. Count=0
  958. Prop=GrabFocus
  959. PropType=Signal
  960. PascalType=Signal
  961. GtkName=grab-focus
  962. Count=0
  963. Prop=Event
  964. PropType=SignalType
  965. PascalType=boolean
  966. Count=3
  967. Param=Sender
  968. Convert
  969. PascalType=TFPgtkWidget
  970. Param=Event
  971. PascalType=PGdkEvent
  972. Param=data
  973. PascalType=pointer
  974. Prop=Event
  975. PropType=Signal
  976. PascalType=Event
  977. GtkName=event
  978. Count=0
  979. Prop=EventButton
  980. PropType=SignalType
  981. PascalType=boolean
  982. Count=3
  983. Param=Sender
  984. Convert
  985. PascalType=TFPgtkWidget
  986. Param=Event
  987. PascalType=PGdkEventButton
  988. Param=data
  989. PascalType=pointer
  990. Prop=ButtonPressEvent
  991. PropType=Signal
  992. PascalType=EventButton
  993. GtkName=button-press-event
  994. Count=0
  995. Prop=ButtonReleaseEvent
  996. PropType=Signal
  997. PascalType=EventButton
  998. GtkName=button-release-event
  999. Count=0
  1000. Prop=EventMotion
  1001. PropType=SignalType
  1002. PascalType=boolean
  1003. Count=3
  1004. Param=Sender
  1005. Convert
  1006. PascalType=TFPgtkWidget
  1007. Param=Event
  1008. PascalType=PGdkEventMotion
  1009. Param=data
  1010. PascalType=pointer
  1011. Prop=MotionNotifyEvent
  1012. PropType=Signal
  1013. PascalType=EventMotion
  1014. GtkName=motion-notify-event
  1015. Count=0
  1016. Prop=DeleteEvent
  1017. PropType=Signal
  1018. PascalType=Event
  1019. GtkName=delete-event
  1020. Count=0
  1021. Prop=DestroyEvent
  1022. PropType=Signal
  1023. PascalType=Event
  1024. GtkName=destroy-event
  1025. Count=0
  1026. Prop=EventExpose
  1027. PropType=SignalType
  1028. PascalType=boolean
  1029. Count=3
  1030. Param=Sender
  1031. Convert
  1032. PascalType=TFPgtkWidget
  1033. Param=Event
  1034. PascalType=PGdkEventExpose
  1035. Param=data
  1036. PascalType=pointer
  1037. Prop=ExposeEvent
  1038. PropType=Signal
  1039. PascalType=EventExpose
  1040. GtkName=expose-event
  1041. Count=0
  1042. Prop=EventKey
  1043. PropType=SignalType
  1044. PascalType=boolean
  1045. Count=3
  1046. Param=Sender
  1047. Convert
  1048. PascalType=TFPgtkWidget
  1049. Param=Event
  1050. PascalType=PGdkEventKey
  1051. Param=data
  1052. PascalType=pointer
  1053. Prop=KeyPressEvent
  1054. PropType=Signal
  1055. PascalType=EventKey
  1056. GtkName=key-press-event
  1057. Count=0
  1058. Prop=KeyReleaseEvent
  1059. PropType=Signal
  1060. PascalType=EventKey
  1061. GtkName=key-release-event
  1062. Count=0
  1063. Prop=EventCrossing
  1064. PropType=SignalType
  1065. PascalType=boolean
  1066. Count=3
  1067. Param=Sender
  1068. Convert
  1069. PascalType=TFPgtkWidget
  1070. Param=Event
  1071. PascalType=PGdkEventCrossing
  1072. Param=data
  1073. PascalType=pointer
  1074. Prop=EnterNotifyEvent
  1075. PropType=Signal
  1076. PascalType=EventCrossing
  1077. GtkName=enter-notify-event
  1078. Count=0
  1079. Prop=LeaveNotifyEvent
  1080. PropType=Signal
  1081. PascalType=EventCrossing
  1082. GtkName=leave-notify-event
  1083. Count=0
  1084. Prop=EventConfigure
  1085. PropType=SignalType
  1086. PascalType=boolean
  1087. Count=3
  1088. Param=Sender
  1089. Convert
  1090. PascalType=TFPgtkWidget
  1091. Param=Event
  1092. PascalType=PGdkEventConfigure
  1093. Param=data
  1094. PascalType=pointer
  1095. Prop=ConfigureEvent
  1096. PropType=Signal
  1097. PascalType=EventConfigure
  1098. GtkName=configure-event
  1099. Count=0
  1100. Prop=EventFocus
  1101. PropType=SignalType
  1102. PascalType=boolean
  1103. Count=3
  1104. Param=Sender
  1105. Convert
  1106. PascalType=TFPgtkWidget
  1107. Param=Event
  1108. PascalType=PGdkEventFocus
  1109. Param=data
  1110. PascalType=pointer
  1111. Prop=FocusInEvent
  1112. PropType=Signal
  1113. PascalType=EventFocus
  1114. GtkName=focus-in-event
  1115. Count=0
  1116. Prop=FocusOutEvent
  1117. PropType=Signal
  1118. PascalType=EventFocus
  1119. GtkName=focus-out-event
  1120. Count=0
  1121. Prop=MapEvent
  1122. PropType=Signal
  1123. PascalType=Event
  1124. GtkName=map-event
  1125. Count=0
  1126. Prop=UnmapEvent
  1127. PropType=Signal
  1128. PascalType=Event
  1129. GtkName=unmap-event
  1130. Count=0
  1131. Prop=EventProperty
  1132. PropType=SignalType
  1133. PascalType=boolean
  1134. Count=3
  1135. Param=Sender
  1136. Convert
  1137. PascalType=TFPgtkWidget
  1138. Param=Event
  1139. PascalType=PGdkEventProperty
  1140. Param=data
  1141. PascalType=pointer
  1142. Prop=PropertyNotifyEvent
  1143. PropType=Signal
  1144. PascalType=EventProperty
  1145. GtkName=property-notify-event
  1146. Count=0
  1147. Prop=EventSelection
  1148. PropType=SignalType
  1149. PascalType=boolean
  1150. Count=3
  1151. Param=Sender
  1152. Convert
  1153. PascalType=TFPgtkWidget
  1154. Param=Event
  1155. PascalType=PGdkEventSelection
  1156. Param=data
  1157. PascalType=pointer
  1158. Prop=SelectionClearEvent
  1159. PropType=Signal
  1160. PascalType=EventSelection
  1161. GtkName=selection-clear-event
  1162. Count=0
  1163. Prop=SelectionRequestEvent
  1164. PropType=Signal
  1165. PascalType=EventSelection
  1166. GtkName=selection-request-event
  1167. Count=0
  1168. Prop=SelectionNotifyEvent
  1169. PropType=Signal
  1170. PascalType=EventSelection
  1171. GtkName=selection-notify-event
  1172. Count=0
  1173. Prop=EventProximity
  1174. PropType=SignalType
  1175. PascalType=boolean
  1176. Count=3
  1177. Param=Sender
  1178. Convert
  1179. PascalType=TFPgtkWidget
  1180. Param=Event
  1181. PascalType=PGdkEventProximity
  1182. Param=data
  1183. PascalType=pointer
  1184. Prop=ProximityInEvent
  1185. PropType=Signal
  1186. PascalType=EventProximity
  1187. GtkName=proximity-in-event
  1188. Count=0
  1189. Prop=ProximityOutEvent
  1190. PropType=Signal
  1191. PascalType=EventProximity
  1192. GtkName=proximity-out-event
  1193. Count=0
  1194. Prop=EventClient
  1195. PropType=SignalType
  1196. PascalType=boolean
  1197. Count=3
  1198. Param=Sender
  1199. Convert
  1200. PascalType=TFPgtkWidget
  1201. Param=Event
  1202. PascalType=PGdkEventClient
  1203. Param=data
  1204. PascalType=pointer
  1205. Prop=ClientEvent
  1206. PropType=Signal
  1207. PascalType=EventClient
  1208. GtkName=client-event
  1209. Count=0
  1210. Prop=EventNoExpose
  1211. PropType=SignalType
  1212. PascalType=boolean
  1213. Count=3
  1214. Param=Sender
  1215. Convert
  1216. PascalType=TFPgtkWidget
  1217. Param=Event
  1218. PascalType=PGdkEventNoExpose
  1219. Param=data
  1220. PascalType=pointer
  1221. Prop=NoExposeEvent
  1222. PropType=Signal
  1223. PascalType=EventNoExpose
  1224. GtkName=no-expose-event
  1225. Count=0
  1226. Prop=VisibilityNotifyEvent
  1227. PropType=Signal
  1228. PascalType=Event
  1229. GtkName=visibility-notify-event
  1230. Count=0
  1231. Prop=LockAccelerators
  1232. PropType=Procedure
  1233. GtkName=lock_accelerators
  1234. Count=0
  1235. Prop=UnlockAccelerators
  1236. PropType=Procedure
  1237. GtkName=unlock_accelerators
  1238. Count=0
  1239. Prop=RemoveAccelerators
  1240. PropType=Procedure
  1241. GtkName=remove_accelerators
  1242. Count=2
  1243. Param=aSignal
  1244. Convert
  1245. PascalType=string
  1246. Param=OnlyVisible
  1247. Convert
  1248. PascalType=boolean
  1249. Prop=ActivateAccelGroups
  1250. PropType=Procedure
  1251. Code=begin," gtk_accel_groups_activate (FGtkObject, Key, Mods);",end;
  1252. Count=2
  1253. Param=Key
  1254. PascalType=guint
  1255. Param=Mods
  1256. PascalType=TGdkModifierType
  1257. Prop=AcceleratorAdd
  1258. PropType=Procedure
  1259. Code=begin," gtk_widget_add_accelerator (TheGtkWidget, pgchar(aSignal),"," AG, Key, Mods, acFlags);",end;
  1260. Overload
  1261. Count=5
  1262. Param=AG
  1263. PascalType=PGtkAccelGroup
  1264. Param=aSignal
  1265. PascalType=string
  1266. Param=Key
  1267. PascalType=guint
  1268. Param=Mods
  1269. PascalType=TGdkModifierType
  1270. Param=acFlags
  1271. PascalType=TGtkAccelFlags
  1272. Object=Group
  1273. Inherit=*List
  1274. Count=26
  1275. Prop=FGSList
  1276. PropType=Field
  1277. Section=Private
  1278. PascalType=PGSList
  1279. Count=0
  1280. Prop=FGList
  1281. PropType=Field
  1282. Section=Private
  1283. PascalType=PGList
  1284. Count=0
  1285. Prop=FNotUpdating
  1286. PropType=Field
  1287. Section=Private
  1288. PascalType=boolean
  1289. Count=0
  1290. Prop=FClassesChanged
  1291. PropType=Field
  1292. Section=Private
  1293. PascalType=boolean
  1294. Count=0
  1295. Prop=FSListChanged
  1296. PropType=Field
  1297. Section=Private
  1298. PascalType=boolean
  1299. Count=0
  1300. Prop=FListChanged
  1301. PropType=Field
  1302. Section=Private
  1303. PascalType=boolean
  1304. Count=0
  1305. Prop=ManageLists
  1306. PropType=Property
  1307. PascalType=boolean
  1308. ReadFuncType=Field
  1309. WriteProcType=Field
  1310. Count=0
  1311. Prop=FreeList
  1312. PropType=Procedure
  1313. Section=Private
  1314. Code=begin," if FGList <> null then"," begin"," if FManageLists then"," g_list_free (FGList);"," FGList := null;"," end;",end;
  1315. Count=0
  1316. Prop=FreeSList
  1317. PropType=Procedure
  1318. Section=Private
  1319. Code=begin," if FGSList <> null then"," begin"," if FManageLists then"," g_slist_free (FGSList);"," FGSlist := null;"," end;",end;
  1320. Count=0
  1321. Prop=CreateGList
  1322. PropType=Function
  1323. Section=Private
  1324. PascalType=PGList
  1325. Code="var r : integer;",begin," FreeList;"," result := null;"," for r := pred(count) downto 0 do"," result := g_list_prepend (result, GetData(r));"," FGList := result;",end;
  1326. Count=0
  1327. Prop=CreateGSList
  1328. PropType=Function
  1329. Section=Private
  1330. PascalType=PGSList
  1331. Code="var r : integer;",begin," FreeSList;"," result := null;"," for r := pred(count) downto 0 do"," result := g_slist_prepend (result, GetData(r));"," FGSList := result;",end;
  1332. Count=0
  1333. Prop=BuildFromGtkList
  1334. PropType=Procedure
  1335. Section=Protected
  1336. Code="var p : PGList;",begin," clear;"," p := FGList;"," while p <> null do"," begin"," add (UngetData(p^.data));"," p := p^.Next;"," end;"," FListChanged := False;"," FSListChanged := False;"," FClassesChanged := False;"," FreeSList;",end;
  1337. Count=0
  1338. Prop=BuildFromGtkSList
  1339. PropType=Procedure
  1340. Section=Protected
  1341. Code="var p :PGSList;",begin," clear;"," p := FGSList;"," while p <> null do"," begin"," add (UngetData(p^.data));"," p := p^.Next;"," end;"," FListChanged := False;"," FSListChanged := False;"," FClassesChanged := False;"," FreeList;",end;
  1342. Count=0
  1343. Prop=Notify
  1344. PropType=Procedure
  1345. Section=Protected
  1346. Code=begin," inherited;"," FClassesChanged := True;",end;
  1347. Override
  1348. Count=2
  1349. Param=ptr
  1350. PascalType=pointer
  1351. Param=Action
  1352. PascalType=TListNotification
  1353. Prop=GetData
  1354. PropType=Function
  1355. Section=Protected
  1356. PascalType=pointer
  1357. Code="// GetData needs to give the pointer to the data in the List or SList of GTK",begin," result := items[index];",end;
  1358. Dynamic
  1359. Count=1
  1360. Param=index
  1361. PascalType=integer
  1362. Prop=UngetData
  1363. PropType=Function
  1364. Section=Protected
  1365. PascalType=pointer
  1366. Code="// UngetData needs to give the item in this list from the datapointer of GTK",begin," result := data",end;
  1367. Dynamic
  1368. Count=1
  1369. Param=data
  1370. PascalType=pointer
  1371. Prop=Create
  1372. PropType=Constructor
  1373. Code=begin," inherited create;"," FClassesChanged := False;"," FListChanged := false;"," FSListChanged := False;"," FGList := null;"," FGSList := null;"," FNotUpdating := True;"," FManageLists := True;",end;
  1374. Count=0
  1375. Prop=Destroy
  1376. PropType=Destructor
  1377. Code=begin," if ManageLists then"," begin"," FreeList;"," FreeSList;"," end;"," inherited Destroy;",end;
  1378. Override
  1379. Count=0
  1380. Prop=GetGtkList
  1381. PropType=Function
  1382. PascalType=PGList
  1383. Code=begin," if buffered then"," if FClasseschanged then"," result := CreateGList"," else if FSListChanged then"," begin"," BuildFromGtkSList;"," result := CreateGList;"," end"," else"," result := FGlist"," else"," result := CreateGList;",end;
  1384. Count=1
  1385. Param=buffered
  1386. PascalType=boolean
  1387. Prop=GetGtkSList
  1388. PropType=Function
  1389. PascalType=PGSList
  1390. Code=begin," if buffered then"," if FClassesChanged then"," result := CreateGSList"," else if FListChanged then"," begin"," BuildFromGtkList;"," result := CreateGSList;"," end"," else"," result := FGSlist"," else"," result := CreateGSList;",end;
  1391. Count=1
  1392. Param=buffered
  1393. PascalType=boolean
  1394. Prop=BeginUpdate
  1395. PropType=Procedure
  1396. Code=begin," FNotUpdating := False;",end;
  1397. Count=0
  1398. Prop=EndUpdate
  1399. PropType=Procedure
  1400. Code=begin," FNotUpdating := True;"," if FlistChanged then"," BuildFromGtkSList"," else if FSListChanged then"," BuildFromGtkSList"," else if FClassesChanged then"," begin"," FreeSList;"," FreeList;"," end;",end;
  1401. Count=0
  1402. Prop=ForEachFunction
  1403. PropType=TypeDeclaration
  1404. Code=" TFPgtkForEachProcedure = procedure (item : pointer; data : pointer) of object;"
  1405. Count=0
  1406. Prop=ForEach
  1407. PropType=Procedure
  1408. Code="var r: integer;",begin," for r := 0 to pred(count) do"," Proc (items[r], data);",end;
  1409. Count=2
  1410. Param=Proc
  1411. PascalType=TFPgtkForEachProcedure
  1412. Param=data
  1413. PascalType=pointer
  1414. Prop=GtkList
  1415. PropType=Property
  1416. PascalType=PGList
  1417. GtkName=GetGtkListProp
  1418. Code=begin," result := GetGtkList (True);",end;
  1419. ReadFuncType=Proc
  1420. WriteProcType=Proc
  1421. WriteGtkName=SetGtkListProp
  1422. WriteCode=begin," FGList := TheValue;"," if FNotUpdating then"," BuildFromGtkList"," else"," FListChanged := True;",end;
  1423. Count=0
  1424. Prop=GtkSList
  1425. PropType=Property
  1426. PascalType=PGSList
  1427. GtkName=GetGtkSListProp
  1428. Code=begin," result := GetGtkSList (True);",end;
  1429. ReadFuncType=Proc
  1430. WriteProcType=Proc
  1431. WriteGtkName=SetGtkSListProp
  1432. WriteCode=begin," FGSlist := TheValue;"," if FNotUpdating then"," BuildFromGtkSList"," else"," FSListChanged := True;",end;
  1433. Count=0
  1434. Object=WidgetGroup
  1435. Inherit=Group
  1436. Count=6
  1437. Prop=GetData
  1438. PropType=Function
  1439. PascalType=pointer
  1440. Code=begin," result := items[index].FgtkObject;",end;
  1441. Override
  1442. Count=1
  1443. Param=index
  1444. PascalType=integer
  1445. Prop=UnGetData
  1446. PropType=Function
  1447. PascalType=pointer
  1448. Code=begin," result := GetPascalInstance (PGtkObject(Data));",end;
  1449. Override
  1450. Count=1
  1451. Param=data
  1452. PascalType=pointer
  1453. Prop=AddToContainer
  1454. PropType=Procedure
  1455. Code="var r : integer;",begin," for r := 0 to pred(count) do"," Container.Add (items[r]);",end;
  1456. Count=1
  1457. Param=Container
  1458. PascalType=TFPgtkContainer
  1459. Prop=PackInBox
  1460. PropType=Procedure
  1461. Code="var r : integer;",begin," if AtStart then"," for r := 0 to pred(Count) do"," box.PackStart (items[r], expanding, fill, padding)"," else"," for r := pred(Count) downto 0 do"," box.PackEnd (items[r], expanding, fill, padding);",end;
  1462. Count=5
  1463. Param=box
  1464. PascalType=TFPgtkBox
  1465. Param=AtStart
  1466. PascalType=boolean
  1467. Param=Expanding
  1468. PascalType=boolean
  1469. Param=Fill
  1470. PascalType=boolean
  1471. Param=Padding
  1472. PascalType=integer
  1473. Prop=Items
  1474. PropType=Property
  1475. PascalType=TFPgtkWidget
  1476. GtkName=GetItem
  1477. Code=begin," result := TFPgtkWidget (Inherited items[index]);",end;
  1478. ReadFuncType=Proc
  1479. WriteProcType=Proc
  1480. WriteGtkName=SetItem
  1481. WriteCode=begin," inherited items[index] := TheValue;",end;
  1482. Count=1
  1483. Param=Index
  1484. PascalType=integer
  1485. Prop=Tooltips
  1486. PropType=Property
  1487. PascalType=string
  1488. Code=begin," result := items[index].Tooltip;",end;
  1489. ReadFuncType=Proc
  1490. WriteProcType=Proc
  1491. WriteCode=begin," Items[index].Tooltip := TheValue;",end;
  1492. Count=1
  1493. Param=index
  1494. PascalType=integer
  1495. Object=Misc
  1496. Inherit=Widget
  1497. GtkFuncName=misc
  1498. Count=6
  1499. Prop=SetAlignment
  1500. PropType=Procedure
  1501. GtkName=set_alignment
  1502. Count=2
  1503. Param=x
  1504. PascalType=gfloat
  1505. Param=y
  1506. PascalType=gfloat
  1507. Prop=SetPadding
  1508. PropType=Procedure
  1509. GtkName=set_padding
  1510. Count=2
  1511. Param=x
  1512. PascalType=word
  1513. Param=y
  1514. PascalType=word
  1515. Prop=XAlign
  1516. PropType=Property
  1517. PascalType=gfloat
  1518. GtkName=XAlign
  1519. ReadFuncType=ObjField
  1520. WriteProcType=Proc
  1521. WriteCode=begin," SetAlignment (TheValue, YAlign);",end;
  1522. Count=0
  1523. Prop=YAlign
  1524. PropType=Property
  1525. PascalType=gfloat
  1526. GtkName=YAlign
  1527. ReadFuncType=ObjField
  1528. WriteProcType=Proc
  1529. WriteCode=begin," SetAlignment (XAlign, TheValue);",end;
  1530. Count=0
  1531. Prop=XPad
  1532. PropType=Property
  1533. PascalType=word
  1534. GtkName=XPad
  1535. ReadFuncType=ObjField
  1536. WriteProcType=Proc
  1537. WriteCode=begin," SetPadding (TheValue, YPad);",end;
  1538. Count=0
  1539. Prop=YPad
  1540. PropType=Property
  1541. PascalType=word
  1542. GtkName=YPad
  1543. ReadFuncType=ObjField
  1544. WriteProcType=Proc
  1545. WriteCode=begin," SetPadding (XPad, TheValue);",end;
  1546. Count=0
  1547. Object=Label
  1548. Inherit=Misc
  1549. GtkFuncName=label
  1550. CreateParams=null
  1551. CreateObject
  1552. Count=7
  1553. Prop=Create
  1554. PropType=Constructor
  1555. Code=begin," inherited create;"," Text := aText;"," SetAlignment (0.0, 0.5);",end;
  1556. Count=1
  1557. Param=aText
  1558. PascalType=string
  1559. Prop=Text
  1560. PropType=Property
  1561. PascalType=string
  1562. GtkName=TheLabel
  1563. ReadFuncType=ObjField
  1564. WriteGtkName=text
  1565. WriteConvert
  1566. Count=0
  1567. Prop=Pattern
  1568. PropType=Property
  1569. PascalType=string
  1570. GtkName=pattern
  1571. ReadConvert
  1572. ReadFuncType=ObjField
  1573. WriteGtkName=pattern
  1574. WriteConvert
  1575. Count=0
  1576. Prop=Justify
  1577. PropType=Property
  1578. PascalType=TGtkJustification
  1579. GtkName=jtype
  1580. ReadFuncType=ObjFunc
  1581. WriteGtkName=justify
  1582. Count=0
  1583. Prop=LineWrap
  1584. PropType=Property
  1585. PascalType=boolean
  1586. GtkName=wrap
  1587. ReadFuncType=ObjField
  1588. WriteGtkName=line_wrap
  1589. Count=0
  1590. Prop=ParseUline
  1591. PropType=Function
  1592. PascalType=guint
  1593. GtkName=parse_uline
  1594. Count=1
  1595. Param=aText
  1596. Convert
  1597. PascalType=string
  1598. Prop=LabelClass
  1599. PropType=TypeDeclaration
  1600. Code=" TFPgtkLabelClass = class of TFPgtkLabel;"
  1601. Count=0
  1602. Object=AccelLabel
  1603. Inherit=Label
  1604. GtkFuncName=accel_label
  1605. CreateParams=''
  1606. CreateObject
  1607. Count=3
  1608. Prop=AccelWidget
  1609. PropType=Property
  1610. PascalType=TFPgtkWidget
  1611. GtkName=accel_widget
  1612. ReadConvert
  1613. ReadFuncType=ObjField
  1614. WriteGtkName=accel_widget
  1615. WriteConvert
  1616. Count=0
  1617. Prop=AccelText
  1618. PropType=Function
  1619. PascalType=string
  1620. Code=begin," result := TheGtkObject^.accel_string;",end;
  1621. Count=0
  1622. Prop=Refetch
  1623. PropType=Procedure
  1624. GtkName=refetch
  1625. Count=0
  1626. Object=TipsQuery
  1627. Inherit=Label
  1628. GtkFuncName=tips_query
  1629. CreateObject
  1630. Count=0
  1631. Object=Arrow
  1632. Inherit=Misc
  1633. GtkFuncName=arrow
  1634. CreateParams=GTK_ARROW_LEFT,GTK_SHADOW_NONE
  1635. CreateObject
  1636. Count=4
  1637. Prop=ArrowType
  1638. PropType=Property
  1639. PascalType=TGtkArrowType
  1640. Code=begin," result := TGtkArrowType (TheGtkObject^.arrow_type);",end;
  1641. ReadFuncType=Proc
  1642. WriteProcType=Proc
  1643. WriteCode=begin," gtk_arrow_set (TheGtkObject, TheValue, ShadowType);",end;
  1644. Count=0
  1645. Prop=ShadowType
  1646. PropType=Property
  1647. PascalType=TGtkShadowType
  1648. Code=begin," result := TGtkShadowtype (TheGtkObject^.shadow_type);",end;
  1649. ReadFuncType=Proc
  1650. WriteProcType=Proc
  1651. WriteCode=begin," gtk_arrow_set (TheGtkObject, ArrowType, TheValue);",end;
  1652. Count=0
  1653. Prop=SetTypes
  1654. PropType=Procedure
  1655. GtkName=set
  1656. Count=2
  1657. Param=AnArrowType
  1658. PascalType=TGtkArrowType
  1659. Param=AShadowtype
  1660. PascalType=TGtkShadowType
  1661. Prop=Create
  1662. PropType=Constructor
  1663. Code=begin," inherited create;"," SetTypes (AnArrowType, AShadowType);",end;
  1664. Count=2
  1665. Param=AnArrowType
  1666. PascalType=TGtkArrowType
  1667. Param=AShadowType
  1668. PascalType=TGtkShadowType
  1669. Object=Image
  1670. Inherit=Misc
  1671. GtkFuncName=image
  1672. CreateParams=FImage, FMask
  1673. CreateObject
  1674. Count=7
  1675. Prop=FImage
  1676. PropType=Field
  1677. PascalType=PGdkImage
  1678. Count=0
  1679. Prop=FMask
  1680. PropType=Field
  1681. PascalType=PGdkBitMap
  1682. Count=0
  1683. Prop=Image
  1684. PropType=Property
  1685. PascalType=PGdkImage
  1686. GtkName=GetImageProp
  1687. Code="var m : PGdkBitmap;",begin," gtk_image_get (TheGtkObject, @result, @m);",end;
  1688. ReadFuncType=Proc
  1689. WriteProcType=Proc
  1690. WriteGtkName=SetImageProp
  1691. WriteCode=begin," gtk_Image_set (TheGtkObject, TheValue, nil);",end;
  1692. Count=0
  1693. Prop=Mask
  1694. PropType=Property
  1695. PascalType=PGdkBitMap
  1696. Code="var p : PGdkPixmap;",begin," gtk_image_get (TheGtkObject, @p, @result);",end;
  1697. ReadFuncType=Proc
  1698. WriteProcType=Proc
  1699. WriteCode=begin," gtk_image_set (TheGtkObject, Image, TheValue);",end;
  1700. Count=0
  1701. Prop=SetImage
  1702. PropType=Procedure
  1703. GtkName=set
  1704. Count=2
  1705. Param=anImage
  1706. PascalType=PGdkImage
  1707. Param=aMask
  1708. PascalType=PGdkBitmap
  1709. Prop=Create
  1710. PropType=Constructor
  1711. Code=begin," FImage := anImage;"," FMask := aMask;"," inherited create;",end;
  1712. Count=2
  1713. Param=anImage
  1714. PascalType=PGdkImage
  1715. Param=aMask
  1716. PascalType=PGdkBitmap
  1717. Prop=NewImage
  1718. PropType=HelperFunc
  1719. PascalType=PGdkImage
  1720. Code=begin," result := gdk_image_new (gdk_image_fastest, gdk_visual_get_system, aWidth, aHeight);",end;
  1721. Count=2
  1722. Param=aWidth
  1723. PascalType=integer
  1724. Param=aHeight
  1725. PascalType=integer
  1726. Object=Pixmap
  1727. Inherit=Misc
  1728. GtkFuncName=pixmap
  1729. CreateParams=FPixMap, FMask
  1730. CreateObject
  1731. Count=20
  1732. Prop=EmptyBitMap
  1733. PropType=Declarations
  1734. Section=Private
  1735. Code=var," EmptyBitmap : PGdkPixmap;"
  1736. Count=0
  1737. Prop=PStringArray
  1738. PropType=TypeDeclaration
  1739. Code=" TStringArray = array[0..32000] of pgchar;"," PStringArray = ^TStringArray;"
  1740. Count=0
  1741. Prop=StringsToPPgchar
  1742. PropType=HelperFunc
  1743. PascalType=PPgchar
  1744. Code="var r : integer;"," a : PStringArray;",begin," getmem (a, sizeof (pgchar) * Data.count);"," for r := 0 to Data.Count-1 do"," a^[r] := pchar (Data[r]);"," result := ppgchar (a);",end;
  1745. Count=1
  1746. Param=Data
  1747. PascalType=TStrings
  1748. Prop=ArrayToPPgchar
  1749. PropType=HelperFunc
  1750. PascalType=PPgchar
  1751. Code="var r,t : integer;"," a : PStringArray;",begin," getmem (a, sizeof (pgchar) * (high(data)-low(data)+1));"," t := 0;"," for r := low(data) to high(data) do"," begin"," a^[r] := pchar (data[t]);"," inc (t);"," end;"," result := ppgchar (a);",end;
  1752. Count=1
  1753. Param=Data
  1754. PascalType=array of string
  1755. Prop=BuildInsensitive
  1756. PropType=Property
  1757. PascalType=longbool
  1758. GtkName=build_insensitive
  1759. ReadConvert
  1760. ReadFuncType=ObjFunc
  1761. WriteGtkName=build_insensitive
  1762. WriteConvert
  1763. Count=0
  1764. Prop=Create
  1765. PropType=Constructor
  1766. Code=begin," if not assigned (EmptyBitmap) then"," EmptyBitmap := gdk_pixmap_new (null, 1, 1, 1);"," FPixMap := EmptyBitmap;"," FMask := PGdkBitmap (EmptyBitmap);"," inherited create;",end;
  1767. Count=0
  1768. Prop=CreateFromFile
  1769. PropType=Constructor
  1770. Code=begin," FPixMap := gdk_pixmap_create_from_xpm (ConvertToGtkWidget(Window)^.window, @FMask, nil, pgchar(Filename));"," inherited create;",end;
  1771. Count=2
  1772. Param=Filename
  1773. PascalType=string
  1774. Param=Window
  1775. PascalType=TFPgtkWidget
  1776. Prop=CreateFromStrings
  1777. PropType=Constructor
  1778. Code="var ppdata : ppgchar;",begin," ppdata := StringsToPPgchar(Data);"," FPixMap := gdk_pixmap_create_from_xpm_d (ConvertToGtkWidget(Window)^.window, @FMask, nil, ppdata);"," inherited create;"," freemem (ppdata, sizeof (pgchar) * Data.count);",end;
  1779. Count=2
  1780. Param=Data
  1781. PascalType=TStrings
  1782. Param=Window
  1783. PascalType=TFPgtkWidget
  1784. Prop=CreateFromText
  1785. PropType=Constructor
  1786. Code="var l : TStrings;",begin," l := TStringList.Create;"," try"," l.Text := data;"," CreateFromStrings (l, Window);"," finally"," l.Free;"," end;",end;
  1787. Count=2
  1788. Param=Data
  1789. PascalType=string
  1790. Param=Window
  1791. PascalType=TFPgtkWidget
  1792. Prop=FPixMap
  1793. PropType=Field
  1794. PascalType=PGdkPixmap
  1795. Count=0
  1796. Prop=FMask
  1797. PropType=Field
  1798. PascalType=PGdkBitMap
  1799. Count=0
  1800. Prop=PixMap
  1801. PropType=Property
  1802. PascalType=PGdkPixMap
  1803. GtkName=GetPixmapProp
  1804. Code="var m : PGdkBitmap;",begin," gtk_pixmap_get (TheGtkObject, @result, @m);",end;
  1805. ReadFuncType=Proc
  1806. WriteProcType=Proc
  1807. WriteGtkName=SetPixmapProp
  1808. WriteCode=begin," gtk_pixmap_set (TheGtkObject, TheValue, nil);",end;
  1809. Count=0
  1810. Prop=Mask
  1811. PropType=Property
  1812. PascalType=PGdkBitMap
  1813. Code="var p : PGdkPixmap;",begin," gtk_pixmap_get (TheGtkObject, @p, @result);",end;
  1814. ReadFuncType=Proc
  1815. WriteProcType=Proc
  1816. WriteCode=begin," gtk_pixmap_set (TheGtkObject, Pixmap, TheValue);",end;
  1817. Count=0
  1818. Prop=SetPixmap
  1819. PropType=Procedure
  1820. GtkName=set
  1821. Count=2
  1822. Param=aPixmap
  1823. PascalType=PGdkPixMap
  1824. Param=aMask
  1825. PascalType=PGdkBitmap
  1826. Prop=GetPixmap
  1827. PropType=Procedure
  1828. Code="var P:PGdkPixmap; "," M:PGdkBitmap;",begin," gtk_pixmap_get (TheGtkObject, @p, @m);"," apixmap := p;"," amask := m;",end;
  1829. Count=2
  1830. Param=aPixmap
  1831. PascalType=PGdkPixmap
  1832. ParamType=Var
  1833. Param=aMask
  1834. PascalType=PGdkBitmap
  1835. ParamType=Var
  1836. Prop=LoadFromFile
  1837. PropType=Procedure
  1838. Code="var bm : PGdkBitmap;"," pm : PGdkPixmap;",begin," pm := gdk_pixmap_colormap_create_from_xpm (nil, Colormap, @bm, nil, pgchar(Filename));"," SetPixmap (pm, bm);",end;
  1839. Count=1
  1840. Param=Filename
  1841. PascalType=string
  1842. Prop=LoadFromStrings
  1843. PropType=Procedure
  1844. Code="var bm : PGdkBitmap;"," pm : PGdkPixmap;"," ppdata : ppgchar;",begin," ppdata := StringsToPPgchar(Data);"," pm := gdk_pixmap_colormap_create_from_xpm_d (nil, Colormap, @bm, nil, ppdata);"," SetPixmap (pm, bm);"," freemem (ppdata, sizeof (pgchar) * Data.count);",end;
  1845. Count=1
  1846. Param=data
  1847. PascalType=TStrings
  1848. Prop=LoadFromText
  1849. PropType=Procedure
  1850. Code="var l : TStrings;",begin," l := TStringList.Create;"," try"," l.Text := data;"," LoadFromStrings (l);"," finally"," l.Free;"," end;",end;
  1851. Count=1
  1852. Param=data
  1853. PascalType=string
  1854. Prop=LoadFromArray
  1855. PropType=Procedure
  1856. Code="var bm : PGdkBitmap;"," pm : PGdkPixmap;"," ppdata : ppgchar;",begin," ppdata := ArrayToPPgchar(Data);"," pm := gdk_pixmap_colormap_create_from_xpm_d (nil, Colormap, @bm, nil, ppdata);"," SetPixmap (pm, bm);"," freemem (ppdata, sizeof (pgchar) * (high(data)-low(data)+1));",end;
  1857. Count=1
  1858. Param=data
  1859. PascalType=array of string
  1860. Prop=CreateGdkPixmap
  1861. PropType=HelperProc
  1862. Code="var ppdata : ppgchar;",begin," ppdata := ArrayToPPgchar(Data);"," ThePixmap := gdk_pixmap_create_from_xpm_d (aWindow, @TheMask, nil, ppdata);"," freemem (ppdata, sizeof (pgchar) * (high(data)-low(data)+1));",end;
  1863. Count=4
  1864. Param=ThePixmap
  1865. PascalType=PGdkPixmap
  1866. ParamType=Var
  1867. Param=TheMask
  1868. PascalType=PGdkBitmap
  1869. ParamType=Var
  1870. Param=aWindow
  1871. PascalType=PGdkWindow
  1872. Param=data
  1873. PascalType=array of string
  1874. Object=Container
  1875. Inherit=Widget
  1876. GtkFuncName=container
  1877. Count=19
  1878. Prop=Border
  1879. PropType=Property
  1880. PascalType=integer
  1881. GtkName=border_width
  1882. ReadFuncType=ObjFunc
  1883. WriteGtkName=border_width
  1884. Count=0
  1885. Prop=Add
  1886. PropType=Procedure
  1887. Code=begin," gtk_container_add (TheGtkObject, ConvertToGtkWidget(AWidget));"," if IsVisible then"," AWidget.Show;",end;
  1888. Overload
  1889. Count=2
  1890. Param=AWidget
  1891. PascalType=TFPgtkWidget
  1892. Param=IsVisible
  1893. PascalType=boolean
  1894. Prop=Add
  1895. PropType=Procedure
  1896. Code=begin," gtk_container_add (TheGtkObject, ConvertToGtkWidget(AWidget));"," AWidget.Show;",end;
  1897. Overload
  1898. Count=1
  1899. Param=AWidget
  1900. PascalType=TFPgtkWidget
  1901. Prop=Remove
  1902. PropType=Procedure
  1903. GtkName=remove
  1904. Count=1
  1905. Param=AWidget
  1906. Convert
  1907. PascalType=TFPgtkWidget
  1908. Prop=Create
  1909. PropType=Constructor
  1910. Code=begin," inherited create;"," FChildren := TFPgtkWidgetGroup.Create;",end;
  1911. Count=0
  1912. Prop=Destroy
  1913. PropType=Destructor
  1914. Code=begin," if assigned(FChildren) then"," FChildren.Free;"," inherited destroy;",end;
  1915. Override
  1916. Count=0
  1917. Prop=Children
  1918. PropType=Property
  1919. PascalType=TFPgtkWidgetGroup
  1920. Code=begin," FChildren.GtkList := gtk_container_children (TheGtkObject);"," result := FChildren;",end;
  1921. ReadFuncType=Proc
  1922. WriteProcType=NotImplemented
  1923. Count=0
  1924. Prop=FChildren
  1925. PropType=Field
  1926. PascalType=TFPgtkWidgetGroup
  1927. Count=0
  1928. Prop=Focus
  1929. PropType=Procedure
  1930. GtkName=focus
  1931. Count=1
  1932. Param=Direction
  1933. PascalType=TGtkDirectionType
  1934. Prop=FocusChild
  1935. PropType=Procedure
  1936. GtkName=set_focus_child
  1937. Count=1
  1938. Param=Child
  1939. Convert
  1940. PascalType=TFPgtkWidget
  1941. Prop=RegisterToplevel
  1942. PropType=Procedure
  1943. GtkName=register_toplevel
  1944. Count=0
  1945. Prop=UnregisterToplevel
  1946. PropType=Procedure
  1947. GtkName=unregister_toplevel
  1948. Count=0
  1949. Prop=ResizeChildren
  1950. PropType=Procedure
  1951. GtkName=resize_children
  1952. Count=0
  1953. Prop=DirectionFunctionSignal
  1954. PropType=SignalType
  1955. PascalType=TGtkDirectionType
  1956. Count=3
  1957. Param=Sender
  1958. PascalType=TFPgtkObject
  1959. Param=Direction
  1960. PascalType=TGtkDirectionType
  1961. Param=data
  1962. PascalType=pointer
  1963. Prop=Add
  1964. PropType=Signal
  1965. PascalType=WidgetSignal
  1966. GtkName=add
  1967. Count=0
  1968. Prop=Remove
  1969. PropType=Signal
  1970. PascalType=WidgetSignal
  1971. GtkName=remove
  1972. Count=0
  1973. Prop=CheckResize
  1974. PropType=Signal
  1975. PascalType=Signal
  1976. GtkName=check-resize
  1977. Count=0
  1978. Prop=Focus
  1979. PropType=Signal
  1980. PascalType=DirectionFunctionSignal
  1981. GtkName=focus
  1982. Count=0
  1983. Prop=SetFocusChild
  1984. PropType=Signal
  1985. PascalType=WidgetSignal
  1986. GtkName=set-focus
  1987. Count=0
  1988. Object=Bin
  1989. Inherit=Container
  1990. GtkFuncName=bin
  1991. Count=1
  1992. Prop=Child
  1993. PropType=Property
  1994. Section=Protected
  1995. PascalType=TFPgtkWidget
  1996. GtkName=Child
  1997. ReadConvert
  1998. ReadFuncType=ObjField
  1999. WriteProcType=Proc
  2000. WriteCode=begin," Add (TheValue);",end;
  2001. Count=0
  2002. Object=Alignment
  2003. Inherit=Bin
  2004. GtkFuncName=alignment
  2005. CreateParams=0,0,1,1
  2006. Count=1
  2007. Prop=Configure
  2008. PropType=Procedure
  2009. GtkName=set
  2010. Count=4
  2011. Param=anXAlign
  2012. PascalType=gfloat
  2013. Param=anYAlign
  2014. PascalType=gfloat
  2015. Param=anXScale
  2016. PascalType=gfloat
  2017. Param=anYScale
  2018. PascalType=gfloat
  2019. Object=Frame
  2020. Inherit=Bin
  2021. GtkFuncName=frame
  2022. CreateParams=nil
  2023. CreateObject
  2024. Count=3
  2025. Prop=Text
  2026. PropType=Property
  2027. PascalType=string
  2028. GtkName=thelabel
  2029. ReadConvert
  2030. ReadFuncType=ObjField
  2031. WriteGtkName=label
  2032. WriteConvert
  2033. Count=0
  2034. Prop=Alignment
  2035. PropType=Property
  2036. PascalType=gfloat
  2037. GtkName=label_xalign
  2038. ReadFuncType=ObjField
  2039. WriteProcType=Proc
  2040. WriteCode=begin," gtk_frame_set_label_align (ThegtkObject, TheValue, 0.0);",end;
  2041. Count=0
  2042. Prop=ShadowType
  2043. PropType=Property
  2044. PascalType=TgtkShadowType
  2045. GtkName=shadow_type
  2046. ReadFuncType=ObjField
  2047. WriteGtkName=shadow_type
  2048. Count=0
  2049. Object=AspectFrame
  2050. Inherit=Frame
  2051. GtkFuncName=aspect_frame
  2052. CreateParams=nil,0,0,1,1
  2053. CreateObject
  2054. Count=1
  2055. Prop=Configure
  2056. PropType=Procedure
  2057. GtkName=set
  2058. Count=4
  2059. Param=anXAlign
  2060. PascalType=gfloat
  2061. Param=anYAlign
  2062. PascalType=gfloat
  2063. Param=Ratio
  2064. PascalType=gfloat
  2065. Param=ObeyChild
  2066. Convert
  2067. PascalType=longbool
  2068. Object=Button
  2069. Inherit=Bin
  2070. GtkFuncName=button
  2071. CreateObject
  2072. Count=23
  2073. Prop=LabelClass
  2074. PropType=Function
  2075. Section=Protected
  2076. PascalType=TFPgtkLabelClass
  2077. Code=begin," result := TFPgtkLabel;",end;
  2078. Virtual
  2079. Count=0
  2080. Prop=CreateLabel
  2081. PropType=Procedure
  2082. Section=Private
  2083. Code=begin,"if not assigned (FLabel) then"," begin"," FLabel := LabelClass.Create ('');"," with FLabel do"," begin"," AskNotification (Self);"," FAccelKey := ParseULine (aText);"," end;"," if assigned(AddContainer) then"," AddContainer.Add (FLabel)"," else"," Add (FLabel);"," LabelCreated; "," end;",end;
  2084. Count=1
  2085. Param=aText
  2086. PascalType=string
  2087. Prop=NotifyDestroy
  2088. PropType=Procedure
  2089. Section=Protected
  2090. Code=begin," inherited;"," if AnObject = FLabel then"," FLabel := nil;",end;
  2091. Override
  2092. Count=1
  2093. Param=AnObject
  2094. PascalType=TFPgtkObject
  2095. Prop=Clicked
  2096. PropType=Signal
  2097. PascalType=Signal
  2098. GtkName=Clicked
  2099. Count=0
  2100. Prop=Pressed
  2101. PropType=Signal
  2102. PascalType=Signal
  2103. GtkName=Pressed
  2104. Count=0
  2105. Prop=Released
  2106. PropType=Signal
  2107. PascalType=Signal
  2108. GtkName=Released
  2109. Count=0
  2110. Prop=Enter
  2111. PropType=Signal
  2112. PascalType=Signal
  2113. GtkName=Enter
  2114. Count=0
  2115. Prop=Leave
  2116. PropType=Signal
  2117. PascalType=Signal
  2118. GtkName=Leave
  2119. Count=0
  2120. Prop=Clicked
  2121. PropType=Procedure
  2122. GtkName=Clicked
  2123. Count=0
  2124. Prop=Pressed
  2125. PropType=Procedure
  2126. GtkName=Pressed
  2127. Count=0
  2128. Prop=Released
  2129. PropType=Procedure
  2130. GtkName=Released
  2131. Count=0
  2132. Prop=Enter
  2133. PropType=Procedure
  2134. GtkName=Enter
  2135. Count=0
  2136. Prop=Leave
  2137. PropType=Procedure
  2138. GtkName=Leave
  2139. Count=0
  2140. Prop=Create
  2141. PropType=Constructor
  2142. Code=begin," inherited create;"," FAddContainer := nil;",end;
  2143. Count=0
  2144. Prop=CreateWithLabel
  2145. PropType=Constructor
  2146. Code=begin," create;"," Text := aText;",end;
  2147. Overload
  2148. Count=1
  2149. Param=aText
  2150. PascalType=string
  2151. Prop=CreateWithLabel
  2152. PropType=Constructor
  2153. Code=begin," create;"," Text := aText;"," if (FAccelKey <> 0) and assigned(AccelGroup) then"," AcceleratorAdd (AccelGroup, sgClicked, FAccelKey, DefaultButtonModifiers, GTK_ACCEL_Visible);",end;
  2154. Overload
  2155. Count=2
  2156. Param=aText
  2157. PascalType=string
  2158. Param=AccelGroup
  2159. PascalType=PGtkAccelGroup
  2160. Prop=TheLabel
  2161. PropType=Property
  2162. PascalType=TFPgtkLabel
  2163. GtkName=FLabel
  2164. ReadFuncType=Field
  2165. WriteProcType=NotImplemented
  2166. Count=0
  2167. Prop=Text
  2168. PropType=Property
  2169. PascalType=string
  2170. Code=begin," if assigned (FLabel) then"," result := FLabel.Text"," else"," result := '';",end;
  2171. ReadFuncType=Proc
  2172. WriteProcType=Proc
  2173. WriteCode=begin," if assigned (FLabel) then"," FLabel.Text := TheValue"," else"," if TheValue <> '' then"," CreateLabel (TheValue);",end;
  2174. Count=0
  2175. Prop=ReliefStyle
  2176. PropType=Property
  2177. PascalType=TGtkReliefStyle
  2178. GtkName=relief
  2179. WriteGtkName=relief
  2180. Count=0
  2181. Prop=AddContainer
  2182. PropType=Property
  2183. PascalType=TFPgtkContainer
  2184. GtkName=FAddContainer
  2185. ReadFuncType=Field
  2186. WriteProcType=Field
  2187. WriteGtkName=FAddContainer
  2188. Count=0
  2189. Prop=LabelCreated
  2190. PropType=Procedure
  2191. Section=Protected
  2192. Code=begin," FLabel.setalignment (0.5,0.5);",end;
  2193. Virtual
  2194. Count=0
  2195. Prop=AccelKey
  2196. PropType=Property
  2197. PascalType=guint
  2198. GtkName=FAccelKey
  2199. ReadFuncType=Field
  2200. WriteProcType=NotImplemented
  2201. Count=0
  2202. Prop=New
  2203. PropType=Declarations
  2204. Code=const," DefaultButtonModifiers : TGdkModifierType = GDK_MOD1_MASK;"
  2205. Count=0
  2206. Object=ToggleButton
  2207. Inherit=Button
  2208. GtkFuncName=toggle_button
  2209. CreateObject
  2210. Count=4
  2211. Prop=Toggled
  2212. PropType=Signal
  2213. PascalType=Signal
  2214. GtkName=toggled
  2215. Count=0
  2216. Prop=Toggled
  2217. PropType=Procedure
  2218. GtkName=toggled
  2219. Count=0
  2220. Prop=Active
  2221. PropType=Property
  2222. PascalType=boolean
  2223. GtkName=active
  2224. WriteGtkName=active
  2225. Count=0
  2226. Prop=DrawIndicator
  2227. PropType=Property
  2228. PascalType=boolean
  2229. GtkName=draw_indicator
  2230. ReadConvert
  2231. ReadFuncType=ObjFunc
  2232. WriteProcType=ObjFunc
  2233. WriteGtkName=draw_indicator
  2234. WriteConvert
  2235. Count=0
  2236. Object=CheckButton
  2237. Inherit=ToggleButton
  2238. GtkFuncName=check_button
  2239. CreateObject
  2240. Count=0
  2241. Object=RadioButton
  2242. Inherit=CheckButton
  2243. GtkFuncName=radio_button
  2244. Count=4
  2245. Prop=FGroup
  2246. PropType=Field
  2247. PascalType=TFPgtkRadioButtonGroup
  2248. Count=0
  2249. Prop=Create
  2250. PropType=Constructor
  2251. Code=begin," FGroup := AGroup;"," inherited create;",end;
  2252. Count=1
  2253. Param=AGroup
  2254. PascalType=TFPgtkRadioButtonGroup
  2255. Prop=CreateWithLabel
  2256. PropType=Constructor
  2257. Code=begin," FGroup := AGroup;"," inherited CreateWithLabel (aText);",end;
  2258. Count=2
  2259. Param=AGroup
  2260. PascalType=TFPgtkRadioButtonGroup
  2261. Param=aText
  2262. PascalType=string
  2263. Prop=CreateGtkObject
  2264. PropType=Procedure
  2265. Section=Protected
  2266. Code=begin," if not assigned (FGroup) then"," FGroup := TFPgtkRadioButtonGroup.Create;"," TheGtkWidget := gtk_radio_button_new (FGroup.GtkSList);"," FGroup.GtkSList := gtk_radio_button_group (TheGtkObject);",end;
  2267. Override
  2268. Count=0
  2269. Object=RadioButtonGroup
  2270. Inherit=WidgetGroup
  2271. Count=5
  2272. Prop=Items
  2273. PropType=Property
  2274. PascalType=TFPgtkRadioButton
  2275. GtkName=GetItem
  2276. Code=begin," result := TFPgtkRadioButton(Inherited items[index]);",end;
  2277. ReadFuncType=Proc
  2278. WriteProcType=Proc
  2279. WriteGtkName=SetItem
  2280. WriteCode=begin," inherited items[index] := TheValue;",end;
  2281. Count=1
  2282. Param=index
  2283. PascalType=integer
  2284. Prop=ActiveButtonText
  2285. PropType=Function
  2286. PascalType=string
  2287. Code=begin," result := ActiveButton.Text;",end;
  2288. Count=0
  2289. Prop=ActiveButtonIndex
  2290. PropType=Function
  2291. PascalType=integer
  2292. Code=begin," Result := pred(count);"," while (Result >= 0) and (not items[Result].Active) do"," dec (Result);",end;
  2293. Count=0
  2294. Prop=ActiveButton
  2295. PropType=Function
  2296. PascalType=TFPgtkRadioButton
  2297. Code="var r : integer;",begin," r := ActiveButtonIndex;"," if r >= 0 then"," result := items[r]"," else"," result := nil;",end;
  2298. Count=0
  2299. Prop=RadioButtonGroupCreateFromStrings
  2300. PropType=HelperFunc
  2301. PascalType=TFPgtkRadioButtonGroup
  2302. Code="var r : integer;"," b : TFPgtkRadioButton;",begin," result := TFPgtkRadioButtonGroup.Create;"," result.BeginUpdate;"," for r := TheItems.count-1 downto 0 do"," begin"," b := TFPgtkRadioButton.CreateWithLabel (result, TheItems[r]);"," if assigned(toggledfunction) then"," b.connecttoggled (ToggledFunction, IntToPointer(r));"," end;"," b.active := true;"," result.EndUpdate;",end;
  2303. Count=2
  2304. Param=TheItems
  2305. PascalType=TStrings
  2306. Param=ToggledFunction
  2307. PascalType=TFPgtkSignalFunction
  2308. Object=OptionMenu
  2309. Inherit=Button
  2310. GtkFuncName=option_menu
  2311. CreateObject
  2312. Count=4
  2313. Prop=Menu
  2314. PropType=Property
  2315. PascalType=TFPgtkMenu
  2316. GtkName=menu
  2317. ReadConvert
  2318. WriteProcType=Proc
  2319. WriteGtkName=setmenu
  2320. WriteCode=begin," gtk_option_menu_set_menu(TheGtkObject, ConvertToGtkWidget(TheValue));",end;
  2321. Count=0
  2322. Prop=RemoveMenu
  2323. PropType=Procedure
  2324. GtkName=remove_menu
  2325. Count=0
  2326. Prop=SetHistory
  2327. PropType=Procedure
  2328. GtkName=set_history
  2329. Count=1
  2330. Param=index
  2331. PascalType=integer
  2332. Prop=Clear
  2333. PropType=Procedure
  2334. Code="var w : TFPgtkWidget;",begin," w := Menu;"," if assigned(w) then"," begin"," w := TFPgtkMenu(w).Active;"," if assigned (w) then"," TFPgtkItem(w).Deselect;"," end;",end;
  2335. Count=0
  2336. Object=Item
  2337. Inherit=Bin
  2338. GtkFuncName=item
  2339. Count=17
  2340. Prop=LabelClass
  2341. PropType=Function
  2342. Section=Protected
  2343. PascalType=TFPgtkLabelClass
  2344. Code=begin," result := TFPgtkLabel;",end;
  2345. Virtual
  2346. Count=0
  2347. Prop=CreateLabel
  2348. PropType=Procedure
  2349. Section=Private
  2350. Code=begin," if not assigned (FLabel) then"," begin"," FLabel := LabelClass.Create ('');"," with FLabel do"," begin"," AskNotification (Self);"," FAccelKey := ParseULine (aText);"," end;"," if assigned(AddContainer) then"," AddContainer.Add (FLabel)"," else"," Add (FLabel);"," LabelCreated;"," end;",end;
  2351. Count=1
  2352. Param=aText
  2353. PascalType=string
  2354. Prop=NotifyDestroy
  2355. PropType=Procedure
  2356. Section=Protected
  2357. Code=begin," inherited;"," if AnObject = FLabel then"," FLabel := nil;",end;
  2358. Override
  2359. Count=1
  2360. Param=AnObject
  2361. PascalType=TFPgtkObject
  2362. Prop=Select
  2363. PropType=Signal
  2364. PascalType=Signal
  2365. GtkName=Select
  2366. Count=0
  2367. Prop=Deselect
  2368. PropType=Signal
  2369. PascalType=Signal
  2370. GtkName=Deselect
  2371. Count=0
  2372. Prop=Toggle
  2373. PropType=Signal
  2374. PascalType=Signal
  2375. GtkName=Toggle
  2376. Count=0
  2377. Prop=Select
  2378. PropType=Procedure
  2379. GtkName=Select
  2380. Count=0
  2381. Prop=Deselect
  2382. PropType=Procedure
  2383. GtkName=Deselect
  2384. Count=0
  2385. Prop=Toggle
  2386. PropType=Procedure
  2387. GtkName=Toggle
  2388. Count=0
  2389. Prop=Create
  2390. PropType=Constructor
  2391. Code=begin," inherited;"," FAddContainer := nil;",end;
  2392. Count=0
  2393. Prop=CreateWithLabel
  2394. PropType=Constructor
  2395. Code=begin," inherited create;"," Text := aText;",end;
  2396. Count=1
  2397. Param=aText
  2398. PascalType=string
  2399. Prop=TheLabel
  2400. PropType=Property
  2401. PascalType=TFPgtkLabel
  2402. GtkName=FLabel
  2403. ReadFuncType=Field
  2404. WriteProcType=NotImplemented
  2405. Count=0
  2406. Prop=Text
  2407. PropType=Property
  2408. PascalType=string
  2409. Code=begin," if assigned (FLabel) then"," result := FLabel.Text"," else"," result := '';",end;
  2410. ReadFuncType=Proc
  2411. WriteProcType=Proc
  2412. WriteCode=begin," if assigned (FLabel) then"," FLabel.Text := TheValue"," else"," if TheValue <> '' then"," CreateLabel (TheValue);",end;
  2413. Count=0
  2414. Prop=ItemClass
  2415. PropType=TypeDeclaration
  2416. Code=" TFPgtkItemClass = class of TFPgtkItem;"
  2417. Count=0
  2418. Prop=AddContainer
  2419. PropType=Property
  2420. PascalType=TFPgtkContainer
  2421. GtkName=FAddContainer
  2422. ReadFuncType=Field
  2423. WriteProcType=Field
  2424. WriteGtkName=FAddContainer
  2425. Count=0
  2426. Prop=LabelCreated
  2427. PropType=Procedure
  2428. Section=Protected
  2429. Code=begin,end;
  2430. Virtual
  2431. Count=0
  2432. Prop=AccelKey
  2433. PropType=Property
  2434. PascalType=guint
  2435. GtkName=FAccelKey
  2436. ReadFuncType=Field
  2437. WriteProcType=NotImplemented
  2438. Count=0
  2439. Object=ItemGroup
  2440. Inherit=WidgetGroup
  2441. Count=8
  2442. Prop=Items
  2443. PropType=Property
  2444. PascalType=TFPgtkItem
  2445. GtkName=GetItem
  2446. Code=begin," result := TFPgtkItem (inherited items[index]);",end;
  2447. ReadFuncType=Proc
  2448. WriteProcType=Proc
  2449. WriteGtkName=SetItem
  2450. WriteCode=begin," inherited items[index] := TheValue;",end;
  2451. Count=1
  2452. Param=index
  2453. PascalType=integer
  2454. Prop=FillFromList
  2455. PropType=Procedure
  2456. Code="var r : integer;"," i : TFPgtkItem;",begin," BeginUpdate;"," for r := 0 to aList.count-1 do"," begin"," i := FItemClass.CreateWithLabel (aList[r]);"," add (i);"," i.Show;"," end;"," EndUpdate;",end;
  2457. Count=1
  2458. Param=aList
  2459. PascalType=TStrings
  2460. Prop=FillFromCommaText
  2461. PropType=Procedure
  2462. Code="var l : TStrings;",begin," l := TStringList.Create;"," try"," l.commatext := aList;"," FillFromList (l);"," finally"," l.Free;"," end;",end;
  2463. Count=1
  2464. Param=aList
  2465. PascalType=string
  2466. Prop=FillFromArray
  2467. PropType=Procedure
  2468. Code="var r : integer;"," l : TStrings;",begin," l := TStringlist.Create;"," try"," for r := low (aList) to high(aList) do"," l.Add (aList[r]);"," FillFromList (l);"," finally"," l.Free;"," end;",end;
  2469. Count=1
  2470. Param=aList
  2471. PascalType=array of string
  2472. Prop=ItemClass
  2473. PropType=Property
  2474. PascalType=TFPgtkItemClass
  2475. ReadFuncType=Field
  2476. WriteProcType=Field
  2477. Count=0
  2478. Prop=SignalConnect
  2479. PropType=Procedure
  2480. Code="var r : integer;",begin," if assigned (Proc) then"," for r := 0 to count-1 do"," Items[r].SignalConnect (Signal, proc, data);",end;
  2481. Count=3
  2482. Param=Signal
  2483. PascalType=string
  2484. Param=proc
  2485. PascalType=TFPgtkSignalFunction
  2486. Param=data
  2487. PascalType=pointer
  2488. Prop=create
  2489. PropType=Constructor
  2490. Code=begin," inherited create;"," FItemClass := AnItemClass;",end;
  2491. Count=1
  2492. Param=AnItemClass
  2493. PascalType=TFPgtkItemClass
  2494. Prop=AddTextItem
  2495. PropType=Function
  2496. PascalType=TFPgtkItem
  2497. Code=begin," result := FItemClass.CreateWithLabel (aText);"," Add (result);"," result.Show;",end;
  2498. Count=1
  2499. Param=aText
  2500. PascalType=string
  2501. Object=MenuItem
  2502. Inherit=Item
  2503. GtkFuncName=menu_item
  2504. CreateObject
  2505. Count=14
  2506. Prop=Activate
  2507. PropType=Signal
  2508. PascalType=signal
  2509. GtkName=activate
  2510. Count=0
  2511. Prop=ActivateItem
  2512. PropType=Signal
  2513. PascalType=signal
  2514. GtkName=activate-item
  2515. Count=0
  2516. Prop=Activate
  2517. PropType=Procedure
  2518. GtkName=activate
  2519. Count=0
  2520. Prop=SetSubMenu
  2521. PropType=Procedure
  2522. GtkName=Set_submenu
  2523. Count=1
  2524. Param=aSubMenu
  2525. Convert
  2526. PascalType=TFPgtkWidget
  2527. Prop=RemoveSubMenu
  2528. PropType=Procedure
  2529. GtkName=remove_submenu
  2530. Count=0
  2531. Prop=Configure
  2532. PropType=Procedure
  2533. Code=begin," gtk_menu_item_configure (TheGtkObject, ord(ShowToggleIndicator), ord(ShowSubmenuIndicator));",end;
  2534. Count=2
  2535. Param=ShowToggleIndicator
  2536. Convert
  2537. PascalType=boolean
  2538. Param=ShowSubmenuIndicator
  2539. Convert
  2540. PascalType=boolean
  2541. Prop=RightJustify
  2542. PropType=Procedure
  2543. GtkName=right_justify
  2544. Count=0
  2545. Prop=Placement
  2546. PropType=Property
  2547. PascalType=TGtkSubmenuPlacement
  2548. Code=begin," result := TGtkSubmenuPlacement(submenu_placement(TheGtkObject^));",end;
  2549. ReadConvert
  2550. ReadFuncType=Proc
  2551. WriteGtkName=placement
  2552. Count=0
  2553. Prop=ToggleIndicator
  2554. PropType=Property
  2555. PascalType=boolean
  2556. GtkName=show_toggle_indicator
  2557. ReadConvert
  2558. ReadFuncType=ObjFunc
  2559. WriteProcType=Proc
  2560. WriteCode=begin," Configure (TheValue, SubMenuIndicator);",end;
  2561. Count=0
  2562. Prop=SubMenuIndicator
  2563. PropType=Property
  2564. PascalType=boolean
  2565. GtkName=show_submenu_indicator
  2566. ReadConvert
  2567. ReadFuncType=ObjFunc
  2568. WriteProcType=Proc
  2569. WriteCode=begin," configure (ToggleIndicator, TheValue);",end;
  2570. Count=0
  2571. Prop=JustifyRight
  2572. PropType=Property
  2573. PascalType=boolean
  2574. GtkName=right_justify
  2575. ReadConvert
  2576. ReadFuncType=ObjFunc
  2577. WriteProcType=ObjFunc
  2578. WriteGtkName=right_justify
  2579. WriteConvert
  2580. Count=0
  2581. Prop=SubMenu
  2582. PropType=Property
  2583. PascalType=TFPgtkMenuShell
  2584. GtkName=submenu
  2585. ReadConvert
  2586. ReadFuncType=ObjField
  2587. WriteProcType=Proc
  2588. WriteGtkName=SetPropSubMenu
  2589. WriteCode=begin," SetSubMenu (TheValue);",end;
  2590. Count=0
  2591. Prop=LabelClass
  2592. PropType=Function
  2593. Section=Protected
  2594. PascalType=TFPgtkLabelClass
  2595. Code=begin," result := TFPgtkAccelLabel;",end;
  2596. Override
  2597. Count=0
  2598. Prop=LabelCreated
  2599. PropType=Procedure
  2600. Section=Protected
  2601. Code=begin," with (TheLabel as TFPgtkAccelLabel) do"," AccelWidget := Self;",end;
  2602. Override
  2603. Count=0
  2604. Object=CheckMenuItem
  2605. Inherit=MenuItem
  2606. GtkFuncName=check_menu_item
  2607. CreateObject
  2608. Count=4
  2609. Prop=Toggled
  2610. PropType=Signal
  2611. PascalType=signal
  2612. GtkName=toggled
  2613. Count=0
  2614. Prop=Toggled
  2615. PropType=Procedure
  2616. GtkName=toggled
  2617. Count=0
  2618. Prop=Active
  2619. PropType=Property
  2620. PascalType=boolean
  2621. GtkName=active
  2622. ReadConvert
  2623. ReadFuncType=ObjFunc
  2624. WriteGtkName=active
  2625. Count=0
  2626. Prop=ShowToggle
  2627. PropType=Property
  2628. PascalType=boolean
  2629. GtkName=always_show_toggle
  2630. ReadConvert
  2631. ReadFuncType=ObjFunc
  2632. WriteGtkName=show_toggle
  2633. Count=0
  2634. Object=RadioMenuItem
  2635. Inherit=CheckMenuItem
  2636. GtkFuncName=radio_menu_item
  2637. Count=4
  2638. Prop=CreateGtkObject
  2639. PropType=Procedure
  2640. Section=Protected
  2641. Code=begin," if not assigned(FGroup) then"," FGroup := TFPgtkRadioMenuGroup.Create;"," TheGtkWidget := gtk_radio_menu_item_new (FGroup.GtkSList);"," FGroup.GtkSList := gtk_radio_menu_item_group (TheGtkObject);",end;
  2642. Override
  2643. Count=0
  2644. Prop=Create
  2645. PropType=Constructor
  2646. Code=begin," FGroup := AGroup;"," inherited create;",end;
  2647. Count=1
  2648. Param=AGroup
  2649. PascalType=TFPgtkRadioMenuGroup
  2650. Prop=CreateWithLabel
  2651. PropType=Constructor
  2652. Code=begin," FGroup := Agroup;"," inherited CreateWithLabel (aText);",end;
  2653. Count=2
  2654. Param=Agroup
  2655. PascalType=TFPgtkRadioMenuGroup
  2656. Param=aText
  2657. PascalType=string
  2658. Prop=Group
  2659. PropType=Property
  2660. PascalType=TFPgtkRadioMenuGroup
  2661. GtkName=FGroup
  2662. ReadFuncType=Field
  2663. WriteProcType=NotImplemented
  2664. WriteConvert
  2665. Count=0
  2666. Object=RadioMenuGroup
  2667. Inherit=ItemGroup
  2668. Count=5
  2669. Prop=Items
  2670. PropType=Property
  2671. PascalType=TFPgtkRadioMenuItem
  2672. GtkName=GetItem
  2673. Code=begin," result := TFPgtkRadioMenuItem(Inherited items[index]);",end;
  2674. ReadFuncType=Proc
  2675. WriteProcType=Proc
  2676. WriteGtkName=SetItem
  2677. WriteCode=begin," inherited items[index] := TheValue;",end;
  2678. Count=1
  2679. Param=index
  2680. PascalType=integer
  2681. Prop=ActiveMenuText
  2682. PropType=Function
  2683. PascalType=string
  2684. Code=begin," result := ActiveMenu.Text;",end;
  2685. Count=0
  2686. Prop=ActiveMenuIndex
  2687. PropType=Function
  2688. PascalType=integer
  2689. Code=begin," Result := pred(count);"," while (Result >= 0) and (not items[Result].Active) do"," dec (Result);",end;
  2690. Count=0
  2691. Prop=ActiveMenu
  2692. PropType=Function
  2693. PascalType=TFPgtkRadioMenuItem
  2694. Code="var r : integer;",begin," r := ActiveMenuIndex;"," if r >= 0 then"," result := items[r]"," else"," result := nil;",end;
  2695. Count=0
  2696. Prop=create
  2697. PropType=Constructor
  2698. Code=begin," inherited create (TFPgtkRadioMenuItem);",end;
  2699. Count=0
  2700. Object=TearOffMenuItem
  2701. Inherit=MenuItem
  2702. GtkFuncName=tearoff_menu_item
  2703. CreateObject
  2704. Count=0
  2705. Object=ListItem
  2706. Inherit=Item
  2707. GtkFuncName=list_item
  2708. CreateObject
  2709. Count=14
  2710. Prop=ScrollSignal
  2711. PropType=SignalType
  2712. Count=4
  2713. Param=Sender
  2714. Convert
  2715. PascalType=TFPgtkObject
  2716. Param=ScrollType
  2717. PascalType=TgtkScrollType
  2718. Param=position
  2719. PascalType=gfloat
  2720. Param=data
  2721. PascalType=pointer
  2722. Prop=ScrollBooleanSignal
  2723. PropType=SignalType
  2724. Count=5
  2725. Param=Sender
  2726. Convert
  2727. PascalType=TFPgtkObject
  2728. Param=ScrolType
  2729. PascalType=TgtkScrollType
  2730. Param=Position
  2731. PascalType=gfloat
  2732. Param=AutoStartSelection
  2733. PascalType=boolean
  2734. Param=data
  2735. PascalType=pointer
  2736. Prop=ToggleFocusRow
  2737. PropType=Signal
  2738. PascalType=Signal
  2739. GtkName=toggle-focus-row
  2740. Count=0
  2741. Prop=SelectAll
  2742. PropType=Signal
  2743. PascalType=Signal
  2744. GtkName=select-all
  2745. Count=0
  2746. Prop=UnselectAll
  2747. PropType=Signal
  2748. PascalType=Signal
  2749. GtkName=unselect-all
  2750. Count=0
  2751. Prop=UndoSelection
  2752. PropType=Signal
  2753. PascalType=Signal
  2754. GtkName=undo-selection
  2755. Count=0
  2756. Prop=StartSelection
  2757. PropType=Signal
  2758. PascalType=Signal
  2759. GtkName=start-selection
  2760. Count=0
  2761. Prop=EndSelection
  2762. PropType=Signal
  2763. PascalType=Signal
  2764. GtkName=end-selection
  2765. Count=0
  2766. Prop=ToggleAddMode
  2767. PropType=Signal
  2768. PascalType=Signal
  2769. GtkName=toggle-add-mode
  2770. Count=0
  2771. Prop=ExtendSelection
  2772. PropType=Signal
  2773. PascalType=ScrollBooleanSignal
  2774. GtkName=extend-selection
  2775. Count=0
  2776. Prop=ScrollVertical
  2777. PropType=Signal
  2778. PascalType=ScrollSignal
  2779. GtkName=scroll-vertical
  2780. Count=0
  2781. Prop=ScrollHorizontal
  2782. PropType=Signal
  2783. PascalType=ScrollSignal
  2784. GtkName=scroll-horizontal
  2785. Count=0
  2786. Prop=Select
  2787. PropType=Procedure
  2788. GtkName=select
  2789. Count=0
  2790. Prop=Deselect
  2791. PropType=Procedure
  2792. GtkName=deselect
  2793. Count=0
  2794. Object=ListItemGroup
  2795. Inherit=ItemGroup
  2796. Count=1
  2797. Prop=create
  2798. PropType=Constructor
  2799. Code=begin," inherited create (TFPgtkListItem);"," ManageLists := false;",end;
  2800. Count=0
  2801. Object=TreeItem
  2802. Inherit=Item
  2803. GtkFuncName=tree_item
  2804. CreateObject
  2805. Count=10
  2806. Prop=SubTree
  2807. PropType=Property
  2808. PascalType=TFPgtkWidget
  2809. GtkName=subtree
  2810. ReadConvert
  2811. ReadFuncType=GtkMacro
  2812. WriteProcType=Proc
  2813. WriteCode=begin," if assigned(TheValue) then"," gtk_tree_item_set_subtree (TheGtkObject, ConvertToGtkWidget(TheValue))"," else"," gtk_tree_item_remove_subtree (TheGtkObject);",end;
  2814. WriteConvert
  2815. Count=0
  2816. Prop=PixPlus
  2817. PropType=Property
  2818. PascalType=TFPgtkWidget
  2819. GtkName=plus_pix_widget
  2820. ReadConvert
  2821. ReadFuncType=ObjField
  2822. WriteProcType=NotImplemented
  2823. Count=0
  2824. Prop=PixMinus
  2825. PropType=Property
  2826. PascalType=TFPgtkWidget
  2827. GtkName=minus_pix_widget
  2828. ReadConvert
  2829. ReadFuncType=ObjField
  2830. WriteProcType=NotImplemented
  2831. Count=0
  2832. Prop=Expanded
  2833. PropType=Property
  2834. PascalType=boolean
  2835. GtkName=expanded
  2836. ReadConvert
  2837. ReadFuncType=ObjFunc
  2838. WriteProcType=Proc
  2839. WriteCode=begin," if TheValue then"," Expand"," else"," collapse;",end;
  2840. Count=0
  2841. Prop=Select
  2842. PropType=Procedure
  2843. GtkName=select
  2844. Count=0
  2845. Prop=Deselect
  2846. PropType=Procedure
  2847. GtkName=deselect
  2848. Count=0
  2849. Prop=Expand
  2850. PropType=Procedure
  2851. GtkName=expand
  2852. Count=0
  2853. Prop=Collapse
  2854. PropType=Procedure
  2855. GtkName=collapse
  2856. Count=0
  2857. Prop=Collapse
  2858. PropType=Signal
  2859. PascalType=Signal
  2860. GtkName=collapse
  2861. Count=0
  2862. Prop=Expand
  2863. PropType=Signal
  2864. PascalType=Signal
  2865. GtkName=expand
  2866. Count=0
  2867. Object=Window
  2868. Inherit=Bin
  2869. GtkFuncName=window
  2870. CreateParams=TheWindowType
  2871. CreateObject
  2872. Count=46
  2873. Prop=TheWindowType
  2874. PropType=Field
  2875. Section=Private
  2876. PascalType=TGtkWindowType
  2877. Count=0
  2878. Prop=Create
  2879. PropType=Constructor
  2880. Code=begin," TheWindowType := AType;"," inherited Create;"," FAccelGroups := TList.Create;"," FMainLevel := NoMainLevel;",end;
  2881. Count=1
  2882. Param=AType
  2883. PascalType=TGtkWindowType
  2884. Prop=Destroy
  2885. PropType=Destructor
  2886. Code=begin," FAccelGroups.Free;"," inherited;",end;
  2887. Override
  2888. Count=0
  2889. Prop=WindowType
  2890. PropType=Property
  2891. PascalType=TGtkWindowType
  2892. GtkName=thetype
  2893. ReadFuncType=ObjField
  2894. WriteProcType=ObjField
  2895. WriteGtkName=thetype
  2896. Count=0
  2897. Prop=Title
  2898. PropType=Property
  2899. PascalType=string
  2900. GtkName=title
  2901. ReadConvert
  2902. ReadFuncType=ObjField
  2903. WriteGtkName=title
  2904. WriteConvert
  2905. Count=0
  2906. Prop=Modal
  2907. PropType=Property
  2908. PascalType=boolean
  2909. GtkName=modal
  2910. ReadConvert
  2911. ReadFuncType=ObjFunc
  2912. WriteGtkName=modal
  2913. Count=0
  2914. Prop=DialogResult constants
  2915. PropType=Declarations
  2916. Code=const," drNone = 0;"," drOk = 1;"," drCancel = 2;"," drYes = 3;"," drNo = 4;"," drRetry = 5;"," NoMainLevel = high (guint);"
  2917. Count=0
  2918. Prop=DialogCallback
  2919. PropType=TypeDeclaration
  2920. Section=Published
  2921. Code=" DialogResultCallback = procedure (Sender:TFPgtkWindow; DialogResult:pointer; "," Action:integer; initiator:TFPgtkObject) of object;"," DialogInitCallback = procedure (Sender : TFPgtkWindow; InitData : pointer) of object;"," TFPgtkWindowClass = class of TFPgtkWindow;"
  2922. Count=0
  2923. Prop=DialogResult
  2924. PropType=Property
  2925. Section=Protected
  2926. PascalType=pointer
  2927. GtkName=FDialogResult
  2928. ReadFuncType=Field
  2929. WriteProcType=Field
  2930. WriteGtkName=FDialogResult
  2931. Count=0
  2932. Prop=DoDialogResult
  2933. PropType=Procedure
  2934. Section=Protected
  2935. Code=begin," if assigned (OnDialogResult) then"," OnDialogResult (self, FDialogResult, Action, Sender);",end;
  2936. Virtual
  2937. Count=2
  2938. Param=Action
  2939. PascalType=integer
  2940. Param=Sender
  2941. PascalType=TFPgtkObject
  2942. Prop=OnDialogResult
  2943. PropType=Property
  2944. PascalType=DialogResultCallback
  2945. ReadFuncType=Field
  2946. WriteProcType=Field
  2947. Count=0
  2948. Prop=DoDialogInit
  2949. PropType=Procedure
  2950. Section=Protected
  2951. Code=begin," if assigned (OnDialogInit) then"," OnDialogInit (self, InitData);"," FDialogResult := InitData;",end;
  2952. Virtual
  2953. Count=1
  2954. Param=InitData
  2955. PascalType=pointer
  2956. Prop=OnDialogInit
  2957. PropType=Property
  2958. PascalType=DialogInitCallback
  2959. ReadFuncType=Field
  2960. WriteProcType=Field
  2961. Count=0
  2962. Prop=Close
  2963. PropType=Procedure
  2964. Code=begin," if (FDestroying = dsAlive) then"," gtk_widget_destroy (TheGtkWidget);",end;
  2965. Count=0
  2966. Prop=CloseWindow
  2967. PropType=Procedure
  2968. Code=begin," Close;",end;
  2969. Count=2
  2970. Param=Sender
  2971. PascalType=TFPgtkObject
  2972. Param=data
  2973. PascalType=pointer
  2974. Prop=CloseWithResult
  2975. PropType=Procedure
  2976. Code=begin," ModalAction := pointertoint(data);",end;
  2977. Count=2
  2978. Param=Sender
  2979. PascalType=TFPgtkObject
  2980. Param=data
  2981. PascalType=pointer
  2982. Prop=ModalAction
  2983. PropType=Property
  2984. PascalType=integer
  2985. GtkName=FModalAction
  2986. ReadFuncType=Field
  2987. WriteProcType=Proc
  2988. WriteCode=begin," FModalAction := TheValue;"," if TheValue <> 0 then"," begin"," DoDialogResult (FModalAction, self);"," close;"," end;",end;
  2989. Count=0
  2990. Prop=MainLevel
  2991. PropType=Property
  2992. PascalType=guint
  2993. GtkName=FMainLevel
  2994. ReadFuncType=Field
  2995. WriteProcType=NotImplemented
  2996. Count=0
  2997. Prop=ExecuteEnds
  2998. PropType=Procedure
  2999. Section=Private
  3000. Code=begin," if gtk_main_level = FMainLevel then"," gtk_main_quit;",end;
  3001. Count=2
  3002. Param=Sender
  3003. PascalType=TFPgtkObject
  3004. Param=data
  3005. PascalType=pointer
  3006. Prop=Execute
  3007. PropType=Function
  3008. PascalType=integer
  3009. Code=begin," FModalAction := drNone;"," if assigned (anOnDialogInit) then"," OnDialogInit := anOnDialogInit;"," DoDialogInit (anInitData);"," if assigned (anOnDialogResult) then"," OnDialogResult := anOnDialogResult;"," ConnectDestroy (@ExecuteEnds, nil);"," Modal := True;"," Show;"," FMainLevel := gtk_main_level + 1;"," try"," gtk_main;"," result := FModalAction;"," finally"," FMainLevel := NoMainLevel;"," end;",end;
  3010. Count=3
  3011. Param=anOnDialogInit
  3012. PascalType=DialogInitCallBack
  3013. Param=anInitData
  3014. PascalType=pointer
  3015. Param=anOnDialogResult
  3016. PascalType=DialogResultCallBack
  3017. Prop=SetFocus
  3018. PropType=Signal
  3019. PascalType=WidgetSignal
  3020. GtkName=set-focus
  3021. Count=0
  3022. Prop=SetTransientFor
  3023. PropType=Procedure
  3024. GtkName=set_transient_for
  3025. Count=1
  3026. Param=aParent
  3027. Convert
  3028. PascalType=TFPgtkWindow
  3029. Prop=DefaultWidget
  3030. PropType=Procedure
  3031. PascalType=TFPgtkWidget
  3032. GtkName=set_default
  3033. Count=1
  3034. Param=Widget
  3035. Convert
  3036. PascalType=TFPgtkWidget
  3037. Prop=FocusedWidget
  3038. PropType=Procedure
  3039. GtkName=set_focus
  3040. Count=1
  3041. Param=NewFocus
  3042. Convert
  3043. PascalType=TFPgtkWidget
  3044. Prop=UserSizable
  3045. PropType=Property
  3046. PascalType=boolean
  3047. Code=begin," result := (allow_grow(TheGtkObject^)=1) and (auto_shrink(TheGtkObject^)=0);",end;
  3048. ReadFuncType=Proc
  3049. WriteProcType=Proc
  3050. WriteCode=begin," if TheValue then"," gtk_window_set_policy (TheGtkObject, gint(FALSE), gint(TRUE), gint(FALSE))"," else"," gtk_window_set_policy (TheGtkObject, gint(FALSE), gint(FALSE), gint(TRUE));",end;
  3051. Count=0
  3052. Prop=ActivateFocus
  3053. PropType=Procedure
  3054. GtkName=activate_focus
  3055. Count=0
  3056. Prop=ActivateDefault
  3057. PropType=Procedure
  3058. GtkName=activate_default
  3059. Count=0
  3060. Prop=SetDefaultSize
  3061. PropType=Procedure
  3062. GtkName=set_default_size
  3063. Count=2
  3064. Param=Width
  3065. PascalType=gint
  3066. Param=Height
  3067. PascalType=gint
  3068. Prop=Position
  3069. PropType=Property
  3070. PascalType=TGtkWindowPosition
  3071. Code=begin," result := TGtkWindowPosition (gtk.position (TheGtkObject^));",end;
  3072. ReadFuncType=Proc
  3073. WriteGtkName=position
  3074. Count=0
  3075. Prop=AccelGroups
  3076. PropType=Finilization
  3077. PascalType=PGtk_accel_group
  3078. Count=1
  3079. Param=index
  3080. PascalType=integer
  3081. Prop=FAccelGroups
  3082. PropType=Field
  3083. Section=Private
  3084. PascalType=TList
  3085. Count=0
  3086. Prop=AccelGroups
  3087. PropType=Property
  3088. PascalType=PGtkAccelGroup
  3089. Code=begin," result := FAccelGroups[ID];"," if result = nil then"," result := FAccelGroups[-1];",end;
  3090. ReadFuncType=Proc
  3091. WriteProcType=NotImplemented
  3092. Count=1
  3093. Param=ID
  3094. PascalType=integer
  3095. Prop=AccelGroupNew
  3096. PropType=Function
  3097. PascalType=integer
  3098. Code="var ag : Pgtkaccelgroup;",begin," result := FAccelGroups.Count;"," ag := gtk_accel_group_new;"," FAccelGroups.Add (ag);"," gtk_window_add_accel_group (TheGtkObject, ag);",end;
  3099. Count=0
  3100. Prop=AccelGroupDelete
  3101. PropType=Procedure
  3102. Code=begin," gtk_accel_group_detach (FAccelGroups[ID], FGtkObject);"," FAccelGroups[ID] := nil;",end;
  3103. Count=1
  3104. Param=ID
  3105. PascalType=integer
  3106. Prop=AcceleratorAdd
  3107. PropType=Procedure
  3108. Code=begin," gtk_widget_add_accelerator (ConvertToGtkWidget(aWidget), pgchar(aSignal),"," AccelGroups[AG], Key, Mods, acFlags);",end;
  3109. Overload
  3110. Count=6
  3111. Param=AG
  3112. PascalType=integer
  3113. Param=aWidget
  3114. PascalType=TFPgtkWidget
  3115. Param=aSignal
  3116. PascalType=string
  3117. Param=Key
  3118. PascalType=guint
  3119. Param=Mods
  3120. PascalType=TGdkModifierType
  3121. Param=acFlags
  3122. PascalType=TGtkAccelFlags
  3123. Prop=AcceleratorAdd
  3124. PropType=HelperProc
  3125. Code=begin," gtk_widget_add_accelerator (ConvertToGtkWidget(aWidget), pgchar(aSignal),"," AG, Key, Mods, Flags);",end;
  3126. Count=6
  3127. Param=AG
  3128. PascalType=PGtkAccelGroup
  3129. Param=aWidget
  3130. PascalType=TFPgtkWidget
  3131. Param=aSignal
  3132. PascalType=string
  3133. Param=Key
  3134. PascalType=guint
  3135. Param=Mods
  3136. PascalType=TGdkModifierType
  3137. Param=Flags
  3138. PascalType=TGtkAccelFlags
  3139. Prop=AcceleratorRemove
  3140. PropType=Procedure
  3141. Code=begin," gtk_widget_remove_accelerator (ConvertToGtkWidget(aWidget), AccelGroups[AG], Key, Mods);",end;
  3142. Overload
  3143. Count=4
  3144. Param=AG
  3145. PascalType=integer
  3146. Param=aWidget
  3147. PascalType=TFPgtkWidget
  3148. Param=Key
  3149. PascalType=guint
  3150. Param=Mods
  3151. PascalType=TGdkModifierType
  3152. Prop=AcceleratorRemove
  3153. PropType=HelperProc
  3154. Code=begin," gtk_widget_remove_accelerator (ConvertToGtkWidget(aWidget), AG, Key, Mods);",end;
  3155. Overload
  3156. Count=4
  3157. Param=AG
  3158. PascalType=PGtkAccelGroup
  3159. Param=aWidget
  3160. PascalType=TFPgtkWidget
  3161. Param=Key
  3162. PascalType=guint
  3163. Param=Mods
  3164. PascalType=TGdkModifierType
  3165. Prop=AccelGroupLock
  3166. PropType=Procedure
  3167. Code=begin," gtk_accel_group_lock (AccelGroups[AG]);",end;
  3168. Count=1
  3169. Param=AG
  3170. PascalType=integer
  3171. Prop=AccelGroupLock
  3172. PropType=HelperProc
  3173. Code=begin," gtk_accel_group_lock (AG);",end;
  3174. Count=1
  3175. Param=AG
  3176. PascalType=PGtkAccelGroup
  3177. Prop=AccelGroupUnlock
  3178. PropType=Procedure
  3179. Code=begin," gtk_accel_group_unlock (AccelGroups[AG]);",end;
  3180. Count=1
  3181. Param=AG
  3182. PascalType=integer
  3183. Prop=AccelGroupUnlock
  3184. PropType=HelperProc
  3185. Code=begin," gtk_accel_group_unlock (AG);",end;
  3186. Count=1
  3187. Param=AG
  3188. PascalType=PGtkAccelGroup
  3189. Prop=AccelKeyName
  3190. PropType=HelperFunc
  3191. PascalType=string
  3192. Code=begin," result := string (gtk_accelerator_name(Key, Mods));",end;
  3193. Count=2
  3194. Param=Key
  3195. PascalType=guint
  3196. Param=Mods
  3197. PascalType=TGdkModifierType
  3198. Prop=AccelKeyParse
  3199. PropType=HelperProc
  3200. Code="var k : guint;"," m : TGdkModifierType;",begin," gtk_accelerator_parse (pgchar(AccelName), @k, @m);"," Key := k;"," Mods := m;",end;
  3201. Count=3
  3202. Param=AccelName
  3203. PascalType=string
  3204. Param=Key
  3205. PascalType=guint
  3206. ParamType=Var
  3207. Param=Mods
  3208. PascalType=TGdkModifierType
  3209. ParamType=Var
  3210. Prop=AccelGroupActivate
  3211. PropType=Procedure
  3212. Code=begin," gtk_accel_group_activate (AccelGroups[AG], Key, Mods);",end;
  3213. Count=3
  3214. Param=AG
  3215. PascalType=integer
  3216. Param=Key
  3217. PascalType=guint
  3218. Param=Mods
  3219. PascalType=TGdkModifierType
  3220. Prop=AccelGroupActivate
  3221. PropType=HelperProc
  3222. Code=begin," gtk_accel_group_activate (AG, Key, Mods);",end;
  3223. Count=3
  3224. Param=AG
  3225. PascalType=PGtkAccelGroup
  3226. Param=Key
  3227. PascalType=guint
  3228. Param=Mods
  3229. PascalType=TGdkModifierType
  3230. Object=ColorSelectionDialog
  3231. Inherit=Window
  3232. GtkFuncName=color_selection_dialog
  3233. CreateParams=''
  3234. CreateObject
  3235. Count=4
  3236. Prop=ColorSel
  3237. PropType=Property
  3238. PascalType=TFPgtkColorSelection
  3239. GtkName=Colorsel
  3240. ReadConvert
  3241. ReadFuncType=ObjField
  3242. WriteProcType=NotImplemented
  3243. Count=0
  3244. Prop=ButtonOK
  3245. PropType=Property
  3246. PascalType=TFPgtkButton
  3247. GtkName=ok_button
  3248. ReadConvert
  3249. ReadFuncType=ObjField
  3250. WriteProcType=NotImplemented
  3251. Count=0
  3252. Prop=ButtonCancel
  3253. PropType=Property
  3254. PascalType=TFPgtkButton
  3255. GtkName=cancel_button
  3256. ReadConvert
  3257. ReadFuncType=ObjField
  3258. WriteProcType=NotImplemented
  3259. Count=0
  3260. Prop=ButtonHelp
  3261. PropType=Property
  3262. PascalType=TFPgtkButton
  3263. GtkName=help_button
  3264. ReadConvert
  3265. ReadFuncType=ObjField
  3266. WriteProcType=NotImplemented
  3267. Count=0
  3268. Object=Dialog
  3269. Inherit=Window
  3270. GtkFuncName=dialog
  3271. CreateObject
  3272. Count=3
  3273. Prop=ActionArea
  3274. PropType=Property
  3275. PascalType=TFPgtkHBox
  3276. GtkName=action_area
  3277. ReadConvert
  3278. ReadFuncType=ObjField
  3279. WriteProcType=NotImplemented
  3280. Count=0
  3281. Prop=VBox
  3282. PropType=Property
  3283. PascalType=TFPgtkVBox
  3284. GtkName=vbox
  3285. ReadConvert
  3286. ReadFuncType=ObjField
  3287. WriteProcType=NotImplemented
  3288. Count=0
  3289. Prop=create
  3290. PropType=Constructor
  3291. Code=begin," inherited create (gtk_window_dialog);",end;
  3292. Count=0
  3293. Object=InputDialog
  3294. Inherit=Dialog
  3295. GtkFuncName=input_dialog
  3296. CreateObject
  3297. Count=5
  3298. Prop=ButtonClose
  3299. PropType=Property
  3300. PascalType=TFPgtkButton
  3301. GtkName=close_button
  3302. ReadConvert
  3303. ReadFuncType=ObjField
  3304. WriteProcType=NotImplemented
  3305. Count=0
  3306. Prop=ButtonSave
  3307. PropType=Property
  3308. PascalType=TFPgtkButton
  3309. GtkName=save_button
  3310. ReadConvert
  3311. ReadFuncType=ObjField
  3312. WriteProcType=NotImplemented
  3313. Count=0
  3314. Prop=DeviceSignal
  3315. PropType=SignalType
  3316. Count=3
  3317. Param=Sender
  3318. Convert
  3319. PascalType=TFPgtkInputDialog
  3320. Param=DeviceID
  3321. PascalType=integer
  3322. Param=Data
  3323. PascalType=pointer
  3324. Prop=EnableDevice
  3325. PropType=Signal
  3326. PascalType=DeviceSignal
  3327. GtkName=enable-device
  3328. Count=0
  3329. Prop=DisableDevice
  3330. PropType=Signal
  3331. PascalType=DeviceSignal
  3332. GtkName=disable-device
  3333. Count=0
  3334. Object=FileSelection
  3335. Inherit=Window
  3336. GtkFuncName=file_selection
  3337. CreateParams='Select a file'
  3338. CreateObject
  3339. Count=13
  3340. Prop=Filename
  3341. PropType=Property
  3342. PascalType=string
  3343. GtkName=filename
  3344. ReadConvert
  3345. WriteProcType=Proc
  3346. WriteCode=begin," gtk_file_selection_set_filename(TheGtkObject,Pgchar(TheValue));",end;
  3347. WriteConvert
  3348. Count=0
  3349. Prop=Complete
  3350. PropType=Procedure
  3351. GtkName=complete
  3352. Count=1
  3353. Param=Pattern
  3354. Convert
  3355. PascalType=string
  3356. Prop=ShowFileOpButtons
  3357. PropType=Procedure
  3358. GtkName=show_fileop_buttons
  3359. Count=0
  3360. Prop=HideFileOpButtons
  3361. PropType=Procedure
  3362. GtkName=hide_fileop_buttons
  3363. Count=0
  3364. Prop=DirList
  3365. PropType=Property
  3366. PascalType=TFPgtkCList
  3367. GtkName=dir_list
  3368. ReadConvert
  3369. ReadFuncType=ObjField
  3370. WriteProcType=NotImplemented
  3371. Count=0
  3372. Prop=FileList
  3373. PropType=Property
  3374. PascalType=TFPgtkCList
  3375. GtkName=file_list
  3376. ReadConvert
  3377. ReadFuncType=ObjField
  3378. WriteProcType=NotImplemented
  3379. Count=0
  3380. Prop=OkButton
  3381. PropType=Property
  3382. PascalType=TFPgtkButton
  3383. GtkName=ok_button
  3384. ReadConvert
  3385. ReadFuncType=ObjField
  3386. WriteProcType=NotImplemented
  3387. Count=0
  3388. Prop=CancelButton
  3389. PropType=Property
  3390. PascalType=TFPgtkButton
  3391. GtkName=cancel_button
  3392. ReadConvert
  3393. ReadFuncType=ObjField
  3394. WriteProcType=NotImplemented
  3395. Count=0
  3396. Prop=HistoryPulldown
  3397. PropType=Property
  3398. PascalType=TFPgtkOptionMenu
  3399. GtkName=history_pulldown
  3400. ReadConvert
  3401. ReadFuncType=ObjField
  3402. WriteProcType=NotImplemented
  3403. Count=0
  3404. Prop=FileOpDialog
  3405. PropType=Property
  3406. PascalType=TFPgtkDialog
  3407. GtkName=fileop_dialog
  3408. ReadConvert
  3409. ReadFuncType=ObjField
  3410. WriteProcType=NotImplemented
  3411. Count=0
  3412. Prop=FileOpCreateDir
  3413. PropType=Property
  3414. PascalType=TFPgtkButton
  3415. GtkName=fileop_c_dir
  3416. ReadConvert
  3417. ReadFuncType=ObjField
  3418. WriteProcType=NotImplemented
  3419. Count=0
  3420. Prop=FileOpDelFile
  3421. PropType=Property
  3422. PascalType=TFPgtkButton
  3423. GtkName=fileop_del_file
  3424. ReadConvert
  3425. ReadFuncType=ObjField
  3426. WriteProcType=NotImplemented
  3427. Count=0
  3428. Prop=FileOpRenFile
  3429. PropType=Property
  3430. PascalType=TFPgtkButton
  3431. GtkName=fileop_ren_file
  3432. ReadConvert
  3433. ReadFuncType=ObjField
  3434. WriteProcType=NotImplemented
  3435. Count=0
  3436. Object=FontSelectionDialog
  3437. Inherit=Window
  3438. GtkFuncName=font_selection_dialog
  3439. CreateParams=''
  3440. CreateObject
  3441. Count=4
  3442. Prop=FontSel
  3443. PropType=Property
  3444. PascalType=TFPgtkFontSelection
  3445. GtkName=fontsel
  3446. ReadConvert
  3447. ReadFuncType=ObjField
  3448. WriteProcType=NotImplemented
  3449. Count=0
  3450. Prop=ButtonOk
  3451. PropType=Property
  3452. PascalType=TFPgtkButton
  3453. GtkName=ok_button
  3454. ReadConvert
  3455. ReadFuncType=ObjField
  3456. WriteProcType=NotImplemented
  3457. Count=0
  3458. Prop=ButtonApply
  3459. PropType=Property
  3460. PascalType=TFPgtkButton
  3461. GtkName=apply_button
  3462. ReadConvert
  3463. ReadFuncType=ObjField
  3464. WriteProcType=NotImplemented
  3465. Count=0
  3466. Prop=ButtonCancel
  3467. PropType=Property
  3468. PascalType=TFPgtkButton
  3469. GtkName=cancel_button
  3470. ReadConvert
  3471. ReadFuncType=ObjField
  3472. WriteProcType=NotImplemented
  3473. Count=0
  3474. Object=EventBox
  3475. Inherit=Bin
  3476. GtkFuncName=event_box
  3477. CreateObject
  3478. Count=0
  3479. Object=HandleBox
  3480. Inherit=Bin
  3481. GtkFuncName=handle_box
  3482. CreateObject
  3483. Count=6
  3484. Prop=ShadowType
  3485. PropType=Property
  3486. PascalType=TGtkShadowtype
  3487. GtkName=shadow_type
  3488. ReadFuncType=ObjField
  3489. WriteGtkName=shadow_type
  3490. Count=0
  3491. Prop=HandlePosition
  3492. PropType=Property
  3493. PascalType=TGtkPositionType
  3494. Code=begin," result := TGtkPositionType (gtk.handle_position(TheGtkObject^));",end;
  3495. ReadFuncType=Proc
  3496. WriteGtkName=handle_position
  3497. Count=0
  3498. Prop=SnapEdge
  3499. PropType=Property
  3500. PascalType=TGtkPositionType
  3501. Code=begin," result := TGtkPositionType (gtk.snap_edge(TheGtkObject^));",end;
  3502. ReadFuncType=Proc
  3503. WriteGtkName=snap_edge
  3504. Count=0
  3505. Prop=ChildDetached
  3506. PropType=Property
  3507. PascalType=boolean
  3508. GtkName=child_detached
  3509. ReadConvert
  3510. ReadFuncType=ObjFunc
  3511. WriteProcType=NotImplemented
  3512. Count=0
  3513. Prop=ChildAttached
  3514. PropType=Signal
  3515. PascalType=WidgetSignal
  3516. GtkName=child-attached
  3517. Count=0
  3518. Prop=ChildDetached
  3519. PropType=Signal
  3520. PascalType=WidgetSignal
  3521. GtkName=child-detached
  3522. Count=0
  3523. Object=ScrolledWindow
  3524. Inherit=Bin
  3525. GtkFuncName=scrolled_window
  3526. Count=15
  3527. Prop=FHScroll
  3528. PropType=Field
  3529. Section=Private
  3530. PascalType=TFPgtkAdjustment
  3531. Count=0
  3532. Prop=FVScroll
  3533. PropType=Field
  3534. Section=Private
  3535. PascalType=TFPgtkAdjustment
  3536. Count=0
  3537. Prop=CreateGtkObject
  3538. PropType=Procedure
  3539. Section=Protected
  3540. Code="var h, v : PgtkAdjustment;",begin," if assigned (FHScroll) then"," h := PGtkAdjustment(ConvertToGtkObject(FHScroll))"," else"," h := null;"," if assigned (FVScroll) then"," v := PGtkAdjustment(ConvertToGtkObject(FVScroll))"," else"," v := null;"," FGtkObject := PGtkObject (gtk_scrolled_window_new (h, v));",end;
  3541. Override
  3542. Count=0
  3543. Prop=Create
  3544. PropType=Constructor
  3545. Code=begin," FVScroll := vadj;"," FHScroll := hadj;"," inherited create;"," setusize (200,170);",end;
  3546. Count=2
  3547. Param=hadj
  3548. PascalType=TFPgtkAdjustment
  3549. Param=vadj
  3550. PascalType=TFPgtkAdjustment
  3551. Prop=HPolicy
  3552. PropType=Property
  3553. PascalType=TGtkPolicyType
  3554. GtkName=hscrollbar_policy
  3555. ReadFuncType=ObjFunc
  3556. WriteProcType=Proc
  3557. WriteCode=begin," gtk_scrolled_window_set_policy (TheGtkObject, TheValue, VPolicy);",end;
  3558. Count=0
  3559. Prop=VPolicy
  3560. PropType=Property
  3561. PascalType=TGtkPolicyType
  3562. GtkName=vscrollbar_policy
  3563. ReadFuncType=ObjFunc
  3564. WriteProcType=Proc
  3565. WriteCode=begin," gtk_scrolled_window_set_policy (TheGtkObject, HPolicy, TheValue);",end;
  3566. Count=0
  3567. Prop=SetPolicy
  3568. PropType=Procedure
  3569. GtkName=set_policy
  3570. Overload
  3571. Count=2
  3572. Param=aHScrollBar
  3573. PascalType=TGtkPolicyType
  3574. Param=aVScrollbar
  3575. PascalType=TGtkPolicyType
  3576. Prop=SetPolicy
  3577. PropType=Procedure
  3578. Code=begin," SetPolicy (aPolicy, aPolicy);",end;
  3579. Overload
  3580. Count=1
  3581. Param=aPolicy
  3582. PascalType=TGtkPolicyType
  3583. Prop=HAdjustment
  3584. PropType=Property
  3585. PascalType=TFPgtkAdjustment
  3586. GtkName=hadjustment
  3587. ReadConvert
  3588. WriteGtkName=hadjustment
  3589. WriteConvert
  3590. Count=0
  3591. Prop=VAdjustment
  3592. PropType=Property
  3593. PascalType=TFPgtkAdjustment
  3594. GtkName=vadjustment
  3595. ReadConvert
  3596. WriteGtkName=vadjustment
  3597. WriteConvert
  3598. Count=0
  3599. Prop=AddWithViewport
  3600. PropType=Procedure
  3601. Code=begin," gtk_scrolled_window_add_with_viewport (TheGtkObject, ConvertToGtkWidget(aChild));"," TFPgtkViewport.createFromObject (PGtkObject(PGtkBin(TheGtkObject)^.child));"," aChild.Show;",end;
  3602. Count=1
  3603. Param=aChild
  3604. Convert
  3605. PascalType=TFPgtkWidget
  3606. Prop=Placement
  3607. PropType=Property
  3608. PascalType=TGtkCornerType
  3609. GtkName=window_placement
  3610. ReadFuncType=ObjFunc
  3611. WriteGtkName=placement
  3612. Count=0
  3613. Prop=HScrollbar
  3614. PropType=Property
  3615. PascalType=TFPgtkScrollbar
  3616. Code="var w : TFPgtkObject;"," gtkwidg : PGtkObject;",begin," gtkwidg := PGtkObject(TheGtkObject^.hscrollbar);"," w := GetPascalInstance (gtkwidg);"," if assigned (w) then"," result := (w as TFPgtkScrollbar)"," else"," result := TFPgtkHScrollbar.CreateFromObject (gtkwidg);",end;
  3617. ReadFuncType=Proc
  3618. WriteProcType=NotImplemented
  3619. Count=0
  3620. Prop=VScrollbar
  3621. PropType=Property
  3622. PascalType=TFPgtkScrollbar
  3623. Code="var w : TFPgtkObject;"," gtkwidg : PGtkObject;",begin," gtkwidg := PGtkObject(TheGtkObject^.vscrollbar);"," w := GetPascalInstance (gtkwidg);"," if assigned (w) then"," result := (w as TFPgtkScrollbar)"," else"," result := TFPgtkVScrollbar.CreateFromObject (gtkwidg);",end;
  3624. ReadFuncType=Proc
  3625. WriteProcType=NotImplemented
  3626. Count=0
  3627. Prop=UpdatePolicy
  3628. PropType=Procedure
  3629. Code="var sb : TFpgtkScrollbar;",begin," sb := HScrollbar;"," if assigned(sb) then"," sb.UpdatePolicy := UpdPolicy;"," sb := VScrollbar;"," if assigned(sb) then"," sb.UpdatePolicy := UpdPolicy;",end;
  3630. Count=1
  3631. Param=UpdPolicy
  3632. PascalType=TGtkUpdateType
  3633. Object=Viewport
  3634. Inherit=Bin
  3635. GtkFuncName=viewport
  3636. Count=7
  3637. Prop=FHScroll
  3638. PropType=Field
  3639. Section=Private
  3640. PascalType=TFPgtkAdjustment
  3641. Count=0
  3642. Prop=FVScroll
  3643. PropType=Field
  3644. Section=Private
  3645. PascalType=TFPgtkAdjustment
  3646. Count=0
  3647. Prop=CreateGtkObject
  3648. PropType=Procedure
  3649. Section=Protected
  3650. Code="var h, v : PgtkAdjustment;",begin," if assigned (FHScroll) then"," h := PGtkAdjustment(ConvertToGtkObject(FHScroll))"," else"," h := null;"," if assigned (FVScroll) then"," v := PGtkAdjustment(ConvertToGtkObject(FVScroll))"," else"," v := null;"," FGtkObject := PGtkObject (gtk_scrolled_window_new (h, v));",end;
  3651. Override
  3652. Count=0
  3653. Prop=Create
  3654. PropType=Constructor
  3655. Code=begin," FVScroll := vadj;"," FHScroll := hadj;"," inherited create;",end;
  3656. Count=2
  3657. Param=hadj
  3658. PascalType=TFPgtkAdjustment
  3659. Param=vadj
  3660. PascalType=TFPgtkAdjustment
  3661. Prop=HAdjustment
  3662. PropType=Property
  3663. PascalType=TFPgtkAdjustment
  3664. GtkName=hadjustment
  3665. ReadConvert
  3666. WriteGtkName=hadjustment
  3667. WriteConvert
  3668. Count=0
  3669. Prop=VAdjustment
  3670. PropType=Property
  3671. PascalType=TFPgtkAdjustment
  3672. GtkName=vadjustment
  3673. ReadConvert
  3674. WriteGtkName=vadjustment
  3675. WriteConvert
  3676. Count=0
  3677. Prop=ShadowType
  3678. PropType=Property
  3679. PascalType=TgtkShadowType
  3680. GtkName=shadow_type
  3681. ReadFuncType=ObjField
  3682. WriteGtkName=shadow_type
  3683. Count=0
  3684. Object=Box
  3685. Inherit=Container
  3686. GtkFuncName=Box
  3687. Count=13
  3688. Prop=Homogeneous
  3689. PropType=Property
  3690. PascalType=boolean
  3691. GtkName=homogeneous
  3692. ReadConvert
  3693. ReadFuncType=ObjFunc
  3694. WriteGtkName=homogeneous
  3695. Count=0
  3696. Prop=Spacing
  3697. PropType=Property
  3698. PascalType=integer
  3699. GtkName=spacing
  3700. ReadFuncType=ObjField
  3701. WriteGtkName=spacing
  3702. Count=0
  3703. Prop=ReorderChild
  3704. PropType=Procedure
  3705. GtkName=reorder_child
  3706. Count=2
  3707. Param=Widget
  3708. Convert
  3709. PascalType=TFPgtkWidget
  3710. Param=Position
  3711. PascalType=integer
  3712. Prop=GetChildPacking
  3713. PropType=Procedure
  3714. Code="var PT : PGtkPackType;",begin," pt := @PackType;"," gtk_box_query_child_packing (TheGtkObject, ConvertToGtkWidget(Widget), "," @expand, @fill, @padding, pt);",end;
  3715. Count=5
  3716. Param=Widget
  3717. PascalType=TFPgtkWidget
  3718. Param=Expand
  3719. PascalType=boolean
  3720. ParamType=Var
  3721. Param=Fill
  3722. PascalType=boolean
  3723. ParamType=Var
  3724. Param=Padding
  3725. PascalType=integer
  3726. ParamType=Var
  3727. Param=PackType
  3728. PascalType=TGtkPackType
  3729. ParamType=Var
  3730. Prop=SetChildPacking
  3731. PropType=Procedure
  3732. GtkName=set_child_packing
  3733. Count=5
  3734. Param=Widget
  3735. Convert
  3736. PascalType=TFPgtkWidget
  3737. Param=Expand
  3738. PascalType=boolean
  3739. Param=Fill
  3740. PascalType=boolean
  3741. Param=Padding
  3742. PascalType=integer
  3743. Param=PackType
  3744. PascalType=TGtkPackType
  3745. Prop=PackStart
  3746. PropType=Procedure
  3747. Code=begin," gtk_box_pack_start_defaults (TheGtkObject, ConvertToGtkWidget(Widget));"," widget.Show;",end;
  3748. Overload
  3749. Count=1
  3750. Param=Widget
  3751. PascalType=TFPgtkWidget
  3752. Prop=PackStart
  3753. PropType=Procedure
  3754. Code=begin," gtk_box_pack_start_defaults (TheGtkObject, ConvertToGtkWidget(Widget));"," if isvisible then"," widget.Show;",end;
  3755. Overload
  3756. Count=2
  3757. Param=Widget
  3758. PascalType=TFPgtkWidget
  3759. Param=IsVisible
  3760. PascalType=boolean
  3761. Prop=PackStart
  3762. PropType=Procedure
  3763. Code=begin," gtk_box_pack_start (TheGtkObject, ConvertToGtkWidget(Widget), expand, fill, padding);"," widget.Show;",end;
  3764. Overload
  3765. Count=4
  3766. Param=Widget
  3767. PascalType=TFPgtkWidget
  3768. Param=expand
  3769. PascalType=boolean
  3770. Param=fill
  3771. PascalType=boolean
  3772. Param=padding
  3773. PascalType=integer
  3774. Prop=PackStart
  3775. PropType=Procedure
  3776. Code=begin," gtk_box_pack_start (TheGtkObject, ConvertToGtkWidget(Widget), expand, fill, padding);"," if isvisible then"," widget.Show;",end;
  3777. Overload
  3778. Count=5
  3779. Param=Widget
  3780. PascalType=TFPgtkWidget
  3781. Param=expand
  3782. PascalType=boolean
  3783. Param=fill
  3784. PascalType=boolean
  3785. Param=padding
  3786. PascalType=integer
  3787. Param=IsVisible
  3788. PascalType=boolean
  3789. Prop=PackEnd
  3790. PropType=Procedure
  3791. Code=begin," gtk_box_pack_end_defaults (TheGtkObject, ConvertToGtkWidget(Widget));"," widget.Show;",end;
  3792. Overload
  3793. Count=1
  3794. Param=Widget
  3795. PascalType=TFPgtkWidget
  3796. Prop=PackEnd
  3797. PropType=Procedure
  3798. Code=begin," gtk_box_pack_end_defaults (TheGtkObject, ConvertToGtkWidget(Widget));"," if isvisible then"," widget.Show;",end;
  3799. Overload
  3800. Count=2
  3801. Param=Widget
  3802. PascalType=TFPgtkWidget
  3803. Param=IsVisible
  3804. PascalType=boolean
  3805. Prop=PackEnd
  3806. PropType=Procedure
  3807. Code=begin," gtk_box_pack_end (TheGtkObject, ConvertToGtkWidget(Widget), expand, fill, padding);"," widget.Show;",end;
  3808. Overload
  3809. Count=4
  3810. Param=Widget
  3811. PascalType=TFPgtkWidget
  3812. Param=expand
  3813. PascalType=boolean
  3814. Param=fill
  3815. PascalType=boolean
  3816. Param=padding
  3817. PascalType=integer
  3818. Prop=PackEnd
  3819. PropType=Procedure
  3820. Code=begin," gtk_box_pack_end (TheGtkObject, ConvertToGtkWidget(Widget), expand, fill, padding);"," if isvisible then"," widget.Show;",end;
  3821. Overload
  3822. Count=5
  3823. Param=Widget
  3824. PascalType=TFPgtkWidget
  3825. Param=expand
  3826. PascalType=boolean
  3827. Param=fill
  3828. PascalType=boolean
  3829. Param=padding
  3830. PascalType=integer
  3831. Param=IsVisible
  3832. PascalType=boolean
  3833. Object=ButtonBox
  3834. Inherit=Box
  3835. GtkFuncName=button_box
  3836. Count=10
  3837. Prop=SetButtonBoxDefaultSize
  3838. PropType=HelperProc
  3839. PascalType=integer
  3840. Code=begin," gtk_button_box_set_child_size_default (aMinWidth, aMinheight);",end;
  3841. Count=2
  3842. Param=aMinWidth
  3843. PascalType=integer
  3844. Param=aMinHeight
  3845. PascalType=integer
  3846. Prop=GetButtonBoxDefaultSize
  3847. PropType=HelperProc
  3848. PascalType=integer
  3849. Code=begin," gtk_button_box_get_child_size_default (@aMinWidth, @aMinheight);",end;
  3850. Count=2
  3851. Param=aMinWidth
  3852. PascalType=integer
  3853. ParamType=Var
  3854. Param=aMinHeight
  3855. PascalType=integer
  3856. ParamType=Var
  3857. Prop=SetButtonBoxDefaultPadding
  3858. PropType=HelperProc
  3859. PascalType=integer
  3860. Code=begin," gtk_button_box_set_child_size_default (aIPadX, aIPadY);",end;
  3861. Count=2
  3862. Param=aIPadX
  3863. PascalType=integer
  3864. Param=aIPadY
  3865. PascalType=integer
  3866. Prop=GetButtonBoxDefaultPadding
  3867. PropType=HelperProc
  3868. PascalType=integer
  3869. Code=begin," gtk_button_box_get_child_size_default (@aIPadX, @aIPadY);",end;
  3870. Count=2
  3871. Param=aIPadX
  3872. PascalType=integer
  3873. ParamType=Var
  3874. Param=aIPadY
  3875. PascalType=integer
  3876. ParamType=Var
  3877. Prop=Spacing
  3878. PropType=Property
  3879. PascalType=integer
  3880. GtkName=spacing
  3881. WriteGtkName=spacing
  3882. Count=0
  3883. Prop=Layout
  3884. PropType=Property
  3885. PascalType=TGtkButtonBoxStyle
  3886. GtkName=layout
  3887. WriteGtkName=layout
  3888. Count=0
  3889. Prop=ChildMinWidth
  3890. PropType=Property
  3891. PascalType=integer
  3892. GtkName=GetMinWidth
  3893. Code="var x, y : integer;",begin," gtk_button_box_get_child_size (TheGtkObject, @x, @y);"," result := x;",end;
  3894. ReadFuncType=Proc
  3895. WriteProcType=Proc
  3896. WriteGtkName=SetMinWidth
  3897. WriteCode=begin," gtk_button_box_set_child_size (TheGtkObject, TheValue, ChildMinHeight);",end;
  3898. Count=0
  3899. Prop=ChildMinHeight
  3900. PropType=Property
  3901. PascalType=integer
  3902. GtkName=GetMinHeight
  3903. Code="var x, y : integer;",begin," gtk_button_box_get_child_size (TheGtkObject, @x, @y);"," result := y;",end;
  3904. ReadFuncType=Proc
  3905. WriteProcType=Proc
  3906. WriteGtkName=SetMinHeight
  3907. WriteCode=begin," gtk_button_box_set_child_size (TheGtkObject, ChildMinWidth, TheValue);",end;
  3908. Count=0
  3909. Prop=ChildPadX
  3910. PropType=Property
  3911. PascalType=integer
  3912. GtkName=GetChildPadX
  3913. Code="var x, y : integer;",begin," gtk_button_box_get_child_ipadding (TheGtkObject, @x, @y);"," result := x;",end;
  3914. ReadFuncType=Proc
  3915. WriteProcType=Proc
  3916. WriteGtkName=SetChildPadX
  3917. WriteCode=begin," gtk_button_box_set_child_ipadding (TheGtkObject, TheValue, ChildPadY);",end;
  3918. Count=0
  3919. Prop=ChildPadY
  3920. PropType=Property
  3921. PascalType=integer
  3922. GtkName=GetChildPadY
  3923. Code="var x, y : integer;",begin," gtk_button_box_get_child_ipadding (TheGtkObject, @x, @y);"," result := y;",end;
  3924. ReadFuncType=Proc
  3925. WriteProcType=Proc
  3926. WriteGtkName=SetChildPadY
  3927. WriteCode=begin," gtk_button_box_set_child_ipadding (TheGtkObject, ChildPadX, TheValue);",end;
  3928. Count=0
  3929. Object=HButtonBox
  3930. Inherit=ButtonBox
  3931. GtkFuncName=hbutton_box
  3932. CreateObject
  3933. Count=0
  3934. Object=VButtonBox
  3935. Inherit=ButtonBox
  3936. GtkFuncName=vbutton_box
  3937. CreateObject
  3938. Count=0
  3939. Object=VBox
  3940. Inherit=Box
  3941. GtkFuncName=VBox
  3942. CreateParams=False, 1
  3943. CreateObject
  3944. Count=0
  3945. Object=ColorSelection
  3946. Inherit=VBox
  3947. GtkFuncName=color_selection
  3948. CreateObject
  3949. Count=3
  3950. Prop=UpdatePolicy
  3951. PropType=Property
  3952. PascalType=TGtkUpdateType
  3953. GtkName=policy
  3954. ReadFuncType=ObjField
  3955. WriteGtkName=update_policy
  3956. Count=0
  3957. Prop=Color
  3958. PropType=Property
  3959. PascalType=double
  3960. Code="var c : double;",begin," gtk_color_selection_get_color (TheGtkObject, @c);"," result := c;",end;
  3961. ReadFuncType=Proc
  3962. WriteProcType=Proc
  3963. WriteCode=begin," gtk_color_selection_set_color (TheGtkObject, @TheValue);",end;
  3964. Count=0
  3965. Prop=UseOpacity
  3966. PropType=Property
  3967. PascalType=longbool
  3968. Code=begin," result := longbool(TheGtkObject^.use_opacity);",end;
  3969. ReadConvert
  3970. ReadFuncType=Proc
  3971. WriteGtkName=opacity
  3972. WriteConvert
  3973. Count=0
  3974. Object=GammaCurve
  3975. Inherit=VBOX
  3976. GtkFuncName=gamma_curve
  3977. CreateObject
  3978. Count=0
  3979. Object=HBox
  3980. Inherit=Box
  3981. GtkFuncName=HBox
  3982. CreateParams=False, 1
  3983. CreateObject
  3984. Count=0
  3985. Object=Combo
  3986. Inherit=HBox
  3987. GtkFuncName=combo
  3988. CreateObject
  3989. Count=11
  3990. Prop=Entry
  3991. PropType=Property
  3992. PascalType=TFPgtkEntry
  3993. Code=begin," result := GetPascalInstance(PGtkObject(TheGtkObject^.entry), TFPgtkEntry) as tfpgtkentry;",end;
  3994. ReadConvert
  3995. ReadFuncType=Proc
  3996. WriteProcType=NotImplemented
  3997. Count=0
  3998. Prop=List
  3999. PropType=Property
  4000. PascalType=TFPgtkList
  4001. Code=begin," result := GetPascalInstance(PGtkObject(TheGtkObject^.list), TFPgtkList) as TFPgtkList;",end;
  4002. ReadConvert
  4003. ReadFuncType=Proc
  4004. WriteProcType=NotImplemented
  4005. Count=0
  4006. Prop=Button
  4007. PropType=Property
  4008. PascalType=TFpGtkButton
  4009. Code=begin," result := GetPascalInstance(PGtkObject(TheGtkObject^.button), TFPgtkButton) as TFPgtkButton;",end;
  4010. ReadConvert
  4011. ReadFuncType=Proc
  4012. WriteProcType=NotImplemented
  4013. Count=0
  4014. Prop=ValueInList
  4015. PropType=Property
  4016. PascalType=longbool
  4017. GtkName=value_in_list
  4018. ReadConvert
  4019. ReadFuncType=ObjFunc
  4020. WriteProcType=Proc
  4021. WriteGtkName=SetValueInListProp
  4022. WriteCode=begin," gtk_combo_set_value_in_list (TheGtkObject, gint(TheValue), gint(OkIfEmpty));",end;
  4023. Count=0
  4024. Prop=OkIfEmpty
  4025. PropType=Property
  4026. PascalType=longbool
  4027. GtkName=ok_if_empty
  4028. ReadConvert
  4029. ReadFuncType=ObjFunc
  4030. WriteProcType=Proc
  4031. WriteCode=begin," gtk_combo_set_value_in_list (TheGtkObject, gint(ValueInList), gint(TheValue));",end;
  4032. Count=0
  4033. Prop=UseArrows
  4034. PropType=Property
  4035. PascalType=longbool
  4036. GtkName=use_arrows
  4037. ReadConvert
  4038. ReadFuncType=ObjFunc
  4039. WriteGtkName=use_arrows
  4040. WriteConvert
  4041. Count=0
  4042. Prop=UseArrowsAlways
  4043. PropType=Property
  4044. PascalType=longbool
  4045. GtkName=use_arrows_always
  4046. ReadConvert
  4047. ReadFuncType=ObjFunc
  4048. WriteGtkName=use_arrows_always
  4049. WriteConvert
  4050. Count=0
  4051. Prop=CaseSensitive
  4052. PropType=Property
  4053. PascalType=longbool
  4054. GtkName=case_sensitive
  4055. ReadConvert
  4056. ReadFuncType=ObjFunc
  4057. WriteGtkName=case_sensitive
  4058. WriteConvert
  4059. Count=0
  4060. Prop=SetItemString
  4061. PropType=Procedure
  4062. GtkName=set_item_string
  4063. Count=2
  4064. Param=Item
  4065. Convert
  4066. PascalType=TFPgtkItem
  4067. Param=ItemValue
  4068. Convert
  4069. PascalType=string
  4070. Prop=DisableActivate
  4071. PropType=Procedure
  4072. GtkName=disable_activate
  4073. Count=0
  4074. Prop=SetValueInList
  4075. PropType=Procedure
  4076. GtkName=set_value_in_list
  4077. Count=2
  4078. Param=Val
  4079. Convert
  4080. PascalType=longbool
  4081. Param=IsOkIfEmpty
  4082. Convert
  4083. PascalType=longbool
  4084. Object=Statusbar
  4085. Inherit=HBox
  4086. GtkFuncName=statusbar
  4087. CreateObject
  4088. Count=7
  4089. Prop=GetContextID
  4090. PropType=Function
  4091. PascalType=integer
  4092. GtkName=get_context_id
  4093. Count=1
  4094. Param=ContextDescr
  4095. Convert
  4096. PascalType=string
  4097. Prop=Push
  4098. PropType=Function
  4099. PascalType=integer
  4100. GtkName=push
  4101. Count=2
  4102. Param=contextID
  4103. PascalType=integer
  4104. Param=text
  4105. Convert
  4106. PascalType=string
  4107. Prop=Pop
  4108. PropType=Procedure
  4109. GtkName=pop
  4110. Count=1
  4111. Param=contextID
  4112. PascalType=integer
  4113. Prop=Remove
  4114. PropType=Procedure
  4115. GtkName=remove
  4116. Count=2
  4117. Param=contextID
  4118. PascalType=integer
  4119. Param=MessageID
  4120. PascalType=integer
  4121. Prop=StatusbarSignal
  4122. PropType=SignalType
  4123. Count=4
  4124. Param=Sender
  4125. Convert
  4126. PascalType=TFPgtkObject
  4127. Param=contextID
  4128. PascalType=integer
  4129. Param=text
  4130. Convert
  4131. PascalType=string
  4132. Param=data
  4133. PascalType=pointer
  4134. Prop=TextPopped
  4135. PropType=Signal
  4136. PascalType=StatusbarSignal
  4137. GtkName=text-popped
  4138. Count=0
  4139. Prop=TextPushed
  4140. PropType=Signal
  4141. PascalType=StatusbarSignal
  4142. GtkName=test-pushed
  4143. Count=0
  4144. Object=CList
  4145. Inherit=Container
  4146. GtkFuncName=clist
  4147. CreateParams=FColumnCount
  4148. CreateObject
  4149. Count=89
  4150. Prop=Create
  4151. PropType=Constructor
  4152. Code=begin," FColumnCount := aColumnCount;"," inherited create;",end;
  4153. Count=1
  4154. Param=aColumnCount
  4155. PascalType=integer
  4156. Prop=ColumnCount
  4157. PropType=Property
  4158. PascalType=integer
  4159. GtkName=FColumnCount
  4160. ReadFuncType=Field
  4161. WriteProcType=NotImplemented
  4162. Count=0
  4163. Prop=ShadowType
  4164. PropType=Property
  4165. PascalType=TGtkShadowType
  4166. GtkName=shadow_type
  4167. ReadFuncType=ObjField
  4168. WriteGtkName=shadow_type
  4169. Count=0
  4170. Prop=SelectionMode
  4171. PropType=Property
  4172. PascalType=TGtkSelectionMode
  4173. GtkName=selection_mode
  4174. ReadFuncType=ObjField
  4175. WriteGtkName=selection_mode
  4176. Count=0
  4177. Prop=Freeze
  4178. PropType=Procedure
  4179. GtkName=freeze
  4180. Count=0
  4181. Prop=Thaw
  4182. PropType=Procedure
  4183. GtkName=thaw
  4184. Count=0
  4185. Prop=ShowTitles
  4186. PropType=Procedure
  4187. GtkName=Column_titles_show
  4188. Count=0
  4189. Prop=HideTitles
  4190. PropType=Procedure
  4191. GtkName=column_titles_hide
  4192. Count=0
  4193. Prop=ActiveTitles
  4194. PropType=Procedure
  4195. GtkName=column_titles_active
  4196. Count=0
  4197. Prop=PassiveTitles
  4198. PropType=Procedure
  4199. GtkName=column_titles_passive
  4200. Count=0
  4201. Prop=ActiveTitle
  4202. PropType=Procedure
  4203. GtkName=column_title_active
  4204. Count=1
  4205. Param=column
  4206. PascalType=integer
  4207. Prop=PassiveTitle
  4208. PropType=Procedure
  4209. GtkName=column_title_passive
  4210. Count=1
  4211. Param=column
  4212. PascalType=integer
  4213. Prop=ColumnTitle
  4214. PropType=Property
  4215. PascalType=string
  4216. GtkName=column_title
  4217. ReadConvert
  4218. WriteGtkName=column_title
  4219. WriteConvert
  4220. Count=1
  4221. Param=column
  4222. PascalType=integer
  4223. Prop=ColumnWidget
  4224. PropType=Property
  4225. PascalType=TFPgtkWidget
  4226. GtkName=column_widget
  4227. ReadConvert
  4228. WriteGtkName=column_widget
  4229. WriteConvert
  4230. Count=1
  4231. Param=column
  4232. PascalType=integer
  4233. Prop=SetColumnJustification
  4234. PropType=Procedure
  4235. GtkName=set_column_justification
  4236. Count=2
  4237. Param=column
  4238. PascalType=integer
  4239. Param=justification
  4240. PascalType=TGtkJustification
  4241. Prop=SetColumnVisibility
  4242. PropType=Procedure
  4243. GtkName=set_column_visibility
  4244. Count=2
  4245. Param=column
  4246. PascalType=integer
  4247. Param=aVisible
  4248. PascalType=boolean
  4249. Prop=SetColumnResizeable
  4250. PropType=Procedure
  4251. GtkName=set_column_resizeable
  4252. Count=2
  4253. Param=column
  4254. PascalType=integer
  4255. Param=Resizeable
  4256. PascalType=boolean
  4257. Prop=SetColumnAutoResize
  4258. PropType=Procedure
  4259. GtkName=set_column_auto_resize
  4260. Count=2
  4261. Param=column
  4262. PascalType=integer
  4263. Param=autoResize
  4264. PascalType=boolean
  4265. Prop=OptimalColumnWidth
  4266. PropType=Function
  4267. PascalType=integer
  4268. GtkName=optimal_column_width
  4269. Code=,
  4270. Count=1
  4271. Param=column
  4272. PascalType=integer
  4273. Prop=SetColumnWidth
  4274. PropType=Procedure
  4275. GtkName=set_column_width
  4276. Count=2
  4277. Param=column
  4278. PascalType=integer
  4279. Param=width
  4280. PascalType=integer
  4281. Prop=SetColumnMinWidth
  4282. PropType=Procedure
  4283. GtkName=set_column_min_width
  4284. Count=2
  4285. Param=column
  4286. PascalType=integer
  4287. Param=MinWidth
  4288. PascalType=integer
  4289. Prop=SetColumnMaxWidth
  4290. PropType=Procedure
  4291. GtkName=set_column_max_width
  4292. Count=2
  4293. Param=column
  4294. PascalType=integer
  4295. Param=MaxWidth
  4296. PascalType=integer
  4297. Prop=AutoSizeColumns
  4298. PropType=Function
  4299. PascalType=integer
  4300. GtkName=columns_autosize
  4301. Count=0
  4302. Prop=ConfigureColumnWidth
  4303. PropType=Procedure
  4304. Code=begin," SetColumnWidth (column, Width);"," SetColumnMaxWidth (column, MaxWidth);"," SetColumnMinWidth (column, MinWidth);",end;
  4305. Count=4
  4306. Param=column
  4307. PascalType=integer
  4308. Param=Width
  4309. PascalType=integer
  4310. Param=MinWidth
  4311. PascalType=integer
  4312. Param=MaxWidth
  4313. PascalType=integer
  4314. Prop=ConfigureColumn
  4315. PropType=Procedure
  4316. Code=begin," SetColumnJustification (column, Justification);"," SetColumnVisibility (column, Visibility);"," SetColumnResizeable (column, Resizeable);"," SetColumnAutoResize (column, AutoSize);",end;
  4317. Count=5
  4318. Param=column
  4319. PascalType=integer
  4320. Param=Justification
  4321. PascalType=TGtkJustification
  4322. Param=Visibility
  4323. PascalType=boolean
  4324. Param=Resizeable
  4325. PascalType=boolean
  4326. Param=AutoSize
  4327. PascalType=boolean
  4328. Prop=SetRowHeight
  4329. PropType=Procedure
  4330. GtkName=set_row_height
  4331. Count=1
  4332. Param=height
  4333. PascalType=integer
  4334. Prop=MoveTo
  4335. PropType=Procedure
  4336. GtkName=moveto
  4337. Count=4
  4338. Param=row
  4339. PascalType=integer
  4340. Param=column
  4341. PascalType=integer
  4342. Param=RowAlign
  4343. PascalType=gfloat
  4344. Param=ColAlign
  4345. PascalType=gfloat
  4346. Prop=RowIsVisible
  4347. PropType=Function
  4348. PascalType=TGtkVisibility
  4349. GtkName=row_is_visible
  4350. Count=1
  4351. Param=Row
  4352. PascalType=integer
  4353. Prop=GetCellType
  4354. PropType=Function
  4355. PascalType=TGtkCellType
  4356. GtkName=get_cell_type
  4357. Count=2
  4358. Param=Row
  4359. PascalType=integer
  4360. Param=column
  4361. PascalType=integer
  4362. Prop=CellText
  4363. PropType=Property
  4364. PascalType=string
  4365. Code="var s : pgchar;"," r : integer;",begin," r := gtk_clist_get_text (TheGtkObject, row, column, @s);"," if (r = 0) then"," result := ''"," else"," result := string(s^);",end;
  4366. ReadFuncType=Proc
  4367. WriteGtkName=text
  4368. WriteConvert
  4369. Count=2
  4370. Param=Row
  4371. PascalType=integer
  4372. Param=Column
  4373. PascalType=integer
  4374. Prop=SetPixmap
  4375. PropType=Procedure
  4376. GtkName=set_pixmap
  4377. Count=4
  4378. Param=row
  4379. PascalType=integer
  4380. Param=column
  4381. PascalType=integer
  4382. Param=pixmap
  4383. Convert
  4384. PascalType=PGdkPixmap
  4385. Param=mask
  4386. PascalType=PGdkBitmap
  4387. Prop=GetPixmap
  4388. PropType=Procedure
  4389. Code=begin," gtk_clist_get_pixmap (TheGtkObject, row, column, @pixmap, @mask);",end;
  4390. Count=4
  4391. Param=row
  4392. PascalType=integer
  4393. Param=column
  4394. PascalType=integer
  4395. Param=pixmap
  4396. PascalType=PGdkPixmap
  4397. ParamType=Var
  4398. Param=mask
  4399. PascalType=PGdkBitmap
  4400. ParamType=Var
  4401. Prop=SetPixText
  4402. PropType=Procedure
  4403. GtkName=set_pixtext
  4404. Count=6
  4405. Param=row
  4406. PascalType=integer
  4407. Param=column
  4408. PascalType=integer
  4409. Param=text
  4410. Convert
  4411. PascalType=string
  4412. Param=spacing
  4413. PascalType=guint8
  4414. Param=pixmap
  4415. PascalType=PGdkPixmap
  4416. Param=mask
  4417. PascalType=PGdkBitmap
  4418. Prop=GetPixText
  4419. PropType=Procedure
  4420. Code="var r : integer;"," s : PPgchar;",begin," s := nil;"," r := gtk_clist_get_pixtext (TheGtkObject, row, column, s, @aspacing, @pixmap, @mask);"," if r = 0 then"," begin"," text := '';"," pixmap := nil;"," mask := nil;"," end"," else"," text := string (s^);",end;
  4421. Count=6
  4422. Param=row
  4423. PascalType=integer
  4424. Param=column
  4425. PascalType=integer
  4426. Param=text
  4427. PascalType=string
  4428. ParamType=Var
  4429. Param=aspacing
  4430. PascalType=guint8
  4431. ParamType=Var
  4432. Param=pixmap
  4433. PascalType=PGdkPixmap
  4434. ParamType=Var
  4435. Param=mask
  4436. PascalType=PGdkBitmap
  4437. ParamType=Var
  4438. Prop=SetForeground
  4439. PropType=Procedure
  4440. GtkName=set_foreground
  4441. Count=2
  4442. Param=row
  4443. PascalType=integer
  4444. Param=color
  4445. PascalType=PGdkColor
  4446. Prop=SetBackground
  4447. PropType=Procedure
  4448. GtkName=set_background
  4449. Count=2
  4450. Param=row
  4451. PascalType=integer
  4452. Param=color
  4453. PascalType=PGdkColor
  4454. Prop=CellStyle
  4455. PropType=Property
  4456. PascalType=PGtkStyle
  4457. GtkName=cell_style
  4458. WriteGtkName=cell_style
  4459. Count=2
  4460. Param=row
  4461. PascalType=integer
  4462. Param=column
  4463. PascalType=integer
  4464. Prop=RowStyle
  4465. PropType=Property
  4466. PascalType=PGtkStyle
  4467. GtkName=row_style
  4468. WriteGtkName=row_style
  4469. Count=1
  4470. Param=row
  4471. PascalType=integer
  4472. Prop=SetShift
  4473. PropType=Procedure
  4474. GtkName=set_shift
  4475. Count=4
  4476. Param=row
  4477. PascalType=integer
  4478. Param=column
  4479. PascalType=integer
  4480. Param=vertical
  4481. PascalType=integer
  4482. Param=horizontal
  4483. PascalType=integer
  4484. Prop=Remove
  4485. PropType=Procedure
  4486. GtkName=remove
  4487. Count=1
  4488. Param=row
  4489. PascalType=integer
  4490. Prop=Prepend
  4491. PropType=Procedure
  4492. Code="var ppdata : ppgchar;",begin," ppdata := StringsToPPgchar (Data);"," gtk_clist_prepend (TheGtkObject, ppdata);"," freemem (ppdata, sizeof (pgchar) * data.count);",end;
  4493. Overload
  4494. Count=1
  4495. Param=Data
  4496. PascalType=TStrings
  4497. Prop=Prepend
  4498. PropType=Procedure
  4499. Code="var l : TStrings;"," s : string;",begin," l := TStringList.Create;"," try"," if pos('""',separator) = 0 then"," s := stringreplace (Text, '""', '""""', [rfReplaceAll]);"," if separator <> '' then"," s := stringreplace(Text, separator, '"",""', [rfReplaceAll]);"," l.CommaText := '""'+s+'""';"," Prepend (l);"," finally"," l.Free;"," end;",end;
  4500. Overload
  4501. Count=2
  4502. Param=Text
  4503. PascalType=string
  4504. Param=separator
  4505. PascalType=string
  4506. Prop=Prepend
  4507. PropType=Procedure
  4508. Code="var ppdata : ppgchar;",begin," ppdata := ArrayToPPgchar (Data);"," gtk_clist_prepend (TheGtkObject, ppdata);"," freemem (ppdata, sizeof (pgchar) * (high(data)-low(data)+1));",end;
  4509. Overload
  4510. Count=1
  4511. Param=data
  4512. PascalType=array of string
  4513. Prop=Append
  4514. PropType=Procedure
  4515. Code="var ppdata : ppgchar;",begin," ppdata := StringsToPPgchar (Data);"," gtk_clist_append (TheGtkObject, ppdata);"," freemem (ppdata, sizeof (pgchar) * data.count);",end;
  4516. Overload
  4517. Count=1
  4518. Param=data
  4519. PascalType=TStrings
  4520. Prop=Append
  4521. PropType=Procedure
  4522. Code="var l : TStrings;"," s : string;",begin," l := TStringList.Create;"," try"," if pos('""',separator) = 0 then"," s := stringreplace (Text, '""', '""""', [rfReplaceAll]);"," if separator <> '' then"," s := stringreplace(Text, separator, '"",""', [rfReplaceAll]);"," l.CommaText := '""' + s + '""';"," Append (l);"," finally"," l.Free;"," end;",end;
  4523. Overload
  4524. Count=2
  4525. Param=Text
  4526. PascalType=string
  4527. Param=Separator
  4528. PascalType=string
  4529. Prop=Append
  4530. PropType=Procedure
  4531. Code="var ppdata : ppgchar;",begin," ppdata := ArrayToPPgchar (Data);"," gtk_clist_append (TheGtkObject, ppdata);"," freemem (ppdata, sizeof (pgchar) * (high(data)-low(data)+1));",end;
  4532. Overload
  4533. Count=1
  4534. Param=data
  4535. PascalType=array of string
  4536. Prop=Insert
  4537. PropType=Procedure
  4538. Code="var ppdata : ppgchar;",begin," ppdata := StringsToPPgchar (Data);"," gtk_clist_insert (TheGtkObject, row, ppdata);"," freemem (ppdata, sizeof (pgchar) * data.count);",end;
  4539. Overload
  4540. Count=2
  4541. Param=row
  4542. PascalType=integer
  4543. Param=data
  4544. PascalType=TStrings
  4545. Prop=Insert
  4546. PropType=Procedure
  4547. Code="var l : TStrings;"," s : string;",begin," l := TStringList.Create;"," try"," if pos('""',separator) = 0 then"," s := stringreplace (Text, '""', '""""', [rfReplaceAll]);"," if separator <> '' then"," s := stringreplace(Text, separator, '"",""', [rfReplaceAll]);"," l.CommaText := '""' + s + '""';"," Insert (row, l);"," finally"," l.Free;"," end;",end;
  4548. Overload
  4549. Count=3
  4550. Param=row
  4551. PascalType=integer
  4552. Param=Text
  4553. PascalType=string
  4554. Param=Separator
  4555. PascalType=string
  4556. Prop=Insert
  4557. PropType=Procedure
  4558. Code="var ppdata : ppgchar;",begin," ppdata := ArrayToPPgchar (Data);"," gtk_clist_insert (TheGtkObject, row, ppdata);"," freemem (ppdata, sizeof (pgchar) * (high(data)-low(data)+1));",end;
  4559. Overload
  4560. Count=2
  4561. Param=row
  4562. PascalType=integer
  4563. Param=data
  4564. PascalType=array of string
  4565. Prop=RowData
  4566. PropType=Property
  4567. PascalType=pointer
  4568. GtkName=row_data
  4569. WriteGtkName=row_data
  4570. Count=1
  4571. Param=row
  4572. PascalType=integer
  4573. Prop=FindRowFromData
  4574. PropType=Function
  4575. PascalType=integer
  4576. GtkName=find_row_from_data
  4577. Count=1
  4578. Param=data
  4579. PascalType=pointer
  4580. Prop=SelectRow
  4581. PropType=Procedure
  4582. GtkName=select_row
  4583. Count=2
  4584. Param=row
  4585. PascalType=integer
  4586. Param=column
  4587. PascalType=integer
  4588. Prop=UnselectRow
  4589. PropType=Procedure
  4590. GtkName=unselect_row
  4591. Count=2
  4592. Param=row
  4593. PascalType=integer
  4594. Param=column
  4595. PascalType=integer
  4596. Prop=Clear
  4597. PropType=Procedure
  4598. GtkName=clear
  4599. Count=0
  4600. Prop=SelectAll
  4601. PropType=Procedure
  4602. GtkName=select_all
  4603. Count=0
  4604. Prop=UnselectAll
  4605. PropType=Procedure
  4606. GtkName=unselect_all
  4607. Count=0
  4608. Prop=SwapRows
  4609. PropType=Procedure
  4610. GtkName=swap_rows
  4611. Count=2
  4612. Param=row1
  4613. PascalType=integer
  4614. Param=row2
  4615. PascalType=integer
  4616. Prop=RowMove
  4617. PropType=Procedure
  4618. Code=begin," if sourceRow = DestRow then"," Exit;"," gtk_clist_row_move (TheGtkObject, sourceRow, destRow);",end;
  4619. Count=2
  4620. Param=sourceRow
  4621. PascalType=integer
  4622. Param=destRow
  4623. PascalType=integer
  4624. Prop=Sort
  4625. PropType=Procedure
  4626. GtkName=sort
  4627. Count=0
  4628. Prop=CompareFunc
  4629. PropType=Property
  4630. PascalType=TGtkCListCompareFunc
  4631. GtkName=compare
  4632. ReadFuncType=Field
  4633. WriteGtkName=Compare_func
  4634. Count=0
  4635. Prop=SortColumn
  4636. PropType=Property
  4637. PascalType=integer
  4638. GtkName=sort_column
  4639. ReadFuncType=ObjField
  4640. WriteGtkName=sort_column
  4641. Count=0
  4642. Prop=SetSortType
  4643. PropType=Property
  4644. PascalType=TGtkSortType
  4645. GtkName=sort_type
  4646. ReadFuncType=ObjField
  4647. WriteGtkName=sort_type
  4648. Count=0
  4649. Prop=SetAutoSort
  4650. PropType=Procedure
  4651. GtkName=set_auto_sort
  4652. Count=1
  4653. Param=autoSort
  4654. PascalType=boolean
  4655. Prop=HAdjustment
  4656. PropType=Property
  4657. PascalType=TFPgtkAdjustment
  4658. GtkName=hadjustment
  4659. ReadConvert
  4660. WriteGtkName=hadjustment
  4661. WriteConvert
  4662. Count=0
  4663. Prop=VAdjustment
  4664. PropType=Property
  4665. PascalType=TFPgtkAdjustment
  4666. GtkName=vadjustment
  4667. ReadConvert
  4668. WriteGtkName=vadjustment
  4669. WriteCode=,
  4670. WriteConvert
  4671. Count=0
  4672. Prop=SetReorderable
  4673. PropType=Procedure
  4674. GtkName=set_reorderable
  4675. Count=1
  4676. Param=reorderable
  4677. PascalType=boolean
  4678. Prop=Count
  4679. PropType=Function
  4680. PascalType=integer
  4681. Code=begin," result := TheGtkObject^.rows;",end;
  4682. Count=0
  4683. Prop=CListScrollSignal
  4684. PropType=SignalType
  4685. Count=4
  4686. Param=Sender
  4687. Convert
  4688. PascalType=TFPgtkObject
  4689. Param=ScrollType
  4690. PascalType=TgtkScrollType
  4691. Param=position
  4692. PascalType=gfloat
  4693. Param=data
  4694. PascalType=pointer
  4695. Prop=CListScrollBooleanSignal
  4696. PropType=SignalType
  4697. Count=5
  4698. Param=Sender
  4699. Convert
  4700. PascalType=TFPgtkObject
  4701. Param=ScrollType
  4702. PascalType=TgtkScrollType
  4703. Param=Position
  4704. PascalType=gfloat
  4705. Param=AutoStartSelection
  4706. PascalType=boolean
  4707. Param=data
  4708. PascalType=pointer
  4709. Prop=SelectRowSignal
  4710. PropType=SignalType
  4711. Count=5
  4712. Param=Sender
  4713. PascalType=TFPgtkObject
  4714. Param=row
  4715. PascalType=integer
  4716. Param=column
  4717. PascalType=integer
  4718. Param=event
  4719. PascalType=PGdkEventButton
  4720. Param=data
  4721. PascalType=pointer
  4722. Prop=SelectRow
  4723. PropType=Signal
  4724. PascalType=SelectRowSignal
  4725. GtkName=select-row
  4726. Count=0
  4727. Prop=UnselectRow
  4728. PropType=Signal
  4729. PascalType=SelectRowSignal
  4730. GtkName=unselect-row
  4731. Count=0
  4732. Prop=MoveSignal
  4733. PropType=SignalType
  4734. Count=4
  4735. Param=Sender
  4736. PascalType=TFPgtkObject
  4737. Param=arg1
  4738. PascalType=integer
  4739. Param=arg2
  4740. PascalType=integer
  4741. Param=data
  4742. PascalType=pointer
  4743. Prop=RowMove
  4744. PropType=Signal
  4745. PascalType=MoveSignal
  4746. GtkName=row-move
  4747. Count=0
  4748. Prop=ScrollVertical
  4749. PropType=Signal
  4750. PascalType=CListScrollSignal
  4751. GtkName=scroll-vertical
  4752. Count=0
  4753. Prop=ScrolHorizontal
  4754. PropType=Signal
  4755. PascalType=CListScrollSignal
  4756. GtkName=scroll-horizontal
  4757. Count=0
  4758. Prop=ToggleFocusRow
  4759. PropType=Signal
  4760. PascalType=Signal
  4761. GtkName=toggle-focus-row
  4762. Count=0
  4763. Prop=SelectAll
  4764. PropType=Signal
  4765. PascalType=Signal
  4766. GtkName=select-all
  4767. Count=0
  4768. Prop=UnselectAll
  4769. PropType=Signal
  4770. PascalType=signal
  4771. GtkName=unselect-all
  4772. Count=0
  4773. Prop=UndoSelection
  4774. PropType=Signal
  4775. PascalType=signal
  4776. GtkName=undo-selection
  4777. Count=0
  4778. Prop=StartSelection
  4779. PropType=Signal
  4780. PascalType=signal
  4781. GtkName=start-selection
  4782. Count=0
  4783. Prop=EndSelection
  4784. PropType=Signal
  4785. PascalType=signal
  4786. GtkName=end-selection
  4787. Count=0
  4788. Prop=ToggleAddMode
  4789. PropType=Signal
  4790. PascalType=signal
  4791. GtkName=toggle-add-mode
  4792. Count=0
  4793. Prop=AbortColumnResize
  4794. PropType=Signal
  4795. PascalType=signal
  4796. GtkName=abort-column-resize
  4797. Count=0
  4798. Prop=ExtendSelection
  4799. PropType=Signal
  4800. PascalType=CListScrollBooleanSignal
  4801. GtkName=extend-selection
  4802. Count=0
  4803. Prop=ColumnClickedSignal
  4804. PropType=SignalType
  4805. Count=3
  4806. Param=Sender
  4807. PascalType=TFPgtkObject
  4808. Param=column
  4809. PascalType=integer
  4810. Param=data
  4811. PascalType=pointer
  4812. Prop=ClickColumn
  4813. PropType=Signal
  4814. PascalType=ColumnClickedSignal
  4815. GtkName=click-column
  4816. Count=0
  4817. Prop=ResizeColumnSignal
  4818. PropType=SignalType
  4819. Count=4
  4820. Param=Sender
  4821. PascalType=TFPgtkObject
  4822. Param=column
  4823. PascalType=integer
  4824. Param=width
  4825. PascalType=integer
  4826. Param=data
  4827. PascalType=pointer
  4828. Prop=ResizeColumn
  4829. PropType=Signal
  4830. PascalType=ResizeColumnSignal
  4831. GtkName=resize-column
  4832. Count=0
  4833. Object=CTree
  4834. Inherit=CList
  4835. GtkFuncName=ctree
  4836. CreateParams=FColumnCount, FTreeColumn
  4837. Count=55
  4838. Prop=LineStyle
  4839. PropType=Property
  4840. PascalType=TGtkCTreeLineStyle
  4841. Code=begin," result := TGtkCTreeLineStyle(gtk.line_style(TheGtkObject^));",end;
  4842. ReadConvert
  4843. ReadFuncType=Proc
  4844. WriteGtkName=line_style
  4845. Count=0
  4846. Prop=ShowStub
  4847. PropType=Property
  4848. PascalType=boolean
  4849. Code=begin," result := boolean(gtk.show_stub(TheGtkObject^));",end;
  4850. ReadConvert
  4851. ReadFuncType=Proc
  4852. WriteGtkName=show_stub
  4853. WriteCode=,
  4854. Count=0
  4855. Prop=ExpanderStyle
  4856. PropType=Property
  4857. PascalType=TGtkCTreeExpanderStyle
  4858. Code=begin," result := TGtkCTreeExpanderStyle(gtk.expander_style(TheGtkObject^));",end;
  4859. ReadFuncType=Proc
  4860. WriteGtkName=expander_style
  4861. Count=0
  4862. Prop=Spacing
  4863. PropType=Property
  4864. PascalType=guint
  4865. GtkName=tree_spacing
  4866. ReadFuncType=ObjField
  4867. WriteGtkName=spacing
  4868. Count=0
  4869. Prop=Indent
  4870. PropType=Property
  4871. PascalType=guint
  4872. GtkName=tree_indent
  4873. ReadFuncType=ObjField
  4874. WriteGtkName=indent
  4875. Count=0
  4876. Prop=FTreeColumn
  4877. PropType=Field
  4878. Section=Private
  4879. PascalType=integer
  4880. Count=0
  4881. Prop=TreeColumn
  4882. PropType=Property
  4883. PascalType=integer
  4884. GtkName=tree_column
  4885. ReadFuncType=ObjField
  4886. WriteProcType=NotImplemented
  4887. Count=0
  4888. Prop=Create
  4889. PropType=Constructor
  4890. Code=begin," FTreeColumn := aTreeColumn;"," inherited Create (aColumnCount);",end;
  4891. Count=2
  4892. Param=aColumnCount
  4893. PascalType=integer
  4894. Param=aTreeColumn
  4895. PascalType=integer
  4896. Prop=RemoveNode
  4897. PropType=Procedure
  4898. GtkName=remove_node
  4899. Count=1
  4900. Param=node
  4901. PascalType=PGtkCTreeNode
  4902. Prop=InsertNode
  4903. PropType=Function
  4904. PascalType=PGtkCTreeNode
  4905. GtkName=insert_node
  4906. Overload
  4907. Count=10
  4908. Param=aParent
  4909. PascalType=PGtkCTreeNode
  4910. Param=Sibling
  4911. PascalType=PGtkCTreeNode
  4912. Param=data
  4913. Convert
  4914. PascalType=string
  4915. Param=aSpacing
  4916. PascalType=guint8
  4917. Param=PixmapClosed
  4918. PascalType=PGdkPixmap
  4919. Param=MaskClosed
  4920. PascalType=PGdkBitmap
  4921. Param=PixmapOpened
  4922. PascalType=PGdkPixmap
  4923. Param=MaskOpened
  4924. PascalType=PGdkBitmap
  4925. Param=IsLeaf
  4926. PascalType=boolean
  4927. Param=Expanded
  4928. PascalType=boolean
  4929. Prop=InsertNode
  4930. PropType=Function
  4931. PascalType=PGtkCTreeNode
  4932. Code=begin," result := InsertNode (aParent, Sibling, data, aSpacing, nil, nil, nil, nil, IsLeaf, Expanded);",end;
  4933. Overload
  4934. Count=6
  4935. Param=aParent
  4936. PascalType=PGtkCTreeNode
  4937. Param=Sibling
  4938. PascalType=PGtkCTreeNode
  4939. Param=data
  4940. Convert
  4941. PascalType=string
  4942. Param=aSpacing
  4943. PascalType=guint8
  4944. Param=IsLeaf
  4945. PascalType=boolean
  4946. Param=Expanded
  4947. PascalType=boolean
  4948. Prop=FunctionTypes
  4949. PropType=TypeDeclaration
  4950. Code=" TFPgtkCTreeFunction = procedure (TheTree:TFPgtkCTree; TheNode:PGtkCTreeNode; data:pointer) of object;"
  4951. Count=0
  4952. Prop=FPgtkCTreeFunc
  4953. PropType=HelperProc
  4954. Section=Private
  4955. Code="var p : TFPgtkCTreeFunction;",begin," with PSignalData(data)^ do"," begin"," p := TFPgtkCTreeFunction (TheSignalProc);"," p (TFPgtkCTree(GetPascalInstance(PgtkObject(Tree))), Node, data);"," end;",end;
  4956. Cdecl
  4957. Count=3
  4958. Param=Tree
  4959. PascalType=PGtkCTree
  4960. Param=Node
  4961. PascalType=PGtkCTreeNode
  4962. Param=data
  4963. PascalType=pointer
  4964. Prop=PostRecursive
  4965. PropType=Procedure
  4966. Code=begin," gtk_CTree_post_recursive (TheGtkObject, aNode, @FPgtkCTreeFunc, "," ConvertSignalData(TFPgtkSignalFunction(func), data, true));",end;
  4967. Count=3
  4968. Param=aNode
  4969. PascalType=PGtkCTreeNode
  4970. Param=func
  4971. PascalType=TFPgtkCTreeFunction
  4972. Param=data
  4973. PascalType=pointer
  4974. Prop=PostRecursiveToDepth
  4975. PropType=Procedure
  4976. Code=begin," gtk_CTree_post_recursive_to_depth (TheGtkObject, aNode, aDepth, @FPgtkCTreeFunc, "," ConvertSignalData(TFPgtkSignalFunction(func), data, true));",end;
  4977. Count=4
  4978. Param=aNode
  4979. PascalType=PGtkCTreeNode
  4980. Param=aDepth
  4981. PascalType=integer
  4982. Param=func
  4983. PascalType=TFPgtkCTreeFunction
  4984. Param=data
  4985. PascalType=pointer
  4986. Prop=PreRecursive
  4987. PropType=Procedure
  4988. Code=begin," gtk_CTree_pre_recursive (TheGtkObject, aNode, @FPgtkCTreeFunc, "," ConvertSignalData(TFPgtkSignalFunction(func), data, true));",end;
  4989. Count=3
  4990. Param=aNode
  4991. PascalType=PGtkCTreeNode
  4992. Param=func
  4993. PascalType=TFPgtkCTreeFunction
  4994. Param=data
  4995. PascalType=pointer
  4996. Prop=PreRecursiveToDepth
  4997. PropType=Procedure
  4998. Code=begin," gtk_CTree_pre_recursive_to_depth (TheGtkObject, aNode, aDepth, @FPgtkCTreeFunc, "," ConvertSignalData(TFPgtkSignalFunction(func), data, true));",end;
  4999. Count=4
  5000. Param=aNode
  5001. PascalType=PGtkCTreeNode
  5002. Param=aDepth
  5003. PascalType=integer
  5004. Param=func
  5005. PascalType=TFPgtkCTreeFunction
  5006. Param=data
  5007. PascalType=pointer
  5008. Prop=IsViewable
  5009. PropType=Procedure
  5010. GtkName=is_viewable
  5011. Count=1
  5012. Param=aNode
  5013. PascalType=PGtkCTreeNode
  5014. Prop=LastChild
  5015. PropType=Procedure
  5016. GtkName=last
  5017. Count=1
  5018. Param=aNode
  5019. PascalType=PGtkCTreeNode
  5020. Prop=IsChild
  5021. PropType=Function
  5022. PascalType=boolean
  5023. GtkName=find
  5024. Count=2
  5025. Param=anAncestor
  5026. PascalType=PGtkCTreeNode
  5027. Param=aChild
  5028. PascalType=PGtkCTreeNode
  5029. Prop=IsAncestor
  5030. PropType=Function
  5031. PascalType=boolean
  5032. GtkName=is_ancestor
  5033. Count=2
  5034. Param=anAncestor
  5035. PascalType=PGtkCTreeNode
  5036. Param=aChild
  5037. PascalType=PGtkCTreeNode
  5038. Prop=IsHotSpot
  5039. PropType=Function
  5040. PascalType=boolean
  5041. GtkName=is_hot_spot
  5042. Count=2
  5043. Param=X
  5044. PascalType=integer
  5045. Param=Y
  5046. PascalType=integer
  5047. Prop=MoveNode
  5048. PropType=Procedure
  5049. GtkName=move
  5050. Count=3
  5051. Param=aNode
  5052. PascalType=PGtkCTreeNode
  5053. Param=NewParent
  5054. PascalType=PGtkCTreeNode
  5055. Param=NewSibling
  5056. PascalType=PGtkCTreeNode
  5057. Prop=Expand
  5058. PropType=Procedure
  5059. GtkName=expand
  5060. Count=1
  5061. Param=aNode
  5062. PascalType=PGtkCTreeNode
  5063. Prop=ExpandRecursive
  5064. PropType=Procedure
  5065. GtkName=expand_recursive
  5066. Count=1
  5067. Param=aNode
  5068. PascalType=PGtkCTreeNode
  5069. Prop=ExpandToDepth
  5070. PropType=Procedure
  5071. GtkName=expand_to_depth
  5072. Count=2
  5073. Param=aNode
  5074. PascalType=PGtkCTreeNode
  5075. Param=aDepth
  5076. PascalType=integer
  5077. Prop=Collapse
  5078. PropType=Procedure
  5079. GtkName=collapse
  5080. Count=1
  5081. Param=aNode
  5082. PascalType=PGtkCTreeNode
  5083. Prop=CollapseRecursive
  5084. PropType=Procedure
  5085. GtkName=collapse_recursive
  5086. Count=1
  5087. Param=aNode
  5088. PascalType=PGtkCTreeNode
  5089. Prop=CollapseToDepth
  5090. PropType=Procedure
  5091. GtkName=collapse_to_depth
  5092. Count=2
  5093. Param=aNode
  5094. PascalType=PGtkCTreeNode
  5095. Param=aDepth
  5096. PascalType=integer
  5097. Prop=SelectNode
  5098. PropType=Procedure
  5099. GtkName=select
  5100. Count=1
  5101. Param=aNode
  5102. PascalType=PGtkCTreeNode
  5103. Prop=SelectRecursive
  5104. PropType=Procedure
  5105. GtkName=select_recursive
  5106. Count=1
  5107. Param=aNode
  5108. PascalType=PGtkCTreeNode
  5109. Prop=UnselectNode
  5110. PropType=Procedure
  5111. GtkName=unselect
  5112. Count=1
  5113. Param=aNode
  5114. PascalType=PGtkCTreeNode
  5115. Prop=UnselectRecursive
  5116. PropType=Procedure
  5117. GtkName=unselect_recursive
  5118. Count=1
  5119. Param=aNode
  5120. PascalType=PGtkCTreeNode
  5121. Prop=RealSelectRecursive
  5122. PropType=Procedure
  5123. Code=begin," gtk_ctree_real_select_recursive (TheGtkObject, aNode, ord(aState));",end;
  5124. Count=2
  5125. Param=aNode
  5126. PascalType=PGtkCTreeNode
  5127. Param=aState
  5128. PascalType=boolean
  5129. Prop=NodeGetCellType
  5130. PropType=Function
  5131. PascalType=TGtkCellType
  5132. GtkName=node_get_cell_type
  5133. Count=2
  5134. Param=Node
  5135. PascalType=PGtkCTreeNode
  5136. Param=column
  5137. PascalType=integer
  5138. Prop=NodeCellText
  5139. PropType=Property
  5140. PascalType=string
  5141. Code="var s : pgchar;"," r : integer;",begin," r := gtk_ctree_node_get_text (TheGtkObject, node, column, @s);"," if (r = 0) then"," result := ''"," else"," result := string(s^);",end;
  5142. ReadFuncType=Proc
  5143. WriteProcType=GtkMacro
  5144. WriteGtkName=node_set_text
  5145. WriteConvert
  5146. Count=2
  5147. Param=Node
  5148. PascalType=PGtkCTreeNode
  5149. Param=Column
  5150. PascalType=integer
  5151. Prop=NodeSetPixmap
  5152. PropType=Procedure
  5153. GtkName=node_set_pixmap
  5154. Count=4
  5155. Param=Node
  5156. PascalType=PGtkCTreeNode
  5157. Param=column
  5158. PascalType=integer
  5159. Param=pixmap
  5160. Convert
  5161. PascalType=PGdkPixmap
  5162. Param=mask
  5163. PascalType=PGdkBitmap
  5164. Prop=NodeGetPixmap
  5165. PropType=Procedure
  5166. Code=begin," gtk_ctree_node_get_pixmap (TheGtkObject, node, column, @pixmap, @mask);",end;
  5167. Count=4
  5168. Param=Node
  5169. PascalType=PGtkCTreeNode
  5170. Param=column
  5171. PascalType=integer
  5172. Param=pixmap
  5173. PascalType=PGdkPixmap
  5174. ParamType=Var
  5175. Param=mask
  5176. PascalType=PGdkBitmap
  5177. ParamType=Var
  5178. Prop=NodeSetPixText
  5179. PropType=Procedure
  5180. GtkName=node_set_pixtext
  5181. Count=6
  5182. Param=Node
  5183. PascalType=PGtkCTreeNode
  5184. Param=column
  5185. PascalType=integer
  5186. Param=text
  5187. Convert
  5188. PascalType=string
  5189. Param=aspacing
  5190. PascalType=guint8
  5191. Param=pixmap
  5192. PascalType=PGdkPixmap
  5193. Param=mask
  5194. PascalType=PGdkBitmap
  5195. Prop=NodeGetPixText
  5196. PropType=Procedure
  5197. Code="var r : integer;"," s : PPgchar;",begin," s := nil;"," r := gtk_ctree_node_get_pixtext (TheGtkObject, node, column, s, @aspacing, @pixmap, @mask);"," if r = 0 then"," begin"," text := '';"," pixmap := nil;"," mask := nil;"," end"," else"," text := string (s^);",end;
  5198. Count=6
  5199. Param=Node
  5200. PascalType=PGtkCTreeNode
  5201. Param=column
  5202. PascalType=integer
  5203. Param=text
  5204. PascalType=string
  5205. ParamType=Var
  5206. Param=aspacing
  5207. PascalType=guint8
  5208. ParamType=Var
  5209. Param=pixmap
  5210. PascalType=PGdkPixmap
  5211. ParamType=Var
  5212. Param=mask
  5213. PascalType=PGdkBitmap
  5214. ParamType=Var
  5215. Prop=SetNodeInfo
  5216. PropType=Procedure
  5217. GtkName=set_node_info
  5218. Overload
  5219. Count=9
  5220. Param=aNode
  5221. PascalType=PGtkCTreeNode
  5222. Param=aText
  5223. Convert
  5224. PascalType=string
  5225. Param=aSpacing
  5226. PascalType=guint8
  5227. Param=PixmapClosed
  5228. PascalType=PGdkPixmap
  5229. Param=MaskClosed
  5230. PascalType=PGdkBitmap
  5231. Param=PixmapOpened
  5232. PascalType=PGdkPixmap
  5233. Param=MaskOpened
  5234. PascalType=PGdkBitmap
  5235. Param=IsLeaf
  5236. PascalType=boolean
  5237. Param=Expanded
  5238. PascalType=boolean
  5239. Prop=GetNodeInfo
  5240. PropType=Procedure
  5241. Code="var r : integer;"," s : PPgchar;",begin," s := nil;"," r := gtk_ctree_get_node_info (TheGtkObject, aNode, s, "," @aspacing, @pixmapClosed, @maskClosed, @pixmapOpened, @maskOpened,"," @IsLeaf, @expanded);"," if r = 0 then"," begin"," atext := '';"," Spacing := 0;"," pixmapClosed := nil;"," maskClosed := nil;"," pixmapOpened := nil;"," maskOpened := nil;"," IsLeaf := false;"," Expanded := false;"," end"," else"," atext := string (s^);",end;
  5242. Overload
  5243. Count=9
  5244. Param=aNode
  5245. PascalType=PGtkCTreeNode
  5246. Param=aText
  5247. Convert
  5248. PascalType=string
  5249. ParamType=Var
  5250. Param=aSpacing
  5251. Convert
  5252. PascalType=guint8
  5253. ParamType=Var
  5254. Param=PixmapClosed
  5255. Convert
  5256. PascalType=PGdkPixmap
  5257. ParamType=Var
  5258. Param=MaskClosed
  5259. Convert
  5260. PascalType=PGdkBitmap
  5261. ParamType=Var
  5262. Param=PixmapOpened
  5263. Convert
  5264. PascalType=PGdkPixmap
  5265. ParamType=Var
  5266. Param=MaskOpened
  5267. Convert
  5268. PascalType=PGdkBitmap
  5269. ParamType=Var
  5270. Param=IsLeaf
  5271. Convert
  5272. PascalType=boolean
  5273. ParamType=Var
  5274. Param=Expanded
  5275. Convert
  5276. PascalType=boolean
  5277. ParamType=Var
  5278. Prop=NodeSetShift
  5279. PropType=Procedure
  5280. GtkName=node_set_shift
  5281. Count=4
  5282. Param=Node
  5283. PascalType=PGtkCTreeNode
  5284. Param=column
  5285. PascalType=integer
  5286. Param=vertical
  5287. Convert
  5288. PascalType=integer
  5289. Param=horizontal
  5290. PascalType=integer
  5291. Prop=NodeSelectable
  5292. PropType=Property
  5293. PascalType=boolean
  5294. GtkName=node_get_selectable
  5295. ReadFuncType=GtkMacro
  5296. WriteProcType=GtkMacro
  5297. WriteGtkName=node_set_selectable
  5298. Count=1
  5299. Param=Node
  5300. PascalType=PGtkCTreeNode
  5301. Prop=NodeSetForeground
  5302. PropType=Procedure
  5303. GtkName=node_set_foreground
  5304. Count=2
  5305. Param=Node
  5306. PascalType=PGtkCTreeNode
  5307. Param=color
  5308. PascalType=PGdkColor
  5309. Prop=NodeSetBackground
  5310. PropType=Procedure
  5311. GtkName=node_set_background
  5312. Count=2
  5313. Param=Node
  5314. PascalType=PGtkCTreeNode
  5315. Param=color
  5316. PascalType=PGdkColor
  5317. Prop=NodeCellStyle
  5318. PropType=Property
  5319. PascalType=PGtkStyle
  5320. GtkName=node_get_cell_style
  5321. ReadFuncType=GtkMacro
  5322. WriteProcType=GtkMacro
  5323. WriteGtkName=node_set_cell_style
  5324. Count=2
  5325. Param=Node
  5326. PascalType=PGtkCTreeNode
  5327. Param=column
  5328. PascalType=integer
  5329. Prop=NodeRowStyle
  5330. PropType=Property
  5331. PascalType=PGtkStyle
  5332. GtkName=node_get_row_style
  5333. ReadFuncType=GtkMacro
  5334. WriteProcType=GtkMacro
  5335. WriteGtkName=node_set_row_style
  5336. Count=1
  5337. Param=Node
  5338. PascalType=PGtkCTreeNode
  5339. Prop=NodeData
  5340. PropType=Property
  5341. PascalType=pointer
  5342. GtkName=node_get_row_data
  5343. ReadFuncType=GtkMacro
  5344. WriteProcType=GtkMacro
  5345. WriteGtkName=node_set_row_data
  5346. Count=1
  5347. Param=Node
  5348. PascalType=PGtkCTreeNode
  5349. Prop=NodeMoveTo
  5350. PropType=Procedure
  5351. GtkName=node_moveto
  5352. Count=4
  5353. Param=aNode
  5354. PascalType=PGtkCTreeNode
  5355. Param=column
  5356. PascalType=integer
  5357. Param=RowAlign
  5358. PascalType=gfloat
  5359. Param=ColAlign
  5360. PascalType=gfloat
  5361. Prop=IsVisible
  5362. PropType=Function
  5363. PascalType=TGtkVisibility
  5364. GtkName=node_is_visible
  5365. Count=1
  5366. Param=aNode
  5367. PascalType=PGtkCTreeNode
  5368. Prop=CompareDragFunc
  5369. PropType=Property
  5370. PascalType=TGtkCTreeCompareDragFunc
  5371. GtkName=drag_compare
  5372. ReadFuncType=ObjField
  5373. WriteGtkName=drag_compare_func
  5374. Count=0
  5375. Prop=SortNode
  5376. PropType=Procedure
  5377. GtkName=sort_node
  5378. Count=1
  5379. Param=aNode
  5380. PascalType=PGtkCTreeNode
  5381. Prop=SortRecursive
  5382. PropType=Procedure
  5383. GtkName=sort_recursive
  5384. Count=1
  5385. Param=aNode
  5386. PascalType=PGtkCTreeNode
  5387. Prop=NthNode
  5388. PropType=Function
  5389. PascalType=PGtkCTreeNode
  5390. GtkName=node_Nth
  5391. Count=1
  5392. Param=Row
  5393. PascalType=integer
  5394. Object=Fixed
  5395. Inherit=Container
  5396. GtkFuncName=fixed
  5397. CreateObject
  5398. Count=3
  5399. Prop=Put
  5400. PropType=Procedure
  5401. GtkName=put
  5402. Count=3
  5403. Param=Widget
  5404. Convert
  5405. PascalType=TFPgtkWidget
  5406. Param=x
  5407. PascalType=integer
  5408. Param=y
  5409. PascalType=integer
  5410. Prop=Move
  5411. PropType=Procedure
  5412. GtkName=move
  5413. Count=3
  5414. Param=Widget
  5415. Convert
  5416. PascalType=TFPgtkWidget
  5417. Param=x
  5418. PascalType=integer
  5419. Param=y
  5420. PascalType=integer
  5421. Prop=GetPos
  5422. PropType=Procedure
  5423. Code="var g : TFPgtkGroup;"," r : integer;",begin," g := TFPgtkGroup.Create;"," try"," g.ManageLists := false;"," g.gtkList := TheGtkObject^.children;"," r := g.indexof (Widget);"," if r < 0 then"," begin"," PosX := -1;"," PosY := -1;"," end"," else"," with PGtkFixedChild(g.Items[r])^ do"," begin"," PosX := x;"," PosY := Y;"," end;"," finally"," g.Free;"," end;",end;
  5424. Count=3
  5425. Param=Widget
  5426. PascalType=TFPgtkWidget
  5427. Param=PosX
  5428. PascalType=integer
  5429. ParamType=Var
  5430. Param=PosY
  5431. PascalType=integer
  5432. ParamType=Var
  5433. Object=Notebook
  5434. Inherit=Container
  5435. GtkFuncName=notebook
  5436. CreateObject
  5437. Count=32
  5438. Prop=AppendPage
  5439. PropType=Procedure
  5440. Code=begin," gtk_notebook_append_page (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel));"," Child.Show;",end;
  5441. Count=2
  5442. Param=Child
  5443. Convert
  5444. PascalType=TFPgtkWidget
  5445. Param=TabLabel
  5446. Convert
  5447. PascalType=TFPgtkWidget
  5448. Prop=AppendPageFull
  5449. PropType=Procedure
  5450. Code=begin," if assigned (MenuLabel) then"," gtk_notebook_append_page_menu (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel), ConvertTogtkWidget(MenuLabel))"," else"," gtk_notebook_append_page (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel));"," if isvisible then"," Child.Show;",end;
  5451. Count=4
  5452. Param=Child
  5453. Convert
  5454. PascalType=TFPgtkWidget
  5455. Param=TabLabel
  5456. Convert
  5457. PascalType=TFPgtkWidget
  5458. Param=MenuLabel
  5459. Convert
  5460. PascalType=TFPgtkWidget
  5461. Param=IsVisible
  5462. PascalType=boolean
  5463. Prop=PrependPage
  5464. PropType=Procedure
  5465. GtkName=Prepend_page
  5466. Code=begin," gtk_notebook_prepend_page (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel));"," Child.Show;",end;
  5467. Count=2
  5468. Param=Child
  5469. Convert
  5470. PascalType=TFPgtkWidget
  5471. Param=TabLabel
  5472. Convert
  5473. PascalType=TFPgtkWidget
  5474. Prop=PrependPageFull
  5475. PropType=Procedure
  5476. Code=begin," if assigned (MenuLabel) then"," gtk_notebook_prepend_page_menu (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel), ConvertTogtkWidget(MenuLabel))"," else"," gtk_notebook_prepend_page (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel));"," if isvisible then"," Child.Show;",end;
  5477. Count=4
  5478. Param=Child
  5479. Convert
  5480. PascalType=TFPgtkWidget
  5481. Param=TabLabel
  5482. Convert
  5483. PascalType=TFPgtkWidget
  5484. Param=MenuLabel
  5485. Convert
  5486. PascalType=TFPgtkWidget
  5487. Param=IsVisible
  5488. PascalType=boolean
  5489. Prop=InsertPage
  5490. PropType=Procedure
  5491. GtkName=insert_page
  5492. Code=begin," gtk_notebook_insert_page (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel), position);"," Child.Show;",end;
  5493. Count=3
  5494. Param=Child
  5495. Convert
  5496. PascalType=TFPgtkWidget
  5497. Param=TabLabel
  5498. Convert
  5499. PascalType=TFPgtkWidget
  5500. Param=Position
  5501. PascalType=integer
  5502. Prop=InsertPageFull
  5503. PropType=Procedure
  5504. Code=begin," if assigned (MenuLabel) then"," gtk_notebook_insert_page_menu (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel), ConvertTogtkWidget(MenuLabel), position)"," else"," gtk_notebook_insert_page (TheGtkObject, ConvertTogtkWidget(Child), ConvertTogtkWidget(TabLabel), position);"," if isvisible then"," Child.Show;",end;
  5505. Count=5
  5506. Param=Child
  5507. Convert
  5508. PascalType=TFPgtkWidget
  5509. Param=TabLabel
  5510. Convert
  5511. PascalType=TFPgtkWidget
  5512. Param=MenuLabel
  5513. Convert
  5514. PascalType=TFPgtkWidget
  5515. Param=IsVisible
  5516. PascalType=boolean
  5517. Param=Position
  5518. PascalType=integer
  5519. Prop=RemovePage
  5520. PropType=Procedure
  5521. GtkName=remove_page
  5522. Count=1
  5523. Param=PageNumber
  5524. PascalType=integer
  5525. Prop=PageNumberOf
  5526. PropType=Function
  5527. PascalType=integer
  5528. GtkName=page_num
  5529. Count=1
  5530. Param=Child
  5531. Convert
  5532. PascalType=TFPgtkWidget
  5533. Prop=NextPage
  5534. PropType=Procedure
  5535. GtkName=next_page
  5536. Count=0
  5537. Prop=PrevPage
  5538. PropType=Procedure
  5539. GtkName=prev_page
  5540. Count=0
  5541. Prop=ReorderPage
  5542. PropType=Procedure
  5543. GtkName=reorder_child
  5544. Count=2
  5545. Param=Child
  5546. Convert
  5547. PascalType=TFPgtkWidget
  5548. Param=PageNum
  5549. PascalType=integer
  5550. Prop=PageIndex
  5551. PropType=Property
  5552. PascalType=integer
  5553. GtkName=current_page
  5554. WriteGtkName=page
  5555. Count=0
  5556. Prop=Page
  5557. PropType=Property
  5558. PascalType=TFPgtkWidget
  5559. Code=begin," result := GetChildOnPage (PageIndex);",end;
  5560. ReadFuncType=Proc
  5561. WriteProcType=Proc
  5562. WriteCode="var r : integer;",begin," r := PageNumberOf (TheValue);"," if r > -1 then"," PageIndex := r;",end;
  5563. Count=0
  5564. Prop=TabPos
  5565. PropType=Property
  5566. PascalType=TGtkPositionType
  5567. GtkName=tab_pos
  5568. ReadFuncType=ObjFunc
  5569. WriteGtkName=tab_pos
  5570. Count=0
  5571. Prop=ShowTabs
  5572. PropType=Property
  5573. PascalType=boolean
  5574. GtkName=show_tabs
  5575. ReadConvert
  5576. ReadFuncType=ObjFunc
  5577. WriteGtkName=show_tabs
  5578. Count=0
  5579. Prop=ShowBorder
  5580. PropType=Property
  5581. PascalType=boolean
  5582. GtkName=show_border
  5583. ReadConvert
  5584. ReadFuncType=ObjFunc
  5585. WriteGtkName=show_border
  5586. Count=0
  5587. Prop=Scrollable
  5588. PropType=Property
  5589. PascalType=boolean
  5590. GtkName=scrollable
  5591. ReadConvert
  5592. ReadFuncType=ObjFunc
  5593. WriteGtkName=scrollable
  5594. Count=0
  5595. Prop=Homogenous
  5596. PropType=Property
  5597. PascalType=boolean
  5598. GtkName=homogeneous
  5599. ReadConvert
  5600. ReadFuncType=ObjFunc
  5601. WriteGtkName=homogeneous_tabs
  5602. Count=0
  5603. Prop=TabHBorder
  5604. PropType=Property
  5605. PascalType=word
  5606. GtkName=tab_hborder
  5607. ReadFuncType=ObjField
  5608. WriteGtkName=tab_hborder
  5609. Count=0
  5610. Prop=TabVBorder
  5611. PropType=Property
  5612. PascalType=word
  5613. GtkName=tab_vborder
  5614. ReadFuncType=ObjField
  5615. WriteGtkName=tab_vborder
  5616. Count=0
  5617. Prop=SetTabBorders
  5618. PropType=Procedure
  5619. GtkName=set_tab_border
  5620. ReadFuncType=ObjField
  5621. WriteGtkName=tab_border
  5622. Count=1
  5623. Param=BorderWidth
  5624. PascalType=word
  5625. Prop=GetMenuLabelOf
  5626. PropType=Function
  5627. PascalType=TFPgtkWidget
  5628. Code=begin," result := GetPascalInstance (PGtkObject(gtk_notebook_get_menu_label (TheGtkObject, ConvertTogtkWidget(Child)))) as TFPgtkWidget;",end;
  5629. Count=1
  5630. Param=Child
  5631. Convert
  5632. PascalType=TFPgtkWidget
  5633. Prop=SetMenuLabel
  5634. PropType=Procedure
  5635. GtkName=set_menu_label
  5636. Count=2
  5637. Param=Child
  5638. Convert
  5639. PascalType=TFPgtkWidget
  5640. Param=MenuLabel
  5641. Convert
  5642. PascalType=TFPgtkWidget
  5643. Prop=GetTabLabelOf
  5644. PropType=Function
  5645. PascalType=TFPgtkWidget
  5646. Code=begin," result := GetPascalInstance (PGtkObject(gtk_notebook_get_tab_label (TheGtkObject, ConvertTogtkWidget(Child)))) as TFPgtkWidget;",end;
  5647. Count=1
  5648. Param=Child
  5649. Convert
  5650. PascalType=TFPgtkWidget
  5651. Prop=SetTabLabel
  5652. PropType=Procedure
  5653. GtkName=set_tab_label
  5654. Count=2
  5655. Param=Child
  5656. Convert
  5657. PascalType=TFPgtkWidget
  5658. Param=TabLabel
  5659. Convert
  5660. PascalType=TFPgtkWidget
  5661. Prop=GetChildOnPage
  5662. PropType=Function
  5663. PascalType=TFPgtkWidget
  5664. Code=begin," result := GetPascalInstance (PGtkObject(gtk_notebook_get_nth_page (TheGtkObject, PageNum))) as TFPgtkWidget;",end;
  5665. Count=1
  5666. Param=PageNum
  5667. PascalType=integer
  5668. Prop=GetTabLabelPacking
  5669. PropType=Procedure
  5670. Code="var PT : PGtkPackType;",begin," pt := @PackType;"," gtk_notebook_query_tab_label_packing (TheGtkObject, ConvertTogtkWidget(widget), "," @expand, @fill, pt);",end;
  5671. Count=4
  5672. Param=Widget
  5673. Convert
  5674. PascalType=TFPgtkWidget
  5675. Param=Expand
  5676. PascalType=boolean
  5677. ParamType=Var
  5678. Param=Fill
  5679. PascalType=boolean
  5680. ParamType=Var
  5681. Param=PackType
  5682. PascalType=TGtkPackType
  5683. ParamType=Var
  5684. Prop=SetTabLabelPacking
  5685. PropType=Procedure
  5686. GtkName=set_tab_label_packing
  5687. Count=4
  5688. Param=Widget
  5689. Convert
  5690. PascalType=TFPgtkWidget
  5691. Param=Expand
  5692. PascalType=boolean
  5693. Param=Fill
  5694. PascalType=boolean
  5695. Param=PackType
  5696. PascalType=TGtkPackType
  5697. Prop=EnablePopup
  5698. PropType=Procedure
  5699. GtkName=popup_enable
  5700. Count=0
  5701. Prop=DisablePopup
  5702. PropType=Procedure
  5703. GtkName=popup_disable
  5704. Count=0
  5705. Prop=PageSwitchSignal
  5706. PropType=SignalType
  5707. Count=4
  5708. Param=Sender
  5709. Convert
  5710. PascalType=TFPgtkObject
  5711. Param=PageRec
  5712. PascalType=PGtkNotebookPage
  5713. Param=aPageNum
  5714. PascalType=integer
  5715. Param=data
  5716. PascalType=pointer
  5717. Prop=SwitchPage
  5718. PropType=Signal
  5719. PascalType=PageSwitchSignal
  5720. GtkName=switch-page
  5721. Count=0
  5722. Object=FontSelection
  5723. Inherit=Notebook
  5724. GtkFuncName=font_selection
  5725. CreateObject
  5726. Count=5
  5727. Prop=resourcestrings
  5728. PropType=Declarations
  5729. Code=resourcestring," sFontNotFound = 'Can''t find font ""%s"" on this system';"
  5730. Count=0
  5731. Prop=FontName
  5732. PropType=Property
  5733. PascalType=string
  5734. GtkName=font_name
  5735. ReadConvert
  5736. WriteProcType=Proc
  5737. WriteCode=begin," if not gtk_font_selection_set_font_name (TheGtkObject, pgchar(TheValue)) then"," raise exception.CreateFmt (sFontNotFound, [TheValue]);",end;
  5738. Count=0
  5739. Prop=GetFont
  5740. PropType=Function
  5741. PascalType=PGdkFont
  5742. GtkName=get_font
  5743. Count=0
  5744. Prop=PreviewText
  5745. PropType=Property
  5746. PascalType=string
  5747. GtkName=preview_text
  5748. ReadConvert
  5749. WriteGtkName=preview_text
  5750. WriteConvert
  5751. Count=0
  5752. Prop=SetFilter
  5753. PropType=Procedure
  5754. Code="var ppF, ppW, ppSl, ppSW, ppSp, ppC : ppgchar;",," function MakePP (data : array of string) : ppgchar;"," begin"," if high(data) > low(data) then"," result := ArrayToPPgchar(data)"," else"," result := nil;"," end;",," procedure FreePP (ppdata : ppgchar; data : array of string);"," begin"," if assigned (ppdata) then"," freemem (ppdata, sizeof (pgchar) * (high(data)-low(data)+1));"," end;",,begin," ppF := MakePP(Foundries);"," ppW := MakePP(Weights);"," ppSl := MakePP(Slants);"," ppSW := MakePP(SetWidths);"," ppSp := MakePP(Spacings);"," ppC := MakePP(CharSets);"," gtk_font_selection_set_filter (TheGtkObject, FilterType, FontType, ppF, ppW, ppSl, ppSW, ppSp, ppC);"," FreePP (ppF, Foundries);"," FreePP (ppW, Weights);"," FreePP (ppSl, Slants);"," FreePP (ppSW, SetWidths);"," FreePP (ppSp, Spacings);"," FreePP (ppC, CharSets);",end;
  5755. Count=8
  5756. Param=FilterType
  5757. PascalType=TGtkFontFilterType
  5758. Param=FontType
  5759. PascalType=TGtkFontType
  5760. Param=Foundries
  5761. PascalType=array of string
  5762. Param=Weights
  5763. PascalType=array of string
  5764. Param=Slants
  5765. PascalType=array of string
  5766. Param=SetWidths
  5767. PascalType=array of string
  5768. Param=Spacings
  5769. PascalType=array of string
  5770. Param=CharSets
  5771. PascalType=array of string
  5772. Object=Paned
  5773. Inherit=Container
  5774. GtkFuncName=paned
  5775. Count=12
  5776. Prop=GutterSize
  5777. PropType=Property
  5778. PascalType=word
  5779. GtkName=gutter_size
  5780. ReadFuncType=ObjField
  5781. WriteProcType=Proc
  5782. WriteCode=begin," {$ifdef gtkwin}"," TheGtkObject^.gutter_size := TheValue;"," {$else}"," gtk_paned_set_gutter_size(TheGtkObject,TheValue);"," {$endif}",end;
  5783. Count=0
  5784. Prop=HandleSize
  5785. PropType=Property
  5786. PascalType=word
  5787. GtkName=handle_size
  5788. ReadFuncType=ObjField
  5789. WriteGtkName=handle_size
  5790. Count=0
  5791. Prop=Position
  5792. PropType=Property
  5793. PascalType=integer
  5794. GtkName=child1_size
  5795. ReadFuncType=ObjField
  5796. WriteGtkName=position
  5797. Count=0
  5798. Prop=ComputePosition
  5799. PropType=Procedure
  5800. GtkName=compute_position
  5801. Count=3
  5802. Param=AnAllocation
  5803. PascalType=integer
  5804. Param=Child1Req
  5805. PascalType=integer
  5806. Param=Child2Req
  5807. PascalType=integer
  5808. Prop=Add1
  5809. PropType=Procedure
  5810. Code=begin," gtk_paned_add1 (TheGtkObject, ConvertToGtkWidget(Child));"," Child.Show;",end;
  5811. Overload
  5812. Count=1
  5813. Param=Child
  5814. Convert
  5815. PascalType=TFPgtkWidget
  5816. Prop=Pack1
  5817. PropType=Procedure
  5818. Code=begin," gtk_paned_pack1 (TheGtkObject, ConvertToGtkWidget(Child), Resize, Shrink);"," Child.Show;",end;
  5819. Overload
  5820. Count=3
  5821. Param=Child
  5822. Convert
  5823. PascalType=TFPgtkWidget
  5824. Param=Resize
  5825. Convert
  5826. PascalType=boolean
  5827. Param=Shrink
  5828. Convert
  5829. PascalType=boolean
  5830. Prop=Add1
  5831. PropType=Procedure
  5832. Code=begin," gtk_paned_add1 (TheGtkObject, ConvertToGtkWidget(Child));"," if isvisible then"," Child.Show;",end;
  5833. Overload
  5834. Count=2
  5835. Param=Child
  5836. Convert
  5837. PascalType=TFPgtkWidget
  5838. Param=isVisible
  5839. PascalType=boolean
  5840. Prop=Pack1
  5841. PropType=Procedure
  5842. Code=begin," gtk_paned_pack1 (TheGtkObject, ConvertToGtkWidget(Child), Resize, Shrink);"," if isvisible then"," Child.Show;",end;
  5843. Overload
  5844. Count=4
  5845. Param=Child
  5846. Convert
  5847. PascalType=TFPgtkWidget
  5848. Param=Resize
  5849. Convert
  5850. PascalType=boolean
  5851. Param=Shrink
  5852. Convert
  5853. PascalType=boolean
  5854. Param=IsVisible
  5855. PascalType=boolean
  5856. Prop=Add2
  5857. PropType=Procedure
  5858. Code=begin," gtk_paned_add2 (TheGtkObject, ConvertToGtkWidget(Child));"," Child.Show;",end;
  5859. Overload
  5860. Count=1
  5861. Param=Child
  5862. Convert
  5863. PascalType=TFPgtkWidget
  5864. Prop=Pack2
  5865. PropType=Procedure
  5866. Code=begin," gtk_paned_pack2 (TheGtkObject, ConvertToGtkWidget(Child), Resize, Shrink);"," Child.Show;",end;
  5867. Overload
  5868. Count=3
  5869. Param=Child
  5870. Convert
  5871. PascalType=TFPgtkWidget
  5872. Param=Resize
  5873. Convert
  5874. PascalType=boolean
  5875. Param=Shrink
  5876. Convert
  5877. PascalType=boolean
  5878. Prop=Add2
  5879. PropType=Procedure
  5880. Code=begin," gtk_paned_add2 (TheGtkObject, ConvertToGtkWidget(Child));"," if isvisible then"," Child.Show;",end;
  5881. Overload
  5882. Count=2
  5883. Param=Child
  5884. Convert
  5885. PascalType=TFPgtkWidget
  5886. Param=IsVisible
  5887. PascalType=boolean
  5888. Prop=Pack2
  5889. PropType=Procedure
  5890. Code=begin," gtk_paned_pack2 (TheGtkObject, ConvertToGtkWidget(Child), Resize, Shrink);"," if isvisible then"," Child.Show;",end;
  5891. Overload
  5892. Count=4
  5893. Param=Child
  5894. Convert
  5895. PascalType=TFPgtkWidget
  5896. Param=Resize
  5897. Convert
  5898. PascalType=boolean
  5899. Param=Shrink
  5900. Convert
  5901. PascalType=boolean
  5902. Param=IsVisible
  5903. PascalType=boolean
  5904. Object=HPaned
  5905. Inherit=Paned
  5906. GtkFuncName=hpaned
  5907. CreateObject
  5908. Count=0
  5909. Object=VPaned
  5910. Inherit=Paned
  5911. GtkFuncName=vpaned
  5912. CreateObject
  5913. Count=0
  5914. Object=Layout
  5915. Inherit=Container
  5916. GtkFuncName=layout
  5917. CreateParams=nil,nil
  5918. CreateObject
  5919. Count=8
  5920. Prop=HAdj
  5921. PropType=Property
  5922. PascalType=TFPgtkAdjustment
  5923. GtkName=hadjustment
  5924. ReadConvert
  5925. WriteGtkName=hadjustment
  5926. WriteConvert
  5927. Count=0
  5928. Prop=VAdj
  5929. PropType=Property
  5930. PascalType=TFPgtkAdjustment
  5931. GtkName=vadjustment
  5932. ReadConvert
  5933. WriteGtkName=vadjustment
  5934. WriteConvert
  5935. Count=0
  5936. Prop=Freeze
  5937. PropType=Procedure
  5938. GtkName=freeze
  5939. Count=0
  5940. Prop=Thaw
  5941. PropType=Procedure
  5942. GtkName=thaw
  5943. Count=0
  5944. Prop=Put
  5945. PropType=Procedure
  5946. Code=begin," gtk_layout_put (TheGtkObject, PGtkwidget(ConvertToGtkObject(aWidget)), X, Y);"," aWidget.Show;",end;
  5947. Overload
  5948. Count=3
  5949. Param=aWidget
  5950. Convert
  5951. PascalType=TFPgtkWidget
  5952. Param=X
  5953. PascalType=integer
  5954. Param=Y
  5955. PascalType=integer
  5956. Prop=Put
  5957. PropType=Procedure
  5958. Code=begin," gtk_layout_put (TheGtkObject, PGtkwidget(ConvertToGtkObject(aWidget)), X, Y);"," if aVisible then"," aWidget.Show;",end;
  5959. Overload
  5960. Count=4
  5961. Param=aWidget
  5962. Convert
  5963. PascalType=TFPgtkWidget
  5964. Param=X
  5965. PascalType=integer
  5966. Param=Y
  5967. PascalType=integer
  5968. Param=aVisible
  5969. PascalType=boolean
  5970. Prop=Move
  5971. PropType=Procedure
  5972. GtkName=move
  5973. Count=3
  5974. Param=aWidget
  5975. Convert
  5976. PascalType=TFPgtkWidget
  5977. Param=X
  5978. PascalType=integer
  5979. Param=Y
  5980. PascalType=integer
  5981. Prop=SetSize
  5982. PropType=Procedure
  5983. GtkName=set_size
  5984. Count=2
  5985. Param=aWidth
  5986. PascalType=integer
  5987. Param=aHeight
  5988. PascalType=integer
  5989. Object=List
  5990. Inherit=Container
  5991. GtkFuncName=list
  5992. CreateObject
  5993. Count=29
  5994. Prop=SelectionChanged
  5995. PropType=Signal
  5996. PascalType=signal
  5997. GtkName=selection-changed
  5998. Count=0
  5999. Prop=SelectChild
  6000. PropType=Signal
  6001. PascalType=WidgetSignal
  6002. GtkName=select-child
  6003. Count=0
  6004. Prop=UnselectChild
  6005. PropType=Signal
  6006. PascalType=WidgetSignal
  6007. GtkName=unselect-child
  6008. Count=0
  6009. Prop=SelectionMode
  6010. PropType=Property
  6011. PascalType=TGtkSelectionMode
  6012. Code=begin," result := TGtkSelectionMode(Selection_mode(TheGtkObject^));",end;
  6013. ReadFuncType=Proc
  6014. WriteGtkName=selection_mode
  6015. Count=0
  6016. Prop=InsertItems
  6017. PropType=Procedure
  6018. Code=begin," gtk_list_insert_items (TheGtkObject, TheItems.GtkList, position);",end;
  6019. Count=2
  6020. Param=TheItems
  6021. PascalType=TFPgtkListItemGroup
  6022. Param=position
  6023. PascalType=integer
  6024. Prop=AppendItems
  6025. PropType=Procedure
  6026. Code=begin," gtk_list_append_items (TheGtkObject, TheItems.GtkList);",end;
  6027. Count=1
  6028. Param=TheItems
  6029. PascalType=TFPgtkListItemGroup
  6030. Prop=PrependItems
  6031. PropType=Procedure
  6032. Code=begin," gtk_list_prepend_items (TheGtkObject, TheItems.GtkList);",end;
  6033. Count=1
  6034. Param=TheItems
  6035. PascalType=TFPgtkListItemGroup
  6036. Prop=RemoveItems
  6037. PropType=Procedure
  6038. Code=begin," gtk_list_remove_items (TheGtkObject, TheItems.GtkList);",end;
  6039. Count=1
  6040. Param=TheItems
  6041. PascalType=TFPgtkListItemGroup
  6042. Prop=RemoveItemsNoUnref
  6043. PropType=Procedure
  6044. Code=begin," gtk_list_remove_items_no_unref (TheGtkObject, TheItems.GtkList);",end;
  6045. Count=1
  6046. Param=TheItems
  6047. PascalType=TFPgtkListItemGroup
  6048. Prop=ClearItems
  6049. PropType=Procedure
  6050. Code=begin," if ToItem >= 0 then"," inc (ToItem);"," gtk_list_clear_items (TheGtkObject, FromItem, ToItem);",end;
  6051. Count=2
  6052. Param=FromItem
  6053. PascalType=integer
  6054. Param=ToItem
  6055. PascalType=integer
  6056. Prop=ClearAll
  6057. PropType=Procedure
  6058. Code=begin," ClearItems (0,-1);",end;
  6059. Count=0
  6060. Prop=SelectItem
  6061. PropType=Procedure
  6062. GtkName=select_item
  6063. Count=1
  6064. Param=Item
  6065. PascalType=integer
  6066. Prop=UnselectItem
  6067. PropType=Procedure
  6068. GtkName=unselect_item
  6069. Count=1
  6070. Param=Item
  6071. PascalType=integer
  6072. Prop=SelectChild
  6073. PropType=Procedure
  6074. GtkName=select_child
  6075. Count=1
  6076. Param=Child
  6077. Convert
  6078. PascalType=TFPgtkWidget
  6079. Prop=UnselectChild
  6080. PropType=Procedure
  6081. GtkName=unselect_child
  6082. Count=1
  6083. Param=Child
  6084. Convert
  6085. PascalType=TFPgtkWidget
  6086. Prop=ChildPosition
  6087. PropType=Function
  6088. PascalType=integer
  6089. GtkName=child_position
  6090. Count=1
  6091. Param=Child
  6092. Convert
  6093. PascalType=TFPgtkWidget
  6094. Prop=ExtendSelection
  6095. PropType=Procedure
  6096. GtkName=extend_selection
  6097. Count=3
  6098. Param=ScrollType
  6099. PascalType=TGtkScrollType
  6100. Param=Position
  6101. PascalType=gfloat
  6102. Param=AutoStartSelection
  6103. PascalType=boolean
  6104. Prop=StartSelection
  6105. PropType=Procedure
  6106. GtkName=start_selection
  6107. Count=0
  6108. Prop=EndSelection
  6109. PropType=Procedure
  6110. GtkName=end_selection
  6111. Count=0
  6112. Prop=SelectAll
  6113. PropType=Procedure
  6114. GtkName=select_all
  6115. Count=0
  6116. Prop=UnselectAll
  6117. PropType=Procedure
  6118. GtkName=unselect_all
  6119. Count=0
  6120. Prop=ScrollHorizontal
  6121. PropType=Procedure
  6122. GtkName=scroll_horizontal
  6123. Count=2
  6124. Param=ScrollType
  6125. PascalType=TGtkScrollType
  6126. Param=Position
  6127. PascalType=gfloat
  6128. Prop=ScrollVertical
  6129. PropType=Procedure
  6130. GtkName=scroll_vertical
  6131. Count=2
  6132. Param=ScrollType
  6133. PascalType=TGtkScrollType
  6134. Param=Position
  6135. PascalType=gfloat
  6136. Prop=ToggleAddMode
  6137. PropType=Procedure
  6138. GtkName=toggle_add_mode
  6139. Count=0
  6140. Prop=ToggleFocusRow
  6141. PropType=Procedure
  6142. GtkName=toggle_focus_row
  6143. Count=0
  6144. Prop=ToggleRow
  6145. PropType=Procedure
  6146. GtkName=toggle_row
  6147. Count=1
  6148. Param=Child
  6149. Convert
  6150. PascalType=TFPgtkWidget
  6151. Prop=UndoSelection
  6152. PropType=Procedure
  6153. GtkName=undo_selection
  6154. Count=0
  6155. Prop=EndDragSelection
  6156. PropType=Procedure
  6157. GtkName=end_drag_selection
  6158. Count=0
  6159. Prop=GetSelection
  6160. PropType=Procedure
  6161. Code=begin," with aGroup do"," begin"," ManageLists := False;"," GtkList := TheGtkObject^.Selection;"," end;",end;
  6162. Count=1
  6163. Param=aGroup
  6164. PascalType=TFPgtkGroup
  6165. Object=MenuShell
  6166. Inherit=Container
  6167. GtkFuncName=menu_shell
  6168. Count=18
  6169. Prop=MoveCurrentSignal
  6170. PropType=SignalType
  6171. Count=3
  6172. Param=Sender
  6173. PascalType=TFPgtkObject
  6174. Param=dir
  6175. PascalType=TGtkMenuDirectionType
  6176. Param=data
  6177. PascalType=pointer
  6178. Prop=GtkPrepend
  6179. PropType=Procedure
  6180. Section=Protected
  6181. GtkName=prepend
  6182. Virtual
  6183. Count=1
  6184. Param=MenuItem
  6185. Convert
  6186. PascalType=TFPgtkWidget
  6187. Prop=GtkInsert
  6188. PropType=Procedure
  6189. Section=Protected
  6190. GtkName=insert
  6191. Virtual
  6192. Count=2
  6193. Param=MenuItem
  6194. Convert
  6195. PascalType=TFPgtkWidget
  6196. Param=position
  6197. PascalType=integer
  6198. Prop=GtkAppend
  6199. PropType=Procedure
  6200. Section=Protected
  6201. GtkName=append
  6202. Virtual
  6203. Count=1
  6204. Param=MenuItem
  6205. Convert
  6206. PascalType=TFPgtkWidget
  6207. Prop=ActivateItem
  6208. PropType=Procedure
  6209. GtkName=activate_item
  6210. Count=2
  6211. Param=MenuItem
  6212. Convert
  6213. PascalType=TFPgtkWidget
  6214. Param=ForceDeactivate
  6215. PascalType=boolean
  6216. Prop=SelectItem
  6217. PropType=Procedure
  6218. GtkName=select_item
  6219. Count=1
  6220. Param=MenuItem
  6221. Convert
  6222. PascalType=TFPgtkWidget
  6223. Prop=DeActivate
  6224. PropType=Procedure
  6225. GtkName=deactivate
  6226. Count=0
  6227. Prop=Prepend
  6228. PropType=Procedure
  6229. Code=begin," GtkPrepend (MenuItem);"," MenuItem.Show;",end;
  6230. Overload
  6231. Count=1
  6232. Param=MenuItem
  6233. Convert
  6234. PascalType=TFPgtkWidget
  6235. Prop=Prepend
  6236. PropType=Procedure
  6237. Code=begin," GtkPrepend (MenuItem);"," if createvisible then"," MenuItem.Show;",end;
  6238. Overload
  6239. Count=2
  6240. Param=MenuItem
  6241. Convert
  6242. PascalType=TFPgtkWidget
  6243. Param=CreateVisible
  6244. PascalType=boolean
  6245. Prop=Insert
  6246. PropType=Procedure
  6247. Code=begin," GtkInsert (MenuItem, position);"," MenuItem.Show;",end;
  6248. Overload
  6249. Count=2
  6250. Param=MenuItem
  6251. Convert
  6252. PascalType=TFPgtkWidget
  6253. Param=position
  6254. PascalType=integer
  6255. Prop=Insert
  6256. PropType=Procedure
  6257. Code=begin," GtkInsert (MenuItem, position);"," if createvisible then"," MenuItem.Show;",end;
  6258. Overload
  6259. Count=3
  6260. Param=MenuItem
  6261. Convert
  6262. PascalType=TFPgtkWidget
  6263. Param=position
  6264. PascalType=integer
  6265. Param=CreateVisible
  6266. PascalType=boolean
  6267. Prop=Append
  6268. PropType=Procedure
  6269. Code=begin," GtkAppend (MenuItem);"," MenuItem.Show;",end;
  6270. Overload
  6271. Count=1
  6272. Param=MenuItem
  6273. Convert
  6274. PascalType=TFPgtkWidget
  6275. Prop=Append
  6276. PropType=Procedure
  6277. Code=begin," GtkAppend (MenuItem);"," if createvisible then"," MenuItem.Show;",end;
  6278. Overload
  6279. Count=2
  6280. Param=MenuItem
  6281. Convert
  6282. PascalType=TFPgtkWidget
  6283. Param=CreateVisible
  6284. PascalType=boolean
  6285. Prop=DeActivate
  6286. PropType=Signal
  6287. PascalType=Signal
  6288. GtkName=deactivate
  6289. Count=0
  6290. Prop=SelectionDone
  6291. PropType=Signal
  6292. PascalType=Signal
  6293. GtkName=selection-done
  6294. Count=0
  6295. Prop=Cancel
  6296. PropType=Signal
  6297. PascalType=Signal
  6298. GtkName=cancel
  6299. Count=0
  6300. Prop=MoveCurrent
  6301. PropType=Signal
  6302. PascalType=MoveCurrentSignal
  6303. GtkName=move-current
  6304. Count=0
  6305. Prop=ActivateCurrent
  6306. PropType=Signal
  6307. PascalType=BooleanSignal
  6308. GtkName=activate-current
  6309. Count=0
  6310. Object=MenuBar
  6311. Inherit=MenuShell
  6312. GtkFuncName=menu_bar
  6313. CreateObject
  6314. Count=4
  6315. Prop=GtkPrepend
  6316. PropType=Procedure
  6317. Section=Protected
  6318. GtkName=prepend
  6319. Override
  6320. Count=1
  6321. Param=MenuItem
  6322. Convert
  6323. PascalType=TFPgtkWidget
  6324. Prop=GtkInsert
  6325. PropType=Procedure
  6326. Section=Protected
  6327. GtkName=insert
  6328. Override
  6329. Count=2
  6330. Param=MenuItem
  6331. Convert
  6332. PascalType=TFPgtkWidget
  6333. Param=position
  6334. PascalType=integer
  6335. Prop=GtkAppend
  6336. PropType=Procedure
  6337. Section=Protected
  6338. GtkName=append
  6339. Override
  6340. Count=1
  6341. Param=MenuItem
  6342. Convert
  6343. PascalType=TFPgtkWidget
  6344. Prop=Shadow
  6345. PropType=Property
  6346. PascalType=TgtkShadowType
  6347. GtkName=shadow_type
  6348. ReadFuncType=ObjField
  6349. WriteGtkName=shadow_type
  6350. Count=0
  6351. Object=Menu
  6352. Inherit=MenuShell
  6353. GtkFuncName=menu
  6354. CreateObject
  6355. Count=20
  6356. Prop=GtkPrepend
  6357. PropType=Procedure
  6358. Section=Protected
  6359. GtkName=prepend
  6360. Override
  6361. Count=1
  6362. Param=MenuItem
  6363. Convert
  6364. PascalType=TFPgtkWidget
  6365. Prop=GtkInsert
  6366. PropType=Procedure
  6367. Section=Protected
  6368. GtkName=insert
  6369. Override
  6370. Count=2
  6371. Param=MenuItem
  6372. Convert
  6373. PascalType=TFPgtkWidget
  6374. Param=position
  6375. PascalType=integer
  6376. Prop=GtkAppend
  6377. PropType=Procedure
  6378. Section=Protected
  6379. GtkName=append
  6380. Override
  6381. Count=1
  6382. Param=MenuItem
  6383. Convert
  6384. PascalType=TFPgtkWidget
  6385. Prop=Functiontypes
  6386. PropType=TypeDeclaration
  6387. Code=" TFPgtkMenuDetachFunction = procedure (Widget:TFPgtkWidget; menu:TFPgtkMenu) of object;"," TFPgtkMenuPosFunction = procedure (menu:TFPgtkMenu; var x,y:integer; data:pointer) of object;"
  6388. Count=0
  6389. Prop=FPgtkMenuPos
  6390. PropType=HelperProc
  6391. Section=Private
  6392. Code="var p : TFPgtkMenuPosFunction;",begin," with PSignalData (data)^ do"," begin"," p := TFPgtkMenuPosFunction (TheSignalProc);"," p(TFPgtkMenu(GetPascalInstance(PgtkObject(Sender))), x^, y^, data);"," end;",end;
  6393. Cdecl
  6394. Count=4
  6395. Param=Sender
  6396. PascalType=PgtkMenu
  6397. Param=x
  6398. PascalType=pgint
  6399. Param=y
  6400. PascalType=pgint
  6401. Param=data
  6402. PascalType=pointer
  6403. Prop=FPgtkMenuDetacher
  6404. PropType=HelperProc
  6405. Section=Private
  6406. Code="var m : TFPgtkMenu;"," a : TFPgtkWidget;",begin," m := (GetPascalInstance(PgtkObject(TheMenu)) as TFPgtkMenu);"," if assigned(m) and assigned(m.FDetacher) then"," begin"," a := TFPgtkWidget (GetPascalInstance(PgtkObject(AttachedWidget)));"," m.FDetacher (a, m);"," end",end;
  6407. Cdecl
  6408. Count=2
  6409. Param=AttachedWidget
  6410. PascalType=PgtkWidget
  6411. Param=TheMenu
  6412. PascalType=PgtkMenu
  6413. Prop=FDetacher
  6414. PropType=Field
  6415. PascalType=TFPgtkMenuDetachFunction
  6416. Count=0
  6417. Prop=ReorderChild
  6418. PropType=Procedure
  6419. GtkName=reorder_child
  6420. Count=2
  6421. Param=MenuItem
  6422. Convert
  6423. PascalType=TFPgtkWidget
  6424. Param=position
  6425. PascalType=integer
  6426. Prop=Popup
  6427. PropType=Procedure
  6428. Code=begin," gtk_menu_popup (TheGtkObject, null, null, null, null, button, 0);",end;
  6429. Overload
  6430. Count=1
  6431. Param=button
  6432. PascalType=guint
  6433. Prop=Popup
  6434. PropType=Procedure
  6435. Code=begin," gtk_menu_popup (TheGtkObject, ConvertTogtkWidget(ParentShell), ConvertTogtkWidget(ParentItem),"," @FPgtkMenuPos, ConvertSignalData(TFPgtkSignalFunction(func), data, true), button, ActivateTime);",end;
  6436. Overload
  6437. Count=6
  6438. Param=ParentShell
  6439. PascalType=TFPgtkWidget
  6440. Param=ParentItem
  6441. PascalType=TFPgtkWidget
  6442. Param=func
  6443. PascalType=TFPgtkMenuPosFunction
  6444. Param=data
  6445. PascalType=pointer
  6446. Param=button
  6447. PascalType=guint
  6448. Param=ActivateTime
  6449. PascalType=guint32
  6450. Prop=PopDown
  6451. PropType=Procedure
  6452. GtkName=popdown
  6453. Count=0
  6454. Prop=Reposition
  6455. PropType=Procedure
  6456. GtkName=reposition
  6457. Count=0
  6458. Prop=AttachToWidget
  6459. PropType=Procedure
  6460. Code=begin," FDetacher := detacher;"," gtk_menu_attach_to_widget (TheGtkObject, ConvertTogtkWidget(Widget), @FPgtkMenuDetacher);",end;
  6461. Count=2
  6462. Param=Widget
  6463. PascalType=TFPgtkWidget
  6464. Param=detacher
  6465. PascalType=TFPgtkMenuDetachFunction
  6466. Prop=Detach
  6467. PropType=Procedure
  6468. GtkName=detach
  6469. Count=0
  6470. Prop=Title
  6471. PropType=Property
  6472. PascalType=string
  6473. ReadFuncType=NotImplemented
  6474. WriteProcType=Proc
  6475. WriteCode=begin," gtk_menu_set_title(TheGtkObject,Pgchar(TheValue));",end;
  6476. WriteConvert
  6477. Count=0
  6478. Prop=Active
  6479. PropType=Property
  6480. PascalType=TFPgtkWidget
  6481. GtkName=active
  6482. ReadConvert
  6483. WriteProcType=Proc
  6484. WriteCode="var r : integer;",begin," r := Children.indexof (TheValue);"," if r >= 0 then"," SetActiveIndex (r);",end;
  6485. Count=0
  6486. Prop=ActiveIndex
  6487. PropType=Property
  6488. PascalType=integer
  6489. Code=begin," result := Children.indexof (GetActive);",end;
  6490. ReadFuncType=Proc
  6491. WriteGtkName=active
  6492. Count=0
  6493. Prop=TearOffState
  6494. PropType=Property
  6495. PascalType=boolean
  6496. GtkName=torn_off
  6497. ReadConvert
  6498. ReadFuncType=ObjFunc
  6499. WriteGtkName=tearoff_state
  6500. Count=0
  6501. Prop=AttachedTo
  6502. PropType=Property
  6503. PascalType=TFPgtkWidget
  6504. GtkName=attach_widget
  6505. ReadConvert
  6506. WriteProcType=Proc
  6507. WriteCode=begin," AttachToWidget (TheValue, nil);",end;
  6508. Count=0
  6509. Prop=AccelGroup
  6510. PropType=Property
  6511. PascalType=PGtkAccelGroup
  6512. GtkName=ensure_uline_accel_group
  6513. ReadFuncType=GtkMacro
  6514. WriteGtkName=accel_group
  6515. Count=0
  6516. Object=Packer
  6517. Inherit=Container
  6518. GtkFuncName=packer
  6519. CreateObject
  6520. Count=10
  6521. Prop=Add
  6522. PropType=Procedure
  6523. Code=begin," gtk_packer_add_defaults (TheGtkObject, Child.TheGtkWidget, Side, anchor, options);"," Child.Show;",end;
  6524. Overload
  6525. Count=4
  6526. Param=Child
  6527. PascalType=TFPgtkWidget
  6528. Param=Side
  6529. PascalType=TGtkSideType
  6530. Param=Anchor
  6531. PascalType=TGtkAnchorType
  6532. Param=options
  6533. PascalType=TGtkPackerOptions
  6534. Prop=Add
  6535. PropType=Procedure
  6536. Code=begin," gtk_packer_add_defaults (TheGtkObject, Child.TheGtkWidget, Side, anchor, options);"," if aVisible then"," Child.Show;",end;
  6537. Overload
  6538. Count=5
  6539. Param=Child
  6540. PascalType=TFPgtkWidget
  6541. Param=Side
  6542. PascalType=TGtkSideType
  6543. Param=Anchor
  6544. PascalType=TGtkAnchorType
  6545. Param=options
  6546. PascalType=TGtkPackerOptions
  6547. Param=aVisible
  6548. PascalType=boolean
  6549. Prop=Add
  6550. PropType=Procedure
  6551. Code=begin," gtk_packer_add (TheGtkObject, Child.TheGtkWidget, Side, anchor, options, aborder, padX, PadY, IPadX, IPadY);"," Child.Show;",end;
  6552. Overload
  6553. Count=9
  6554. Param=Child
  6555. PascalType=TFPgtkWidget
  6556. Param=Side
  6557. PascalType=TGtkSideType
  6558. Param=Anchor
  6559. PascalType=TGtkAnchorType
  6560. Param=options
  6561. PascalType=TGtkPackerOptions
  6562. Param=aBorder
  6563. PascalType=guint
  6564. Param=PadX
  6565. PascalType=Guint
  6566. Param=PadY
  6567. PascalType=guint
  6568. Param=IPadX
  6569. PascalType=guint
  6570. Param=IPadY
  6571. PascalType=guint
  6572. Prop=Add
  6573. PropType=Procedure
  6574. Code=begin," gtk_packer_add (TheGtkObject, Child.TheGtkWidget, Side, anchor, options, aborder, padX, PadY, IPadX, IPadY);"," if aVisible then"," Child.Show;",end;
  6575. Overload
  6576. Count=10
  6577. Param=Child
  6578. PascalType=TFPgtkWidget
  6579. Param=Side
  6580. PascalType=TGtkSideType
  6581. Param=Anchor
  6582. PascalType=TGtkAnchorType
  6583. Param=options
  6584. PascalType=TGtkPackerOptions
  6585. Param=aBorder
  6586. PascalType=guint
  6587. Param=PadX
  6588. PascalType=Guint
  6589. Param=PadY
  6590. PascalType=guint
  6591. Param=IPadX
  6592. PascalType=guint
  6593. Param=IPadY
  6594. PascalType=guint
  6595. Param=aVisible
  6596. PascalType=boolean
  6597. Prop=ReorderChild
  6598. PropType=Procedure
  6599. GtkName=reorder_child
  6600. Count=2
  6601. Param=aChild
  6602. Convert
  6603. PascalType=TFPgtkWidget
  6604. Param=position
  6605. PascalType=integer
  6606. Prop=Spacing
  6607. PropType=Property
  6608. PascalType=guint
  6609. GtkName=spacing
  6610. ReadFuncType=ObjField
  6611. WriteGtkName=spacing
  6612. Count=0
  6613. Prop=DefaultBorder
  6614. PropType=Procedure
  6615. PascalType=guint
  6616. GtkName=set_default_border_width
  6617. WriteGtkName=border_width
  6618. Count=1
  6619. Param=aBorder
  6620. PascalType=guint
  6621. Prop=DefaultPad
  6622. PropType=Procedure
  6623. PascalType=guint
  6624. GtkName=set_default_pad
  6625. WriteGtkName=border_width
  6626. Count=2
  6627. Param=PadX
  6628. PascalType=guint
  6629. Param=PadY
  6630. PascalType=guint
  6631. Prop=DefaultIPad
  6632. PropType=Procedure
  6633. PascalType=guint
  6634. GtkName=set_default_ipad
  6635. WriteGtkName=border_width
  6636. Count=2
  6637. Param=IPadX
  6638. PascalType=guint
  6639. Param=IPadY
  6640. PascalType=guint
  6641. Prop=Configure
  6642. PropType=Procedure
  6643. GtkName=set_child_packing
  6644. Overload
  6645. Count=9
  6646. Param=aChild
  6647. Convert
  6648. PascalType=TFPgtkWidget
  6649. Param=Side
  6650. PascalType=TGtkSideType
  6651. Param=Anchor
  6652. PascalType=TGtkAnchorType
  6653. Param=options
  6654. PascalType=TGtkPackerOptions
  6655. Param=aBorder
  6656. PascalType=guint
  6657. Param=PadX
  6658. PascalType=Guint
  6659. Param=PadY
  6660. PascalType=guint
  6661. Param=IPadX
  6662. PascalType=guint
  6663. Param=IPadY
  6664. PascalType=guint
  6665. Object=Table
  6666. Inherit=Container
  6667. GtkFuncName=table
  6668. CreateParams=1,1,False
  6669. CreateObject
  6670. Count=13
  6671. Prop=Create
  6672. PropType=Constructor
  6673. Code=begin," inherited create;"," resize (AColumns, ARows);",end;
  6674. Count=2
  6675. Param=AColumns
  6676. PascalType=integer
  6677. Param=ARows
  6678. PascalType=integer
  6679. Prop=Resize
  6680. PropType=Procedure
  6681. Code=begin," gtk_table_resize (TheGtkObject, ARows, AColumns);",end;
  6682. Count=2
  6683. Param=AColumns
  6684. PascalType=integer
  6685. Param=ARows
  6686. PascalType=integer
  6687. Prop=Attach
  6688. PropType=Procedure
  6689. Code=begin," gtk_table_attach (TheGtkObject, ConvertToGtkWidget(Widget), left, right, top, bottom,"," XOptions, YOptions, XPadding, YPadding);"," if isvisible then"," widget.Show;",end;
  6690. Count=10
  6691. Param=Widget
  6692. PascalType=TFPgtkWidget
  6693. Param=left
  6694. PascalType=integer
  6695. Param=right
  6696. PascalType=integer
  6697. Param=top
  6698. PascalType=integer
  6699. Param=bottom
  6700. PascalType=integer
  6701. Param=XOptions
  6702. PascalType=integer
  6703. Param=YOptions
  6704. PascalType=integer
  6705. Param=XPadding
  6706. PascalType=integer
  6707. Param=YPadding
  6708. PascalType=integer
  6709. Param=IsVisible
  6710. PascalType=boolean
  6711. Prop=Attach
  6712. PropType=Procedure
  6713. Code=begin," gtk_table_attach (TheGtkObject, ConvertTogtkWidget(Widget), left, right, top, bottom,"," XOptions, YOptions, XPadding, YPadding);"," widget.Show;",end;
  6714. Count=9
  6715. Param=Widget
  6716. PascalType=TFPgtkWidget
  6717. Param=left
  6718. PascalType=integer
  6719. Param=right
  6720. PascalType=integer
  6721. Param=top
  6722. PascalType=integer
  6723. Param=bottom
  6724. PascalType=integer
  6725. Param=XOptions
  6726. PascalType=integer
  6727. Param=YOptions
  6728. PascalType=integer
  6729. Param=XPadding
  6730. PascalType=integer
  6731. Param=YPadding
  6732. PascalType=integer
  6733. Prop=Attach
  6734. PropType=Procedure
  6735. Code=begin," gtk_table_attach_defaults (TheGtkObject, ConvertTogtkWidget(Widget), left, right, top, bottom);"," if isvisible then"," widget.Show;",end;
  6736. Count=6
  6737. Param=Widget
  6738. PascalType=TFPgtkWidget
  6739. Param=left
  6740. PascalType=integer
  6741. Param=right
  6742. PascalType=integer
  6743. Param=top
  6744. PascalType=integer
  6745. Param=bottom
  6746. PascalType=integer
  6747. Param=IsVisible
  6748. PascalType=boolean
  6749. Prop=Attach
  6750. PropType=Procedure
  6751. Code=begin," gtk_table_attach_defaults (TheGtkObject, ConvertTogtkWidget(Widget), left, right, top, bottom);"," widget.Show;",end;
  6752. Count=5
  6753. Param=Widget
  6754. PascalType=TFPgtkWidget
  6755. Param=left
  6756. PascalType=integer
  6757. Param=right
  6758. PascalType=integer
  6759. Param=top
  6760. PascalType=integer
  6761. Param=bottom
  6762. PascalType=integer
  6763. Prop=RowCount
  6764. PropType=Property
  6765. PascalType=integer
  6766. GtkName=nrows
  6767. ReadFuncType=ObjField
  6768. WriteProcType=NotImplemented
  6769. Count=0
  6770. Prop=ColCount
  6771. PropType=Property
  6772. PascalType=integer
  6773. GtkName=ncols
  6774. ReadFuncType=ObjField
  6775. WriteProcType=NotImplemented
  6776. Count=0
  6777. Prop=Homogeneous
  6778. PropType=Property
  6779. PascalType=boolean
  6780. GtkName=homogeneous
  6781. ReadConvert
  6782. ReadFuncType=ObjFunc
  6783. WriteGtkName=homogeneous
  6784. Count=0
  6785. Prop=RowSpacings
  6786. PropType=Property
  6787. PascalType=integer
  6788. GtkName=column_spacing
  6789. ReadFuncType=ObjField
  6790. WriteGtkName=row_spacings
  6791. Count=0
  6792. Prop=ColSpacings
  6793. PropType=Property
  6794. PascalType=integer
  6795. GtkName=row_spacing
  6796. ReadFuncType=ObjField
  6797. WriteGtkName=col_spacings
  6798. Count=0
  6799. Prop=SetOneRowSpacing
  6800. PropType=Procedure
  6801. GtkName=set_row_spacing
  6802. Count=2
  6803. Param=row
  6804. PascalType=integer
  6805. Param=TheValue
  6806. PascalType=integer
  6807. Prop=SetOneColSpacing
  6808. PropType=Procedure
  6809. GtkName=set_col_spacing
  6810. Count=2
  6811. Param=Column
  6812. PascalType=integer
  6813. Param=TheValue
  6814. PascalType=integer
  6815. Object=Toolbar
  6816. Inherit=Container
  6817. GtkFuncName=toolbar
  6818. CreateParams=GTK_ORIENTATION_HORIZONTAL,GTK_TOOLBAR_BOTH
  6819. CreateObject
  6820. Count=22
  6821. Prop=ButtonRelief
  6822. PropType=Property
  6823. PascalType=TGtkReliefStyle
  6824. GtkName=button_relief
  6825. WriteGtkName=button_relief
  6826. Count=0
  6827. Prop=Tooltips
  6828. PropType=Property
  6829. PascalType=TFPgtkTooltips
  6830. GtkName=tooltips
  6831. ReadConvert
  6832. ReadFuncType=ObjField
  6833. WriteProcType=NotImplemented
  6834. Count=0
  6835. Prop=EnableTooltips
  6836. PropType=Property
  6837. PascalType=longbool
  6838. Code=begin," result := tooltips.enabled;",end;
  6839. ReadFuncType=Proc
  6840. WriteGtkName=tooltips
  6841. WriteConvert
  6842. Count=0
  6843. Prop=SpaceStyle
  6844. PropType=Property
  6845. PascalType=TGtkToolbarSpaceStyle
  6846. GtkName=space_style
  6847. ReadFuncType=ObjField
  6848. WriteGtkName=space_style
  6849. Count=0
  6850. Prop=SpaceSize
  6851. PropType=Property
  6852. PascalType=integer
  6853. GtkName=space_size
  6854. ReadFuncType=ObjField
  6855. WriteGtkName=space_size
  6856. Count=0
  6857. Prop=Style
  6858. PropType=Property
  6859. PascalType=TGtkToolbarStyle
  6860. GtkName=style
  6861. ReadFuncType=ObjField
  6862. WriteGtkName=style
  6863. Count=0
  6864. Prop=Orientation
  6865. PropType=Property
  6866. PascalType=tGtkOrientation
  6867. GtkName=orientation
  6868. ReadFuncType=ObjField
  6869. WriteGtkName=orientation
  6870. Count=0
  6871. Prop=InsertWidget
  6872. PropType=Procedure
  6873. Code=begin," gtk_toolbar_insert_widget (TheGtkObject, ConvertToGtkWidget(Widget), ConvertToPgchar(TooltipText), ConvertTopgchar(TooltipPrivate), Position);"," Widget.Show;",end;
  6874. Count=4
  6875. Param=Widget
  6876. Convert
  6877. PascalType=TFPgtkWidget
  6878. Param=TooltipText
  6879. Convert
  6880. PascalType=string
  6881. Param=TooltipPrivate
  6882. Convert
  6883. PascalType=string
  6884. Param=Position
  6885. PascalType=integer
  6886. Prop=PrependWidget
  6887. PropType=Procedure
  6888. Code=begin," gtk_toolbar_prepend_widget (TheGtkObject, ConvertToGtkWidget(Widget), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate));"," Widget.Show;",end;
  6889. Count=3
  6890. Param=Widget
  6891. Convert
  6892. PascalType=TFPgtkWidget
  6893. Param=TooltipText
  6894. Convert
  6895. PascalType=string
  6896. Param=TooltipPrivate
  6897. Convert
  6898. PascalType=string
  6899. Prop=AppendWidget
  6900. PropType=Procedure
  6901. Code=begin," gtk_toolbar_append_widget (TheGtkObject, ConvertToGtkWidget(Widget), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate));"," Widget.Show;",end;
  6902. Count=3
  6903. Param=Widget
  6904. Convert
  6905. PascalType=TFPgtkWidget
  6906. Param=TooltipText
  6907. Convert
  6908. PascalType=string
  6909. Param=TooltipPrivate
  6910. Convert
  6911. PascalType=string
  6912. Prop=InsertElement
  6913. PropType=Function
  6914. PascalType=TFPgtkWidget
  6915. Code="var w : PGtkWidget;"," t : TFPgtkObjectClass;",begin," w := gtk_toolbar_insert_element (TheGtkObject, ButtonType, "," ConvertToGtkwidget(PrevRadioBut), ConvertTopgchar(Text), "," ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate), "," ConvertToGtkwidget(Icon), "," gtk_signal_func(@SignalProc), "," ConvertSignalData(TFPgtkSignalFunction(callback), data, true), "," position);"," if assigned (w) then"," begin"," case ButtonType of"," GTK_TOOLBAR_CHILD_WIDGET:"," t := TFPgtkWidget;"," GTK_TOOLBAR_CHILD_BUTTON:"," t := TFPgtkButton;"," GTK_TOOLBAR_CHILD_TOGGLEBUTTON:"," t := TFPgtkToggleButton;"," GTK_TOOLBAR_CHILD_RADIOBUTTON:"," t := TFPgtkRadioButton;"," end;"," if t = TFPgtkWidget then"," result := GetPascalInstance (w)"," else"," result := GetPascalInstance (w, t);"," end"," else"," result := nil;",end;
  6916. Count=9
  6917. Param=ButtonType
  6918. PascalType=TGtkToolbarChildType
  6919. Param=PrevRadioBut
  6920. Convert
  6921. PascalType=TFPgtkWidget
  6922. Param=Text
  6923. Convert
  6924. PascalType=string
  6925. Param=TooltipText
  6926. Convert
  6927. PascalType=string
  6928. Param=TooltipPrivate
  6929. Convert
  6930. PascalType=string
  6931. Param=Icon
  6932. Convert
  6933. PascalType=TFPgtkWidget
  6934. Param=CallBack
  6935. Convert
  6936. PascalType=TFPgtkSignalFunction
  6937. Param=data
  6938. PascalType=pointer
  6939. Param=position
  6940. PascalType=integer
  6941. Prop=AppendElement
  6942. PropType=Function
  6943. PascalType=TFPgtkWidget
  6944. Code="var w : PGtkWidget;"," t : TFPgtkObjectClass;",begin," w := gtk_toolbar_append_element (TheGtkObject, ButtonType, ConvertToGtkwidget(PrevRadioBut), "," ConvertTopgchar(Text), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate), "," ConvertToGtkwidget(Icon), gtk_signal_func(@SignalProc), "," ConvertSignalData(TFPgtkSignalFunction(callback), data, true));"," if assigned (w) then"," begin"," case ButtonType of"," GTK_TOOLBAR_CHILD_WIDGET:"," t := TFPgtkWidget;"," GTK_TOOLBAR_CHILD_BUTTON:"," t := TFPgtkButton;"," GTK_TOOLBAR_CHILD_TOGGLEBUTTON:"," t := TFPgtkToggleButton;"," GTK_TOOLBAR_CHILD_RADIOBUTTON:"," t := TFPgtkRadioButton;"," end;"," if t = TFPgtkWidget then"," result := GetPascalInstance (w)"," else"," result := GetPascalInstance (w, t);"," end"," else"," result := nil;",end;
  6945. Count=8
  6946. Param=ButtonType
  6947. PascalType=TGtkToolbarChildType
  6948. Param=PrevRadioBut
  6949. Convert
  6950. PascalType=TFPgtkWidget
  6951. Param=Text
  6952. Convert
  6953. PascalType=string
  6954. Param=TooltipText
  6955. Convert
  6956. PascalType=string
  6957. Param=TooltipPrivate
  6958. Convert
  6959. PascalType=string
  6960. Param=Icon
  6961. Convert
  6962. PascalType=TFPgtkWidget
  6963. Param=CallBack
  6964. Convert
  6965. PascalType=TFPgtkSignalFunction
  6966. Param=data
  6967. PascalType=pointer
  6968. Prop=PrependElement
  6969. PropType=Function
  6970. PascalType=TFPgtkWidget
  6971. Code="var w : PGtkWidget;"," t : TFPgtkObjectClass;",begin," w := gtk_toolbar_prepend_element (TheGtkObject, ButtonType, ConvertToGtkwidget(PrevRadioBut), "," ConvertTopgchar(Text), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate), "," ConvertToGtkwidget(Icon), gtk_signal_func(@SignalProc), "," ConvertSignalData(TFPgtkSignalFunction(callback), data, true));"," if assigned (w) then"," begin"," case ButtonType of"," GTK_TOOLBAR_CHILD_WIDGET:"," t := TFPgtkWidget;"," GTK_TOOLBAR_CHILD_BUTTON:"," t := TFPgtkButton;"," GTK_TOOLBAR_CHILD_TOGGLEBUTTON:"," t := TFPgtkToggleButton;"," GTK_TOOLBAR_CHILD_RADIOBUTTON:"," t := TFPgtkRadioButton;"," end;"," if t = TFPgtkWidget then"," result := GetPascalInstance (w)"," else"," result := GetPascalInstance (w, t);"," end"," else"," result := nil;",end;
  6972. Count=8
  6973. Param=ButtonType
  6974. PascalType=TGtkToolbarChildType
  6975. Param=PrevRadioBut
  6976. Convert
  6977. PascalType=TFPgtkWidget
  6978. Param=Text
  6979. Convert
  6980. PascalType=string
  6981. Param=TooltipText
  6982. Convert
  6983. PascalType=string
  6984. Param=TooltipPrivate
  6985. Convert
  6986. PascalType=string
  6987. Param=Icon
  6988. Convert
  6989. PascalType=TFPgtkWidget
  6990. Param=CallBack
  6991. Convert
  6992. PascalType=TFPgtkSignalFunction
  6993. Param=data
  6994. PascalType=pointer
  6995. Prop=InsertItem
  6996. PropType=Function
  6997. PascalType=TFPgtkWidget
  6998. Code=begin," result := GetPascalInstance ("," gtk_toolbar_insert_item (TheGtkObject, ConvertTopgchar(Text), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate), ConvertToGtkWidget(Icon), "," gtk_signal_func(@SignalProc), ConvertSignalData(TFPgtkSignalFunction(callback), data, true), position),"," TFPgtkButton);",end;
  6999. Overload
  7000. Count=7
  7001. Param=Text
  7002. Convert
  7003. PascalType=string
  7004. Param=TooltipText
  7005. Convert
  7006. PascalType=string
  7007. Param=TooltipPrivate
  7008. Convert
  7009. PascalType=string
  7010. Param=Icon
  7011. Convert
  7012. PascalType=TFPgtkWidget
  7013. Param=CallBack
  7014. Convert
  7015. PascalType=TFPgtkSignalFunction
  7016. Param=data
  7017. PascalType=pointer
  7018. Param=position
  7019. PascalType=integer
  7020. Prop=AppendItem
  7021. PropType=Function
  7022. PascalType=TFPgtkWidget
  7023. Code=begin," result := GetPascalInstance ("," gtk_toolbar_append_item (TheGtkObject, ConvertTopgchar(Text), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate), "," ConvertToGtkWidget(Icon), gtk_signal_func(@SignalProc), ConvertSignalData(TFPgtkSignalFunction(callback), data, true)),"," TFPgtkButton);",end;
  7024. Overload
  7025. Count=6
  7026. Param=Text
  7027. Convert
  7028. PascalType=string
  7029. Param=TooltipText
  7030. Convert
  7031. PascalType=string
  7032. Param=TooltipPrivate
  7033. Convert
  7034. PascalType=string
  7035. Param=Icon
  7036. Convert
  7037. PascalType=TFPgtkWidget
  7038. Param=CallBack
  7039. Convert
  7040. PascalType=TFPgtkSignalFunction
  7041. Param=data
  7042. PascalType=pointer
  7043. Prop=PrependItem
  7044. PropType=Function
  7045. PascalType=TFPgtkWidget
  7046. Code=begin," result := GetPascalInstance ("," gtk_toolbar_prepend_item (TheGtkObject, Converttopgchar(Text), Converttopgchar(TooltipText), "," Converttopgchar(TooltipPrivate), ConvertToGtkWidget(Icon), gtk_signal_func(@SignalProc), "," ConvertSignalData(TFPgtkSignalFunction(callback), data, true)), "," TFPgtkButton);",end;
  7047. Overload
  7048. Count=6
  7049. Param=Text
  7050. Convert
  7051. PascalType=string
  7052. Param=TooltipText
  7053. Convert
  7054. PascalType=string
  7055. Param=TooltipPrivate
  7056. Convert
  7057. PascalType=string
  7058. Param=Icon
  7059. Convert
  7060. PascalType=TFPgtkWidget
  7061. Param=CallBack
  7062. Convert
  7063. PascalType=TFPgtkSignalFunction
  7064. Param=data
  7065. PascalType=pointer
  7066. Prop=InsertItem
  7067. PropType=Function
  7068. PascalType=TFPgtkWidget
  7069. Code="var pm : TFPgtkPixmap;",begin," if low(icon) < high(icon) then"," begin"," pm := TFPgtkPixmap.Create;"," pm.loadFromArray (icon);"," end"," else"," pm := nil;"," result := GetPascalInstance ("," gtk_toolbar_insert_item (TheGtkObject, ConvertTopgchar(Text), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate), ConvertToGtkWidget(pm), "," gtk_signal_func(@SignalProc), ConvertSignalData(TFPgtkSignalFunction(callback), data, true), position),"," TFPgtkButton);",end;
  7070. Overload
  7071. Count=7
  7072. Param=Text
  7073. Convert
  7074. PascalType=string
  7075. Param=TooltipText
  7076. Convert
  7077. PascalType=string
  7078. Param=TooltipPrivate
  7079. Convert
  7080. PascalType=string
  7081. Param=Icon
  7082. Convert
  7083. PascalType=array of string
  7084. Param=CallBack
  7085. Convert
  7086. PascalType=TFPgtkSignalFunction
  7087. Param=data
  7088. PascalType=pointer
  7089. Param=position
  7090. PascalType=integer
  7091. Prop=AppendItem
  7092. PropType=Function
  7093. PascalType=TFPgtkWidget
  7094. Code="var pm : TFPgtkPixmap;",begin," if low(icon) < high(icon) then"," begin"," pm := TFPgtkPixmap.Create;"," pm.loadFromArray (icon);"," end"," else"," pm := nil;"," result := GetPascalInstance ("," gtk_toolbar_append_item (TheGtkObject, ConvertTopgchar(Text), ConvertTopgchar(TooltipText), ConvertTopgchar(TooltipPrivate), "," ConvertToGtkWidget(pm), gtk_signal_func(@SignalProc), ConvertSignalData(TFPgtkSignalFunction(callback), data, true)),"," TFPgtkButton);",end;
  7095. Overload
  7096. Count=6
  7097. Param=Text
  7098. Convert
  7099. PascalType=string
  7100. Param=TooltipText
  7101. Convert
  7102. PascalType=string
  7103. Param=TooltipPrivate
  7104. Convert
  7105. PascalType=string
  7106. Param=Icon
  7107. Convert
  7108. PascalType=array of string
  7109. Param=CallBack
  7110. Convert
  7111. PascalType=TFPgtkSignalFunction
  7112. Param=data
  7113. PascalType=pointer
  7114. Prop=PrependItem
  7115. PropType=Function
  7116. PascalType=TFPgtkWidget
  7117. Code="var pm : TFPgtkPixmap;",begin," if low(icon) < high(icon) then"," begin"," pm := TFPgtkPixmap.Create;"," pm.loadFromArray (icon);"," end"," else"," pm := nil;"," result := GetPascalInstance ("," gtk_toolbar_prepend_item (TheGtkObject, Converttopgchar(Text), Converttopgchar(TooltipText), "," Converttopgchar(TooltipPrivate), ConvertToGtkWidget(pm), gtk_signal_func(@SignalProc), "," ConvertSignalData(TFPgtkSignalFunction(callback), data, true)), "," TFPgtkButton);",end;
  7118. Overload
  7119. Count=6
  7120. Param=Text
  7121. Convert
  7122. PascalType=string
  7123. Param=TooltipText
  7124. Convert
  7125. PascalType=string
  7126. Param=TooltipPrivate
  7127. Convert
  7128. PascalType=string
  7129. Param=Icon
  7130. Convert
  7131. PascalType=array of string
  7132. Param=CallBack
  7133. Convert
  7134. PascalType=TFPgtkSignalFunction
  7135. Param=data
  7136. PascalType=pointer
  7137. Prop=InsertSpace
  7138. PropType=Procedure
  7139. GtkName=insert_space
  7140. Count=1
  7141. Param=position
  7142. PascalType=integer
  7143. Prop=AppendSpace
  7144. PropType=Procedure
  7145. GtkName=append_space
  7146. Count=0
  7147. Prop=PrependSpace
  7148. PropType=Procedure
  7149. GtkName=prepend_space
  7150. Count=0
  7151. Object=Tree
  7152. Inherit=Container
  7153. GtkFuncName=tree
  7154. CreateObject
  7155. Count=20
  7156. Prop=SelectionChanged
  7157. PropType=Signal
  7158. PascalType=Signal
  7159. GtkName=selection-changed
  7160. Count=0
  7161. Prop=SelectChild
  7162. PropType=Signal
  7163. PascalType=WidgetSignal
  7164. GtkName=select-child
  7165. Count=0
  7166. Prop=UnselectChild
  7167. PropType=Signal
  7168. PascalType=WidgetSignal
  7169. GtkName=unselect-child
  7170. Count=0
  7171. Prop=SelectionMode
  7172. PropType=Property
  7173. PascalType=TGtkSelectionMode
  7174. GtkName=selection_mode
  7175. ReadFuncType=ObjFunc
  7176. WriteGtkName=selection_mode
  7177. Count=0
  7178. Prop=ViewLines
  7179. PropType=Property
  7180. PascalType=boolean
  7181. GtkName=view_line
  7182. ReadConvert
  7183. ReadFuncType=ObjFunc
  7184. WriteProcType=Proc
  7185. WriteCode=begin," gtk_tree_set_view_lines(TheGtkObject,guint(TheValue));",end;
  7186. WriteConvert
  7187. Count=0
  7188. Prop=ViewMode
  7189. PropType=Property
  7190. PascalType=TGtkTreeViewMode
  7191. GtkName=view_mode
  7192. ReadFuncType=ObjFunc
  7193. WriteGtkName=view_mode
  7194. Count=0
  7195. Prop=Append
  7196. PropType=Procedure
  7197. Code=begin," gtk_tree_append (TheGtkObject, PGtkwidget(ConvertToGtkObject(TreeItem)));"," TreeItem.Show;",end;
  7198. Count=1
  7199. Param=TreeItem
  7200. Convert
  7201. PascalType=TFPgtkWidget
  7202. Prop=Prepend
  7203. PropType=Procedure
  7204. Code=begin," gtk_tree_prepend (TheGtkObject, PGtkwidget(ConvertToGtkObject(TreeItem)));"," TreeItem.Show;",end;
  7205. Count=1
  7206. Param=TreeItem
  7207. Convert
  7208. PascalType=TFPgtkWidget
  7209. Prop=Insert
  7210. PropType=Procedure
  7211. Code=begin," gtk_tree_insert (TheGtkObject, PGtkwidget(ConvertToGtkObject(TreeItem)),position);"," TreeItem.show;",end;
  7212. Count=2
  7213. Param=TreeItem
  7214. Convert
  7215. PascalType=TFPgtkWidget
  7216. Param=position
  7217. PascalType=integer
  7218. Prop=Remove
  7219. PropType=Procedure
  7220. Code="var l : PGList;",begin,"{$ifndef win32}"," gtk_tree_remove_item (TheGtkObject, ConvertToGtkWidget(TreeItem));",{$else}," l := null;"," l := g_list_append (l, ConvertToGtkWidget(TreeItem));"," gtk_tree_remove_items (TheGtkObject, l);"," g_list_free (l);",{$endif},end;
  7221. Count=1
  7222. Param=TreeItem
  7223. Convert
  7224. PascalType=TFPgtkWidget
  7225. Prop=ClearItems
  7226. PropType=Procedure
  7227. GtkName=clear_items
  7228. Count=2
  7229. Param=StartPos
  7230. PascalType=integer
  7231. Param=EndPos
  7232. PascalType=integer
  7233. Prop=SelectItem
  7234. PropType=Procedure
  7235. GtkName=select_item
  7236. Count=1
  7237. Param=Item
  7238. Convert
  7239. PascalType=integer
  7240. Prop=UnselectItem
  7241. PropType=Procedure
  7242. GtkName=unselect_item
  7243. Count=1
  7244. Param=Item
  7245. PascalType=integer
  7246. Prop=SelectChild
  7247. PropType=Procedure
  7248. GtkName=select_child
  7249. Count=1
  7250. Param=TreeItem
  7251. Convert
  7252. PascalType=TFPgtkWidget
  7253. Prop=UnselectChild
  7254. PropType=Procedure
  7255. GtkName=unselect_child
  7256. Count=1
  7257. Param=TreeItem
  7258. Convert
  7259. PascalType=TFPgtkWidget
  7260. Prop=ChildPosition
  7261. PropType=Function
  7262. PascalType=integer
  7263. GtkName=child_position
  7264. Count=1
  7265. Param=TreeItem
  7266. Convert
  7267. PascalType=TFPgtkWidget
  7268. Prop=RootTree
  7269. PropType=Function
  7270. PascalType=TFPgtkTree
  7271. Code=begin," result := GetPascalInstance(PGtkObject(GTK_TREE_ROOT_TREE(TheGtkObject))) as TFPgtkTree;",end;
  7272. Count=0
  7273. Prop=IsRootTree
  7274. PropType=Function
  7275. PascalType=boolean
  7276. Code=begin," result := GTK_IS_ROOT_TREE (TheGtkObject);",end;
  7277. Count=0
  7278. Prop=GetSelection
  7279. PropType=Procedure
  7280. PascalType=TFPgtkTreeItemGroup
  7281. Code=begin," aGroup.ManageLists := false;"," aGroup.GtkList := Gtk_Tree_selection (TheGtkObject);",end;
  7282. Count=1
  7283. Param=aGroup
  7284. PascalType=TFPgtkGroup
  7285. Prop=Level
  7286. PropType=Function
  7287. PascalType=integer
  7288. Code=begin," result := TheGtkObject^.level;",end;
  7289. Count=0
  7290. Object=Calendar
  7291. Inherit=Widget
  7292. GtkFuncName=calendar
  7293. CreateObject
  7294. Count=16
  7295. Prop=SelectMonth
  7296. PropType=Function
  7297. PascalType=integer
  7298. Code=begin," result := gtk_calendar_select_month (TheGtkObject, aMonth-1, aYear);",end;
  7299. Count=2
  7300. Param=aMonth
  7301. PascalType=guint
  7302. Param=aYear
  7303. PascalType=guint
  7304. Prop=SelectDay
  7305. PropType=Procedure
  7306. GtkName=select_day
  7307. Count=1
  7308. Param=aDay
  7309. PascalType=guint
  7310. Prop=MarkDay
  7311. PropType=Function
  7312. PascalType=integer
  7313. GtkName=mark_day
  7314. Count=1
  7315. Param=aDay
  7316. PascalType=guint
  7317. Prop=UnmarkDay
  7318. PropType=Function
  7319. PascalType=integer
  7320. GtkName=unmark_day
  7321. Count=1
  7322. Param=aDay
  7323. PascalType=guint
  7324. Prop=ClearMarks
  7325. PropType=Procedure
  7326. GtkName=clear_marks
  7327. Count=0
  7328. Prop=DisplayOptions
  7329. PropType=Property
  7330. PascalType=TGtkCalendarDisplayOptions
  7331. GtkName=display_flags
  7332. ReadFuncType=ObjField
  7333. WriteProcType=GtkMacro
  7334. WriteGtkName=display_options
  7335. Count=0
  7336. Prop=Date
  7337. PropType=Property
  7338. PascalType=TDatetime
  7339. Code="var y, m, d : guint;",begin," gtk_calendar_get_date (TheGtkObject, @y, @m, @d);"," result := encodedate (y,m+1,d);",end;
  7340. ReadFuncType=Proc
  7341. WriteProcType=Proc
  7342. WriteCode="var y,m,d : word;",begin," decodedate (TheValue, y,m,d);"," SelectMonth(m,y);"," SelectDay(d);",end;
  7343. Count=0
  7344. Prop=Freeze
  7345. PropType=Procedure
  7346. GtkName=freeze
  7347. Count=0
  7348. Prop=Thaw
  7349. PropType=Procedure
  7350. GtkName=thaw
  7351. Count=0
  7352. Prop=MonthChanged
  7353. PropType=Signal
  7354. PascalType=signal
  7355. GtkName=month-changed
  7356. Count=0
  7357. Prop=DaySelected
  7358. PropType=Signal
  7359. PascalType=signal
  7360. GtkName=day-selected
  7361. Count=0
  7362. Prop=DaySelectedDoubleClick
  7363. PropType=Signal
  7364. PascalType=signal
  7365. GtkName=day-selected-double-click
  7366. Count=0
  7367. Prop=PrevMonth
  7368. PropType=Signal
  7369. PascalType=signal
  7370. GtkName=prev-month
  7371. Count=0
  7372. Prop=NextMonth
  7373. PropType=Signal
  7374. PascalType=signal
  7375. GtkName=next-month
  7376. Count=0
  7377. Prop=PrevYear
  7378. PropType=Signal
  7379. PascalType=signal
  7380. GtkName=prev-year
  7381. Count=0
  7382. Prop=NextYear
  7383. PropType=Signal
  7384. PascalType=signal
  7385. GtkName=next-year
  7386. Count=0
  7387. Object=DrawingArea
  7388. Inherit=Widget
  7389. GtkFuncName=drawing_area
  7390. CreateObject
  7391. Count=1
  7392. Prop=SetSize
  7393. PropType=Procedure
  7394. GtkName=Size
  7395. Count=2
  7396. Param=Width
  7397. PascalType=integer
  7398. Param=Height
  7399. PascalType=integer
  7400. Object=Curve
  7401. Inherit=DrawingArea
  7402. GtkFuncName=curve
  7403. CreateObject
  7404. Count=4
  7405. Prop=SetRange
  7406. PropType=Procedure
  7407. GtkName=set_range
  7408. Count=4
  7409. Param=MinX
  7410. PascalType=float
  7411. Param=MaxX
  7412. PascalType=float
  7413. Param=MinY
  7414. PascalType=float
  7415. Param=MaxY
  7416. PascalType=float
  7417. Prop=Reset
  7418. PropType=Procedure
  7419. GtkName=reset
  7420. Count=0
  7421. Prop=SetGamma
  7422. PropType=Procedure
  7423. GtkName=set_gamma
  7424. Count=1
  7425. Param=GammaValue
  7426. PascalType=float
  7427. Prop=CurveType
  7428. PropType=Property
  7429. PascalType=TGtkCurveType
  7430. GtkName=curve_type
  7431. ReadFuncType=ObjField
  7432. WriteGtkName=curve_type
  7433. Count=0
  7434. Object=Editable
  7435. Inherit=Widget
  7436. GtkFuncName=Editable
  7437. Count=45
  7438. Prop=GetHasSelection
  7439. PropType=Function
  7440. Section=Protected
  7441. PascalType=boolean
  7442. Code=begin," result := SelectionStart <> SelectionEnd;",end;
  7443. Dynamic
  7444. Count=0
  7445. Prop=HasSelection
  7446. PropType=Property
  7447. PascalType=boolean
  7448. GtkName=GetHasSelection
  7449. ReadConvert
  7450. ReadFuncType=ExistingProc
  7451. WriteProcType=NotImplemented
  7452. WriteConvert
  7453. Count=0
  7454. Prop=Editable
  7455. PropType=Property
  7456. PascalType=boolean
  7457. GtkName=editable
  7458. ReadConvert
  7459. ReadFuncType=ObjFunc
  7460. WriteGtkName=editable
  7461. Count=0
  7462. Prop=Visible
  7463. PropType=Property
  7464. PascalType=boolean
  7465. GtkName=visible
  7466. ReadConvert
  7467. ReadFuncType=ObjFunc
  7468. WriteProcType=ObjFunc
  7469. WriteGtkName=visible
  7470. WriteConvert
  7471. Count=0
  7472. Prop=Position
  7473. PropType=Property
  7474. PascalType=integer
  7475. GtkName=position
  7476. WriteGtkName=position
  7477. Count=0
  7478. Prop=SelectionStart
  7479. PropType=Property
  7480. PascalType=integer
  7481. GtkName=selection_start_pos
  7482. ReadFuncType=ObjField
  7483. WriteProcType=Proc
  7484. WriteCode=begin," gtk_editable_select_region (TheGtkObject, TheValue, SelectionEnd);",end;
  7485. Count=0
  7486. Prop=SelectionEnd
  7487. PropType=Property
  7488. PascalType=integer
  7489. GtkName=Selection_end_pos
  7490. ReadFuncType=ObjField
  7491. WriteProcType=Proc
  7492. WriteCode=begin," gtk_editable_select_region (TheGtkObject, SelectionStart, TheValue);",end;
  7493. Count=0
  7494. Prop=SetSelection
  7495. PropType=Procedure
  7496. Section=Protected
  7497. Code="var b : integer;",begin," if HasSelection then"," begin"," b := SelectionStart;"," deleteText (SelectionStart, SelectionEnd);"," end"," else"," b := position;"," InsertText (TheValue, b);"," Position := b + length(TheValue);"," SelectRegion (b, position);","end; "
  7498. Dynamic
  7499. Count=1
  7500. Param=TheValue
  7501. PascalType=string
  7502. Prop=Selection
  7503. PropType=Property
  7504. PascalType=string
  7505. Code="var c : pgchar;",begin," c := gtk_editable_get_chars (TheGtkObject, SelectionStart, SelectionEnd);"," result := string (c);"," g_free (c);",end;
  7506. ReadFuncType=Proc
  7507. WriteProcType=ExistingProc
  7508. WriteGtkName=SetSelection
  7509. Count=0
  7510. Prop=GetText
  7511. PropType=Function
  7512. Section=Protected
  7513. PascalType=string
  7514. Code="var c : pgchar;",begin," c := gtk_editable_get_chars (TheGtkObject, 0, -1);"," result := string (c);"," g_free (c);",end;
  7515. Dynamic
  7516. Count=0
  7517. Prop=SetText
  7518. PropType=Procedure
  7519. Section=Protected
  7520. Dynamic
  7521. Abstract
  7522. Count=1
  7523. Param=TheValue
  7524. PascalType=string
  7525. Prop=Text
  7526. PropType=Property
  7527. PascalType=string
  7528. GtkName=GetText
  7529. ReadFuncType=ExistingProc
  7530. WriteProcType=ExistingProc
  7531. WriteGtkName=SetText
  7532. Count=0
  7533. Prop=Changed
  7534. PropType=Procedure
  7535. GtkName=Changed
  7536. Count=0
  7537. Prop=InsertText
  7538. PropType=Procedure
  7539. Code="var p : integer;",begin," p := AtPosition;"," gtk_editable_insert_text (TheGtkObject, pgchar(NewText), length(NewText), @p);",end;
  7540. Count=2
  7541. Param=NewText
  7542. PascalType=string
  7543. Param=AtPosition
  7544. PascalType=integer
  7545. Prop=DeleteText
  7546. PropType=Procedure
  7547. GtkName=Delete_Text
  7548. Count=2
  7549. Param=StartPos
  7550. PascalType=integer
  7551. Param=EndPos
  7552. PascalType=integer
  7553. Prop=GetChars
  7554. PropType=Procedure
  7555. PascalType=string
  7556. GtkName=get_chars
  7557. Count=2
  7558. Param=StartPos
  7559. PascalType=integer
  7560. Param=EndPos
  7561. PascalType=integer
  7562. Prop=CutClipboard
  7563. PropType=Procedure
  7564. GtkName=cut_clipboard
  7565. Count=0
  7566. Prop=CopyClipboard
  7567. PropType=Procedure
  7568. GtkName=copy_clipboard
  7569. Count=0
  7570. Prop=PasteClipboard
  7571. PropType=Procedure
  7572. GtkName=paste_clipboard
  7573. Count=0
  7574. Prop=SelectRegion
  7575. PropType=Procedure
  7576. GtkName=select_region
  7577. Count=2
  7578. Param=StartPos
  7579. PascalType=integer
  7580. Param=EndPos
  7581. PascalType=integer
  7582. Prop=ClaimSelection
  7583. PropType=Procedure
  7584. GtkName=claim_selection
  7585. Count=2
  7586. Param=claim
  7587. PascalType=boolean
  7588. Param=time
  7589. PascalType=guint32
  7590. Prop=DeleteSelection
  7591. PropType=Procedure
  7592. GtkName=delete_selection
  7593. Count=0
  7594. Prop=Clear
  7595. PropType=Procedure
  7596. Code=begin," DeleteText (0,-1);",end;
  7597. Count=0
  7598. Prop=InsertSignal
  7599. PropType=SignalType
  7600. Count=5
  7601. Param=Sender
  7602. PascalType=TFPgtkObject
  7603. Param=NewText
  7604. Convert
  7605. PascalType=string
  7606. Param=TextLength
  7607. PascalType=integer
  7608. Param=Position
  7609. PascalType=integer
  7610. ParamType=Var
  7611. Param=data
  7612. PascalType=pointer
  7613. Prop=DeleteSignal
  7614. PropType=SignalType
  7615. Count=4
  7616. Param=Sender
  7617. PascalType=TFPgtkObject
  7618. Param=StartPos
  7619. PascalType=integer
  7620. Param=EndPos
  7621. PascalType=integer
  7622. Param=data
  7623. PascalType=pointer
  7624. Prop=XYSignal
  7625. PropType=SignalType
  7626. Count=4
  7627. Param=Sender
  7628. PascalType=TFPgtkObject
  7629. Param=x
  7630. PascalType=integer
  7631. Param=y
  7632. PascalType=integer
  7633. Param=data
  7634. PascalType=pointer
  7635. Prop=DirectionSignal
  7636. PropType=SignalType
  7637. Count=3
  7638. Param=Sender
  7639. PascalType=TFPgtkObject
  7640. Param=Direction
  7641. PascalType=integer
  7642. Param=data
  7643. PascalType=pointer
  7644. Prop=MoveWordSignal
  7645. PropType=SignalType
  7646. Count=3
  7647. Param=Sender
  7648. PascalType=TFPgtkObject
  7649. Param=NumWords
  7650. PascalType=integer
  7651. Param=data
  7652. PascalType=pointer
  7653. Prop=MovetoSignal
  7654. PropType=SignalType
  7655. Count=3
  7656. Param=Sender
  7657. PascalType=TFPgtkObject
  7658. Param=MoveTo
  7659. PascalType=integer
  7660. Param=data
  7661. PascalType=pointer
  7662. Prop=Changed
  7663. PropType=Signal
  7664. PascalType=Signal
  7665. GtkName=changed
  7666. Count=0
  7667. Prop=Activate
  7668. PropType=Signal
  7669. PascalType=Signal
  7670. GtkName=activate
  7671. Count=0
  7672. Prop=InsertText
  7673. PropType=Signal
  7674. PascalType=InsertSignal
  7675. GtkName=insert-text
  7676. Count=0
  7677. Prop=DeleteText
  7678. PropType=Signal
  7679. PascalType=DeleteSignal
  7680. GtkName=delete-text
  7681. Count=0
  7682. Prop=SetEditable
  7683. PropType=Signal
  7684. PascalType=BooleanSignal
  7685. GtkName=set-editable
  7686. Count=0
  7687. Prop=MoveCursor
  7688. PropType=Signal
  7689. PascalType=XYSignal
  7690. GtkName=move-cursor
  7691. Count=0
  7692. Prop=MoveWord
  7693. PropType=Signal
  7694. PascalType=MoveWordSignal
  7695. GtkName=move-word
  7696. Count=0
  7697. Prop=MovePage
  7698. PropType=Signal
  7699. PascalType=XYSignal
  7700. GtkName=move-page
  7701. Count=0
  7702. Prop=MoveToRow
  7703. PropType=Signal
  7704. PascalType=MoveToSignal
  7705. GtkName=move-to-row
  7706. Count=0
  7707. Prop=MoveToCol
  7708. PropType=Signal
  7709. PascalType=MoveToSignal
  7710. GtkName=move-to-column
  7711. Count=0
  7712. Prop=KillChar
  7713. PropType=Signal
  7714. PascalType=DirectionSignal
  7715. GtkName=kill-char
  7716. Count=0
  7717. Prop=KillWord
  7718. PropType=Signal
  7719. PascalType=DirectionSignal
  7720. GtkName=kill-word
  7721. Count=0
  7722. Prop=KillLine
  7723. PropType=Signal
  7724. PascalType=DirectionSignal
  7725. GtkName=kill-line
  7726. Count=0
  7727. Prop=CutClipboard
  7728. PropType=Signal
  7729. PascalType=Signal
  7730. GtkName=cut-clipboard
  7731. Count=0
  7732. Prop=CopyClipboard
  7733. PropType=Signal
  7734. PascalType=Signal
  7735. GtkName=copy-clipboard
  7736. Count=0
  7737. Prop=PasteClipboard
  7738. PropType=Signal
  7739. PascalType=Signal
  7740. GtkName=paste-clipboard
  7741. Count=0
  7742. Object=Entry
  7743. Inherit=Editable
  7744. GtkFuncName=Entry
  7745. CreateObject
  7746. Count=5
  7747. Prop=SetText
  7748. PropType=Procedure
  7749. Section=Protected
  7750. Code=begin," gtk_Entry_set_text (TheGtkObject, Pgchar(TheValue));",end;
  7751. Override
  7752. Count=1
  7753. Param=TheValue
  7754. PascalType=string
  7755. Prop=AppendText
  7756. PropType=Procedure
  7757. GtkName=append_text
  7758. Count=1
  7759. Param=aText
  7760. Convert
  7761. PascalType=string
  7762. Prop=PrependText
  7763. PropType=Procedure
  7764. GtkName=prepend_text
  7765. Count=1
  7766. Param=aText
  7767. Convert
  7768. PascalType=string
  7769. Prop=Visibility
  7770. PropType=Property
  7771. PascalType=boolean
  7772. GtkName=visible
  7773. ReadConvert
  7774. ReadFuncType=ObjFunc
  7775. WriteGtkName=visibility
  7776. Count=0
  7777. Prop=MaxLength
  7778. PropType=Property
  7779. PascalType=word
  7780. GtkName=text_max_length
  7781. ReadFuncType=ObjField
  7782. WriteGtkName=max_length
  7783. Count=0
  7784. Object=SpinButton
  7785. Inherit=Entry
  7786. GtkFuncName=spin_button
  7787. CreateParams=TFPgtkAdjustment.Create.TheGtkObject,1,0
  7788. CreateObject
  7789. Count=13
  7790. Prop=Configure
  7791. PropType=Procedure
  7792. Code=begin," if assigned (Adj) then"," gtk_spin_button_configure (TheGtkObject, PGtkadjustment(Adj.TheGtkObject), aClimbRate, aDigits)"," else"," gtk_spin_button_configure (TheGtkObject, nil, aClimbRate, aDigits);",end;
  7793. Count=3
  7794. Param=Adj
  7795. Convert
  7796. PascalType=TFPgtkAdjustment
  7797. Param=aClimbRate
  7798. PascalType=gfloat
  7799. Param=aDigits
  7800. PascalType=integer
  7801. Prop=Adjustment
  7802. PropType=Property
  7803. PascalType=TFPgtkAdjustment
  7804. Code=begin," result := GetPascalInstance(PGtkObject(gtk_spin_button_get_adjustment(TheGtkObject)),TFPGtkAdjustment) as TFPgtkAdjustment;",end;
  7805. ReadConvert
  7806. ReadFuncType=Proc
  7807. WriteGtkName=adjustment
  7808. WriteConvert
  7809. Count=0
  7810. Prop=ClimbRate
  7811. PropType=Property
  7812. PascalType=gfloat
  7813. GtkName=climb_rate
  7814. ReadFuncType=ObjField
  7815. WriteProcType=ObjField
  7816. WriteGtkName=climb_rate
  7817. Count=0
  7818. Prop=Digits
  7819. PropType=Property
  7820. PascalType=integer
  7821. GtkName=digits
  7822. ReadFuncType=ObjFunc
  7823. WriteGtkName=digits
  7824. Count=0
  7825. Prop=AsInteger
  7826. PropType=Property
  7827. PascalType=integer
  7828. GtkName=value_as_int
  7829. WriteGtkName=Value
  7830. Count=0
  7831. Prop=AsFloat
  7832. PropType=Property
  7833. PascalType=gfloat
  7834. GtkName=value_as_int
  7835. WriteGtkName=Value
  7836. Count=0
  7837. Prop=UpdatePolicy
  7838. PropType=Property
  7839. PascalType=TGtkSpinButtonUpdatePolicy
  7840. GtkName=update_policy
  7841. ReadFuncType=ObjField
  7842. WriteGtkName=update_policy
  7843. Count=0
  7844. Prop=Numeric
  7845. PropType=Property
  7846. PascalType=boolean
  7847. GtkName=numeric
  7848. ReadConvert
  7849. ReadFuncType=ObjFunc
  7850. WriteGtkName=numeric
  7851. Count=0
  7852. Prop=Spin
  7853. PropType=Procedure
  7854. GtkName=spin
  7855. Count=2
  7856. Param=direction
  7857. PascalType=TGtkSpinType
  7858. Param=increment
  7859. PascalType=gfloat
  7860. Prop=Wrap
  7861. PropType=Property
  7862. PascalType=boolean
  7863. GtkName=wrap
  7864. ReadConvert
  7865. ReadFuncType=ObjFunc
  7866. WriteGtkName=wrap
  7867. Count=0
  7868. Prop=ShadowType
  7869. PropType=Property
  7870. PascalType=TGtkShadowType
  7871. GtkName=shadow_type
  7872. ReadFuncType=ObjField
  7873. WriteGtkName=shadow_type
  7874. Count=0
  7875. Prop=SnapToTicks
  7876. PropType=Property
  7877. PascalType=boolean
  7878. GtkName=snap_to_ticks
  7879. ReadConvert
  7880. ReadFuncType=ObjFunc
  7881. WriteGtkName=snap_to_ticks
  7882. Count=0
  7883. Prop=Update
  7884. PropType=Procedure
  7885. GtkName=update
  7886. Code=,
  7887. Count=0
  7888. Object=Text
  7889. Inherit=Editable
  7890. GtkFuncName=Text
  7891. CreateParams=null,null
  7892. CreateObject
  7893. Count=20
  7894. Prop=FIsChanged
  7895. PropType=Field
  7896. Section=Private
  7897. PascalType=boolean
  7898. Count=0
  7899. Prop=FLines
  7900. PropType=Field
  7901. Section=Private
  7902. PascalType=TStrings
  7903. Count=0
  7904. Prop=Create
  7905. PropType=Constructor
  7906. Code=begin," inherited create;"," editable := true;"," wordwrap := true;"," linewrap := true;"," FLines := TStringlist.Create;"," ConnectChanged (@SigChanged, nil);",end;
  7907. Count=0
  7908. Prop=Destroy
  7909. PropType=Destructor
  7910. Code=begin," FLines.Free;"," inherited;",end;
  7911. Override
  7912. Count=0
  7913. Prop=SigChanged
  7914. PropType=Procedure
  7915. Section=Private
  7916. Code=begin," FIsChanged := True;",end;
  7917. Count=2
  7918. Param=Sender
  7919. PascalType=TFPgtkObject
  7920. Param=data
  7921. PascalType=pointer
  7922. Prop=RefreshLines
  7923. PropType=Procedure
  7924. Section=Protected
  7925. Code=begin," if not assigned (FLines) then"," FLines := TStringlist.Create;"," FLines.Text := Text;",end;
  7926. Count=0
  7927. Prop=Lines
  7928. PropType=Property
  7929. PascalType=TStrings
  7930. Code=begin," if FIsChanged then"," RefreshLines;"," result := FLines;",end;
  7931. ReadFuncType=Proc
  7932. WriteProcType=NotImplemented
  7933. Count=0
  7934. Prop=Freeze
  7935. PropType=Procedure
  7936. GtkName=Freeze
  7937. Count=0
  7938. Prop=Thaw
  7939. PropType=Procedure
  7940. GtkName=Thaw
  7941. Count=0
  7942. Prop=TextLength
  7943. PropType=Function
  7944. PascalType=guint
  7945. GtkName=get_length
  7946. Count=0
  7947. Prop=Insert
  7948. PropType=Procedure
  7949. Code=begin," gtk_text_insert (TheGtkObject, font, fore, back, pgchar(TheText), length(TheText));",end;
  7950. Count=4
  7951. Param=font
  7952. PascalType=PgdkFont
  7953. Param=fore
  7954. PascalType=PgdkColor
  7955. Param=back
  7956. PascalType=PgdkColor
  7957. Param=TheText
  7958. Convert
  7959. PascalType=string
  7960. Prop=DeleteBackward
  7961. PropType=Procedure
  7962. GtkName=Backward_Delete
  7963. Count=1
  7964. Param=number
  7965. PascalType=longword
  7966. Prop=DeleteForward
  7967. PropType=Procedure
  7968. GtkName=Forward_Delete
  7969. Count=1
  7970. Param=number
  7971. PascalType=longword
  7972. Prop=WordWrap
  7973. PropType=Property
  7974. PascalType=boolean
  7975. GtkName=word_wrap
  7976. ReadConvert
  7977. ReadFuncType=ObjFunc
  7978. WriteProcType=Proc
  7979. WriteCode=begin," gtk_text_set_word_wrap (TheGtkObject,gint(TheValue));",end;
  7980. WriteConvert
  7981. Count=0
  7982. Prop=LineWrap
  7983. PropType=Property
  7984. PascalType=boolean
  7985. GtkName=Line_Wrap
  7986. ReadConvert
  7987. ReadFuncType=ObjFunc
  7988. WriteProcType=Proc
  7989. WriteCode=begin,"{$IFDEF win32 or go32v2}"," Set_Line_Wrap (TheGtkObject^, gint(TheValue));",{$ELSE}," gtk_Text_Set_Line_Wrap (TheGtkObject, gint(TheValue));",{$ENDIF},end;
  7990. Count=0
  7991. Prop=Point
  7992. PropType=Property
  7993. PascalType=integer
  7994. GtkName=Point
  7995. WriteGtkName=Point
  7996. Count=0
  7997. Prop=SetAdjustments
  7998. PropType=Procedure
  7999. Code=begin," gtk_text_set_adjustments (TheGtkObject, hadj.TheGtkObject, vadj.TheGtkObject);",end;
  8000. Count=2
  8001. Param=hadj
  8002. PascalType=TFPgtkAdjustment
  8003. Param=vadj
  8004. PascalType=TFPgtkAdjustment
  8005. Prop=HAdjustment
  8006. PropType=Property
  8007. PascalType=TFPgtkAdjustment
  8008. GtkName=hadj
  8009. ReadConvert
  8010. ReadFuncType=ObjField
  8011. WriteProcType=Proc
  8012. WriteCode=begin," gtk_Text_Set_Adjustments(TheGtkObject, TheValue.TheGtkObject, TheGtkObject^.vadj);",end;
  8013. Count=0
  8014. Prop=VAdjustment
  8015. PropType=Property
  8016. PascalType=TFPgtkAdjustment
  8017. GtkName=vadj
  8018. ReadConvert
  8019. ReadFuncType=ObjField
  8020. WriteProcType=Proc
  8021. WriteCode=begin," gtk_Text_Set_Adjustments(TheGtkObject, TheGtkObject^.hadj, TheValue.TheGtkObject);",end;
  8022. Count=0
  8023. Prop=SetText
  8024. PropType=Procedure
  8025. Section=Protected
  8026. Code=begin," Freeze;"," {$ifdef gtkwin}"," TheValue := stringreplace (TheValue, #13#10, #10, [rfReplaceAll]);"," {$endif}"," clear;"," Insert (null, null, null, TheValue);"," Thaw;",end;
  8027. Override
  8028. Count=1
  8029. Param=TheValue
  8030. PascalType=string
  8031. Object=Ruler
  8032. Inherit=Widget
  8033. GtkFuncName=ruler
  8034. Count=2
  8035. Prop=SetMetric
  8036. PropType=Procedure
  8037. PascalType=TGtkMetricType
  8038. GtkName=set_metric
  8039. Count=1
  8040. Param=aMetric
  8041. PascalType=TGtkMetricType
  8042. Prop=SetRange
  8043. PropType=Procedure
  8044. GtkName=set_range
  8045. Count=4
  8046. Param=Lower
  8047. PascalType=float
  8048. Param=Upper
  8049. PascalType=float
  8050. Param=Position
  8051. PascalType=float
  8052. Param=MaxSize
  8053. PascalType=float
  8054. Object=HRuler
  8055. Inherit=Ruler
  8056. GtkFuncName=hruler
  8057. CreateObject
  8058. Count=0
  8059. Object=VRuler
  8060. Inherit=Ruler
  8061. GtkFuncName=vruler
  8062. CreateObject
  8063. Count=0
  8064. Object=Range
  8065. Inherit=Widget
  8066. GtkFuncName=Range
  8067. Count=18
  8068. Prop=Adjustment
  8069. PropType=Property
  8070. PascalType=TFPgtkAdjustment
  8071. GtkName=Adjustment
  8072. ReadConvert
  8073. WriteGtkName=adjustment
  8074. WriteConvert
  8075. Count=0
  8076. Prop=UpdatePolicy
  8077. PropType=Property
  8078. PascalType=TgtkUpdateType
  8079. GtkName=policy
  8080. ReadFuncType=ObjFunc
  8081. WriteGtkName=update_policy
  8082. Count=0
  8083. Prop=FAdj
  8084. PropType=Field
  8085. Section=Protected
  8086. PascalType=TFPgtkAdjustment
  8087. Count=0
  8088. Prop=Create
  8089. PropType=Constructor
  8090. Code=begin," FAdj := AnAdjustment;"," inherited create;",end;
  8091. Count=1
  8092. Param=AnAdjustment
  8093. PascalType=TFPgtkAdjustment
  8094. Prop=DrawBackground
  8095. PropType=Procedure
  8096. GtkName=draw_background
  8097. Count=0
  8098. Prop=DrawTrough
  8099. PropType=Procedure
  8100. GtkName=draw_trough
  8101. Count=0
  8102. Prop=DrawStepForw
  8103. PropType=Procedure
  8104. GtkName=draw_step_forw
  8105. Count=0
  8106. Prop=DrawStepBack
  8107. PropType=Procedure
  8108. GtkName=draw_step_back
  8109. Count=0
  8110. Prop=DrawSlider
  8111. PropType=Procedure
  8112. GtkName=draw_slider
  8113. Count=0
  8114. Prop=SliderUpdate
  8115. PropType=Procedure
  8116. GtkName=slider_update
  8117. Count=0
  8118. Prop=TroughClick
  8119. PropType=Function
  8120. PascalType=integer
  8121. Code=begin," result := gtk_Range_trough_click (TheGtkObject, X, Y, @JumpPerc);",end;
  8122. Count=3
  8123. Param=X
  8124. PascalType=integer
  8125. Param=Y
  8126. PascalType=integer
  8127. Param=JumpPerc
  8128. PascalType=gfloat
  8129. ParamType=Var
  8130. Prop=DefaultHSliderUpdate
  8131. PropType=Procedure
  8132. GtkName=default_hslider_update
  8133. Count=0
  8134. Prop=DefaultVSliderUpdate
  8135. PropType=Procedure
  8136. GtkName=default_vslider_update
  8137. Count=0
  8138. Prop=DefaultHTroughClick
  8139. PropType=Function
  8140. PascalType=integer
  8141. Code=begin," result := gtk_Range_default_htrough_click (TheGtkObject, X, Y, @JumpPerc);",end;
  8142. Count=3
  8143. Param=X
  8144. PascalType=integer
  8145. Param=Y
  8146. PascalType=integer
  8147. Param=JumpPerc
  8148. PascalType=gfloat
  8149. ParamType=Var
  8150. Prop=DefaultVTroughClick
  8151. PropType=Function
  8152. PascalType=integer
  8153. Code=begin," result := gtk_Range_default_vtrough_click (TheGtkObject, X, Y, @JumpPerc);",end;
  8154. Count=3
  8155. Param=X
  8156. PascalType=integer
  8157. Param=Y
  8158. PascalType=integer
  8159. Param=JumpPerc
  8160. PascalType=gfloat
  8161. ParamType=Var
  8162. Prop=defaultHMotion
  8163. PropType=Procedure
  8164. GtkName=default_hmotion
  8165. Count=2
  8166. Param=XDelta
  8167. PascalType=integer
  8168. Param=YDelta
  8169. PascalType=integer
  8170. Prop=defaultVMotion
  8171. PropType=Procedure
  8172. GtkName=default_vmotion
  8173. Count=2
  8174. Param=XDelta
  8175. PascalType=integer
  8176. Param=YDelta
  8177. PascalType=integer
  8178. Prop=ClearBackground
  8179. PropType=Procedure
  8180. GtkName=clear_background
  8181. Count=0
  8182. Object=Scale
  8183. Inherit=Range
  8184. GtkFuncName=scale
  8185. Count=3
  8186. Prop=SetDigits
  8187. PropType=Procedure
  8188. GtkName=set_digits
  8189. ReadFuncType=ObjField
  8190. Count=1
  8191. Param=TheValue
  8192. PascalType=integer
  8193. Prop=DrawValue
  8194. PropType=Property
  8195. PascalType=boolean
  8196. GtkName=draw_value
  8197. ReadConvert
  8198. ReadFuncType=ObjFunc
  8199. WriteGtkName=draw_value
  8200. WriteConvert
  8201. Count=0
  8202. Prop=ValuePos
  8203. PropType=Property
  8204. PascalType=TGtkPositionType
  8205. GtkName=value_pos
  8206. ReadFuncType=ObjFunc
  8207. WriteGtkName=value_pos
  8208. Count=0
  8209. Object=HScale
  8210. Inherit=Scale
  8211. GtkFuncName=hscale
  8212. CreateParams=nil
  8213. CreateObject
  8214. Count=0
  8215. Object=VScale
  8216. Inherit=Scale
  8217. GtkFuncName=vscale
  8218. CreateParams=nil
  8219. CreateObject
  8220. Count=0
  8221. Object=Scrollbar
  8222. Inherit=Range
  8223. GtkFuncName=Scrollbar
  8224. Count=0
  8225. Object=HScrollbar
  8226. Inherit=Scrollbar
  8227. GtkFuncName=hscrollbar
  8228. Count=1
  8229. Prop=CreateGtkObject
  8230. PropType=Procedure
  8231. Section=Protected
  8232. Code="var a : PgtkAdjustment;",begin," if assigned (FAdj) then"," a := FAdj.TheGtkObject"," else"," a := null;"," FGtkObject := PgtkObject (gtk_hscrollbar_new (a));"," FAdj := nil;",end;
  8233. Override
  8234. Count=0
  8235. Object=VScrollbar
  8236. Inherit=Scrollbar
  8237. Count=1
  8238. Prop=CreateGtkObject
  8239. PropType=Procedure
  8240. Section=Protected
  8241. Code="var a : PgtkAdjustment;",begin," if assigned (FAdj) then"," a := FAdj.TheGtkObject"," else"," a := null;"," FGtkObject := PgtkObject (gtk_vscrollbar_new (a));"," FAdj := nil;",end;
  8242. Override
  8243. Count=0
  8244. Object=Separator
  8245. Inherit=Widget
  8246. GtkFuncName=Separator
  8247. Count=0
  8248. Object=HSeparator
  8249. Inherit=Separator
  8250. GtkFuncName=HSeparator
  8251. CreateObject
  8252. Count=0
  8253. Object=VSeparator
  8254. Inherit=Separator
  8255. GtkFuncName=VSeparator
  8256. CreateObject
  8257. Count=0
  8258. Object=Preview
  8259. Inherit=Widget
  8260. GtkFuncName=preview
  8261. CreateParams=GTK_PREVIEW_COLOR
  8262. CreateObject
  8263. Count=6
  8264. Prop=Size
  8265. PropType=Procedure
  8266. GtkName=size
  8267. Count=2
  8268. Param=aWidth
  8269. PascalType=integer
  8270. Param=aHeight
  8271. PascalType=integer
  8272. Prop=Put
  8273. PropType=Procedure
  8274. GtkName=put
  8275. Count=8
  8276. Param=aWindow
  8277. PascalType=PGdkWindow
  8278. Param=gc
  8279. PascalType=PGdkGC
  8280. Param=SrcX
  8281. PascalType=integer
  8282. Param=SrcY
  8283. PascalType=integer
  8284. Param=destX
  8285. PascalType=integer
  8286. Param=DestY
  8287. PascalType=integer
  8288. Param=aWidth
  8289. PascalType=integer
  8290. Param=aHeight
  8291. PascalType=integer
  8292. Prop=DrawRow
  8293. PropType=Procedure
  8294. GtkName=draw_row
  8295. Count=4
  8296. Param=data
  8297. PascalType=pguchar
  8298. Param=X
  8299. PascalType=integer
  8300. Param=Y
  8301. PascalType=integer
  8302. Param=W
  8303. PascalType=integer
  8304. Prop=SetGamma
  8305. PropType=HelperProc
  8306. Code=begin," gtk_preview_set_gamma (aGamma);",end;
  8307. Count=1
  8308. Param=aGamma
  8309. PascalType=double
  8310. Prop=Expand
  8311. PropType=Property
  8312. PascalType=longbool
  8313. GtkName=expand
  8314. ReadConvert
  8315. ReadFuncType=ObjFunc
  8316. WriteGtkName=expand
  8317. WriteConvert
  8318. Count=0
  8319. Prop=Dither
  8320. PropType=Property
  8321. PascalType=TGdkRgbDither
  8322. GtkName=dither
  8323. ReadFuncType=ObjField
  8324. WriteGtkName=dither
  8325. Count=0
  8326. Object=Progress
  8327. Inherit=Widget
  8328. GtkFuncName=progress
  8329. Count=13
  8330. Prop=Showtext
  8331. PropType=Property
  8332. PascalType=longbool
  8333. GtkName=show_text
  8334. ReadConvert
  8335. ReadFuncType=ObjFunc
  8336. WriteGtkName=show_text
  8337. WriteConvert
  8338. Count=0
  8339. Prop=TextXAlign
  8340. PropType=Property
  8341. PascalType=gfloat
  8342. GtkName=x_align
  8343. ReadFuncType=ObjField
  8344. WriteProcType=Proc
  8345. WriteCode=begin," gtk_progress_set_text_alignment (TheGtkObject, TheValue, TextYAlign);",end;
  8346. Count=0
  8347. Prop=TextYAlign
  8348. PropType=Property
  8349. PascalType=gfloat
  8350. GtkName=y_align
  8351. ReadFuncType=ObjField
  8352. WriteProcType=Proc
  8353. WriteCode=begin," gtk_progress_set_text_alignment (TheGtkObject, TextXAlign, TheValue);",end;
  8354. Count=0
  8355. Prop=SetTextAlignment
  8356. PropType=Procedure
  8357. GtkName=set_text_alignment
  8358. Count=2
  8359. Param=anXalign
  8360. PascalType=gfloat
  8361. Param=anYAlign
  8362. PascalType=gfloat
  8363. Prop=CurrentValue
  8364. PropType=Property
  8365. PascalType=float
  8366. GtkName=Value
  8367. WriteProcType=Proc
  8368. WriteCode=begin," gtk_progress_Set_value (TheGtkObject, TheValue);"," Draw (nil);",end;
  8369. Count=0
  8370. Prop=Percentage
  8371. PropType=Property
  8372. PascalType=float
  8373. GtkName=current_percentage
  8374. WriteGtkName=percentage
  8375. Count=0
  8376. Prop=PercentageFromValue
  8377. PropType=Function
  8378. PascalType=gfloat
  8379. GtkName=get_percentage_from_value
  8380. Count=1
  8381. Param=aValue
  8382. PascalType=gfloat
  8383. Prop=FormatString
  8384. PropType=Property
  8385. PascalType=string
  8386. GtkName=format
  8387. ReadConvert
  8388. ReadFuncType=ObjField
  8389. WriteGtkName=format_string
  8390. WriteConvert
  8391. Count=0
  8392. Prop=Adjustment
  8393. PropType=Property
  8394. PascalType=TFPgtkAdjustment
  8395. Code=begin," result := GetPascalInstance (PGtkObject(TheGtkObject^.adjustment), TFPgtkAdjustment) as TFPgtkAdjustment;",end;
  8396. ReadFuncType=Proc
  8397. WriteGtkName=adjustment
  8398. WriteConvert
  8399. Count=0
  8400. Prop=ActivityMode
  8401. PropType=Property
  8402. PascalType=longbool
  8403. GtkName=activity_mode
  8404. ReadConvert
  8405. ReadFuncType=ObjFunc
  8406. WriteGtkName=activity_mode
  8407. WriteConvert
  8408. Count=0
  8409. Prop=CurrentText
  8410. PropType=Function
  8411. PascalType=string
  8412. GtkName=get_current_text
  8413. Count=0
  8414. Prop=TextFromValue
  8415. PropType=Function
  8416. PascalType=string
  8417. GtkName=get_text_from_value
  8418. Count=1
  8419. Param=aValue
  8420. PascalType=gfloat
  8421. Prop=Configure
  8422. PropType=Procedure
  8423. GtkName=configure
  8424. Count=3
  8425. Param=aValue
  8426. PascalType=gfloat
  8427. Param=aMin
  8428. PascalType=gfloat
  8429. Param=aMax
  8430. PascalType=gfloat
  8431. Object=ProgressBar
  8432. Inherit=Progress
  8433. GtkFuncName=progress_bar
  8434. Count=8
  8435. Prop=Create
  8436. PropType=Constructor
  8437. Code=begin," FAdj := adj;"," inherited create;",end;
  8438. Count=1
  8439. Param=adj
  8440. PascalType=TFPgtkAdjustment
  8441. Prop=CreateGtkObject
  8442. PropType=Procedure
  8443. Section=Protected
  8444. Code=begin," if assigned (FAdj) then"," TheGtkWidget := gtk_progress_bar_new_with_adjustment (FAdj.TheGtkObject)"," else"," TheGtkWidget := gtk_progress_bar_new;",end;
  8445. Override
  8446. Count=0
  8447. Prop=FAdj
  8448. PropType=Field
  8449. Section=Private
  8450. PascalType=TFPgtkAdjustment
  8451. Count=0
  8452. Prop=BarStyle
  8453. PropType=Property
  8454. PascalType=TGtkProgressBarStyle
  8455. GtkName=bar_style
  8456. ReadFuncType=ObjField
  8457. WriteGtkName=bar_style
  8458. Count=0
  8459. Prop=DiscreteBlocks
  8460. PropType=Property
  8461. PascalType=longword
  8462. GtkName=blocks
  8463. ReadFuncType=ObjField
  8464. WriteGtkName=discrete_blocks
  8465. Count=0
  8466. Prop=ActivityStep
  8467. PropType=Property
  8468. PascalType=longword
  8469. GtkName=activity_step
  8470. ReadFuncType=ObjField
  8471. WriteGtkName=activity_step
  8472. Count=0
  8473. Prop=ActivityBlocks
  8474. PropType=Property
  8475. PascalType=longword
  8476. GtkName=activity_blocks
  8477. ReadFuncType=ObjField
  8478. WriteGtkName=activity_blocks
  8479. Count=0
  8480. Prop=Orientation
  8481. PropType=Property
  8482. PascalType=TGtkProgressBarOrientation
  8483. GtkName=orientation
  8484. ReadFuncType=ObjField
  8485. WriteGtkName=orientation
  8486. Count=0
  8487. Object=ItemFactory
  8488. Inherit=Object
  8489. Count=0