Hi all,

        I'm trying to create a toolbar button as follows:

  iconw = gtk_image_new_from_file ("next.xpm");
  toolbar_button = gtk_toolbar_append_item (GTK_TOOLBAR (toolbar), NULL,
"Go to next", NULL, iconw, GTK_SIGNAL_FUNC (showNext), GINT_TO_POINTER
(curr));

        An obvious problem with this is that the .xpm file is assumed to
be in the current directory.  I could put an absolute path, but ideally,
I'd like to add the picture into the code.  The GTK docs present many
choices to choose from when creating toolbar buttons.  Could someone
recommend to me what is the ideal method for creating toolbars?

        Thank you!

Ray


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to