LibreOffice Module vcl (master) 1
Classes | Namespaces | Macros | Typedefs | Functions
gtkdata.hxx File Reference
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#include <com/sun/star/accessibility/XAccessibleContext.hpp>
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <unx/gendata.hxx>
#include <unx/saldisp.hxx>
#include <unx/gtk/gtksys.hxx>
#include <vcl/ptrstyle.hxx>
#include <osl/conditn.hxx>
#include <saltimer.hxx>
#include <o3tl/enumarray.hxx>
#include <string_view>
#include <vector>
Include dependency graph for gtkdata.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GtkSalTimer
 
class  DocumentFocusListener
 
class  GtkSalData
 
class  GtkSalDisplay
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::accessibility
 

Macros

#define GLIB_DISABLE_DEPRECATION_WARNINGS
 

Typedefs

typedef GdkWindow GdkSurface
 
typedef GdkWindowState GdkToplevelState
 
typedef int gtk_coord
 
typedef GtkClipboard GdkClipboard
 

Functions

void main_loop_run (GMainLoop *pLoop)
 
void css_provider_load_from_data (GtkCssProvider *css_provider, const gchar *data, gssize length)
 
GtkWidgetwidget_get_toplevel (GtkWidget *pWidget)
 
const char * image_get_icon_name (GtkImage *pImage)
 
GtkWidgetwidget_get_first_child (GtkWidget *pWidget)
 
void style_context_get_color (GtkStyleContext *pStyle, GdkRGBA *pColor)
 
GdkSurfacewidget_get_surface (GtkWidget *pWidget)
 
void widget_set_cursor (GtkWidget *pWidget, GdkCursor *pCursor)
 
cairo_surface_tsurface_create_similar_surface (GdkSurface *pSurface, cairo_content_t eContent, int nWidth, int nHeight)
 
void im_context_set_client_widget (GtkIMContext *pIMContext, GtkWidget *pWidget)
 
bool surface_get_device_position (GdkSurface *pSurface, GdkDevice *pDevice, double &x, double &y, GdkModifierType *pMask)
 
GdkGLContext * surface_create_gl_context (GdkSurface *pSurface)
 
void set_buildable_id (GtkBuildable *pWidget, const OString &rId)
 
OString get_buildable_id (GtkBuildable *pWidget)
 
void container_remove (GtkWidget *pContainer, GtkWidget *pChild)
 
void container_add (GtkWidget *pContainer, GtkWidget *pChild)
 
int getButtonPriority (std::string_view rType)
 
GtkSalDataGetGtkSalData ()
 

Macro Definition Documentation

◆ GLIB_DISABLE_DEPRECATION_WARNINGS

#define GLIB_DISABLE_DEPRECATION_WARNINGS

Definition at line 23 of file gtkdata.hxx.

Typedef Documentation

◆ GdkClipboard

typedef GtkClipboard GdkClipboard

Definition at line 202 of file gtkdata.hxx.

◆ GdkSurface

typedef GdkWindow GdkSurface

Definition at line 51 of file gtkdata.hxx.

◆ GdkToplevelState

typedef GdkWindowState GdkToplevelState

Definition at line 52 of file gtkdata.hxx.

◆ gtk_coord

typedef int gtk_coord

Definition at line 162 of file gtkdata.hxx.

Function Documentation

◆ container_add()

void container_add ( GtkWidget pContainer,
GtkWidget pChild 
)

◆ container_remove()

void container_remove ( GtkWidget pContainer,
GtkWidget pChild 
)

◆ css_provider_load_from_data()

void css_provider_load_from_data ( GtkCssProvider *  css_provider,
const gchar *  data,
gssize  length 
)
inline

Definition at line 66 of file gtkdata.hxx.

References length.

◆ get_buildable_id()

OString get_buildable_id ( GtkBuildable *  pWidget)

◆ getButtonPriority()

int getButtonPriority ( std::string_view  rType)

◆ GetGtkSalData()

GtkSalData * GetGtkSalData ( )
inline

Definition at line 351 of file gtkdata.hxx.

References ImplGetSVData(), and ImplSVData::mpSalData.

◆ im_context_set_client_widget()

void im_context_set_client_widget ( GtkIMContext *  pIMContext,
GtkWidget pWidget 
)
inline

Definition at line 150 of file gtkdata.hxx.

◆ image_get_icon_name()

const char * image_get_icon_name ( GtkImage *  pImage)
inline

Definition at line 87 of file gtkdata.hxx.

◆ main_loop_run()

void main_loop_run ( GMainLoop *  pLoop)
inline

Definition at line 55 of file gtkdata.hxx.

◆ set_buildable_id()

void set_buildable_id ( GtkBuildable *  pWidget,
const OString &  rId 
)

◆ style_context_get_color()

void style_context_get_color ( GtkStyleContext *  pStyle,
GdkRGBA *  pColor 
)
inline

Definition at line 111 of file gtkdata.hxx.

◆ surface_create_gl_context()

GdkGLContext * surface_create_gl_context ( GdkSurface pSurface)
inline

Definition at line 186 of file gtkdata.hxx.

◆ surface_create_similar_surface()

cairo_surface_t * surface_create_similar_surface ( GdkSurface pSurface,
cairo_content_t  eContent,
int  nWidth,
int  nHeight 
)
inline

Definition at line 138 of file gtkdata.hxx.

◆ surface_get_device_position()

bool surface_get_device_position ( GdkSurface pSurface,
GdkDevice *  pDevice,
double &  x,
double &  y,
GdkModifierType *  pMask 
)
inline

Definition at line 165 of file gtkdata.hxx.

References x, and y.

◆ widget_get_first_child()

GtkWidget * widget_get_first_child ( GtkWidget pWidget)
inline

Definition at line 98 of file gtkdata.hxx.

◆ widget_get_surface()

GdkSurface * widget_get_surface ( GtkWidget pWidget)
inline

Definition at line 120 of file gtkdata.hxx.

◆ widget_get_toplevel()

GtkWidget * widget_get_toplevel ( GtkWidget pWidget)
inline

Definition at line 77 of file gtkdata.hxx.

◆ widget_set_cursor()

void widget_set_cursor ( GtkWidget pWidget,
GdkCursor *  pCursor 
)
inline

Definition at line 129 of file gtkdata.hxx.