[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: xpm



It looks like I've posted the same question a few hours ago and the answer
is available in a reply.

Christophe

Le jeu, 30 aoû 2001 16:22:32, PCc0d3r a écrit :
> i am opening an xpm file on the box like that:
> 
> 	style = gtk_widget_get_style(window1);
> 	pixmap = gdk_pixmap_create_from_xpm(window1->window, &mask,
> 	&style->bg[GTK_STATE_NORMAL], "../pixmaps/logo.xpm");
> 	pixmapWidget = gtk_pixmap_new(pixmap, mask);
> 	gtk_box_pack_start(GTK_BOX(box_1), pixmapWidget,
> 	FALSE, FALSE, 0);
> 	gtk_widget_show(pixmapWidget);
> 
> how can i make a function like on clicked. i can use "clicked" event in
> buttons. what should i use in xpm files?
> 
> i tried
> 
> gtk_signal_connect(GTK_OBJECT(pixmapWidget), "clicked",
> 		   GTK_SIGNAL_FUNC(go), NULL);
> 
> bu it didn't worked
> 
> -- 
> PCc0d3r
> X-G3n
> http://xgen.linux.org.tr/
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 
-- 
Christophe Barbé
Software Engineer - christophe.barbe@lineo.fr
Lineo France - Lineo High Availability Group
42-46, rue Médéric - 92110 Clichy - France
phone (33).1.41.40.02.12 - fax (33).1.41.40.02.01
http://www.lineo.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]