Interface

PurpleDebugUi

Description [src]

interface Purple.DebugUi : GObject.Object

PurpleDebugUiInterface defines the behavior that libpurple uses to interface the debug API with the user interface.

Available since:3.0.0

Prerequisite

In order to implement DebugUi, your type must inherit from GObject.

Instance methods

purple_debug_ui_is_enabled

Checks if the ui should output messages at the given level and optional category.

Available since: 3.0.0

purple_debug_ui_print

Outputs arg_s via ui with the given level and optional category.

Available since: 3.0.0

Interface structure

struct PurpleDebugUiInterface {
  void (* print) (
    PurpleDebugUi* ui,
    PurpleDebugLevel level,
    const gchar* category,
    const gchar* arg_s
  );
  gboolean (* is_enabled) (
    PurpleDebugUi* ui,
    PurpleDebugLevel level,
    const gchar* category
  );
  
}

Debug UI operations.

Interface members
print
void (* print) (
    PurpleDebugUi* ui,
    PurpleDebugLevel level,
    const gchar* category,
    const gchar* arg_s
  )
 No description available.
is_enabled
gboolean (* is_enabled) (
    PurpleDebugUi* ui,
    PurpleDebugLevel level,
    const gchar* category
  )
 No description available.

Virtual methods

Purple.DebugUi.is_enabled

Checks if the ui should output messages at the given level and optional category.

Purple.DebugUi.print

Outputs arg_s via ui with the given level and optional category.