Differentiating between Connectors and Objects
- From: "Fred Morcos" <fred morcos gmail com>
- To: "discussions about usage and development of dia" <dia-list gnome org>
- Subject: Differentiating between Connectors and Objects
- Date: Wed, 9 Jul 2008 19:50:13 +0200
Is it possible to get the type of an object without using a returned
string (object_get_type)? I want to loop over all the selected objects
and count the number of "connection objects" and the number of "other
normal objects" without having to go through this:
(pseudo code)
if (objtype == "Standard - Line" || "UML - Generalization" || "UML -
Dependency" || etc...)
--
Fred Morcos
http://fredmorcos.blogspot.com/
http://fredmorcos.googlecode.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]