Internal class. More...
Public Member Functions | |
def | __init__ (self, parent, h) |
The constructor. More... | |
def | __str__ (self) |
Prints a description of the _framerow for debugging purposes. More... | |
def | parent (self) |
Returns the parent RowFrame. More... | |
def | winfo_children (self) |
Returns the list of the row children. More... | |
def | winfo_h (self) |
Returns the height of the row. More... | |
def | winfo_w (self) |
Returns the width of the row. More... | |
def | winfo_x (self) |
Returns the x coordinate of the row topleft with respect to parent. More... | |
def | winfo_y (self) |
Returns the y coordinate of the row topleft with respect to parent. More... | |
Public Attributes | |
children | |
The children widgets. More... | |
master | |
The parent RowFrame. More... | |
num | |
The ordinal number of the row (starting from 0) More... | |
Static Public Attributes | |
def | winfo_bh = winfo_h |
The row has no padding, so winfo_bh is the same as winfo_h. More... | |
def | winfo_bw = winfo_w |
The row has no padding, so winfo_bw is the same as winfo_w. More... | |
def | winfo_bx = winfo_x |
The row has no padding, so winfo_bx is the same as winfo_x. More... | |
def | winfo_by = winfo_y |
The row has no padding, so winfo_by is the same as winfo_y. More... | |
Internal class.
It represents a row of a RowFrame container, and you can pack widgets horizontally inside it.
def __init__ | ( | self, | |
parent, | |||
h | |||
) |
The constructor.
It sets some internal variables and calculates the row dimensions. When a _framerow is constructed it becomes the active row in the parent: widgets created are added to this row (see Nictk.RowFrame).
parent | the Nictk.RowFrame to which the row belongs |
h | the height of the row (its width coincides with that of the parent; see Placing the widgets for the various options you have |
def __str__ | ( | self | ) |
Prints a description of the _framerow for debugging purposes.
def parent | ( | self | ) |
Returns the parent RowFrame.
def winfo_children | ( | self | ) |
Returns the list of the row children.
def winfo_h | ( | self | ) |
Returns the height of the row.
def winfo_w | ( | self | ) |
Returns the width of the row.
Actually it is the same of the parent.
def winfo_x | ( | self | ) |
Returns the x coordinate of the row topleft with respect to parent.
Actually it is always 0.
def winfo_y | ( | self | ) |
Returns the y coordinate of the row topleft with respect to parent.
children |
The children widgets.
master |
The parent RowFrame.
num |
The ordinal number of the row (starting from 0)
|
static |
The row has no padding, so winfo_bh is the same as winfo_h.
|
static |
The row has no padding, so winfo_bw is the same as winfo_w.
|
static |
The row has no padding, so winfo_bx is the same as winfo_x.
|
static |
The row has no padding, so winfo_by is the same as winfo_y.