Eine aufbereitete Darstellung der Quelle
Stufen
Anforderungen
|
Konzepte
|
Entwurf
|
Entwicklung
|
Qualitätssicherung
|
Lebenszyklus
|
Steuerung
Ziele
Untersuchung
mit Columbo
Integrität von
Datenbanken
Interaktion und
Portierbarkeit
Ergonomie der
Schnittstellen
Angebot
Produkte
Projekt
Beratung
Mittel
Analytik
Modellierung
Sprachen
Algebra
Logik
Hardware
Denken
Kreativität
Zusammenhänge
Gesellschaft
Wirtschaft
Branche
Firma
Benutzer
products
/
Sources
/
formale Sprachen
/
C
/
Linux
/
LICENSES
/
dual
/ Datei vom 24.10.2025 mit Größe 19 kB
Bilddatei
gtkinscription.h
products/Sources/formale Sprachen/C/Gnome/gtk/gtkinscription.h
/* * Copyright © 2022 Benjamin Otte * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see
. * * Authors: Benjamin Otte
*/ #pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only
can be included directly." #endif #include
G_BEGIN_DECLS #define GTK_TYPE_INSCRIPTION (gtk_inscription_get_type ()) /** * GtkInscriptionOverflow: * @GTK_INSCRIPTION_OVERFLOW_CLIP: Clip the remaining text * @GTK_INSCRIPTION_OVERFLOW_ELLIPSIZE_START: Omit characters at the start of the text * @GTK_INSCRIPTION_OVERFLOW_ELLIPSIZE_MIDDLE: Omit characters at the middle of the text * @GTK_INSCRIPTION_OVERFLOW_ELLIPSIZE_END: Omit characters at the end of the text * * The different methods to handle text in #GtkInscription when it doesn't * fit the available space. * * Since: 4.8 */ typedef enum { GTK_INSCRIPTION_OVERFLOW_CLIP, GTK_INSCRIPTION_OVERFLOW_ELLIPSIZE_START, GTK_INSCRIPTION_OVERFLOW_ELLIPSIZE_MIDDLE, GTK_INSCRIPTION_OVERFLOW_ELLIPSIZE_END } GtkInscriptionOverflow; GDK_AVAILABLE_IN_4_8 G_DECLARE_FINAL_TYPE (GtkInscription, gtk_inscription, GTK, INSCRIPTION, GtkWidget) GDK_AVAILABLE_IN_4_8 GtkWidget * gtk_inscription_new (const char *text); GDK_AVAILABLE_IN_4_8 const char * gtk_inscription_get_text (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_text (GtkInscription *self, const char *text); GDK_AVAILABLE_IN_4_8 PangoAttrList * gtk_inscription_get_attributes (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_attributes (GtkInscription *self, PangoAttrList *attrs); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_markup (GtkInscription *self, const char *markup); GDK_AVAILABLE_IN_4_8 GtkInscriptionOverflow gtk_inscription_get_text_overflow (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_text_overflow (GtkInscription *self, GtkInscriptionOverflow overflow); GDK_AVAILABLE_IN_4_8 PangoWrapMode gtk_inscription_get_wrap_mode (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_wrap_mode (GtkInscription *self, PangoWrapMode wrap_mode); GDK_AVAILABLE_IN_4_8 guint gtk_inscription_get_min_chars (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_min_chars (GtkInscription *self, guint min_chars); GDK_AVAILABLE_IN_4_8 guint gtk_inscription_get_nat_chars (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_nat_chars (GtkInscription *self, guint nat_chars); GDK_AVAILABLE_IN_4_8 guint gtk_inscription_get_min_lines (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_min_lines (GtkInscription *self, guint min_lines); GDK_AVAILABLE_IN_4_8 guint gtk_inscription_get_nat_lines (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_nat_lines (GtkInscription *self, guint nat_lines); GDK_AVAILABLE_IN_4_8 float gtk_inscription_get_xalign (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_xalign (GtkInscription *self, float xalign); GDK_AVAILABLE_IN_4_8 float gtk_inscription_get_yalign (GtkInscription *self); GDK_AVAILABLE_IN_4_8 void gtk_inscription_set_yalign (GtkInscription *self, float yalign); G_END_DECLS
2026-11-25
Neuigkeiten
Aktuelles
Motto des Tages
Open Source Software
Quellcodebibliothek
Eigene Quellcodes
Fremde Quellcodes
Suchen
Gedichte
Musik
Bilder
Jenseits des Üblichen
Besucherstatistik
Statistik
#Sources=1,189,227
#Domains=946,236
Impressum
|
Ethik und Gesetz
|
Haftungsausschluß
|
Kontakt
|
Seitenstruktur
|
©
2026 JDD