Re: How to ask if a widget is GtkMenuBar or GtkMenuItem



Ignacio Nodal <inodal teleline es> writes:
> Hi, i'm writing my own functions to create menus, submenus, etc.
> 
> In my function CreateMenu(GtkWidget* parent, gchar* label), I would
> like to know if my "GtkWidget* parent" parameter is either a
> GtkMenuBar or a GtkMenuItem..
> 
> how can I ask this?

GTK_IS_MENU_BAR() and GTK_IS_MENU_ITEM()

Havoc



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