#include <GtkUtils.hh>
Public Member Functions | |
| clGtkUtils () | |
| ~clGtkUtils () | |
| void | BuildOptionMenu (const GtkWidget *, GtkWidget **, GtkWidget **, const char **, int) |
| Builds and attaches entries for specified OptionMenu, sets default entry to 0. | |
| int | OptionMenuGetActive (const GtkWidget *, GtkWidget **, int) |
| Get active item for option menu. | |
| void | ConnectMotionEvent (const GtkWidget *, const GtkWidget *) |
| Connects widgets motion_notify_event to specified widget. | |
| void | EnableBackingStore (const GtkWidget *) |
| Enables X backing store for specified widget. | |
| void | ComboListFromFile (const GtkWidget *, GList **, const char *) |
| Creates Combo widget's popdown menu from specified file. | |
Private Member Functions | |
| void | RemoveNewLine (char *) |
Definition at line 41 of file GtkUtils.hh.
|
|
Definition at line 45 of file GtkUtils.hh. |
|
|
Definition at line 46 of file GtkUtils.hh. |
|
|
Definition at line 39 of file GtkUtils.cc. Referenced by ComboListFromFile(). |
|
||||||||||||||||||||||||
|
Builds and attaches entries for specified OptionMenu, sets default entry to 0.
Referenced by clSpectGUI::BuildTable2(), clGUILofar::BuildTable2(), clGUILocate::BuildTable2(), clGUILevel::BuildTable2(), clGUIDir::BuildTable2(), clSpectGUI::BuildTable3(), clGUILofar::BuildTable3(), and clGUIDir::BuildTable3(). |
|
||||||||||||||||
|
Get active item for option menu.
Referenced by clSpectGUI::GetSettings(), clGUIDir::GetSettings(), clGUILofar::OnPaletteActivate(), clGUILofar::SendSettings(), and clGUILevel::SendSettings(). |
|
||||||||||||
|
Connects widgets motion_notify_event to specified widget. This is very useful for connecting drawing area's motion_notify_event to rulers.
Definition at line 96 of file GtkUtils.cc. References EVENT_METHOD. Referenced by clSpectGUI::ConnectSignals(), clGUILofar::ConnectSignals(), clGUILevel::ConnectSignals(), and clGUIDir::ConnectSignals(). |
|
|
Enables X backing store for specified widget.
Definition at line 106 of file GtkUtils.cc. Referenced by clGUIDir::Build(). |
|
||||||||||||||||
|
Creates Combo widget's popdown menu from specified file.
Definition at line 120 of file GtkUtils.cc. References GListFreeItem(), GU_TXTBUFSIZE, and RemoveNewLine(). Referenced by clGUITransient::BuildTable1(), clSpectGUI::BuildTable1(), clGUILofar::BuildTable1(), clGUILocate::BuildTable1(), clGUILevel::BuildTable1(), clGUIDir::BuildTable1(), clBeamAudioUI::BuildTable1(), and clSoundChGUI::clSoundChGUI(). |
1.3.3