#include "GTKCommon.h"#include "ut_string.h"#include "ut_assert.h"#include "ut_debugmsg.h"#include "ut_std_string.h"#include <boost/function.hpp>#include <boost/bind.hpp>#include <sstream>#include "ap_Frame.h"#include "xap_App.h"#include "xap_DialogFactory.h"#include "xad_Document.h"#include "pd_Document.h"#include "ut_path.h"#include "xap_Dialog_Id.h"Classes | |
| struct | FileTypeArray |
Functions | |
| std::string | tostr (long v) |
| std::string | tostr (GtkTextView *tv) |
| std::string | tostr (GtkEntry *e) |
| std::string | getSelectedText (GtkTreeView *tv, int colnum) |
| UT_uint32 | getSelectedUInt (GtkTreeView *tv, int colnum) |
| void | selectNext (GtkTreeView *tv) |
| GtkTreeIter | getIterLast (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) |
| static void | collect_cb_fe (GtkTreeModel *, GtkTreePath *, GtkTreeIter *iter, gpointer udata) |
| static gboolean | collectall_cb_fe (GtkTreeModel *, GtkTreePath *, GtkTreeIter *iter, gpointer udata) |
| list_gtktreeiter_t | getIterList (GtkWidget *w_treeview, bool useSelection) |
| 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, gboolean start_editing) |
| void append | ( | GtkComboBoxText * | combo, | |
| const std::list< std::string > & | data | |||
| ) |
| void clearSelection | ( | GtkTreeView * | tv | ) |
| static void collect_cb_fe | ( | GtkTreeModel * | , | |
| GtkTreePath * | , | |||
| GtkTreeIter * | iter, | |||
| gpointer | udata | |||
| ) | [static] |
Referenced by getIterList().
| static gboolean collectall_cb_fe | ( | GtkTreeModel * | , | |
| GtkTreePath * | , | |||
| GtkTreeIter * | iter, | |||
| gpointer | udata | |||
| ) | [static] |
Referenced by getIterList().
| GtkTreeIter getIterLast | ( | GtkTreeView * | tv | ) |
References UT_DEBUGMSG.
Referenced by selectPrev().
| list_gtktreeiter_t getIterList | ( | GtkWidget * | w_treeview, | |
| bool | useSelection | |||
| ) |
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 | |||
| ) |
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 | |||
| ) |
References UT_return_val_if_fail, and v.
Referenced by AP_UnixDialog_Goto::_getSelectedAnnotationLabel().
| void scrollToIter | ( | GtkTreeView * | tv, | |
| GtkTreeIter * | iter, | |||
| int | colnum, | |||
| gboolean | start_editing | |||
| ) |
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, | |
| time_t | v | |||
| ) |
References toTimeString(), and UT_DEBUGMSG.
| void setEntry | ( | GtkWidget * | w, | |
| const std::string & | v | |||
| ) |
| void setEntry | ( | GtkEntry * | w, | |
| double | v | |||
| ) |
References tostr(), and UT_DEBUGMSG.
| void setEntry | ( | GtkEntry * | w, | |
| const std::string & | v | |||
| ) |
| std::string tostr | ( | long | v | ) |
| std::string tostr | ( | GtkEntry * | e | ) |
1.7.1