Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

halpies with GTK2

Name: Anonymous 2007-07-22 3:08 ID:Pnr5TZVs

OK guys, I've never done any GUI programming so help me out a bit

        window <- windowNew
    image  <- imageNewFromFile "/home/CENSORED/wiki.png"
    set window [containerChild := image]


if I load a different Image, how do I get the window to display the new one?

Name: Anonymous 2007-07-22 8:00 ID:0RlGyv8h

Have you tried:
    window <- windowNew
    image  <- imageNewFromFile "/home/CENSORED/wiki.png"
    set window [containerChild := image]
    image2  <- imageNewFromFile "/home/CENSORED/cake.png"
    set window [containerChild := image2]

>>17 Learn monads. You're right in principle, but in fact you're WROGN

expand your narrow mind. here's how it's done (in java as you wouldn't understand otherwise)
theWorldFinal = (sumething(sumething2(sumweing(the_world))))))

sumething etc returns takes a world and returns a modified world
World sumething(World aWorld)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List