LibreOffice
LibreOffice 7.1 SDK API Reference
ListboxControlActions.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef __com_sun_star_ui_dialogs_ListboxControlActions_idl__
21#define __com_sun_star_ui_dialogs_ListboxControlActions_idl__
22
23
24module com { module sun { module star { module ui { module dialogs {
25
31published constants ListboxControlActions
32{
36 const short ADD_ITEM = 1;
37
40 const short ADD_ITEMS = 2;
41
47 const short DELETE_ITEM = 3;
48
51 const short DELETE_ITEMS = 4;
52
59 const short SET_SELECT_ITEM = 5;
60
63 const short GET_ITEMS = 6;
64
68 const short GET_SELECTED_ITEM = 7;
69};
70
71
72}; }; }; }; };
73
74#endif
75
76/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short GET_SELECTED_ITEM
Returns the currently selected item.
Definition: ListboxControlActions.idl:68
const short ADD_ITEM
Adds an item to the content of the listbox.
Definition: ListboxControlActions.idl:36
const short ADD_ITEMS
Adds a sequence of strings to the content of the listbox.
Definition: ListboxControlActions.idl:40
const short DELETE_ITEM
Removes an item from a listbox.
Definition: ListboxControlActions.idl:47
const short SET_SELECT_ITEM
Selects an item in a listbox.
Definition: ListboxControlActions.idl:59
const short DELETE_ITEMS
Removes all items from the listbox.
Definition: ListboxControlActions.idl:51
const short GET_ITEMS
Returns all items of the listbox as a sequence of strings.
Definition: ListboxControlActions.idl:63
Definition: Ambiguous.idl:22