Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmOptionLabelGadget(3)	    Library Functions Manual	  XmOptionLabelGadget(3)

NAME
     XmOptionLabelGadget  -- A RowColumn function that obtains the widget ID for
     the LabelGadget in an OptionMenu

SYNOPSIS
     #include <Xm/RowColumn.h>
     Widget XmOptionLabelGadget(
     Widget option_menu);

DESCRIPTION
     XmOptionLabelGadget provides the application with the means  for  obtaining
     the widget ID for the internally created LabelGadget.  Once the application
     has  obtained the widget ID, it can adjust the visuals for the LabelGadget,
     if desired.

     option_menu
	       Specifies the OptionMenu widget ID

     When an application creates an instance of the OptionMenu widget, the  wid-
     get creates two internal gadgets. One is a LabelGadget that is used to dis-
     play  RowColumn's XmNlabelString resource. The other is a CascadeButtonGad-
     get that displays the current selection and provides the means for  posting
     the OptionMenu's submenu.

     The  user	can  specify  resources in a resource file for the automatically
     created widgets and gadgets of an OptionMenu. The following list identifies
     the names of these widgets (or gadgets) and the associated  OptionMenu  ar-
     eas.

     Option Menu Label Gadget
	       OptionLabel

     Option Menu Cascade Button
	       OptionButton

     For  a  complete  definition of RowColumn and its associated resources, see
     XmRowColumn(3).

RETURN
     Returns the widget ID for the internal label.

RELATED
     XmCreateOptionMenu(3), XmLabelGadget(3), XmOptionButtonGadget(3),	and  Xm-
     RowColumn(3).

							  XmOptionLabelGadget(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmOptionLabelGadget&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help