Classes | Typedefs | Functions

GTKCommon.h File Reference

#include <string>
#include <list>
#include "ut_compiler.h"
#include <gtk/gtk.h>
#include "ut_types.h"
#include "xap_Dlg_FileOpenSaveAs.h"
#include "ie_types.h"

Go to the source code of this file.

Classes

class  UT_runDialog_AskForPathname
struct  UT_runDialog_AskForPathname::Filetype

Typedefs

typedef std::list< GtkTreeIter > list_gtktreeiter_t

Functions

ABI_W_NO_CONST_QUAL ABI_W_POP
std::string 
tostr (long v)
std::string tostr (GtkTextView *tv)
std::string tostr (GtkEntry *e)
std::string getSelectedText (GtkTreeView *tv, int colnum=0)
UT_uint32 getSelectedUInt (GtkTreeView *tv, int colnum=0)
void selectNext (GtkTreeView *tv)
void selectPrev (GtkTreeView *tv)
void append (GtkComboBoxText *combo, const std::list< std::string > &data)
std::string tostr (GtkComboBox *combo)
void setEntry (GtkWidget *w, const std::string &v)
void setEntry (GtkEntry *w, const std::string &v)
void setEntry (GtkEntry *w, time_t v)
void setEntry (GtkEntry *w, double v)
list_gtktreeiter_t getIterList (GtkWidget *w_treeview, bool useSelection=false)
 Get an STL list of all the selected GtkTreeIter* items in the view if useSelection is false then all of the GtkTreeIter* in the view are returned.
void clearSelection (GtkTreeView *tv)
void selectIter (GtkTreeView *tv, GtkTreeIter *iter)
void scrollToIter (GtkTreeView *tv, GtkTreeIter *iter, int colnum=-1, gboolean start_editing=false)

Typedef Documentation

typedef std::list< GtkTreeIter > list_gtktreeiter_t

Function Documentation

void append ( GtkComboBoxText *  combo,
const std::list< std::string > &  data 
)
void clearSelection ( GtkTreeView *  tv  ) 
list_gtktreeiter_t getIterList ( GtkWidget *  w_treeview,
bool  useSelection = false 
)

Get an STL list of all the selected GtkTreeIter* items in the view if useSelection is false then all of the GtkTreeIter* in the view are returned.

References collect_cb_fe(), and collectall_cb_fe().

Referenced by AP_UnixDialog_RDFEditor::getSelection().

std::string getSelectedText ( GtkTreeView *  tv,
int  colnum = 0 
)
UT_uint32 getSelectedUInt ( GtkTreeView *  tv,
int  colnum = 0 
)
void scrollToIter ( GtkTreeView *  tv,
GtkTreeIter *  iter,
int  colnum = -1,
gboolean  start_editing = false 
)
void selectIter ( GtkTreeView *  tv,
GtkTreeIter *  iter 
)
void selectNext ( GtkTreeView *  tv  ) 
void selectPrev ( GtkTreeView *  tv  ) 
void setEntry ( GtkEntry *  w,
double  v 
)

References tostr(), and UT_DEBUGMSG.

void setEntry ( GtkWidget *  w,
const std::string &  v 
)
void setEntry ( GtkEntry *  w,
const std::string &  v 
)
void setEntry ( GtkEntry *  w,
time_t  v 
)

References toTimeString(), and UT_DEBUGMSG.

std::string tostr ( GtkComboBox *  combo  ) 

References gchar, s, and UT_ASSERT.

ABI_W_NO_CONST_QUAL ABI_W_POP std::string tostr ( long  v  ) 
std::string tostr ( GtkEntry *  e  ) 
std::string tostr ( GtkTextView *  tv  ) 

References d, and gchar.