#include "ut_compiler.h"
#include <gtk/gtk.h>
#include "ut_vector.h"
#include <string>
Go to the source code of this file.
Functions | |
ABI_W_NO_CONST_QUAL ABI_W_POP void | XAP_makeGtkComboBoxText (GtkComboBox *combo, GType secondaryType) |
void | XAP_makeGtkComboBoxText2 (GtkComboBox *combo, GType secondaryType, GType tertiaryType) |
void | XAP_populateComboBoxWithIndex (GtkComboBox *combo, const UT_GenericVector< const char * > &vec) |
void | XAP_appendComboBoxText (GtkComboBox *combo, const char *text) |
void | XAP_appendComboBoxTextAndInt (GtkComboBox *combo, const char *text, int value) |
void | XAP_appendComboBoxTextAndString (GtkComboBox *combo, const char *text, const char *value) |
void | XAP_appendComboBoxTextAndStringString (GtkComboBox *combo, const char *text, const char *value1, const char *value2) |
void | XAP_appendComboBoxTextAndIntString (GtkComboBox *combo, const char *text, int value1, const char *value2) |
int | XAP_comboBoxGetActiveInt (GtkComboBox *combo) |
std::string | XAP_comboBoxGetActiveText (GtkComboBox *combo) |
bool | XAP_comboBoxSetActiveFromIntCol (GtkComboBox *combo, int col, int value) |
set the active item based on a column value |
void XAP_appendComboBoxText | ( | GtkComboBox * | combo, | |
const char * | text | |||
) |
void XAP_appendComboBoxTextAndInt | ( | GtkComboBox * | combo, | |
const char * | text, | |||
int | value | |||
) |
Referenced by AP_UnixDialog_RDFEditor::_constructWindow(), AP_UnixDialog_PageSetup::_constructWindow(), AP_UnixDialog_Paragraph::_constructWindowContents(), AP_UnixDialog_FormatTOC::_createLevelItems(), _populateCombo(), AP_UnixDialog_Options::_setupSmartQuotesCombos(), AP_UnixDialog_Options::_setupUnitMenu(), and XAP_UnixDialog_FileOpenSaveAs::runModal().
void XAP_appendComboBoxTextAndIntString | ( | GtkComboBox * | combo, | |
const char * | text, | |||
int | value1, | |||
const char * | value2 | |||
) |
Referenced by AP_UnixDialog_FormatTOC::_createLabelTypeItems().
void XAP_appendComboBoxTextAndString | ( | GtkComboBox * | combo, | |
const char * | text, | |||
const char * | value | |||
) |
void XAP_appendComboBoxTextAndStringString | ( | GtkComboBox * | combo, | |
const char * | text, | |||
const char * | value1, | |||
const char * | value2 | |||
) |
Referenced by AP_UnixDialog_FormatTOC::_createTABTypeItems().
int XAP_comboBoxGetActiveInt | ( | GtkComboBox * | combo | ) |
Referenced by XAP_UnixDialog_FileOpenSaveAs::_run_gtk_main(), AP_UnixDialog_Paragraph::event_ComboBoxChanged(), AP_UnixDialog_PageSetup::event_MarginUnitsChanged(), AP_UnixDialog_PageSetup::event_PageSizeChanged(), AP_UnixDialog_PageSetup::event_PageUnitsChanged(), XAP_UnixDialog_FileOpenSaveAs::fileTypeChanged(), XAP_UnixDialog_FileOpenSaveAs::runModal(), s_DetailsLevel_changed(), and s_MainLevel_changed().
std::string XAP_comboBoxGetActiveText | ( | GtkComboBox * | combo | ) |
Referenced by s_OnXMLIDChanged().
bool XAP_comboBoxSetActiveFromIntCol | ( | GtkComboBox * | combo, | |
int | col, | |||
int | value | |||
) |
set the active item based on a column value
combo | the combobox | |
col | the column | |
value | the value to look for |
Referenced by AP_UnixDialog_PageSetup::_constructWindow(), AP_UnixDialog_FormatTOC::_fillGUI(), AP_UnixDialog_Paragraph::_populateWindowData(), AP_UnixDialog_Paragraph::_syncControls(), AP_UnixDialog_PageSetup::event_PageSizeChanged(), and AP_UnixDialog_FormatFootnotes::refreshVals().
ABI_W_NO_CONST_QUAL ABI_W_POP void XAP_makeGtkComboBoxText | ( | GtkComboBox * | combo, | |
GType | secondaryType | |||
) |
Referenced by AP_UnixDialog_RDFEditor::_constructWindow(), AP_UnixDialog_PageSetup::_constructWindow(), AP_UnixDialog_FormatTable::_constructWindow(), AP_UnixDialog_FormatFrame::_constructWindow(), AP_UnixDialog_FormatFootnotes::_constructWindow(), AP_UnixDialog_Border_Shading::_constructWindow(), AP_UnixDialog_Paragraph::_constructWindowContents(), AP_UnixDialog_FormatTOC::_createLevelItems(), AP_UnixDialog_Options::_setupSmartQuotesCombos(), AP_UnixDialog_Options::_setupUnitMenu(), and XAP_UnixDialog_FileOpenSaveAs::runModal().
void XAP_makeGtkComboBoxText2 | ( | GtkComboBox * | combo, | |
GType | secondaryType, | |||
GType | tertiaryType | |||
) |
void XAP_populateComboBoxWithIndex | ( | GtkComboBox * | combo, | |
const UT_GenericVector< const char * > & | vec | |||
) |
References UT_GenericVector< T >::getItemCount().