The hk_classes Python reference

Horst Knorr

Version 0.0.2

Abstract

KNODA, or more exactly the hk_classes library, has an integrated Python interpreter. For further information about Python see http://www.python.org.

This documentation describes version 0.8 of the hk_classes Python interface.


Table of Contents

1. The hk_classes Python reference
Overview
Using Python as a scripting language within hk_classes
Using hk_classes as a Python module
2. Classes in alphabetical order
hk_actionquery
hk_button
hk_class
hk_colour
hk_column
hk_connection
hk_data
hk_database
hk_datasource
hk_datetime
hk_drivermanager
hk_dsboolean
hk_dscombobox
hk_dsdatavisible
hk_dsgrid
hk_dsgridcolumn
hk_dsimage
hk_dslineedit
hk_dsmemo
hk_dsmodevisible
hk_dsrowselector
hk_dsvisible
hk_font
hk_form
hk_key
hk_label
hk_mimetype
hk_presentation
hk_report
hk_reportdata
hk_reportsection
hk_reportsectionpair
hk_subform
hk_visible

List of Figures

1.1. hk_classes overview
1.2. description of the most important classes
2.1. hk_colour methods
2.2. Predefined colour names
2.3. hk_column data methods
2.4. hk_column type methods
2.5. hk_datasource data methods
2.6. hk_datasource filter and sorting methods
2.7. hk_datasource structure definition methods
2.8. hk_datasource Index definition methods
2.9. Type casting
2.10. Geometry specific methods
2.11. Look and Feel methods
2.12. Miscelleanous methods

List of Examples

1.1. Using hk_classes as a Python module
2.1. Open a form when pushing a button
2.2. Open a form when pushing a button
2.3. Read data
2.4. Write data
2.5. Search data
2.6. rowposition
2.7. find a specific column
2.8. create table
2.9. displaying a form
2.10. displaying a report
2.11. reportdata onprint
2.12. Creating a CSV export file based on a report
2.13. Loading a subform
2.14. Setting a font
2.15. Changing colour and position