#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 std::list< GtkTreeIter > list_gtktreeiter_t |
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 | |||
) |
References gchar, label, and UT_return_val_if_fail.
Referenced by AP_UnixDialog_Goto::_getSelectedBookmarkLabel(), AP_UnixDialog_Goto::_getSelectedXMLIDLabel(), and OnInsertReferenceBase().
UT_uint32 getSelectedUInt | ( | GtkTreeView * | tv, | |
int | colnum = 0 | |||
) |
References UT_return_val_if_fail, and v.
Referenced by AP_UnixDialog_Goto::_getSelectedAnnotationLabel().
void scrollToIter | ( | GtkTreeView * | tv, | |
GtkTreeIter * | iter, | |||
int | colnum = -1 , |
|||
gboolean | start_editing = false | |||
) |
Referenced by AP_UnixDialog_RDFEditor::setSelection().
void selectIter | ( | GtkTreeView * | tv, | |
GtkTreeIter * | iter | |||
) |
Referenced by AP_UnixDialog_RDFEditor::setSelection().
void selectNext | ( | GtkTreeView * | tv | ) |
References UT_return_if_fail.
Referenced by AP_UnixDialog_Goto::_selectNextBookmark(), and AP_UnixDialog_Goto::onNextClicked().
void selectPrev | ( | GtkTreeView * | tv | ) |
References getIterLast(), UT_DEBUGMSG, and UT_return_if_fail.
Referenced by AP_UnixDialog_Goto::_selectPrevBookmark(), and AP_UnixDialog_Goto::onPrevClicked().
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.
ABI_W_NO_CONST_QUAL ABI_W_POP std::string tostr | ( | long | v | ) |
std::string tostr | ( | GtkEntry * | e | ) |