File: Fl_Tile.i

package info (click to toggle)
pyfltk 1.4.4.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,556 kB
  • sloc: python: 7,769; cpp: 356; makefile: 24
file content (37 lines) | stat: -rw-r--r-- 1,243 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* File : Fl_Tile.i */
//%module Fl_Tile

%feature("docstring") ::Fl_Tile
"""
The Fl_Tile class lets you resize the children by dragging the border between 
them:

Fl_Tile allows objects to be resized to zero dimensions. To prevent this you 
can use the resizable() to limit where corners can be dragged to.

Even though objects can be resized to zero sizes, they must initially have 
non-zero sizes so the Fl_Tile can figure out their layout. If desired, call 
position() after creating the children but before displaying the window to 
set the borders where you want.

The 'borders' are part of the children - Fl_Tile does not draw any graphics 
of its own. In the example above, all of the children have FL_DOWN_BOX types, 
and the 'ridges' you see are actually two adjacent FL_DOWN_BOX's drawn next 
to each other. All neighboring widgets share the same edge - the widget's 
thick borders make it appear as though the widgets aren't actually touching, 
but they are. If the edges of adjacent widgets do not touch, then it will be 
impossible to drag the corresponding edges.
""" ;

%{
#include "FL/Fl_Tile.H"
%}

// deprecated in fltk-1.4
%ignore Fl_Tile::position;

%include "macros.i"

CHANGE_OWNERSHIP(Fl_Tile)

%include "FL/Fl_Tile.H"