Commit Graph

13 Commits

Author SHA1 Message Date
Jiří Klimeš
8a04ab9135 examples: group python examples - dbus vs. gi
Move examples using dbus-python ('dbus' module) and GObject introspection into
their own directories.
2013-09-24 12:52:33 +02:00
Jiří Klimeš
217cb5fbca examples: add a python example getting/setting zone property using GI 2013-09-24 12:48:55 +02:00
Jiří Klimeš
784af22159 examples: fix python example file names in EXTRA_DIST 2012-09-24 13:22:24 +02:00
Jiří Klimeš
033e8d2a77 examples: fix add-system-connection.py -> add-connection.py rename
It fixes 'make dist' that fails otherwise.
Found by pavlix.
2012-09-24 12:59:09 +02:00
Jiří Klimeš
495fae7a7b examples: add a python GObject Introspection example
It demonstrates getting NMIP4Config object after activating a device.
2012-06-13 13:28:43 +02:00
Dan Williams
53f6539f54 examples: add simply python GObject Introspection example
Unfortunately since libnm-glib/libnm-util make heavy use of
GHashTable and GValue, functions that deal with these types
can't be used from Python when using GObject Introspection,
since pygobject can't handle conversion between python types
and GValue/GHashTable very well.  You'll likely encounter
assertions like:

ERROR:pygi-argument.c:1755:_pygi_argument_to_object: assertion failed: (g_type_info_get_tag (key_type_info) != GI_TYPE_TAG_VOID)
Aborted
2012-06-11 14:46:33 -05:00
Dan Williams
e92043c4d5 examples: add python example for listing devices 2011-09-15 11:13:38 -05:00
Dan Williams
dab37276d2 examples: new example for printing active connection list 2011-08-05 15:55:14 +02:00
Dan Williams
56bbc139bd examples: new example for adding system WPA EAP-TLS wifi connection 2011-03-02 23:36:07 -06:00
Dan Williams
72399bfa2c examples: add device disconnect example 2010-07-14 17:49:20 -07:00
Dan Williams
e01039dcd2 examples: add example printing out all BSSIDs we can see 2010-04-29 08:26:28 -07:00
Dan Williams
257b4b34da examples: add example for listing connections 2010-04-28 18:39:42 -07:00
Dan Williams
fa9e9b4227 examples: add some python examples 2010-02-18 10:17:08 -08:00