2 More Discussions You Might Find Interesting
1. OS X (Apple)
Can someone please tell me how to change the time and date format in the menu bar. I get to System Preferences -- Language and Text, format, customize, but I can't figure out what to do next. I want to change, say from Tue May 4 to 5 4 2010. How the heck do I do this? (5 Replies)
Discussion started by: Straitsfan
5 Replies
2. Shell Programming and Scripting
Hey everyone :)my problem is i want to add a command and icon to the menu panel, normally in gnome you would just right click, add to panel etc.
What i want to do is, for example , put say firefox plus a icon in the menu bar by using a bash script, what would be the command, to do this. (5 Replies)
Discussion started by: dave123
5 Replies
LEARN ABOUT FREEBSD
d_menu_proc
d_menu_proc(3alleg4) Allegro manual d_menu_proc(3alleg4)
NAME
d_menu_proc - Dialog procedure implementing a menu bar object. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int d_menu_proc(int msg, DIALOG *d, int c);
DESCRIPTION
This object is a menu bar which will drop down child menus when it is clicked or if an alt+key corresponding to one of the shortcuts in the
menu is pressed. It ignores a lot of the fields in the dialog structure, in particular the color is taken from the gui_*_color variables,
and the width and height are calculated automatically (the w and h fields from the DIALOG are only used as a minimum size.) The dp field
points to an array of menu structures: see do_menu() for more information. The top level menu will be displayed as a horizontal bar, but
when child menus drop down from it they will be in the normal vertical format used by do_menu(). When a menu item is selected, the return
value from the menu callback function is passed back to the dialog manager, so your callbacks should return D_O_K, D_REDRAW, or D_CLOSE.
SEE ALSO
active_menu(3alleg4), gui_menu_draw_menu(3alleg4), exgui(3alleg4)
Allegro version 4.4.2 d_menu_proc(3alleg4)