t_table * Getactiveframe(t_frame *pf);

Returns pointer to the active table (the one having focus) or NULL if currently all tables in the frame are inactive. Active frame is has focus or will get focus when user switches to the frame window.


(in) Pointer to the structure of type t_frame, descriptor of the frame window

Return values:

On success, returns pointer (of type t_table) to the active table. On error or when all tables in the frame window are inactive, returns NULL

See also:
Frames, t_frame, Createframewindow(), Updateframe()