<!-- ##### SECTION Title ##### -->
NetkApplication

<!-- ##### SECTION Short_Description ##### -->
represents an application

<!-- ##### SECTION Long_Description ##### -->
<para>
#NetkApplication represents an application (for the window manager)
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### STRUCT NetkApplication ##### -->
<para>

</para>

@parent_instance: 
@priv: 

<!-- ##### FUNCTION netk_application_get_type ##### -->
<para>

</para>

@Returns: the gtype for the NetkApplication class


<!-- ##### FUNCTION netk_application_get ##### -->
<para>

</para>

@xwindow: the X window id
@Returns: the NetkApplication, or NULL


<!-- ##### FUNCTION netk_application_get_xid ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: The X window handle, or 0


<!-- ##### FUNCTION netk_application_get_windows ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: The list of windows belonging to app. The list should not be freed. The items refcount is not touched.


<!-- ##### FUNCTION netk_application_get_n_windows ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: number of windows, or 0 on failure


<!-- ##### FUNCTION netk_application_get_name ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: the name, or NULL (do not free the result)

application_get_name, application_get_pid, etc.; prefer to read
properties straight off the group leader, and failing that, if the
prop is the same for all windows in the app, return the values for
the window. Failing that, they make stuff up.


<!-- ##### FUNCTION netk_application_get_icon_name ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: the icon name, or NULL (do not free the result)

application_get_name, application_get_pid, etc.; prefer to read
properties straight off the group leader, and failing that, if the
prop is the same for all windows in the app, return the values for
the window. Failing that, they make stuff up.


<!-- ##### FUNCTION netk_application_get_pid ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: the pid of the application, or 0 on failure

application_get_name, application_get_pid, etc.; prefer to read
properties straight off the group leader, and failing that, if the
prop is the same for all windows in the app, return the values for
the window. Failing that, they make stuff up.

If the app instance is valid, the pid will be valid.


<!-- ##### FUNCTION netk_application_get_icon ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: a pixbuf with the icon. its refcount is not touched. NULL on failure.

Either returns the icon of the NetkApplication, or, failing that, returns the icon of a window belonging to the application


<!-- ##### FUNCTION netk_application_get_icon_is_fallback ##### -->
<para>

</para>

@app: the NetkApplication instance
@Returns: if the icon was the fallback icon XXX


