gtkmisc.h File Reference

#include <string>
#include <gtk/gtkmain.h>
#include "radiant_i18n.h"
Include dependency graph for gtkmisc.h:

Go to the source code of this file.

Defines

#define INCLUDED_GTKMISC_H

Typedefs

typedef struct _GtkMenu GtkMenu
typedef struct _GtkMenuItem GtkMenuItem
typedef struct _GtkCheckMenuItem GtkCheckMenuItem
typedef struct _GtkButton GtkButton
typedef struct _GtkToggleButton GtkToggleButton
typedef struct _GtkToolbar GtkToolbar
typedef BasicVector3< float > Vector3
typedef struct _GtkEntry GtkEntry

Functions

void process_gui ()
void command_connect_accelerator (const std::string &commandName)
void command_disconnect_accelerator (const std::string &commandName)
void toggle_add_accelerator (const std::string &commandName)
void toggle_remove_accelerator (const std::string &name)
GtkMenuItemcreate_menu_item_with_mnemonic (GtkMenu *menu, const std::string &mnemonic, const std::string &commandName, const std::string &icon="")
GtkCheckMenuItemcreate_check_menu_item_with_mnemonic (GtkMenu *menu, const std::string &mnemonic, const std::string &commandName, const std::string &icon="")
GtkButtontoolbar_append_button (GtkToolbar *toolbar, const std::string &description, const std::string &icon, const std::string &commandName)
GtkToggleButtontoolbar_append_toggle_button (GtkToolbar *toolbar, const std::string &description, const std::string &icon, const std::string &commandName)
bool color_dialog (GtkWidget *parent, Vector3 &color, const std::string &title=_("Choose Color"))
void button_clicked_entry_browse_file (GtkWidget *widget, GtkEntry *entry)
void button_clicked_entry_browse_directory (GtkWidget *widget, GtkEntry *entry)

Define Documentation

#define INCLUDED_GTKMISC_H

Definition at line 32 of file gtkmisc.h.


Typedef Documentation

typedef struct _GtkButton GtkButton

Definition at line 61 of file gtkmisc.h.

typedef struct _GtkCheckMenuItem GtkCheckMenuItem

Definition at line 52 of file gtkmisc.h.

typedef struct _GtkEntry GtkEntry

Definition at line 76 of file gtkmisc.h.

typedef struct _GtkMenu GtkMenu

Definition at line 50 of file gtkmisc.h.

typedef struct _GtkMenuItem GtkMenuItem

Definition at line 51 of file gtkmisc.h.

typedef struct _GtkToggleButton GtkToggleButton

Definition at line 62 of file gtkmisc.h.

typedef struct _GtkToolbar GtkToolbar

Definition at line 63 of file gtkmisc.h.

typedef BasicVector3<float> Vector3

Definition at line 72 of file gtkmisc.h.


Function Documentation

void button_clicked_entry_browse_directory ( GtkWidget widget,
GtkEntry entry 
)
void button_clicked_entry_browse_file ( GtkWidget widget,
GtkEntry entry 
)
bool color_dialog ( GtkWidget parent,
Vector3 color,
const std::string title = _("Choose Color") 
)
void command_connect_accelerator ( const std::string commandName  ) 
void command_disconnect_accelerator ( const std::string commandName  ) 
GtkCheckMenuItem* create_check_menu_item_with_mnemonic ( GtkMenu menu,
const std::string mnemonic,
const std::string commandName,
const std::string icon = "" 
)
GtkMenuItem* create_menu_item_with_mnemonic ( GtkMenu menu,
const std::string mnemonic,
const std::string commandName,
const std::string icon = "" 
)
void process_gui (  )  [inline]

Definition at line 38 of file gtkmisc.h.

void toggle_add_accelerator ( const std::string commandName  ) 
void toggle_remove_accelerator ( const std::string name  ) 
GtkButton* toolbar_append_button ( GtkToolbar toolbar,
const std::string description,
const std::string icon,
const std::string commandName 
)
GtkToggleButton* toolbar_append_toggle_button ( GtkToolbar toolbar,
const std::string description,
const std::string icon,
const std::string commandName 
)

Generated by  doxygen 1.6.2