Page MenuHomePhabricator

Edje Group
Updated 2,286 Days AgoPublic

The group block contains a list of parts and programs that construct an given Edje Object. Groups are name-spaced preveting ambiguity in part identification.

group {
    name: "name/used/by/application";
    alias: "another_name";
    alias: "one_more_name";
    min: hor ver;
    max: hor ver;

    data {
      item: "option" "value";
      ...
    }

    parts {
      part {
      }
      ...
    }
    programs {
      program {
      }
      ...
    }
  }

name: "name/used/by/application";
This is the abstract name the application will use to load a given interface element, its the group most important property and must be known by the designer and programmer.

alias: "another_name";
These are additional names that could be used to refer to the same group.

min: hor ver;
The minimum size in pixels that this collection of parts can have.

max: hor ver;
The maximum size in pixels that this collection of parts can have.

The Data Block

data {
  item: "option" "value";
  ...
}

The data block is used to pass application-specific information to the application itself when it's outside the scope of the EDC definition.

The Parts Block

parts {
      part {
        ...
      }
      part {
        ...
      }
      ...
}

This block contains a list of one or more part blocks.

The Programs Blocks

programs {
      program {
        ...
      }
      program {
        ...
      }
      ...
    }

This block contains a list of one or more program blocks.

Imported from https://trac.enlightenment.org/e/wiki/EdjeGroup
History:
1 lebarjack 2010-09-01 12:11:37
2 jt_a 2011-05-03 20:25:16 restoring links
3 jt_a 2011-08-29 02:39:06 removed reference to old wiki

Last Author
beber
Last Edited
Sep 5 2013, 1:38 PM
Projects
None
Subscribers
None