fbdbg  3.0
FreeBASIC Debugger
mbar_buttons.bas File Reference

Signal handlers for actions in the toolbar (buttons) More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SUB_CDECL_ALIAS act_free (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 
SUB_CDECL_ALIAS act_minicmd (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 
SUB_CDECL_ALIAS act_restart (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 
SUB_CDECL_ALIAS act_multiexe (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 
SUB_CDECL_ALIAS act_attachexe (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 
SUB_CDECL_ALIAS act_files (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 Signal handler for GtkAction (id="act_files") More...
 
SUB_CDECL_ALIAS act_notes (BYVAL_AS_GtkAction_PTR Action, BYVAL_AS_gpointer user_data)
 Open or close the notes window. More...
 
SUB_CDECL_ALIAS act_source (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 
SUB_CDECL_ALIAS act_varproc (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 
SUB_CDECL_ALIAS act_memory (BYVAL_AS_GtkAction_PTR action, BYVAL_AS_gpointer user_data)
 

Detailed Description

Signal handlers for actions in the toolbar (buttons)

Since
3.0

Definition in file mbar_buttons.bas.

Function Documentation

SUB_CDECL_ALIAS act_files ( BYVAL_AS_GtkAction_PTR  action,
BYVAL_AS_gpointer  user_data 
)

Signal handler for GtkAction (id="act_files")

Parameters
actionThe action that triggered the signal
user_data(unused)

The signal handler gets called when the user clicks on the files toolbar button.

Here, the handler contains example code on how to create a file chooser dialog, set filters and run that dialog.

Todo:
Replace / extend example code

Definition at line 66 of file mbar_buttons.bas.

SUB_CDECL_ALIAS act_notes ( BYVAL_AS_GtkAction_PTR  Action,
BYVAL_AS_gpointer  user_data 
)

Open or close the notes window.

Parameters
ActionThe action that triggers the signal
user_data(unused)
Todo:
Handle context (ini file)

Definition at line 106 of file mbar_buttons.bas.