Image in GtkCheckMenuItem and GtkRadioMenuItem

2002-04-25 Thread maurits . rijk
Hi, Does anyone know if it's possible to have an image (like for example the stock icon in the File/Open menu) in a GtkCheckMenuItem or a GtkRadioMenuItem? I'm not sure yet if having both an icon and a radio/check marker in a menu entry might be confusing, but I want to use this for ex

Re: GtkRadioMenuItem

2001-12-16 Thread Ignacio Nodal
Hi again... I have take a look into gtkradiomenuitem.c and implemeted my callback like this: void CB_Mouse_Action(GtkWidget* widget, gpointer data) { gint item=_number_of_items; GtkRadioMenuItem *tmp_item; GSList *slist; GtkRadioMenuItem *tmp_widget = (GtkRadioMenuItem *) widget

GtkRadioMenuItem

2001-12-16 Thread Ignacio Nodal
Hi, I've create a submenu using GtkRadioMenuItems. I don't want to use individuals callbacks for each GtkRadioMenuItems in the same submenu. Instead I want to call a unique callback but I need to know which submenu item called it. All GtkRadioMenuItems in the submenu belong to the same group a