gksu2 python modul “api”

Objektum neve: gksu2
Objektum szintű metódusok:

gboolean su(gchar command_line, GError error)

gboolean sudo_full(GksuContext context, GksuAskPassFunc ask_pass, gpointer ask_pass_data, GksuPassNotNeededFunc pass_not_needed, gpointer pass_not_needed_data, GError error)

gboolean sudo(gchar command_line, GError error)

gboolean run_full(GksuContext context, GksuAskPassFunc ask_pass, gpointer ask_pass_data, GksuPassNotNeededFunc pass_not_needed, gpointer pass_not_needed_data, GError error)

gboolean run(gchar command_line, GError error)

gchar ask_password_full(GksuContext context, gchar prompt, GError error)

gchar ask_password(GError error)

Osztály: GksuContext
példányosítás: gksu2.Context()

Metódusok:
set_user(gchar username)

const-gchar get_user()

set_command(gchar command)

const-gchar get_command()

set_login_shell(gboolean value)

gboolean get_login_shell()

set_keep_env(gboolean value)

gboolean get_keep_env()

set_description(gboolean description)

gchar get_description()

set_message(gchar message)

gchar get_message()

set_alert(gchar alert)

gchar get_alert()

set_grab(gboolean value)

gboolean get_grab()

gboolean get_grab()

set_launcher_context(SnLauncherContext sn_context)

SnLauncherContex get_launcher_context()

set_debug(gboolean value)

gboolean get_debug()

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.