fbdbg  3.0
FreeBASIC Debugger
main.bas File Reference

Signal handlers for main window. More...

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

Go to the source code of this file.

Functions

FUNCTION_CDECL_ALIAS_AS_gboolean menu_button3_event (BYVAL_AS_GtkWidget_PTR Widget, BYVAL_AS_GdkEvent_PTR Event, BYVAL_AS_gpointer PopUp)
 Signal handler for right-click popup menues. More...
 
SUB_CDECL_ALIAS on_boolcell_toggled (BYVAL_AS_GtkCellRendererToggle_PTR CellRenderer, BYVAL_AS_gchar_PTR Path, BYVAL_AS_gpointer Store)
 Signal handler for a GtkCellRendererToggle (id="cellrenderertoggle1") More...
 
SUB_CDECL_ALIAS on_StopVar_clicked (BYVAL_AS_GtkButton_PTR Button, BYVAL_AS_gpointer user_data)
 Signal handler for botton stop at varible (id="button2") More...
 
SUB_CDECL_ALIAS act_tools (BYVAL_AS_GtkAction_PTR Action, BYVAL_AS_gpointer PopUp)
 Pop up the tools menu. More...
 

Detailed Description

Signal handlers for main window.

This file contains the code to handle the widgets of the main window.

Since
3.0

Definition in file main.bas.

Function Documentation

SUB_CDECL_ALIAS act_tools ( BYVAL_AS_GtkAction_PTR  Action,
BYVAL_AS_gpointer  PopUp 
)

Pop up the tools menu.

Parameters
ActionThe GtkAction that triggered the signal (unused, id="action466")
PopUpThe popup menu widget to show (user_data)

This signal handler pops up the tools menu. We do not use a GtkMenuItem here, because it expands all other tool buttons in the toolbar.

Definition at line 90 of file main.bas.

FUNCTION_CDECL_ALIAS_AS_gboolean menu_button3_event ( BYVAL_AS_GtkWidget_PTR  Widget,
BYVAL_AS_GdkEvent_PTR  Event,
BYVAL_AS_gpointer  PopUp 
)

Signal handler for right-click popup menues.

Parameters
WidgetThe widget where the right click occurs (unused)
EventThe GdkEvent of the right click
PopUpThe popup menu widget to show (user_data)
Returns
TRUE when right clicked, FALSE otherwise

This signal handler gets called when the user right-clicks on a notebook context. It shows a popup menu. Depending on the widget where the right-click occurs, a different menu widget gets passed in as parameter PopUp.

Since
3.0

Definition at line 23 of file main.bas.

SUB_CDECL_ALIAS on_boolcell_toggled ( BYVAL_AS_GtkCellRendererToggle_PTR  CellRenderer,
BYVAL_AS_gchar_PTR  Path,
BYVAL_AS_gpointer  Store 
)

Signal handler for a GtkCellRendererToggle (id="cellrenderertoggle1")

Parameters
CellRendererThe widget that triggered the signal (unused)
PathThe path in the GtkTreeModel
StoreThe related GtkTreeStore (user_data)

This signal handler gets called when the user clicks on a GtkCheckButton in the GtkTreeView of the "Procs" tab in the right notebook. It toggles the tree store context.

Definition at line 47 of file main.bas.

SUB_CDECL_ALIAS on_StopVar_clicked ( BYVAL_AS_GtkButton_PTR  Button,
BYVAL_AS_gpointer  user_data 
)

Signal handler for botton stop at varible (id="button2")

Parameters
buttonThe widget that triggered the signal
user_data(unused)

This signale handler gets called when the user clicks on the button to stop when a variable changed.

Todo:
Enter code

Definition at line 72 of file main.bas.