resource_selection.h File Reference

#include <gtk/gtk.h>
#include <cybergarage/util/clist.h>
#include <cybergarage/util/cstring.h>

Go to the source code of this file.

Data Structures

struct  _ResourceSelectionDialog

Typedefs

typedef _ResourceSelectionDialog ResourceSelectionDialog

Enumerations

enum  { RESOURCEMODEL_COLUMN_NAME = 0, RESOURCEMODEL_COLUMNS }

Functions

ResourceSelectionDialogresource_selection_dialog_new ()
void resource_selection_dialog_create_view_model (ResourceSelectionDialog *dialog)
void resource_selection_dialog_delete (ResourceSelectionDialog *dialog)
void resource_selection_dialog_update (ResourceSelectionDialog *dialog, gchar *resString)
gboolean resource_selection_dialog_get_selection (ResourceSelectionDialog *dialog, gchar **selection)
gboolean resource_selection_dialog_run (gchar *resString, gchar **selection)


Typedef Documentation

typedef struct _ResourceSelectionDialog ResourceSelectionDialog
 


Enumeration Type Documentation

anonymous enum
 

Enumerator:
RESOURCEMODEL_COLUMN_NAME 
RESOURCEMODEL_COLUMNS 


Function Documentation

void resource_selection_dialog_create_view_model ResourceSelectionDialog dialog  ) 
 

Create the view & model components

void resource_selection_dialog_delete ResourceSelectionDialog dialog  ) 
 

Destroy a dialog

gboolean resource_selection_dialog_get_selection ResourceSelectionDialog dialog,
gchar **  selection
 

Get the selected text from the model

Parameters:
dialog The dialog
selection A newly-allocated string containing the selected text

ResourceSelectionDialog* resource_selection_dialog_new  ) 
 

Create a dialog

gboolean resource_selection_dialog_run gchar *  resString,
gchar **  selection
 

Shortcut function that displays the resource selection dialog.

Parameters:
resString A string containing resources
selection The URI that the user has selected
Returns:
TRUE if the user pressed OK; otherwise FALSE

void resource_selection_dialog_update ResourceSelectionDialog dialog,
gchar *  resString
 

Parse multiple URI strings that are passed in resString as <URI><URI>...


Generated on Mon Aug 14 10:23:34 2006 for CyberLinkC-AV by  doxygen 1.4.6