CwChessboard Struct Reference

A GTK+ chessboard widget. More...

#include <CwChessboard.h>

List of all members.

Public Attributes

GtkDrawingArea parent
CwChessboardPrivate*  priv
gint const sside
 Square side in pixels (read only).
gint const top_left_a1_x
 The x coordinate of the top-left pixel of square a1 (read-only). Despite the name, if the board is flipped then it's square h8.
gint const top_left_a1_y
 The y coordinate of the top-left pixel of square a1 (read-only). Despite the name, if the board is flipped then it's square h8.
gboolean const flip_board
 TRUE if the board is flipped (read-only).
void*  gtkmm_widget

Detailed Description

A GTK+ chessboard widget.

This is a GTK+ widget. For a gtkmm widget, see cwmm::ChessboardWidget.

See also:
cw_chessboard_new

Definition at line 101 of file CwChessboard.h.


The documentation for this struct was generated from the following file:

Copyright © 2006 - 2010 Carlo Wood.  All rights reserved.