Re: How to ask if a widget is GtkMenuBar or GtkMenuItem
- From: Havoc Pennington <hp redhat com>
- To: Ignacio Nodal <inodal teleline es>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: How to ask if a widget is GtkMenuBar or GtkMenuItem
- Date: 14 Jan 2002 16:15:01 -0500
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]