| Glade User Interface Designer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
GladeClipboardGladeClipboard — A list of GladeWidget objects not in any GladeProject. |
struct GladeClipboard; GladeClipboard * glade_clipboard_new (void); void glade_clipboard_add (GladeClipboard *clipboard,GList *widgets); gboolean glade_clipboard_get_has_selection (GladeClipboard *clipboard);
The GladeClipboard is a singleton and is an accumulative shelf of all cut or copied GladeWidget in the application. A GladeWidget can be cut from one GladeProject and pasted to another.
GladeClipboard * glade_clipboard_new (void);
Returns : |
a new GladeClipboard object |
void glade_clipboard_add (GladeClipboard *clipboard,GList *widgets);
Adds widgets to clipboard.
This increases the reference count of each GladeWidget in widgets.
|
a GladeClipboard |
|
a GList of GladeWidgets |
gboolean glade_clipboard_get_has_selection (GladeClipboard *clipboard);
|
a GladeClipboard |
Returns : |
TRUE if this clipboard has selected items to paste. |
"has-selection" property"has-selection" gboolean : Read
Whether clipboard has a selection of items to paste.
Default value: FALSE