The Gnome Chemistry Utils  0.14.17
Public Attributes | List of all members
gcp::ToolDesc Struct Reference

#include <application.h>

Public Attributes

char const * name
 
char const * tip
 
unsigned bar
 
unsigned group
 
char const * icon_name
 
GtkWidget * widget
 

Detailed Description

Structure to use as button descriptors for tools. See gcp::Application::AddTools() for information about its use.

Definition at line 58 of file gcp/application.h.

Member Data Documentation

◆ bar

unsigned gcp::ToolDesc::bar

The tool bar number

Definition at line 71 of file gcp/application.h.

◆ group

unsigned gcp::ToolDesc::group

The tool group inside the toolbar. This field helps merging toolbars with tools from different plugins.

Definition at line 76 of file gcp/application.h.

◆ icon_name

char const* gcp::ToolDesc::icon_name

The name of the icon to add to the button.

Definition at line 80 of file gcp/application.h.

◆ name

char const* gcp::ToolDesc::name

The tool name.

Definition at line 63 of file gcp/application.h.

◆ tip

char const* gcp::ToolDesc::tip

The tool tip.

Definition at line 67 of file gcp/application.h.

◆ widget

GtkWidget* gcp::ToolDesc::widget

The widget to add to the tool button, if NULL the icon with icon_name will be used. If both are NULL, the tool button will not be added.

Definition at line 85 of file gcp/application.h.


The documentation for this struct was generated from the following file: