aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xproto
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xproto')
-rw-r--r--nexgb/xproto/xproto.go42
1 files changed, 39 insertions, 3 deletions
diff --git a/nexgb/xproto/xproto.go b/nexgb/xproto/xproto.go
index 6b0fb6b..5378196 100644
--- a/nexgb/xproto/xproto.go
+++ b/nexgb/xproto/xproto.go
@@ -2,7 +2,7 @@
package xproto
/*
- This file was generated by xproto.xml on May 10 2012 11:56:19pm EDT.
+ This file was generated by xproto.xml on May 11 2012 1:58:37am EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -23,8 +23,6 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
return &s.Roots[c.DefaultScreen]
}
-// Skipping definition for base type 'Card8'
-
// Skipping definition for base type 'Int16'
// Skipping definition for base type 'Int32'
@@ -47,6 +45,8 @@ func (s *SetupInfo) DefaultScreen(c *xgb.Conn) *ScreenInfo {
// Skipping definition for base type 'Float'
+// Skipping definition for base type 'Card8'
+
const (
VisualClassStaticGray = 0
VisualClassGrayScale = 1
@@ -5749,10 +5749,13 @@ func (err RequestError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadRequest error. If no bad value exists, 0 is returned.
func (err RequestError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadRequest error.
+
func (err RequestError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -5810,10 +5813,13 @@ func (err ValueError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadValue error. If no bad value exists, 0 is returned.
func (err ValueError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadValue error.
+
func (err ValueError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -5846,10 +5852,12 @@ func (err WindowError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadWindow error. If no bad value exists, 0 is returned.
func (err WindowError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadWindow error.
func (err WindowError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -5882,10 +5890,12 @@ func (err PixmapError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadPixmap error. If no bad value exists, 0 is returned.
func (err PixmapError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadPixmap error.
func (err PixmapError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -5918,10 +5928,12 @@ func (err AtomError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadAtom error. If no bad value exists, 0 is returned.
func (err AtomError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadAtom error.
func (err AtomError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -5954,10 +5966,12 @@ func (err CursorError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadCursor error. If no bad value exists, 0 is returned.
func (err CursorError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadCursor error.
func (err CursorError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -5990,10 +6004,12 @@ func (err FontError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadFont error. If no bad value exists, 0 is returned.
func (err FontError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadFont error.
func (err FontError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6026,10 +6042,12 @@ func (err MatchError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadMatch error. If no bad value exists, 0 is returned.
func (err MatchError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadMatch error.
func (err MatchError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6062,10 +6080,12 @@ func (err DrawableError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadDrawable error. If no bad value exists, 0 is returned.
func (err DrawableError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadDrawable error.
func (err DrawableError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6098,10 +6118,12 @@ func (err AccessError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadAccess error. If no bad value exists, 0 is returned.
func (err AccessError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadAccess error.
func (err AccessError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6134,10 +6156,12 @@ func (err AllocError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadAlloc error. If no bad value exists, 0 is returned.
func (err AllocError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadAlloc error.
func (err AllocError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6170,10 +6194,12 @@ func (err ColormapError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadColormap error. If no bad value exists, 0 is returned.
func (err ColormapError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadColormap error.
func (err ColormapError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6206,10 +6232,12 @@ func (err GContextError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadGContext error. If no bad value exists, 0 is returned.
func (err GContextError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadGContext error.
func (err GContextError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6242,10 +6270,12 @@ func (err IDChoiceError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadIDChoice error. If no bad value exists, 0 is returned.
func (err IDChoiceError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadIDChoice error.
func (err IDChoiceError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6278,10 +6308,12 @@ func (err NameError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadName error. If no bad value exists, 0 is returned.
func (err NameError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadName error.
func (err NameError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6314,10 +6346,12 @@ func (err LengthError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadLength error. If no bad value exists, 0 is returned.
func (err LengthError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadLength error.
func (err LengthError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
@@ -6350,10 +6384,12 @@ func (err ImplementationError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadImplementation error. If no bad value exists, 0 is returned.
func (err ImplementationError) BadId() uint32 {
return err.BadValue
}
+// Error returns a rudimentary string representation of the BadImplementation error.
func (err ImplementationError) Error() string {
fieldVals := make([]string, 0, 4)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)