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 ULTRIX
dwtmainsetareas
DwtMainSetAreas(3Dwt) DwtMainSetAreas(3Dwt)
Name
DwtMainSetAreas - Sets up or adds the menu bar, command window, work window, and scroll bar widgets to the main window widget of the appli-
cation.
Syntax
void DwtMainSetAreas(widget, menu_bar, work_window,
command_window, horizontal_scroll_bar,
vertical_scroll_bar)
Widget widget;
Widget menu_bar;
Widget work_window, command_window;
Widget horizontal_scroll_bar, vertical_scroll_bar;
Arguments
widget Specifies the main window widget ID.
menu_bar Specifies the widget ID for the menu bar to be associated with the main window widget. You can set this ID only after creating
an instance of the main window widget. The attribute name associated with this argument is DwtNmenuBar.
work_window
Specifies the widget ID for the work window to be associated with the main window widget. You can set this ID only after creat-
ing an instance of the main window widget. The attribute name associated with this argument is DwtNworkWindow.
command_window
Specifies the widget ID for the command window to be associated with the main window widget. You can set this ID only after cre-
ating an instance of the main window widget. The attribute name associated with this argument is DwtNcommandWindow.
horizontal_scroll_bar
Specifies the scroll bar widget ID for the horizontal scroll bar to be associated with the main window widget. You can set this
ID only after creating an instance of the main window widget. The attribute name associated with this argument is DwtNhorizon-
talScrollBar.
vertical_scroll_bar
Specifies the scroll bar widget ID for the vertical scroll bar to be associated with the main window widget. You can set this ID
only after creating an instance of the main window widget. The attribute name associated with this argument is DwtNverti-
calScrollBar.
Description
The DwtMainSetAreas function sets up or adds the menu bar, work window, command window, and scroll bar widgets to the application's main
window widget. You must set these areas up before the main window widget is realized, that is, before calling the X intrinsics function
XtRealizeWidget.
Each area is optional; therefore, you can pass NULL to one or more of these arguments. The title bar is provided by the window manager.
See Also
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtMainSetAreas(3Dwt)