#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_method_response.h"Go to the source code of this file.
Classes | |
| struct | FlWindowingSize |
| struct | FlWindowingChannelVTable |
Enumerations | |
| enum | FlWindowState { FL_WINDOW_STATE_UNDEFINED , FL_WINDOW_STATE_RESTORED , FL_WINDOW_STATE_MAXIMIZED , FL_WINDOW_STATE_MINIMIZED } |
Functions | |
| G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (FlWindowingChannel, fl_windowing_channel, FL, WINDOWING_CHANNEL, GObject) |
| FlWindowingChannel * | fl_windowing_channel_new (FlBinaryMessenger *messenger, FlWindowingChannelVTable *vtable, gpointer user_data) |
| FlMethodResponse * | fl_windowing_channel_make_create_regular_response (int64_t view_id, FlWindowingSize *size, FlWindowState state) |
| FlMethodResponse * | fl_windowing_channel_make_modify_regular_response () |
| FlMethodResponse * | fl_windowing_channel_make_destroy_window_response () |
| enum FlWindowState |
| Enumerator | |
|---|---|
| FL_WINDOW_STATE_UNDEFINED | |
| FL_WINDOW_STATE_RESTORED | |
| FL_WINDOW_STATE_MAXIMIZED | |
| FL_WINDOW_STATE_MINIMIZED | |
Definition at line 20 of file fl_windowing_channel.h.
| FlMethodResponse* fl_windowing_channel_make_create_regular_response | ( | int64_t | view_id, |
| FlWindowingSize * | size, | ||
| FlWindowState | state | ||
| ) |
Definition at line 275 of file fl_windowing_channel.cc.
References fl_method_success_response_new(), fl_value_append_take(), fl_value_new_float(), fl_value_new_int(), fl_value_new_list(), fl_value_new_map(), fl_value_new_string(), fl_value_set_string(), fl_value_set_string_take(), FlWindowingSize::height, kSizeKey, kStateKey, kViewIdKey, view_id, FlWindowingSize::width, and window_state_to_string().
Referenced by create_regular().
| FlMethodResponse* fl_windowing_channel_make_destroy_window_response | ( | ) |
Definition at line 294 of file fl_windowing_channel.cc.
References fl_method_success_response_new().
Referenced by destroy_window().
| FlMethodResponse* fl_windowing_channel_make_modify_regular_response | ( | ) |
Definition at line 290 of file fl_windowing_channel.cc.
References fl_method_success_response_new().
Referenced by modify_regular().
| FlWindowingChannel* fl_windowing_channel_new | ( | FlBinaryMessenger * | messenger, |
| FlWindowingChannelVTable * | vtable, | ||
| gpointer | user_data | ||
| ) |
fl_windowing_channel_new: @messenger: an #FlBinaryMessenger @vtable: callbacks for incoming method calls. @user_data: data to pass in callbacks.
Creates a new channel that sends handled windowing requests from the platform.
Returns: a new #FlWindowingChannel
Definition at line 257 of file fl_windowing_channel.cc.
References fl_method_channel_new(), fl_method_channel_set_method_call_handler(), fl_standard_method_codec_new(), kChannelName, method_call_cb(), and user_data.
Referenced by fl_windowing_handler_new().
| G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | FlWindowingChannel | , |
| fl_windowing_channel | , | ||
| FL | , | ||
| WINDOWING_CHANNEL | , | ||
| GObject | |||
| ) |