Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-26-2003, 06:34 AM   #1
LQ Newbie
Registered: Aug 2003
Location: paris
Distribution: red hat
Posts: 1

Rep: Reputation: 0
random image with gtk

i want to display on the screen an image which changes randomly

i've tried with gtk_timout_add(100, (GtkFunction) My_Function_Image, (gpointer) My_Box); but it doesn't work

My_Box is the box in which i want the image to be shown off

there are no errors on the compilation but it displays nothing on the screen

what can i do ???

thank for your help

Old 08-29-2003, 09:32 PM   #2
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
I'm not too experienced with gtk programming, but more lines of the program would be useful, especially My_Function_Image.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 12:57 PM
Kernel-image renamed to linux-image? powadha Debian 2 08-02-2005 06:07 AM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 01:46 AM
Creating random numbers from shell with /dev/random khermans Linux - General 1 07-13-2004 01:12 PM
Random Image Thread [pic] bkeating General 24 06-24-2002 11:33 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration