cleaning under doxygen control: before widgets hierarchy reorganization (😅️)
This commit is contained in:
parent
0b09dbcadd
commit
5e5210caa7
10
src/main.c
10
src/main.c
|
@ -86,6 +86,7 @@ int main (int argc, char **argv)
|
|||
//----------------------------- personal notes ---------------------------
|
||||
// TODO (ranger ça !)
|
||||
|
||||
|
||||
/*
|
||||
* Sur quel modèle se guider pour structurer le client gem-graph ?
|
||||
*
|
||||
|
@ -165,15 +166,6 @@ int main (int argc, char **argv)
|
|||
*/
|
||||
|
||||
|
||||
// GTK itself does not support event sounds, << A GREAT WAY TO DEBUG ! TODO
|
||||
// you have to use a loadable module like the one that comes with libcanberra.
|
||||
|
||||
|
||||
|
||||
// Property GtkSettings:gtk-error-bell
|
||||
|
||||
// property gtk-error-bell: gboolean [ read, write ]
|
||||
// When TRUE, keyboard navigation and other input-related errors will cause a beep.
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -372,7 +372,10 @@ static void switch_state_rules_data();
|
|||
void on_toggle_exec_edit (GtkWidget *toggled_button, gpointer user_data)
|
||||
{
|
||||
fsm_journal_event (INFO, BUTTON, "signal", "toggle exec edit()",
|
||||
"change of status requested");
|
||||
"flip status request + bell 😇️ gdk_display_beep()");
|
||||
|
||||
gdk_display_beep (gdk_display_get_default());
|
||||
|
||||
|
||||
if (fsm_get_exec_edit ()) { // TODO (or NOT ?) et si je ne suis pas sur la page SYNTH
|
||||
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
|
||||
#include "../../../include/base.h"
|
||||
#include "../../../include/signal.h"
|
||||
#include "../../../include/widget.h"
|
||||
#include "../../../include/fsm.h"
|
||||
#include "../../include/base.h"
|
||||
#include "../../include/signal.h"
|
||||
#include "../../include/widget.h"
|
||||
#include "../../include/fsm.h"
|
||||
|
||||
|
||||
/******************************************************************************/
|
|
@ -24,9 +24,9 @@
|
|||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
|
||||
#include "../../../include/util.h"
|
||||
#include "../../../include/signal.h"
|
||||
#include "../../../include/widget.h"
|
||||
#include "../../include/util.h"
|
||||
#include "../../include/signal.h"
|
||||
#include "../../include/widget.h"
|
||||
|
||||
|
||||
/******************************************************************************/
|
|
@ -91,7 +91,7 @@ void *widget_get_space_view(int partition_space_vs_camera)
|
|||
{
|
||||
GtkBox *drawbox = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0));
|
||||
GdkSurface *drawsurface = gdk_surface_new_toplevel (gdk_display_get_default());
|
||||
gdk_display_beep (gdk_display_get_default());
|
||||
//////// gdk_display_beep (gdk_display_get_default());
|
||||
GdkCursor *drawbox_cursor = gdk_cursor_new_from_name ("cell",
|
||||
gdk_cursor_new_from_name ("default", NULL));
|
||||
gdk_surface_set_cursor (drawsurface, drawbox_cursor);
|
||||
|
|
|
@ -51,7 +51,6 @@ static void display_widgets_at_the_right_side (GtkWidget *header_bar)
|
|||
|
||||
GtkButton *btt_go_home = GTK_BUTTON (gtk_button_new ());
|
||||
gtk_button_set_icon_name (btt_go_home, "go-home-symbolic");
|
||||
gtk_widget_error_bell (GTK_WIDGET (btt_go_home)); // << TODO est-ce possible ?
|
||||
g_signal_connect (btt_go_home, "clicked", G_CALLBACK (on_clicked_topbar_right_home), no_local_data);
|
||||
gtk_header_bar_pack_end (GTK_HEADER_BAR (header_bar), GTK_WIDGET (btt_go_home));
|
||||
|
||||
|
|
Loading…
Reference in New Issue