PnListOption

Name

PnListOption -- 

Synopsis


#include <pn/pn.h>


struct      PnListOption;
PnListOption* pn_list_option_new            (const gchar *name,
                                             const gchar *desc);
void        pn_list_option_add_item         (PnListOption *list_option,
                                             const gchar *item);
void        pn_list_option_set_index        (PnListOption *list_option,
                                             guint index);
gint        pn_list_option_get_index        (PnListOption *list_option);

Object Hierarchy


  GObject
   +----PnObject
         +----PnUserObject
               +----PnOption
                     +----PnListOption

Description

Details

struct PnListOption

struct PnListOption;


pn_list_option_new ()

PnListOption* pn_list_option_new            (const gchar *name,
                                             const gchar *desc);

name : 
desc : 
Returns : 


pn_list_option_add_item ()

void        pn_list_option_add_item         (PnListOption *list_option,
                                             const gchar *item);

list_option : 
item : 


pn_list_option_set_index ()

void        pn_list_option_set_index        (PnListOption *list_option,
                                             guint index);

list_option : 
index : 


pn_list_option_get_index ()

gint        pn_list_option_get_index        (PnListOption *list_option);

list_option : 
Returns :