include/alp/menubar.h File Reference


Detailed Description

AlpMenuBar widget provides pop-up menubar. In PalmOS, a menu bar is hidden nomally and pop up when a title bar is tapped. It can be implemented with AlpMenuBar and AlpTitleBar.

#include <gdk/gdk.h>
#include <gtk/gtk.h>

Go to the source code of this file.

Data Structures

struct  _AlpMenuBar
struct  _AlpMenuBarClass

Defines

#define ALP_IS_MENU_BAR(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), ALP_TYPE_MENU_BAR))
#define ALP_IS_MENU_BAR_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), ALP_TYPE_MENU_BAR))
#define ALP_MENU_BAR(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), ALP_TYPE_MENU_BAR, AlpMenuBar))
#define ALP_MENU_BAR_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), ALP_TYPE_MENU_BAR, AlpMenuBarClass))
#define ALP_MENU_BAR_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), ALP_TYPE_MENU_BAR, AlpMenuBarClass))
#define ALP_TYPE_MENU_BAR   (alp_menu_bar_get_type())

Typedefs

typedef _AlpMenuBar AlpMenuBar
typedef _AlpMenuBarClass AlpMenuBarClass

Functions

void alp_menu_bar_adopt_items (AlpMenuBar *menu_bar, GtkMenuShell *menu_shell)
 Add menu items grafted from given menu shell.
AlpMenuBaralp_menu_bar_get_toplevel_menu (GtkWindow *toplevel)
 Get top level menu of a window.
GType alp_menu_bar_get_type (void) G_GNUC_CONST
 Get the AlpMenuBar object type.
GtkWidget * alp_menu_bar_new (void)
 Creates a new AlpMenuBar widget.
void alp_menu_bar_popdown (AlpMenuBar *menu_bar)
 Make a menubar inactive and hide it.
void alp_menu_bar_popup (AlpMenuBar *menu_bar, guint button, guint32 activate_time, GtkWindow *base)
 Displays a menubar and make it active. The position where the menubar appears depends on a given base window.
void alp_menu_bar_set_toplevel_menu (GtkWindow *toplevel, AlpMenuBar *menu_bar)
 Bind given menu as top level menu.


Generated on Wed Jul 30 07:06:40 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.