Button with image from a GtkAction
- From: Claudio Saavedra <csaavedra gnome org>
- To: gtk-list gnome org
- Subject: Button with image from a GtkAction
- Date: Fri, 30 May 2008 12:42:24 -0400
Hi,
I'm trying to add a GtkButton with only an image on it, whose
properties come from a GtkAction. For this, I'm using
gtk_action_connect_proxy():
GtkAction *action;
GtkWidget *button;
action = gtk_action_group_get_action (ag, "PlayAction");
button = gtk_button_new ();
gtk_action_connect_proxy (action, button);
The button works OK, but instead of the stock image associated to
"PlayAction", I get the stock text with mnemonic.
How could I set the GtkButton to display only the stock image?
Claudio
--
Claudio Saavedra <csaavedra gnome org>
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]