PreviousUpNext

14.4.18  Gtk_Driver

The standard library Gtk_Driver api defines access to base-level Gtk driver functionality.

The Gtk_Driver api is implemented by the gtk_via_pipe package.

The Gtk_Driver api source code is in src/lib/src/gtk-driver.api.

See also: Gtk.See also: Easy_Gtk.

The above information is manually maintained and may contain errors.

api {
    Session ;
    make_session : {bool_callback_map:Ref(int_red_black_map::Map((Bool -> Void) ) ), 
                    button_event_callback_map:Ref(int_red_black_map::Map(
                                                    (?.gtk_event::Button_Event -> Void) ) ), 
                    configure_event_callback_map:Ref(int_red_black_map::Map(
                                                       (?.gtk_event::Configure_Event -> Void) ) ), 
                    expose_event_callback_map:Ref(int_red_black_map::Map(
                                                    (?.gtk_event::Expose_Event -> Void) ) ), 
                    float_callback_map:Ref(int_red_black_map::Map((Float -> Void) ) ), 
                    key_event_callback_map:Ref(
                                             int_red_black_map::Map((?.gtk_event::Key_Event -> Void)
                                               ) ), 
                    motion_event_callback_map:Ref(int_red_black_map::Map(
                                                    (?.gtk_event::Motion_Event -> Void) ) ), 
                    void_callback_map:Ref(int_red_black_map::Map((Void -> Void) ) )}
                   -> Session;
    get_widget_allocation : (Session , Int) -> (Int , Int , Int , Int);
    get_window_pointer : (Session , Int) -> (Int , Int , Int);
    make_dialog : Session -> (Int , Int , Int);
    unref_object : (Session , Int) -> Void;
    quit_eventloop : Session -> Void;
    run_eventloop_indefinitely : Session -> Void;
    run_eventloop_once : (Session , Bool) -> Bool;
    make_window : Session -> Int;
    make_label : (Session , String) -> Int;
    make_status_bar_context_id : (Session , Int , String) -> Int;
    make_menu : Session -> Int;
    make_option_menu : Session -> Int;
    make_menu_bar : Session -> Int;
    make_combo_box : Session -> Int;
    make_text_combo_box : Session -> Int;
    make_frame : (Session , String) -> Int;
    make_button : Session -> Int;
    make_button_with_label : (Session , String) -> Int;
    make_button_with_mnemonic : (Session , String) -> Int;
    make_toggle_button : Session -> Int;
    make_toggle_button_with_label : (Session , String) -> Int;
    make_toggle_button_with_mnemonic : (Session , String) -> Int;
    make_check_button : Session -> Int;
    make_check_button_with_label : (Session , String) -> Int;
    make_check_button_with_mnemonic : (Session , String) -> Int;
    make_menu_item : Session -> Int;
    make_menu_item_with_label : (Session , String) -> Int;
    make_menu_item_with_mnemonic : (Session , String) -> Int;
    make_first_radio_button : Session -> Int;
    make_next_radio_button : (Session , Int) -> Int;
    make_first_radio_button_with_label : (Session , String) -> Int;
    make_next_radio_button_with_label : (Session , Int , String) -> Int;
    make_first_radio_button_with_mnemonic : (Session , String) -> Int;
    make_next_radio_button_with_mnemonic : (Session , Int , String) -> Int;
    make_arrow : (Session , Int , Int) -> Int;
    set_arrow : (Session , Int , Int , Int) -> Void;
    make_horizontal_box : (Session , Bool , Int) -> Int;
    make_vertical_box : (Session , Bool , Int) -> Int;
    make_horizontal_button_box : Session -> Int;
    make_vertical_button_box : Session -> Int;
    make_table : (Session , Int , Int , Bool) -> Int;
    make_event_box : Session -> Int;
    make_image_from_file : (Session , String) -> Int;
    make_horizontal_separator : Session -> Int;
    make_vertical_separator : Session -> Int;
    make_layout_container : Session -> Int;
    layout_put : (Session , Int , Int , Int , Int) -> Void;
    layout_move : (Session , Int , Int , Int , Int) -> Void;
    make_fixed_container : Session -> Int;
    fixed_put : (Session , Int , Int , Int , Int) -> Void;
    fixed_move : (Session , Int , Int , Int , Int) -> Void;
    make_adjustment : (Session , Float , Float , Float , Float , Float
                       , Float)
                      -> Int;
    make_viewport : (Session , Int , Int) -> Int;
    make_scrolled_window : (Session , Int , Int) -> Int;
    make_horizontal_ruler : Session -> Int;
    make_vertical_ruler : Session -> Int;
    make_vertical_scrollbar : (Session , Int) -> Int;
    make_horizontal_scrollbar : (Session , Int) -> Int;
    make_vertical_scale : (Session , Int) -> Int;
    make_horizontal_scale : (Session , Int) -> Int;
    make_vertical_scale_with_range : (Session , Float , Float , Float) -> Int;
    make_horizontal_scale_with_range : (Session , Float , Float , Float) -> Int;
    make_drawing_area : Session -> Int;
    make_pixmap : (Session , Int , Int , Int) -> Int;
    make_status_bar : Session -> Int;
    push_text_on_status_bar : (Session , Int , Int , String) -> Int;
    pop_text_off_status_bar : (Session , Int , Int) -> Void;
    remove_text_from_status_bar : (Session , Int , Int , Int) -> Void;
    pack_box : (Session , Int , Int , Int , Bool , Bool , Int)
               -> Void;
    menu_shell_append : (Session , Int , Int) -> Void;
    menu_bar_append : (Session , Int , Int) -> Void;
    append_text_to_combo_box : (Session , Int , String) -> Void;
    set_option_menu_menu : (Session , Int , Int) -> Void;
    set_text_tooltip_on_widget : (Session , Int , String) -> Void;
    set_ruler_metric : (Session , Int , Int) -> Void;
    set_ruler_range : (Session , Int , Float , Float , Float , Float)
                      -> Void;
    set_scrollbar_policy : (Session , Int , Int , Int) -> Void;
    draw_rectangle : (Session , Int , Int , Bool , Int , Int , Int
                      , Int)
                     -> Void;
    draw_drawable : (Session , Int , Int , Int , Int , Int , Int
                     , Int , Int , Int)
                    -> Void;
    queue_redraw : (Session , Int , Int , Int , Int , Int) -> Void;
    press_button : (Session , Int) -> Void;
    release_button : (Session , Int) -> Void;
    click_button : (Session , Int) -> Void;
    enter_button : (Session , Int) -> Void;
    leave_button : (Session , Int) -> Void;
    show_widget : (Session , Int) -> Void;
    show_widget_tree : (Session , Int) -> Void;
    destroy_widget : (Session , Int) -> Void;
    emit_changed_signal : (Session , Int) -> Void;
    pop_up_combo_box : (Session , Int) -> Void;
    pop_down_combo_box : (Session , Int) -> Void;
    set_combo_box_title : (Session , Int , String) -> Void;
    set_window_title : (Session , Int , String) -> Void;
    set_window_default_size : (Session , Int , Int , Int) -> Void;
    set_minimum_widget_size : (Session , Int , Int , Int) -> Void;
    set_border_width : (Session , Int , Int) -> Void;
    set_event_box_visibility : (Session , Int , Bool) -> Void;
    set_widget_alignment : (Session , Int , Float , Float) -> Void;
    set_widget_events : (Session , Int , Int) -> Void;
    set_widget_name : (Session , Int , String) -> Void;
    set_label_justification : (Session , Int , Int) -> Void;
    set_label_line_wrapping : (Session , Int , Bool) -> Void;
    set_label_underlines : (Session , Int , String) -> Void;
    set_scale_value_position : (Session , Int , Int) -> Void;
    set_draw_scale_value : (Session , Int , Bool) -> Void;
    get_scale_value_digits_shown : (Session , Int) -> Int;
    set_scale_value_digits_shown : (Session , Int , Int) -> Void;
    set_range_update_policy : (Session , Int , Int) -> Void;
    get_toggle_button_state : (Session , Int) -> Bool;
    set_toggle_button_state : (Session , Int , Bool) -> Void;
    get_adjustment_value : (Session , Int) -> Float;
    set_adjustment_value : (Session , Int , Float) -> Void;
    get_adjustment_lower : (Session , Int) -> Float;
    set_adjustment_lower : (Session , Int , Float) -> Void;
    get_adjustment_upper : (Session , Int) -> Float;
    set_adjustment_upper : (Session , Int , Float) -> Void;
    get_adjustment_page_size : (Session , Int) -> Float;
    get_adjustment_page_increment : (Session , Int) -> Float;
    set_adjustment_page_size : (Session , Int , Float) -> Void;
    set_adjustment_page_increment : (Session , Int , Float) -> Void;
    get_white_graphics_context : (Session , Int) -> Int;
    get_black_graphics_context : (Session , Int) -> Int;
    get_current_foreground_graphics_context : (Session , Int) -> Int;
    get_current_background_graphics_context : (Session , Int) -> Int;
    get_widget_window : (Session , Int) -> Int;
    add_kid : (Session , Int , Int) -> Void;
    add_scrolled_window_kid : (Session , Int , Int) -> Void;
    add_table_kid : (Session , Int , Int , Int , Int , Int , Int)
                    -> Void;
    add_table_kid2 : (Session , Int , Int , Int , Int , Int , Int
                      , Int , Int , Int , Int)
                     -> Void;
    get_viewport_vertical_adjustment : (Session , Int) -> Int;
    get_viewport_horizontal_adjustment : (Session , Int) -> Int;
    set_table_row_spacing : (Session , Int , Int , Int) -> Void;
    set_table_col_spacing : (Session , Int , Int , Int) -> Void;
    set_table_row_spacings : (Session , Int , Int) -> Void;
    set_table_col_spacings : (Session , Int , Int) -> Void;
    set_clicked_callback : (Session , Int) -> Int;
    set_pressed_callback : (Session , Int) -> Int;
    set_release_callback : (Session , Int) -> Int;
    set_enter_callback : (Session , Int) -> Int;
    set_leave_callback : (Session , Int) -> Int;
    set_activate_callback : (Session , Int) -> Int;
    set_destroy_callback : (Session , Int) -> Int;
    set_realize_callback : (Session , Int) -> Int;
    set_button_press_event_callback : (Session , Int) -> Int;
    set_button_release_event_callback : (Session , Int) -> Int;
    set_scroll_event_callback : (Session , Int) -> Int;
    set_motion_notify_event_callback : (Session , Int) -> Int;
    set_delete_event_callback : (Session , Int) -> Int;
    set_expose_event_callback : (Session , Int) -> Int;
    set_key_press_event_callback : (Session , Int) -> Int;
    set_key_release_event_callback : (Session , Int) -> Int;
    set_enter_notify_event_callback : (Session , Int) -> Int;
    set_leave_notify_event_callback : (Session , Int) -> Int;
    set_configure_event_callback : (Session , Int) -> Int;
    set_focus_in_event_callback : (Session , Int) -> Int;
    set_focus_out_event_callback : (Session , Int) -> Int;
    set_map_event_callback : (Session , Int) -> Int;
    set_unmap_event_callback : (Session , Int) -> Int;
    set_property_notify_event_callback : (Session , Int) -> Int;
    set_selection_clear_event_callback : (Session , Int) -> Int;
    set_selection_request_event_callback : (Session , Int) -> Int;
    set_selection_notify_event_callback : (Session , Int) -> Int;
    set_proximity_in_event_callback : (Session , Int) -> Int;
    set_proximity_out_event_callback : (Session , Int) -> Int;
    set_client_event_callback : (Session , Int) -> Int;
    set_no_expose_event_callback : (Session , Int) -> Int;
    set_window_state_event_callback : (Session , Int) -> Int;
    set_toggled_callback : (Session , Int) -> Int;
    set_value_changed_callback : (Session , Int) -> Int;
};


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext