girara
Data Fields
girara_session_t Struct Reference

#include <session.h>

Data Fields

struct {
   GtkWidget *   window
 
   GtkBox *   box
 
   GtkWidget *   view
 
   GtkWidget *   viewport
 
   GtkWidget *   statusbar
 
   GtkBox *   statusbar_entries
 
   GtkWidget *   notification_area
 
   GtkWidget *   notification_text
 
   GtkBox *   inputbar_box
 
   GtkWidget *   inputbar
 
   GtkLabel *   inputbar_dialog
 
   GtkEntry *   inputbar_entry
 
   GtkBox *   results
 
   Window   embed
 
gtk
 
struct {
   girara_list_t *   mouse_events
 
   girara_list_t *   commands
 
   girara_list_t *   shortcuts
 
   girara_list_t *   special_commands
 
   girara_list_t *   inputbar_shortcuts
 
bindings
 
struct {
   int   inputbar_activate
 
   int   inputbar_key_pressed
 
   int   inputbar_changed
 
   int   view_key_pressed
 
   int   view_button_press_event
 
   int   view_button_release_event
 
   int   view_motion_notify_event
 
   int   view_scroll_event
 
   girara_callback_inputbar_activate_t   inputbar_custom_activate
 
   girara_callback_inputbar_key_press_event_t   inputbar_custom_key_press_event
 
   void *   inputbar_custom_data
 
signals
 
struct {
   void(*   buffer_changed )(girara_session_t *session)
 
   bool(*   unknown_command )(girara_session_t *session,
       const char *input)
 
events
 
struct {
   GString *   buffer
 
   void *   data
 
   bool   autohide_inputbar
 
   bool   hide_statusbar
 
global
 
struct {
   girara_mode_t   current_mode
 
   girara_list_t *   identifiers
 
   girara_mode_t   normal
 
