Nictk 2.2.0
An easy to use pyton GUI
_framerow Class Reference

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...
 

Detailed Description

Internal class.

It represents a row of a RowFrame container, and you can pack widgets horizontally inside it.

Constructor & Destructor Documentation

◆ __init__()

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).

Parameters
parentthe Nictk.RowFrame to which the row belongs
hthe height of the row (its width coincides with that of the parent; see Placing the widgets for the various options you have

Member Function Documentation

◆ __str__()

def __str__ (   self)

Prints a description of the _framerow for debugging purposes.

◆ parent()

def parent (   self)

Returns the parent RowFrame.

◆ winfo_children()

def winfo_children (   self)

Returns the list of the row children.

◆ winfo_h()

def winfo_h (   self)

Returns the height of the row.

◆ winfo_w()

def winfo_w (   self)

Returns the width of the row.

Actually it is the same of the parent.

◆ winfo_x()

def winfo_x (   self)

Returns the x coordinate of the row topleft with respect to parent.

Actually it is always 0.

◆ winfo_y()

def winfo_y (   self)

Returns the y coordinate of the row topleft with respect to parent.

Member Data Documentation

◆ children

children

The children widgets.

◆ master

master

The parent RowFrame.

◆ num

num

The ordinal number of the row (starting from 0)

◆ winfo_bh

def winfo_bh = winfo_h
static

The row has no padding, so winfo_bh is the same as winfo_h.

◆ winfo_bw

def winfo_bw = winfo_w
static

The row has no padding, so winfo_bw is the same as winfo_w.

◆ winfo_bx

def winfo_bx = winfo_x
static

The row has no padding, so winfo_bx is the same as winfo_x.

◆ winfo_by

def winfo_by = winfo_y
static

The row has no padding, so winfo_by is the same as winfo_y.


The documentation for this class was generated from the following file: