Ignore:
Timestamp:
01/04/13 12:23:40 (16 months ago)
Author:
Miha Stajdohar <miha.stajdohar@…>
Branch:
default
Children:
11055:afd9213ae1dc, 11057:3da1cf37de17
Message:

Widget docs From HTML to Sphinx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/extend-widgets/rst/basics.rst

    r11049 r11050  
    9191now the following is important: 
    9292 
    93 * Widgets are defined in a Python files. 
    94 * For Orange and Orange canvas to find them, they reside in 
    95 subdirectories in OrangeWidgets directory of Orange installation. The 
    96 name of the subdirectory matters, as this is the name of the widget 
    97 category. Widgets in the same directory will be grouped in the same 
    98 pane of widget toolbox in Orange Canvas. 
    99 *A file describing a widget starts with a header. This, given in 
    100 sort of XMLish style, tells about the name, short description, 
    101 location of an icon and priority of the widget. 
    102 *The sole role of 
    103 priority is to specify the placement (order) of widgets in the Orange 
    104 Canvas toolbox. 
    105 *Somewhere in the code (where we will learn later) there are two 
    106 lines which tell which channels the widgets uses for 
    107 communication. These, together with the header information, completely 
    108 specify the widget as it is seen from the outside. 
     93   -  Widgets are defined in a Python files. 
     94   - For Orange and Orange canvas to find them, they reside in subdirectories in OrangeWidgets directory of Orange installation. The name of the subdirectory matters, as this is the name of the widget category. Widgets in the same directory will be grouped in the same pane of widget toolbox in Orange Canvas. 
     95   - A file describing a widget starts with a header. This, given in sort of XMLish style, tells about the name, short description, location of an icon and priority of the widget. 
     96   - The sole role of priority is to specify the placement (order) of widgets in the Orange Canvas toolbox. 
     97   - Somewhere in the code (where we will learn later) there are two lines which tell which channels the widgets uses for communication. These, together with the header information, completely specify the widget as it is seen from the outside. 
    10998 
    11099Oh, by the way. Orange caches widget descriptions to achieve a faster 
Note: See TracChangeset for help on using the changeset viewer.