Debian Codegraph @

swig/Fl_Tile.i

raw
1 /* File : Fl_Tile.i */
2 //%module Fl_Tile
3
4 %feature("docstring") ::Fl_Tile
5 """
6 The Fl_Tile class lets you resize the children by dragging the border between
7 them:
8
9 Fl_Tile allows objects to be resized to zero dimensions. To prevent this you
10 can use the resizable() to limit where corners can be dragged to.
11
12 Even though objects can be resized to zero sizes, they must initially have
13 non-zero sizes so the Fl_Tile can figure out their layout. If desired, call
14 position() after creating the children but before displaying the window to
15 set the borders where you want.
16
17 The 'borders' are part of the children - Fl_Tile does not draw any graphics
18 of its own. In the example above, all of the children have FL_DOWN_BOX types,
19 and the 'ridges' you see are actually two adjacent FL_DOWN_BOX's drawn next
20 to each other. All neighboring widgets share the same edge - the widget's
21 thick borders make it appear as though the widgets aren't actually touching,
22 but they are. If the edges of adjacent widgets do not touch, then it will be
23 impossible to drag the corresponding edges.
24 """ ;
25
26 %{
27 #include "FL/Fl_Tile.H"
28 %}
29
30 // deprecated in fltk-1.4
31 %ignore Fl_Tile::position;
32
33 %include "macros.i"
34
35 CHANGE_OWNERSHIP(Fl_Tile)
36
37 %include "FL/Fl_Tile.H"