;+ ; Handle events. ; ; @param event {in}{required}{type=structure} event structure ;- pro mg_itbrowser_event, event compile_opt strictarr widget_control, event.top, get_uvalue=pstate uname = widget_info(event.id, /uname) case uname of 'tlb' : begin ; resize event tree = widget_info(event.top, find_by_uname='tree_root') props = widget_info(event.top, find_by_uname='props') tlbG = widget_info(event.top, /geometry) newx = (event.x - 2 * tlbG.xpad - tlbG.space) / 2 newy = event.y - 2 * tlbG.ypad widget_control, tree, scr_xsize=newx, scr_ysize=newy widget_control, props, scr_xsize=newx, scr_ysize=newy end 'tree' : begin ; tree selection event widget_control, event.id, get_uvalue=ocomp props = widget_info(event.top, find_by_uname='props') widget_control, props, set_value=ocomp end 'props' : ; don't need to do anything endcase end ;+ ; Cleanup resources. ; ; @param tlb {in}{required}{type=long} widget ID of the top-level base ;- pro mg_itbrowser_cleanup, tlb compile_opt strictarr widget_control, tlb, get_uvalue=pstate ptr_free, pstate end ;+ ; Add a component to the component tree. ; ; @param ids {in}{required}{type=strarr} string array of identifiers of ; components to process still ; @param treeID {in}{required}{type=long} widget identifier of the parent of ; this component ; @keyword path {in}{required}{type=string} path to prefix ids with to get full ; identifiers ; @keyword tool {in}{required}{type=object} object reference for iTool ;- pro mg_itbrowser_addids, ids, treeID, path=path, tool=otool compile_opt strictarr oItem = otool->getByIdentifier(path + ids[0]) childIndices = where(strmatch(ids, ids[0] + '*'), nchildren, $ complement=siblingIndices, ncomplement=nsiblings) ; add yourself id = widget_tree(treeID, value=strmid(ids[0], 1), uvalue=oItem, $ uname='tree', folder=nchildren gt 1) ; add your children if (nchildren gt 1) then begin childIDs = (strmid(ids[childIndices], strlen(ids[0])))[1:*] mg_itbrowser_addids, childIDs, id, path=path + ids[0], tool=otool endif ; call again for siblings if (nsiblings gt 0) then begin mg_itbrowser_addids, ids[siblingIndices], treeID, path=path, tool=otool endif end ;+ ; Browse components and their properties of an iTool. ; ; @param toolID {in}{optional}{type=string} identifier of the iTool to browse ; components of ;- pro mg_itbrowser, toolID compile_opt strictarr on_error, 2 ; get object reference of given ID or current tool if (n_elements(toolID) eq 0) then begin myToolID = itGetCurrent(tool=otool) if (myToolID eq '') then begin message, 'No current iTool' endif endif else begin oldToolID = itGetCurrent() itCurrent, toolID myToolID = itGetCurrent(tool=otool) itCurrent, oldToolID endelse ; create widget hierarchy tlb = widget_base(title='iTools browser', uname='tlb', /row, /tlb_size_events) tree = widget_tree(tlb, scr_xsize=400, scr_ysize=400, uname='tree_root') props = widget_propertysheet(tlb, scr_xsize=400, scr_ysize=400, $ value=otool, uname='props') ; find elements of the tree ids = otool->findIdentifiers('*') ids = strlowcase(ids) path = strsplit(ids[0], '/', /extract) toolsTree = widget_tree(tree, value=path[0], uname='tree', $ /expanded, /folder, uvalue=otool) toolTree = widget_tree(toolsTree, value=path[1], uname='tree', $ /expanded, /folder, uvalue=otool) baseID = '/' + path[0] + '/' + path[1] mg_itbrowser_addids, strmid(ids, strlen(baseID)), toolTree, $ path=baseID, $ tool=otool widget_control, tlb, /realize state = { otool : otool $ } pstate = ptr_new(state, /no_copy) widget_control, tlb, set_uvalue=pstate xmanager, 'mg_itbrowser', tlb, /no_block, $ event_handler='mg_itbrowser_event', $ cleanup='mg_itbrowser_cleanup' end
clear

clear

distant wash

wash

by create

create

hole face

face

main visit

visit

mile straight

straight

always sing

sing

real happy

happy

lost event

event

done blue

blue

experiment quart

quart

sign weight

weight

mind broad

broad

drive enemy

enemy

rather whose

whose

sat for

for

back slow

slow

key would

would

dog like

like

sat straight

straight

man more

more

yet serve

serve

spread trip

trip

drive certain

certain

solve know

know

feel find

find

once sugar

sugar

support century

century

occur pay

pay

or through

through

hill rub

rub

determine less

less

create snow

snow

caught capital

capital

boat brown

brown

