Back to index

tetex-bin  3.0
Classes | Defines | Typedefs | Functions | Variables
xlwradioP.h File Reference
#include "xdvi-config.h"
#include "xlwradio.h"
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Intrinsic.h>
#include <X11/Xos.h>
#include <X11/Xaw/Text.h>
#include <X11/Xaw/AsciiText.h>
#include <X11/Xaw/ToggleP.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _RadioClass
struct  _RadioClassRec
struct  RadioPart
struct  _RadioRec

Defines

#define XtInheritDrawDiamond   ((XawDiamondProc)_XtInherit)

Typedefs

typedef void(* XawDiamondProc )(Widget)
typedef struct _RadioClass RadioClassPart
typedef struct _RadioClassRec RadioClassRec
typedef struct _RadioRec RadioRec

Functions

void RadioSet (Widget w, XEvent *event, String *params, Cardinal *num_params)
void RadioUnset (Widget w, XEvent *event, String *params, Cardinal *num_params)

Variables

RadioClassRec radioClassRec

Class Documentation

struct _RadioClass

Definition at line 80 of file xlwradioP.h.

Class Members
XawDiamondProc drawDiamond
Dimension dsize
XtPointer extension
Pixmap sel_menu
Pixmap sel_radio
Pixmap unsel_menu
Pixmap unsel_radio
struct _RadioClassRec

Definition at line 95 of file xlwradioP.h.

Collaboration diagram for _RadioClassRec:
Class Members
CommandClassPart command_class
CoreClassPart core_class
LabelClassPart label_class
RadioClassPart radio_class
SimpleClassPart simple_class
ToggleClassPart toggle_class
struct RadioPart

Definition at line 116 of file xlwradioP.h.

Class Members
XtPointer extension
Boolean isRadio
struct _RadioRec

Definition at line 126 of file xlwradioP.h.

Collaboration diagram for _RadioRec:
Class Members
CommandPart command
CorePart core
LabelPart label
RadioPart radio
SimplePart simple
TogglePart toggle

Define Documentation

#define XtInheritDrawDiamond   ((XawDiamondProc)_XtInherit)

Definition at line 92 of file xlwradioP.h.


Typedef Documentation

typedef struct _RadioClass RadioClassPart
typedef struct _RadioClassRec RadioClassRec
typedef struct _RadioRec RadioRec
typedef void(* XawDiamondProc)(Widget)

Definition at line 61 of file xlwradioP.h.


Function Documentation

void RadioSet ( Widget  w,
XEvent *  event,
String params,
Cardinal *  num_params 
)

Definition at line 568 of file xlwradio.c.

{
    RadioWidget      rw = (RadioWidget)w;
    RadioWidgetClass class = (RadioWidgetClass) w->core.widget_class;

    UNUSED(event);
    UNUSED(params);
    UNUSED(num_params);
    
    if( rw->command.set )
      return;

    rw->command.set = TRUE;
    if( XtIsRealized(w) )
      class->radio_class.drawDiamond(w);
}
void RadioUnset ( Widget  w,
XEvent *  event,
String params,
Cardinal *  num_params 
)

Definition at line 590 of file xlwradio.c.

{
    RadioWidget      rw = (RadioWidget)w;
    RadioWidgetClass class = (RadioWidgetClass) w->core.widget_class;

    UNUSED(event);
    UNUSED(params);
    UNUSED(num_params);
    
    if( ! rw->command.set )
      return;

    rw->command.set = FALSE;
    if( XtIsRealized(w) )
      class->radio_class.drawDiamond(w);
}

Variable Documentation

Definition at line 172 of file xlwradio.c.