Panda3D
Functions | Variables
config_x11display.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "config_x11display.h"
#include "x11GraphicsPipe.h"
#include "x11GraphicsWindow.h"
#include "graphicsPipeSelection.h"
#include "dconfig.h"
#include "pandaSystem.h"

Go to the source code of this file.

Functions

 Configure (config_x11display)
 
 ConfigureFn (config_x11display)
 
void init_libx11display ()
 Initializes the library. More...
 
 NotifyCategoryDef (x11display, "display")
 

Variables

ConfigVariableString display_cfg ("display", "", PRC_DESC("Specify the X display string for the default display. If this " "is not specified, $DISPLAY is used."))
 
ConfigVariableInt x_cursor_size ("x-cursor-size", -1, PRC_DESC("This sets the cursor size when using XCursor to change the mouse " "cursor. The default is to use the default size for the display."))
 
ConfigVariableBool x_error_abort ("x-error-abort", false, PRC_DESC("Set this true to trigger and abort (and a stack trace) on receipt " "of an error from the X window system. This can make it easier " "to discover where these errors are generated."))
 
ConfigVariableBool x_init_threads ("x-init-threads", false, PRC_DESC("Set this true to ask Panda3D to call XInitThreads() upon loading " "the display module, which may help with some threading issues."))
 
ConfigVariableInt x_wheel_down_button ("x-wheel-down-button", 5, PRC_DESC("This is the mouse button index of the wheel_down event: which " "mouse button number does the system report when the mouse wheel " "is rolled one notch down?"))
 
ConfigVariableInt x_wheel_left_button ("x-wheel-left-button", 6, PRC_DESC("This is the mouse button index of the wheel_left event: which " "mouse button number does the system report when one scrolls " "to the left?"))
 
ConfigVariableInt x_wheel_right_button ("x-wheel-right-button", 7, PRC_DESC("This is the mouse button index of the wheel_right event: which " "mouse button number does the system report when one scrolls " "to the right?"))
 
ConfigVariableInt x_wheel_up_button ("x-wheel-up-button", 4, PRC_DESC("This is the mouse button index of the wheel_up event: which " "mouse button number does the system report when the mouse wheel " "is rolled one notch up?"))
 
ConfigVariableString x_wm_class ("x-wm-class", "", PRC_DESC("Specify the value to use for the res_class field of the window's " "WM_CLASS property."))
 
ConfigVariableString x_wm_class_name ("x-wm-class-name", "", PRC_DESC("Specify the value to use for the res_name field of the window's " "WM_CLASS property. Has no effect when x-wm-class is not set."))
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
rdb
Date
2009-07-07

Definition in file config_x11display.cxx.

Function Documentation

◆ init_libx11display()

void init_libx11display ( )

Initializes the library.

This must be called at least once before any of the functions or classes in this library can be used. Normally it will be called by the static initializers and need not be called explicitly, but special cases exist.

Definition at line 94 of file config_x11display.cxx.