Back to index

plt-scheme  4.2.1
Defines | Functions | Variables File Reference
#include "wx.h"
#include "widgets.h"
#include "wx_visual.h"

Go to the source code of this file.


#define Uses_XtIntrinsic
#define Uses_wxGDI
#define Uses_wxMenu
#define Uses_ShellWidget
#define Uses_MenuWidget


void wxAddGrab (Widget)
void wxRemoveGrab (Widget)
static void FreeSaferef (Widget WXUNUSED(w), wxMenu **menup, XtPointer WXUNUSED(null))
void wxInitPopupMgr (void)
void wxUnpopMenu (void)


static wxMenupopped_up_menu

Define Documentation

#define Uses_MenuWidget

Definition at line 36 of file

Definition at line 35 of file

#define Uses_wxGDI

Definition at line 32 of file

#define Uses_wxMenu

Definition at line 33 of file

Definition at line 31 of file

Function Documentation

static void FreeSaferef ( Widget   WXUNUSEDw,
wxMenu **  menup,
XtPointer   WXUNUSEDnull 
) [static]

Definition at line 134 of file

  FREE_SAFEREF((char *)menup);

  /* No XFORM_RESET_VAR_STACK because this one isn't xformed.  No need
     to xform because FREE_SAFEREF won't set the GC variable stack. */
void wxAddGrab ( Widget  )

Definition at line 44 of file mredx.cxx.

      if (!grab_stack_pos) {
       Widget *naya;
       if (!grab_stack)
       grab_stack_size += WSTACK_INC;
       naya = (Widget *)scheme_malloc(grab_stack_size * sizeof(Widget));
       memcpy(naya + WSTACK_INC, grab_stack, (grab_stack_size - WSTACK_INC) * sizeof(Widget));
       grab_stack = naya;
       grab_stack_pos = WSTACK_INC;

      grabber = grab_stack[--grab_stack_pos] = w;

Definition at line 679 of file

Here is the caller graph for this function:

void wxRemoveGrab ( Widget  )

Definition at line 60 of file mredx.cxx.

      if (w != grabber)

      if (++grab_stack_pos < grab_stack_size)
       grabber = grab_stack[grab_stack_pos];
       grabber = NULL;

Definition at line 684 of file

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Definition at line 40 of file