ValaPanel – vala-panel Reference Manual
Packages
vala-panel
ValaPanel
AppletPackType
ConfiguratorType
Gravity
Applet
AppletInfo
BoxedWrapper
CoreSettings
Layout
ListModelFilter
Platform
Toplevel
UnitSettings
APPLET_ACTION_ABOUT
APPLET_ACTION_CONFIGURE
APPLET_ACTION_REMOTE
APPLET_ACTION_REMOVE
APPLET_EXCLUSIVE
APPLET_EXTENSION_POINT
AUTOHIDE_GAP
BASE_SCHEMA
CORE_PATH_ELEM
CORE_SCHEMA
CORE_UNITS
KEY_ACTION_GROUP
KEY_AUTOHIDE
KEY_BACKGROUND_COLOR
KEY_BACKGROUND_FILE
KEY_BACKGROUND_WIDGET
KEY_CORNER_RADIUS
KEY_DOCK
KEY_DYNAMIC
KEY_FONT
KEY_FONT_SIZE
KEY_FONT_SIZE_ONLY
KEY_FOREGROUND_COLOR
KEY_GRAVITY
KEY_HEIGHT
KEY_ICON_SIZE
KEY_MARGIN
KEY_MONITOR
KEY_NAME
KEY_ORIENTATION
KEY_PACK
KEY_POSITION
KEY_SETTINGS
KEY_SHOW_HIDDEN
KEY_STRUT
KEY_TOPLEVEL
KEY_USE_BACKGROUND_COLOR
KEY_USE_BACKGROUND_FILE
KEY_USE_FONT
KEY_USE_FOREGROUND_COLOR
KEY_USE_TOOLBAR_APPEARANCE
KEY_UUID
KEY_WIDTH
OBJECT_PATH
OBJECT_PATH_TEMPLATE
OBJECT_SCHEMA
OBJECT_TYPE
PLUGIN_SCHEMA
TOPLEVEL_ID
TOPLEVEL_SCHEMA
TOPLEVEL_SCHEMA_ELEM
ListModelFilterFunc
activate_launch_command
activate_launch_id
activate_launch_uri
add_gsettings_as_action
add_prop_as_action
applet_info_duplicate
applet_info_free
applet_info_load
apply_window_icon
edge_from_gravity
generate_confirmation_dialog
generate_error_dialog
generic_cfg_widget
get_current_platform_name
get_default_for_uri
launch
launch_with_context
monitor_num_from_mon
orient_from_gravity
reset_schema
reset_schema_with_children
scale_button_set_range
scale_button_set_value_labeled
setup_button
setup_icon
setup_icon_button
setup_label
spawn_setup_func
style_class_toggle
style_flat_button
style_from_file
style_from_res
style_set_class
style_set_for_widget
ValaPanel
Description:
Content:
Classes:
Applet
AppletInfo
BoxedWrapper
CoreSettings
Layout
ListModelFilter
Platform
Toplevel
UnitSettings
Enums:
AppletPackType
ConfiguratorType
Gravity
Constants:
public
const
string
APPLET_ACTION_ABOUT
public
const
string
APPLET_ACTION_CONFIGURE
public
const
string
APPLET_ACTION_REMOTE
public
const
string
APPLET_ACTION_REMOVE
public
const
string
APPLET_EXCLUSIVE
public
const
string
APPLET_EXTENSION_POINT
public
const
int
AUTOHIDE_GAP
public
const
string
BASE_SCHEMA
public
const
string
CORE_PATH_ELEM
public
const
string
CORE_SCHEMA
public
const
string
CORE_UNITS
public
const
string
KEY_ACTION_GROUP
public
const
string
KEY_AUTOHIDE
public
const
string
KEY_BACKGROUND_COLOR
public
const
string
KEY_BACKGROUND_FILE
public
const
string
KEY_BACKGROUND_WIDGET
public
const
string
KEY_CORNER_RADIUS
public
const
string
KEY_DOCK
public
const
string
KEY_DYNAMIC
public
const
string
KEY_FONT
public
const
string
KEY_FONT_SIZE
public
const
string
KEY_FONT_SIZE_ONLY
public
const
string
KEY_FOREGROUND_COLOR
public
const
string
KEY_GRAVITY
public
const
string
KEY_HEIGHT
public
const
string
KEY_ICON_SIZE
public
const
string
KEY_MARGIN
public
const
string
KEY_MONITOR
public
const
string
KEY_NAME
public
const
string
KEY_ORIENTATION
public
const
string
KEY_PACK
public
const
string
KEY_POSITION
public
const
string
KEY_SETTINGS
public
const
string
KEY_SHOW_HIDDEN
public
const
string
KEY_STRUT
public
const
string
KEY_TOPLEVEL
public
const
string
KEY_USE_BACKGROUND_COLOR
public
const
string
KEY_USE_BACKGROUND_FILE
public
const
string
KEY_USE_FONT
public
const
string
KEY_USE_FOREGROUND_COLOR
public
const
string
KEY_USE_TOOLBAR_APPEARANCE
public
const
string
KEY_UUID
public
const
string
KEY_WIDTH
public
const
string
OBJECT_PATH
public
const
string
OBJECT_PATH_TEMPLATE
public
const
string
OBJECT_SCHEMA
public
const
string
OBJECT_TYPE
public
const
string
PLUGIN_SCHEMA
public
const
string
TOPLEVEL_ID
public
const
string
TOPLEVEL_SCHEMA
public
const
string
TOPLEVEL_SCHEMA_ELEM
Delegates:
public
delegate
bool
ListModelFilterFunc
(
void
* item)
Functions:
public
void
activate_launch_command
(
SimpleAction
action,
Variant
param,
void
* user_data)
public
void
activate_launch_id
(
SimpleAction
action,
Variant
param,
void
* user_data)
public
void
activate_launch_uri
(
SimpleAction
action,
Variant
param,
void
* user_data)
public
void
add_gsettings_as_action
(
ActionMap
map,
Settings
settings,
string
prop)
public
void
add_prop_as_action
(
ActionMap
map,
string
prop)
public
AppletInfo
applet_info_duplicate
(
void
* info)
public
void
applet_info_free
(
void
* info)
public
AppletInfo
applet_info_load
(
string
extension_name,
Type
plugin_type)
public
void
apply_window_icon
(
Window
win)
public
PositionType
edge_from_gravity
(
Gravity
gravity)
public
bool
generate_confirmation_dialog
(
Window
parent,
string
error)
public
void
generate_error_dialog
(
Window
parent,
string
error)
public
Widget
generic_cfg_widget
(
Settings
settings,
string
[] names,
string
[] keys,
ConfiguratorType
[] types)
Generate configuration for specific keys and values without need to create a custom widget
public
unowned
string
get_current_platform_name
()
public
AppInfo
?
get_default_for_uri
(
string
uri)
Use it to get default
AppInfo
to handle a file or URI.
public
bool
launch
(
DesktopAppInfo
app_info,
List
<
string
>? uris,
Widget
parent)
public
bool
launch_with_context
(
DesktopAppInfo
app_info,
AppLaunchContext
cxt,
List
<
string
>? uris)
Allow you to launch an
DesktopAppInfo
with list of URIs and with provided
AppLaunchContext
.
public
int
monitor_num_from_mon
(
Display
disp,
Monitor
mon)
public
Orientation
orient_from_gravity
(
Gravity
gravity)
public
void
reset_schema
(
Settings
settings)
public
void
reset_schema_with_children
(
Settings
settings)
public
void
scale_button_set_range
(
ScaleButton
b,
int
lower,
int
upper)
public
void
scale_button_set_value_labeled
(
ScaleButton
b,
int
value)
public
void
setup_button
(
Button
b,
Image
? img,
string
? label)
public
void
setup_icon
(
Image
img,
Icon
icon,
Object
? top,
int
size)
public
void
setup_icon_button
(
Button
btn,
Icon
icon,
string
label,
Object
top)
public
void
setup_label
(
Label
label,
string
text,
bool
bold,
double
factor)
public
void
spawn_setup_func
(
void
* data)
public
void
style_class_toggle
(
Widget
w,
string
klass,
bool
apply)
public
string
style_flat_button
(
Widget
widget,
PositionType
direction)
public
CssProvider
style_from_file
(
string
file,
uint
priority)
Loads a CSS from file and apply it to all ValaPanel application (not to single toplevel)
public
void
style_from_res
(
Widget
widget,
string
file,
string
klass)
public
void
style_set_class
(
Widget
widget,
string
css,
string
klass,
bool
remove)
public
void
style_set_for_widget
(
Widget
w,
string
css)