The Gnome Chemistry Utils
0.14.0
|
Go to the source code of this file.
Classes | |
class | gccv::Item |
The base class for the canvas contents. More... |
Namespaces | |
namespace | gccv |
Gnome Chemistry Canvas library namespace. |
Macros | |
#define | GCCV_ITEM_PROP(type, member) |
#define | GCCV_ITEM_POS_PROP(type, member) |
Definition in file item.h.
#define GCCV_ITEM_POS_PROP | ( | type, | |
member | |||
) |
Defines a private member with appropriate get/set methods. This macro should be used when a property change might change the bounds of the item. GCCV_ITEM_POS_PROP((Type,Foo) expands to one private member:
and three public methods:
Calling SetFoo(val) will set the member and invalidate the item bounds.
#define GCCV_ITEM_PROP | ( | type, | |
member | |||
) |
Defines a private member with appropriate get/set methods. This macro should be used when a property change needs a redraw of the item. GCCV_ITEM_PROP((Type,Foo) expands to one private member:
and three public methods:
Calling SetFoo(val) will set the member and invalidate the item.