xpm
- From: PCc0d3r <pcc0d3r yahoo com>
- To: GTK App.Devel.List <gtk-app-devel-list gnome org>, gale gtk org, imain gtk org
- Subject: xpm
- Date: Thu, 30 Aug 2001 17:22:32 +0300
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
- Follow-Ups:
- Re: xpm
- From: christophe =?iso-8859-1?Q?barb=E9?=
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]