Logo Search packages:      
Sourcecode: avahi version File versions

avahi-ui.h File Reference


Detailed Description

A Gtk dialog for browsing for services

Definition in file avahi-ui.h.

#include <gtk/gtkwidget.h>
#include <gtk/gtkdialog.h>
#include <avahi-client/client.h>

Go to the source code of this file.

Classes

struct  _AuiServiceDialog
struct  _AuiServiceDialogClass

Defines

#define AUI_IS_SERVICE_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), AUI_TYPE_SERVICE_DIALOG))
#define AUI_IS_SERVICE_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), AUI_TYPE_SERVICE_DIALOG))
#define AUI_SERVICE_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), AUI_TYPE_SERVICE_DIALOG, AuiServiceDialog))
#define AUI_SERVICE_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), AUI_TYPE_SERVICE_DIALOG, AuiServiceDialogClass))
#define AUI_SERVICE_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), AUI_TYPE_SERVICE_DIALOG, AuiServiceDialogClass))
#define AUI_TYPE_SERVICE_DIALOG   (aui_service_dialog_get_type())

Typedefs

typedef struct _AuiServiceDialog AuiServiceDialog
typedef struct
_AuiServiceDialogClass 
AuiServiceDialogClass
typedef struct
_AuiServiceDialogPrivate 
AuiServiceDialogPrivate

Functions

GType aui_service_dialog_get_type (void) G_GNUC_CONST
Resolved service information


const AvahiAddressaui_service_dialog_get_address (AuiServiceDialog *d)
const gchar * aui_service_dialog_get_host_name (AuiServiceDialog *d)
guint16 aui_service_dialog_get_port (AuiServiceDialog *d)
const AvahiStringListaui_service_dialog_get_txt_data (AuiServiceDialog *d)
Address family


AvahiProtocol aui_service_dialog_get_address_family (AuiServiceDialog *d)
void aui_service_dialog_set_address_family (AuiServiceDialog *d, AvahiProtocol proto)
Service types to browse for


const gchar *const * aui_service_dialog_get_browse_service_types (AuiServiceDialog *d)
void aui_service_dialog_set_browse_service_types (AuiServiceDialog *d, const gchar *type,...) G_GNUC_NULL_TERMINATED
void aui_service_dialog_set_browse_service_typesv (AuiServiceDialog *d, const gchar *const *type)
Domain to browse in


const gchar * aui_service_dialog_get_domain (AuiServiceDialog *d)
void aui_service_dialog_set_domain (AuiServiceDialog *d, const gchar *domain)
Resolving settings


gboolean aui_service_dialog_get_resolve_host_name (AuiServiceDialog *d)
gboolean aui_service_dialog_get_resolve_service (AuiServiceDialog *d)
void aui_service_dialog_set_resolve_host_name (AuiServiceDialog *d, gboolean resolve)
void aui_service_dialog_set_resolve_service (AuiServiceDialog *d, gboolean resolve)
Selected service item


const gchar * aui_service_dialog_get_service_name (AuiServiceDialog *d)
const gchar * aui_service_dialog_get_service_type (AuiServiceDialog *d)
void aui_service_dialog_set_service_name (AuiServiceDialog *d, const gchar *name)
void aui_service_dialog_set_service_type (AuiServiceDialog *d, const gchar *name)
Construction


GtkWidget * aui_service_dialog_new (const gchar *title, GtkWindow *parent, const gchar *first_button_text,...) G_GNUC_NULL_TERMINATED


Generated by  Doxygen 1.6.0   Back to index