   girara_mode_t   inputbar
 
modes
 
GiraraInputHistory * command_history
 
girara_session_private_t * private_data
 

Detailed Description

Definition at line 18 of file session.h.

Field Documentation

◆ autohide_inputbar

bool girara_session_t::autohide_inputbar

Auto-hide inputbar

Definition at line 72 of file session.h.

◆ 

struct { ... } girara_session_t::bindings

◆ box

GtkBox* girara_session_t::box

A box that contains all widgets

Definition at line 23 of file session.h.

◆ buffer

GString* girara_session_t::buffer

Buffer

Definition at line 70 of file session.h.

◆ buffer_changed

void(* girara_session_t::buffer_changed) (girara_session_t *session)

Buffer changed

Definition at line 64 of file session.h.

◆ command_history

GiraraInputHistory* girara_session_t::command_history

Command history

Definition at line 84 of file session.h.

◆ commands

girara_list_t* girara_session_t::commands

List of commands

Definition at line 41 of file session.h.

◆ current_mode

girara_mode_t girara_session_t::current_mode

Current mode

Definition at line 78 of file session.h.

◆ data

void* girara_session_t::data

User data

Definition at line 71 of file session.h.

◆ embed

Window girara_session_t::embed

Embedded window

Definition at line 35 of file session.h.

◆ 

struct { ... } girara_session_t::events

◆ 

struct { ... } girara_session_t::global

◆ 

struct { ... } girara_session_t::gtk

◆ hide_statusbar

bool girara_session_t::hide_statusbar

Hide statusbar

Definition at line 73 of file session.h.

◆ identifiers

girara_list_t* girara_session_t::identifiers

List of modes with its string identifiers

Definition at line 79 of file session.h.

◆ inputbar [1/2]

GtkWidget* girara_session_t::inputbar

Inputbar event box

Definition at line 31 of file session.h.

◆ inputbar [2/2]

girara_mode_t girara_session_t::inputbar

The inputbar mode

Definition at line 81 of file session.h.

◆ inputbar_activate

int girara_session_t::inputbar_activate

Inputbar activation

Definition at line 49 of file session.h.

◆ inputbar_box

GtkBox* girara_session_t::inputbar_box

Inputbar box

Definition at line 30 of file session.h.

◆ inputbar_changed

int girara_session_t::inputbar_changed

Inputbar text changed

Definition at line 51 of file session.h.

◆ inputbar_custom_activate

girara_callback_inputbar_activate_t girara_session_t::inputbar_custom_activate

Custom handler

Definition at line 57 of file session.h.

◆ inputbar_custom_data

void* girara_session_t::inputbar_custom_data

Data for custom handler

Definition at line 59 of file session.h.

◆ inputbar_custom_key_press_event

girara_callback_inputbar_key_press_event_t girara_session_t::inputbar_custom_key_press_event

Custom handler

Definition at line 58 of file session.h.

◆ inputbar_dialog

GtkLabel* girara_session_t::inputbar_dialog

Inputbar dialog

Definition at line 32 of file session.h.

◆ inputbar_entry

GtkEntry* girara_session_t::inputbar_entry

Inputbar entry

Definition at line 33 of file session.h.

◆ inputbar_key_pressed

int girara_session_t::inputbar_key_pressed

Pressed key in inputbar

Definition at line 50 of file session.h.

◆ inputbar_shortcuts

girara_list_t* girara_session_t::inputbar_shortcuts

List of inputbar shortcuts

Definition at line 44 of file session.h.

◆ 

struct { ... } girara_session_t::modes

◆ mouse_events

girara_list_t* girara_session_t::mouse_events

List of mouse events

Definition at line 40 of file session.h.

◆ normal

girara_mode_t girara_session_t::normal

The normal mode

Definition at line 80 of file session.h.

◆ notification_area

GtkWidget* girara_session_t::notification_area

The notification area

Definition at line 28 of file session.h.

◆ notification_text

GtkWidget* girara_session_t::notification_text

The notification entry

Definition at line 29 of file session.h.

◆ private_data

girara_session_private_t* girara_session_t::private_data

Private data of a girara session

Definition at line 85 of file session.h.

◆ results

GtkBox* girara_session_t::results

Completion results

Definition at line 34 of file session.h.

◆ shortcuts

girara_list_t* girara_session_t::shortcuts

List of shortcuts

Definition at line 42 of file session.h.

◆ 

struct { ... } girara_session_t::signals

◆ special_commands

girara_list_t* girara_session_t::special_commands

List of special commands

Definition at line 43 of file session.h.

◆ statusbar

GtkWidget* girara_session_t::statusbar

The statusbar

Definition at line 26 of file session.h.

◆ statusbar_entries

GtkBox* girara_session_t::statusbar_entries

Statusbar entry box

Definition at line 27 of file session.h.

◆ unknown_command

bool(* girara_session_t::unknown_command) (girara_session_t *session, const char *input)

Unknown command

Definition at line 65 of file session.h.

◆ view

GtkWidget* girara_session_t::view

The view area of the applications widgets

Definition at line 24 of file session.h.

◆ view_button_press_event

int girara_session_t::view_button_press_event

Pressed button

Definition at line 53 of file session.h.

◆ view_button_release_event

int girara_session_t::view_button_release_event

Released button

Definition at line 54 of file session.h.

◆ view_key_pressed

int girara_session_t::view_key_pressed

Pressed key in view

Definition at line 52 of file session.h.

◆ view_motion_notify_event

int girara_session_t::view_motion_notify_event

Cursor movement event

Definition at line 55 of file session.h.

◆ view_scroll_event

int girara_session_t::view_scroll_event

Scroll event

Definition at line 56 of file session.h.

◆ viewport

GtkWidget* girara_session_t::viewport

The viewport of view

Definition at line 25 of file session.h.

◆ window

GtkWidget* girara_session_t::window

The main window of the application

Definition at line 22 of file session.h.


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