PrinterQueueDialog

## class PrinterQueueDialog : public SelectionDialog

> class for showing printer queue.

## Inheritance:

### Public Methods

  | PrinterQueueDialog (Widget parent, MainWindow *)
  const char* | GetClassName ()
  void | Update ()
  void | Remove (const char *str)
  void | SetPrinterName (const string *s)
  void | PrinterQueueCommand () show popup dialog to set Unix printer queue command.
  void | PrinterRemoveCommand () ... printer remove command.
  void | SetPrinterQueueCommand (const string *c)
  void | SetPrinterRemoveCommand (const string *c)
  void | SetDefaultPrinterQueueCommand (const string *c)
  void | SetDefaultPrinterRemoveCommand (const string *c)
  PromptDialog* | GetPromptDialog ()

### Protected Methods

  void | CreateWidget ()
  void | Configure ()
  static void | RemoveCB (Widget, XtPointer, XtPointer)
  static void | UpdateCB (Widget, XtPointer, XtPointer)
  static void | SetPrinterQueueCommandCB (Widget, XtPointer, XtPointer)
  static void | SetPrinterRemoveCommandCB (Widget, XtPointer, XtPointer)

### Inherited from SelectionDialog:

### Public Methods

void SetTextString(const char *v)
void SetTextString(const string *v)
void SetEditable(bool b)
void GetTextString(char *n)
void GetTextString(string *n)
void ManageTextString(bool)
void SetSelectionLabel(const char *l)
void ManageSelectionLabel(bool)
void SetApplyCallback(XtCallbackProc fun, XtPointer clientData)
void SetApplyButtonLabel(const char *txt)
void ManageApplyButton(bool)
static void ClearCB(Widget, XtPointer, XtPointer)
static void SetDefaultCB(Widget, XtPointer, XtPointer)
void SetDefaultValue(const char *s)
void SetDefaultValue(const string *s)
const string* GetDefaultValue()
void SelectItem(const string *label)
void DeselectAllItems()
void DeleteAllItems()
void AddItem(const char *text, int pos = 0)
void AddItem(const string *text, int pos = 0)

### Protected Methods

Widget GetText()
void SetText(Widget w)
Widget GetList()
Widget GetSelectionLabel()
void SetSelectionLabel(Widget w)

### Inherited from Dialog:

### Public Fields

static const unsigned MAXTITLE

### Public Methods

void Initialize()
virtual void SetOKCallback(XtCallbackProc fun, XtPointer clientData)
virtual void SetCancelCallback(XtCallbackProc fun, XtPointer clientData)
virtual void SetHelpCallback(XtCallbackProc fun, XtPointer clientData)
void SetOKButtonLabel(const char *txt)
void SetCancelButtonLabel(const char *txt)
void SetHelpButtonLabel(const char *txt)
void ManageOKButton(bool)
void ManageCancelButton(bool)
void ManageHelpButton(bool)
virtual void SetAutoDestroy(bool b)
virtual void Popup()
virtual void Popdown()
void SetTitle(const char *title)
void SetTitle(const string *title)
void GetTitle(char *title)
void GetTitle(string *title)
void SetModal(bool b)
void SetAutoUnmanage(bool b)
bool GetAutoUnmanage()
void SetCenteredOnPointer(bool b)
static void UnmanageCB(Widget, XtPointer, XtPointer)
static void DestroyCB(Widget, XtPointer, XtPointer)
static void DestroyWidgetCB(Widget, XtPointer, XtPointer)
static void TraverseNextCB(Widget, XtPointer, XtPointer)
static void TraverseNextGroupCB(Widget, XtPointer, XtPointer)

### Protected Methods

Widget GetParent()
void ManageWidget(Widget, bool)
void ManageCenteredOnPointer()

### Inherited from MWidget:

### Public Methods

virtual void Manage()
bool IsRealized()
void SetColormap(Colormap cmap)
void SetDestroyCallback(XtCallbackProc fun, XtPointer clientData)
void AddLiteClue(Widget w, const char *text)

### Protected Methods

Widget GetLiteClue()
void CreateLiteClue()
void InstallDestroyHandler()

### Inherited from Component:

### Public Methods

bool IsManaged()
virtual void Unmanage()
Widget GetWidget()
Display* GetDisplay()
Window GetWindow()

### Protected Methods

void SetWidget(Widget w)
const string* GetName() const
void SetName(const string *s)
void SetName(const char *s)

## Documentation

> class for showing printer queue.

`PrinterQueueDialog(Widget parent, MainWindow *)`

`const char* GetClassName()`

`void Update()`

`void Remove(const char *str)`

`void SetPrinterName(const string *s)`

`void PrinterQueueCommand()`
  show popup dialog to set Unix printer queue command.

`void PrinterRemoveCommand()`
  ... printer remove command.

`void SetPrinterQueueCommand(const string *c)`

`void SetPrinterRemoveCommand(const string *c)`

`void SetDefaultPrinterQueueCommand(const string *c)`

`void SetDefaultPrinterRemoveCommand(const string *c)`

`PromptDialog* GetPromptDialog()`

`void CreateWidget()`

`void Configure()`

`static void RemoveCB(Widget, XtPointer, XtPointer)`

`static void UpdateCB(Widget, XtPointer, XtPointer)`

`static void SetPrinterQueueCommandCB(Widget, XtPointer, XtPointer)`

`static void SetPrinterRemoveCommandCB(Widget, XtPointer, XtPointer)`

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de