Defines | |
| #define | ALP_STATUS_MAX_BAD_PARAMETER ((alp_status_t)ALP_CLASS_MAX_WIDGETS | 0x00030000) |
| An API parameter failed validation. | |
| #define | ALP_STATUS_REGISTER_CALLBACK_ERROR ((alp_status_t)ALP_CLASS_MAX_WIDGETS | 0x00020000) |
| #define | ALP_STATUS_REGISTER_POPUP_ERROR ((alp_status_t)ALP_CLASS_MAX_WIDGETS | 0x00010000) |
Typedefs | |
| typedef void(* | AlpLongPressCallback )(gpointer data, gint x, gint y, gint x_root, gint y_root) |
| typedef void(* | AlpMaxWindowShownCallback )(gpointer data) |
Enumerations | |
| enum | AlpMaxActivationMethodType { ALP_MAX_ACTIVATE_DEFAULT = 0, ALP_MAX_ACTIVATE_BY_SINGLE, ALP_MAX_ACTIVATE_BY_DOUBLE } |
| How to activate GtkTreeView and GtkIconView item by pointing devivce. More... | |
Functions | |
| void | alp_max_dialog_cancel_all (void) |
| Cancel all active dialogs in the current process running via alp_max_dialog_run(). | |
| gint | alp_max_dialog_run (GtkDialog *dialog) |
| Runs a dialog using gtk_dialog_run, while tracking it for later cancellation. | |
| void | alp_max_gtk_init (void) |
| Called by launchpads to initialize the UI-specific parts of GTK+. | |
| void | alp_max_set_window_shown_callback (GtkWindow *window, AlpMaxWindowShownCallback func, gpointer data) |
| Register a handler to be called after a window is on-screen, to populate the window's contents. | |
| alp_status_t | alp_vol_set_strm_cls_vol_controlled (gchar *stream_type, gboolean vol_controlled) |
| application use this interface to set which audio stream's volume expected to be controlled by "volume side key". | |
| AlpMaxActivationMethodType | alp_widget_get_activation_method (GtkWidget *widget) |
| Get how to activate items. | |
| alp_status_t | alp_widget_register_long_press_callback (GtkWidget *widget, AlpLongPressCallback func, gpointer data) |
| Register a generic callback function to be invoked whenever the user "long presses" on the specified widget. The function should be called once to register a callback that will be invoked whenever a long press occurs on the specified widget. The callback will be invoked anytime a long press occurs unless the function is called a second time with the func parameter set to NULL. Calling the function more than once with the func parameter set to a non-NULL value replaces the old callback function with a new one. The callback function is of type AlpLongPressCallback and receives two sets of coordinates, x and y, that provide the x and y location of the press event in the widget's window, and x_root and y_root, that provide the x and y location of the press event relative to the device's root window. | |
| alp_status_t | alp_widget_register_long_press_popup (GtkWidget *widget, GtkMenu *popup) |
| Register a pop-up menu to be invoked whenever the user "long presses" on the specified widget. The function should be called once to register a pop-up menu that will be invoked whenever a long press occurs on the specified widget. The pop-up will be displayed anytime a long press occurs unless the function is called a second time with the menu parameter set to NULL. Calling the function more than once with the menu parameter set to a non-NULL value replaces the old pop-up menu with a new one. | |
| void | alp_widget_set_activation_method (GtkWidget *widget, AlpMaxActivationMethodType activation) |
| Set how to activate items. | |
|
|
An API parameter failed validation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
How to activate GtkTreeView and GtkIconView item by pointing devivce.
|
|
|
Cancel all active dialogs in the current process running via alp_max_dialog_run(). This routine calls gtk_dialog_response() on all dialogs currently running via calls to alp_max_dialog_run(). This will cause those calls to return with the GTK_RESPONSE_NONE response ID, and the application should perform safe default behavior. |
|
|
Runs a dialog using gtk_dialog_run, while tracking it for later cancellation. This routine calls through to gtk_dialog_run, but maintains a stack of active dialogs which can later be dismissed by calling alp_max_dialog_cancel_all(). This is especially useful when an application may call into libraries which display their own dialogs. Applications need to dismiss all dialogs when they receive an exit request or relaunch with ALP_APP_BACKGROUNDED, and this API provides the infrastructure for doing so.
|
|
|
Called by launchpads to initialize the UI-specific parts of GTK+. This routine should not be called by applications. It does a variety of things, including modifying some of the GTK+ class structures, and installing the default support for system key handling. It is generally used by launchpads (most notably the native 'bar:' launchpad) in order to properly modify the default GTK+ environment for the app before it is launched. It can also be called directly by GTK+ UI processes which are not launched using the native launchpad (i.e., system daemons). This ensures that they will still behave properly with regard to default key handling, etc. |
|
||||||||||||||||
|
Register a handler to be called after a window is on-screen, to populate the window's contents. This routine can be used to defer time-consuming operations until after the window has been displayed. This is useful in reducing the delay in first showing a window. func will not be called until after the window has been rendered to the screen.
|
|
||||||||||||
|
application use this interface to set which audio stream's volume expected to be controlled by "volume side key".
false - clear previous setting;
|
|
|
Get how to activate items.
|
|
||||||||||||||||
|
Register a generic callback function to be invoked whenever the user "long presses" on the specified widget. The function should be called once to register a callback that will be invoked whenever a long press occurs on the specified widget. The callback will be invoked anytime a long press occurs unless the function is called a second time with the func parameter set to NULL. Calling the function more than once with the func parameter set to a non-NULL value replaces the old callback function with a new one. The callback function is of type AlpLongPressCallback and receives two sets of coordinates, x and y, that provide the x and y location of the press event in the widget's window, and x_root and y_root, that provide the x and y location of the press event relative to the device's root window.
|
|
||||||||||||
|
Register a pop-up menu to be invoked whenever the user "long presses" on the specified widget. The function should be called once to register a pop-up menu that will be invoked whenever a long press occurs on the specified widget. The pop-up will be displayed anytime a long press occurs unless the function is called a second time with the menu parameter set to NULL. Calling the function more than once with the menu parameter set to a non-NULL value replaces the old pop-up menu with a new one.
|
|
||||||||||||
|
Set how to activate items.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.