#include <config.h>
#include "gschem.h"
Go to the source code of this file.
Functions |
static void | i_update_status (GSCHEM_TOPLEVEL *w_current, const char *string) |
| Update status bar string.
|
static const char * | i_status_string (GSCHEM_TOPLEVEL *w_current) |
| Get string corresponding to the currently selected mode.
|
void | i_show_state (GSCHEM_TOPLEVEL *w_current, const char *message) |
| Show state field.
|
void | i_set_state (GSCHEM_TOPLEVEL *w_current, enum x_states newstate) |
| Set new state, then show state field.
|
void | i_set_state_msg (GSCHEM_TOPLEVEL *w_current, enum x_states newstate, const char *message) |
| Set new state, then show state field including some message.
|
void | i_update_middle_button (GSCHEM_TOPLEVEL *w_current, void(*func_ptr)(), const char *string) |
void | i_update_toolbar (GSCHEM_TOPLEVEL *w_current) |
static void | clipboard_usable_cb (int usable, void *userdata) |
| Update sensitivity of the Edit/Paste menu item.
|
static gboolean | selected_at_least_one_text_object (GSCHEM_TOPLEVEL *w_current) |
void | i_update_menus (GSCHEM_TOPLEVEL *w_current) |
| Update sensitivity of relevant menu items.
|
void | i_set_filename (GSCHEM_TOPLEVEL *w_current, const gchar *string) |
| Set filename as gschem window title.
|
void | i_update_grid_info (GSCHEM_TOPLEVEL *w_current) |
| Write the grid settings to the gschem status bar.
|
Function Documentation
static void i_update_status |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
const char * |
string |
|
) |
| [static] |
- Function Description
- This function actually updates the status bar widget with the new string.
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
[in] | string | The new string to be shown in the status bar |
Definition at line 41 of file i_basic.c.
- Function Description
- Returns a string describing the currently selected mode.
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
- Returns:
- a string that will only last until the next time the function is called (which is probably just fine, really) *EK* Egil Kvaleberg
- Todo:
- Todo:
Definition at line 64 of file i_basic.c.
- Function Description
- Show state field on screen, possibly with the addition of an extra message
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
[in] | message | The string to be displayed |
Definition at line 157 of file i_basic.c.
- Function Description
- Set new state, then show state field.
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
[in] | newstate | The new state *EK* Egil Kvaleberg |
Definition at line 205 of file i_basic.c.
- Function Description
- Set new state, then show state field including some message.
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
[in] | newstate | The new state |
[in] | message | Message to be shown *EK* Egil Kvaleberg |
Definition at line 222 of file i_basic.c.
void i_update_middle_button |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
void(*)() |
func_ptr, |
|
|
const char * |
string |
|
) |
| |
- Todo:
- Finish function documentation!!!
- Function Description
Definition at line 234 of file i_basic.c.
static void clipboard_usable_cb |
( |
int |
usable, |
|
|
void * |
userdata |
|
) |
| [static] |
- Function Description
- Asynchronous callback to update sensitivity of the Edit/Paste menu item.
Definition at line 364 of file i_basic.c.
static gboolean selected_at_least_one_text_object |
( |
GSCHEM_TOPLEVEL * |
w_current | ) |
[static] |
- Function Description
- Update sensitivity of relevant menu items.
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
Definition at line 394 of file i_basic.c.
- Function Description
- Set filename as gschem window title using the gnome HID format style.
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
[in] | string | The filename |
Definition at line 524 of file i_basic.c.
- Function Description
- Write the grid settings to the gschem status bar. The function takes the current grid paramters of gschem and prints it to the status bar. The format is "Grid([SnapGridSize],[CurrentGridSize])"
- Parameters:
-
[in] | w_current | GSCHEM_TOPLEVEL structure |
Definition at line 555 of file i_basic.c.