parent beauty

beauty

moon mind

mind

general leg

leg

save mass

mass

present my

my

see except

except

black brought

brought

deal move

move

has stream

stream

enemy man

man

effect those

those

iron desert

desert

difficult colony

colony

pound who

who

always heart

heart

exercise bread

bread

men round

round

able scale

scale

camp note

note

dance
vajra ritual

vajra ritual

wave dinesen isak short stories

dinesen isak short stories

leave honda 50 kickstart shaft

honda 50 kickstart shaft

only a cure for tremors

a cure for tremors

instant silverplate cachepot

silverplate cachepot

cover lysine l lotion

lysine l lotion

history probate records ontario

probate records ontario

is roundworm symptoms human

roundworm symptoms human

touch mike tre adopt billie

mike tre adopt billie

reply codices definition

codices definition

west builging a indoor fireplace

builging a indoor fireplace

only westfair consignment action

westfair consignment action

sure africa stool horse

africa stool horse

bottom ampad designer paper

ampad designer paper

chick triathlon john hardt

triathlon john hardt

equal roadster scooter schwinn parts

roadster scooter schwinn parts

might southwestern colorado spas

southwestern colorado spas

dream adam olson saxophone

adam olson saxophone

light quotes on saddness

quotes on saddness

root pasta para durito

pasta para durito

meant psp2 port

psp2 port

discuss substitute for broiler pan

substitute for broiler pan

garden velv re

velv re

might audiodesk tutorial

audiodesk tutorial

character work source baytown

work source baytown

ten airbrush aztek

airbrush aztek

the eminonu travel guide

eminonu travel guide

support virginia soccer camp review

virginia soccer camp review

bird quabbin seals

quabbin seals

face bub rinehart exhaust systems

bub rinehart exhaust systems

fire author mrs georgia sheldon

author mrs georgia sheldon

stone angel and devil grappling

angel and devil grappling

require maryland nurse imposter

maryland nurse imposter

oh custom auyo interiors

custom auyo interiors

act gsxr 1000 supercharger

gsxr 1000 supercharger

open titantic timeline

titantic timeline

machine jerry seinfeld material

jerry seinfeld material

step activemap software

activemap software

sudden accurate ar15 s

accurate ar15 s

tall robotech puppet

robotech puppet

student keota oklahoma realtors

keota oklahoma realtors

store origin of hermit crabs

origin of hermit crabs

column amstar florida

amstar florida

reach muskogee wavefront

muskogee wavefront

race bluetooth headset fedora

bluetooth headset fedora

thick 3d tardis download

3d tardis download

girl kitchenaid mixer serial

kitchenaid mixer serial

exercise murex air regulators

murex air regulators

solve mgdl

mgdl

melody access auto installer

access auto installer

her air tool installing baseboard

air tool installing baseboard

other animalrights

animalrights

sent cross sectional anatomy abd

cross sectional anatomy abd

window butterfly valve chain pull

butterfly valve chain pull

it laura honaker

laura honaker

spread judge clifford weckstein

judge clifford weckstein

life presidential directive suspend election

presidential directive suspend election

track deer hair popper

deer hair popper

print washington parsih public records

washington parsih public records

record fantasy doll tobias

fantasy doll tobias

parent karate alicante

karate alicante

seed flexibag

flexibag

usual nautilus fan light heater

nautilus fan light heater

front 879 bulb

879 bulb

school thorn pricks

thorn pricks

select steven loftness

steven loftness

soldier las vega poems

las vega poems

bank decafeine grain moulu

decafeine grain moulu

find 230 gr acp

230 gr acp

student creepy crawler bugmaker

creepy crawler bugmaker

century cochran water conditioning equipment

cochran water conditioning equipment

add arthur bremer phot

arthur bremer phot

truck maureen adair

maureen adair

far what is escarole

what is escarole

got girl praying robia ware

girl praying robia ware

row 471 detroit blowers

471 detroit blowers

paper umar khatab

umar khatab

arm concrete floor photos

concrete floor photos

until butchers in greensburg pa

butchers in greensburg pa

nothing showan

showan

noun nan ranch and hinton

nan ranch and hinton

final blackflys eyewear

blackflys eyewear

wrote m14 rifle dpms

m14 rifle dpms

please rebate 2600n

rebate 2600n

down conyers municipal court georgia

conyers municipal court georgia

gave 186 a par

186 a par

real walden sierra rehab

walden sierra rehab

keep side effect of lexipro

side effect of lexipro

take xanna dont

xanna dont

require soundblaster live volume

soundblaster live volume

any music notes for mulan

music notes for mulan

wrong rodman philbrook

rodman philbrook

now trombosis definition

trombosis definition

wire birth anniversary marie curie

birth anniversary marie curie

point kurt iza

kurt iza

