#include "gntwidget.h"
#include <panel.h>
Go to the source code of this file.
Data Structures | |
| struct | _GntWS |
| struct | _GntWSClass |
Defines | |
| #define | GNT_TYPE_WS (gnt_ws_get_gtype()) |
| #define | GNT_WS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WS, GntWS)) |
| #define | GNT_IS_WS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WS)) |
| #define | GNT_IS_WS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_WS)) |
| #define | GNT_WS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_WS, GntWSClass)) |
Typedefs | |
| typedef struct _GntWS | GntWS |
| typedef struct _GntWSClass | GntWSClass |
Functions | |
| G_BEGIN_DECLS GType | gnt_ws_get_gtype (void) |
| GntWS * | gnt_ws_new (const char *name) |
| Create a new workspace with the specified name. | |
| void | gnt_ws_set_name (GntWS *ws, const gchar *name) |
| Set the name of a workspace. | |
| void | gnt_ws_add_widget (GntWS *ws, GntWidget *widget) |
| Add a widget to a workspace. | |
| void | gnt_ws_remove_widget (GntWS *ws, GntWidget *widget) |
| Remove a widget from a workspace. | |
| void | gnt_ws_widget_hide (GntWidget *widget, GHashTable *nodes) |
| Hide a widget in a workspace. | |
| void | gnt_ws_widget_show (GntWidget *widget, GHashTable *nodes) |
| Show a widget in a workspace. | |
| void | gnt_ws_draw_taskbar (GntWS *ws, gboolean reposition) |
| Draw the taskbar in a workspace. | |
| void | gnt_ws_hide (GntWS *ws, GHashTable *table) |
| Hide a workspace. | |
| void | gnt_ws_show (GntWS *ws, GHashTable *table) |
| Show a workspace. | |
| const char * | gnt_ws_get_name (GntWS *ws) |
| Get the name of a workspace. | |
Definition in file gntws.h.
| void gnt_ws_add_widget | ( | GntWS * | ws, | |
| GntWidget * | widget | |||
| ) |
Add a widget to a workspace.
| ws | The workspace. | |
| widget | The widget to add. |
| void gnt_ws_draw_taskbar | ( | GntWS * | ws, | |
| gboolean | reposition | |||
| ) |
Draw the taskbar in a workspace.
| ws | The workspace. | |
| reposition | Whether the workspace should reposition the taskbar. |
| G_BEGIN_DECLS GType gnt_ws_get_gtype | ( | void | ) |
| const char* gnt_ws_get_name | ( | GntWS * | ws | ) |
Get the name of a workspace.
| ws | The workspace. |
NULL).| void gnt_ws_hide | ( | GntWS * | ws, | |
| GHashTable * | table | |||
| ) |
Hide a workspace.
| ws | The workspace to hide. | |
| table | A hashtable containing information about the widgets. |
| GntWS* gnt_ws_new | ( | const char * | name | ) |
Create a new workspace with the specified name.
| name | The desired name of the workspace, or NULL. |
| void gnt_ws_remove_widget | ( | GntWS * | ws, | |
| GntWidget * | widget | |||
| ) |
Remove a widget from a workspace.
| ws | The workspace | |
| widget | The widget to remove from the workspace. |
| void gnt_ws_set_name | ( | GntWS * | ws, | |
| const gchar * | name | |||
| ) |
Set the name of a workspace.
| ws | The workspace to rename. | |
| name | The new name of the workspace. |
| void gnt_ws_show | ( | GntWS * | ws, | |
| GHashTable * | table | |||
| ) |
Show a workspace.
| ws | The workspace to hide. | |
| table | A hashtable containing information about the widgets. |
| void gnt_ws_widget_hide | ( | GntWidget * | widget, | |
| GHashTable * | nodes | |||
| ) |
Hide a widget in a workspace.
| widget | The widget to hide. | |
| nodes | A hashtable containing information about the widgets. |
| void gnt_ws_widget_show | ( | GntWidget * | widget, | |
| GHashTable * | nodes | |||
| ) |
Show a widget in a workspace.
| widget | The widget to show. | |
| nodes | A hashtable containing information about the widgets. |