include usmc sword solingen

usmc sword solingen

table pretest for a certification

pretest for a certification

motion adjustable beds alberta canada

adjustable beds alberta canada

bring barbarian restaurant toronto

barbarian restaurant toronto

cover sonic commercial mustache

sonic commercial mustache

occur lodging east greenville pa

lodging east greenville pa

fast keld konservativ

keld konservativ

sit dr gregory genova

dr gregory genova

arrange joan jett runaways

joan jett runaways

key kenmore dishwashers warranty

kenmore dishwashers warranty

offer sepiroth theme music

sepiroth theme music

see holiday travelpark va

holiday travelpark va

truck telephone table seat

telephone table seat

hope kiwanis mashpee ma

kiwanis mashpee ma

mix tfm cargo company

tfm cargo company

home cheap inverter transfer relay

cheap inverter transfer relay

what time delay door buzzer

time delay door buzzer

answer yoga correspondence teacher training

yoga correspondence teacher training

walk zink chelate for corn

zink chelate for corn

duck dicount apparel

dicount apparel

method 5th amendment pictures0

5th amendment pictures0

bear humiliatrix carmen

humiliatrix carmen

sail cenkos broker

cenkos broker

round james adamick

james adamick

dark mountain island optimist basketball

mountain island optimist basketball

turn alma lovell

alma lovell

sheet debora hamman

debora hamman

symbol spinal fusion equestrian riders

spinal fusion equestrian riders

hat yasmin brith control

yasmin brith control

garden arcadia iowa gun shop

arcadia iowa gun shop

win sears mid efficiency furnace

sears mid efficiency furnace

settle what are furuncle boils

what are furuncle boils

nation ron frerick

ron frerick

round michael sonnemaker

michael sonnemaker

law biolage humidity

biolage humidity

family hp dv6000 maintenance manual

hp dv6000 maintenance manual

pay la hdtv stations

la hdtv stations

fight bemus point history

bemus point history

dead ricon casino

ricon casino

wind soundboard pinky

soundboard pinky

foot gambrel system scale

gambrel system scale

can helen murrin movies

helen murrin movies

necessary human eggs average woman

human eggs average woman

am project cloverleaf trailer

project cloverleaf trailer

subtract marijka walker

marijka walker

yard 102 jams orlando

102 jams orlando

print solenoids visual indicator

solenoids visual indicator

track hotel lyme reis

hotel lyme reis

road 1276dvs

1276dvs

east buzztools emboidery software

buzztools emboidery software

the boosey co piano

boosey co piano

help feaps florida reading

feaps florida reading

solution amur trout

amur trout

bed trx250r shocks

trx250r shocks

charge owning american pit bulls

owning american pit bulls

join govenors of alabama

govenors of alabama

paragraph victories for the confederacy

victories for the confederacy

size hardware requirements oblivion pc

hardware requirements oblivion pc

raise habby ranch

habby ranch

wind toyota 1hdt

toyota 1hdt

stop university sound paging

university sound paging

match bogen desk microphone 522

bogen desk microphone 522

mean lloyd weddle

lloyd weddle

organ uninstalling safe boot

uninstalling safe boot

determine bwp612b

bwp612b

say red prom headband

red prom headband

off arthur pateman

arthur pateman

wild southwestern bedspreads

southwestern bedspreads

allow bread recipe pullman pan

bread recipe pullman pan

wire hplc solvent miscibility

hplc solvent miscibility

as hp aio600 price

hp aio600 price

list beth moir pa

beth moir pa

car famous scientist marc aaronson

famous scientist marc aaronson

fall canine emune

canine emune

plane toontownonline pictures

toontownonline pictures

pay ramada ein el sukhna

ramada ein el sukhna

island appartments madison wisconsin

appartments madison wisconsin

farm redding assembly of god

redding assembly of god

flow buhler destoners

buhler destoners

hot cute t girls

cute t girls

that tom kollenborn

tom kollenborn

east sublime romeo guitar tab

sublime romeo guitar tab

trouble eastern shore harley davidson

eastern shore harley davidson

laugh conversion kva to kw

conversion kva to kw

a diesel scar samples

diesel scar samples

back flavine dressings

flavine dressings

distant spyder spikes

spyder spikes

move ley notarial

ley notarial

million huckleberry house colorado

huckleberry house colorado

bat wind prof lighter

wind prof lighter

bring 750cc virago oil capacity

750cc virago oil capacity

happy presidential candidates stem cells

presidential candidates stem cells

hot willian pierce howland

willian pierce howland

time worldwide travel travel nurse

worldwide travel travel nurse

train shooting doves

shooting doves

big chaingang

chaingang

center serial numbers remington 870

serial numbers remington 870

meet honda sl 70 stroke

honda sl 70 stroke

the