Package org.gtk.dsl.gtk

Types

ActionBarPackEnd
Link copied to clipboard
class ActionBarPackEnd : ActionBar, SimplePacking
ActionBarPackStart
Link copied to clipboard
class ActionBarPackStart : ActionBar, SimplePacking
FixedMoving
Link copied to clipboard
class FixedMoving
HeaderBarPackEnd
Link copied to clipboard
class HeaderBarPackEnd : HeaderBar, SimplePacking
HeaderBarPackStart
Link copied to clipboard
class HeaderBarPackStart : HeaderBar, SimplePacking

kotlinx-gtk 24 / 03 / 2021

Resolution
Link copied to clipboard
typealias Resolution = Pair<Int, Int>
SimplePacking
Link copied to clipboard
interface SimplePacking

kotlinx-gtk 24 / 03 / 2021 A class for gtk widgets that have a single parameter pack

Functions

aboutDialog
Link copied to clipboard
inline fun aboutDialog(builder: AboutDialog.() -> Unit): AboutDialog
addWindow
Link copied to clipboard
inline fun Application.addWindow(builder: Window.() -> Unit): Window

Creates a window, adds it to the application

appChooserDialog
Link copied to clipboard
inline fun Window.appChooserDialog(dialogFlags: Dialog.Flags, contentType: String, builder: AppChooserDialog.() -> Unit = {}): AppChooserDialog
inline fun Window.appChooserDialog(dialogFlags: Dialog.Flags, file: File, builder: AppChooserDialog.() -> Unit = {}): AppChooserDialog
appendFixed
Link copied to clipboard
fun Box.appendFixed(fixedBuilder: Fixed.() -> Unit): Fixed

kotlinx-gtk 13 / 03 / 2021

appendGrid
Link copied to clipboard
inline fun Box.appendGrid(gridBuilder: Grid.() -> Unit = {}): Grid
application
Link copied to clipboard
inline fun application(id: String, flags: GApplicationFlags = G_APPLICATION_FLAGS_NONE, crossinline builder: Application.() -> Unit): Int

kotlinx-gtk 07 / 03 / 2021

applicationWindow
Link copied to clipboard
inline fun Application.applicationWindow(builder: ApplicationWindow.() -> Unit): ApplicationWindow

kotlinx-gtk 23 / 03 / 2021

artists
Link copied to clipboard
inline fun AboutDialog.artists(vararg names: String)
authors
Link copied to clipboard
inline fun AboutDialog.authors(vararg names: String)
box
Link copied to clipboard
inline fun box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun ActionBarPackEnd.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun ActionBarPackStart.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun HeaderBarPackEnd.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun HeaderBarPackStart.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun Notebook.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit): Box
inline fun Box.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun Frame.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun Window.box(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun FlowBox.box(orientation: Orientation, spacing: Int, position: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun Grid.box(orientation: Orientation, spacing: Int, left: Int, top: Int, width: Int, height: Int, buttonBoxBuilder: Box.() -> Unit): Box
boxAttachNextTo
Link copied to clipboard
inline fun Grid.boxAttachNextTo(orientation: Orientation, spacing: Int, sibling: Widget? = null, positionType: PositionType, width: Int, height: Int, buttonBoxBuilder: Box.() -> Unit): Box
boxEnd
Link copied to clipboard
inline fun ActionBar.boxEnd(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun HeaderBar.boxEnd(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
boxOverlay
Link copied to clipboard
inline fun Overlay.boxOverlay(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
boxStart
Link copied to clipboard
inline fun ActionBar.boxStart(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
inline fun HeaderBar.boxStart(orientation: Orientation, spacing: Int, buttonBoxBuilder: Box.() -> Unit = {}): Box
button
Link copied to clipboard
inline fun Frame.button(label: String? = null, buttonBuilder: Button.() -> Unit = {}): Button
inline fun Window.button(label: String? = null, buttonBuilder: Button.() -> Unit = {}): Button
inline fun Box.button(label: String? = null, append: Boolean = true, buttonBuilder: Button.() -> Unit = {}): Button
inline fun Grid.button(x: Int, y: Int, width: Int, height: Int, label: String? = null, buttonBuilder: Button.() -> Unit = {}): Button
inline fun Grid.button(label: String?, x: Int, y: Int, width: Int, height: Int, buttonBuilder: Button.() -> Unit = {}): Button
checkButton
Link copied to clipboard
fun Frame.checkButton(label: String? = null, mnemonic: Boolean = false, buttonBuilder: CheckButton.() -> Unit = {}): CheckButton
fun Box.checkButton(label: String? = null, mnemonic: Boolean = false, append: Boolean = true, buttonBuilder: CheckButton.() -> Unit = {}): CheckButton
colorChooserDialog
Link copied to clipboard
inline fun Window.colorChooserDialog(title: String?, builder: ColorChooserDialog.() -> Unit = {}): ColorChooserDialog

kotlinx-gtk 13 / 06 / 2021

colorChooserDialogNoWindow
Link copied to clipboard
inline fun colorChooserDialogNoWindow(title: String?, builder: ColorChooserDialog.() -> Unit = {}): ColorChooserDialog
comboBox
Link copied to clipboard
inline fun Box.comboBox(buttonBuilder: ComboBox.() -> Unit = {}): ComboBox
inline fun Box.comboBox(treeModel: TreeModel, withEntry: Boolean = false, buttonBuilder: ComboBox.() -> Unit = {}): ComboBox
inline fun Grid.comboBox(treeModel: TreeModel, left: Int, right: Int, width: Int, height: Int, withEntry: Boolean = false, buttonBuilder: ComboBox.() -> Unit = {}): ComboBox
comboBoxText
Link copied to clipboard
inline fun Grid.comboBoxText(left: Int, right: Int, width: Int, height: Int, withEntry: Boolean = false, buttonBuilder: ComboBoxText.() -> Unit = {}): ComboBoxText
documenters
Link copied to clipboard
inline fun AboutDialog.documenters(vararg names: String)
end
Link copied to clipboard
fun ActionBar.end(builder: ActionBarPackEnd.() -> Unit)
fun HeaderBar.end(builder: HeaderBarPackEnd.() -> Unit): HeaderBarPackEnd
frame
Link copied to clipboard
fun ApplicationWindow.frame(label: String? = null, frameBuilder: Frame.() -> Unit = {}): Frame

kotlinx-gtk 16 / 03 / 2021

fun Box.frame(label: String? = null, append: Boolean = true, frameBuilder: Frame.() -> Unit = {}): Frame
grid
Link copied to clipboard
inline fun grid(gridBuilder: Grid.() -> Unit = {}): Grid
inline fun Window.grid(gridBuilder: Grid.() -> Unit = {}): Grid
linkButton
Link copied to clipboard
inline fun Box.linkButton(uri: String, append: Boolean = true, buttonBuilder: LinkButton.() -> Unit = {}): LinkButton

kotlinx-gtk 16 / 03 / 2021

listStore
Link copied to clipboard
inline fun listStore(vararg fields: KGType, builder: ListStore.() -> Unit): ListStore

Quick way to create a list store and utilize it

messageDialog
Link copied to clipboard
fun Window.messageDialog(flags: Dialog.Flags, messageType: MessageDialog.MessageType, buttonsType: MessageDialog.ButtonsType, messageFormat: String): MessageDialog

kotlinx-gtk 09 / 03 / 2021

minusAssign
Link copied to clipboard
inline operator fun ListStore.minusAssign(iterator: TreeIter)
move
Link copied to clipboard
infix fun Fixed.move(widget: Fixed.FixedWidget): FixedMoving
moveTo
Link copied to clipboard
infix fun Fixed.FixedWidget.moveTo(coordinates: Pair<Double, Double>)
onClicked
Link copied to clipboard
inline fun Button.onClicked(crossinline action: () -> Unit): SignalManager
onPreviousMatch
Link copied to clipboard
inline fun SearchEntry.onPreviousMatch(noinline onPreviousMatch: () -> Unit)
onSearchChanged
Link copied to clipboard
inline fun SearchEntry.onSearchChanged(noinline onSearchChanged: () -> Unit)
onStopSearch
Link copied to clipboard
inline fun SearchEntry.onStopSearch(noinline onStopSearch: () -> Unit)
onToggle
Link copied to clipboard
inline fun ToggleButton.onToggle(noinline onToggle: TypedNoArgFunc<ToggleButton>)
plusAssign
Link copied to clipboard
inline operator fun ListStore.plusAssign(iterator: TreeIter)
scaleButton
Link copied to clipboard
fun Box.scaleButton(min: Double = 0.0, max: Double = 100.0, step: Double = 2.0, icons: List<String>? = null, buttonBuilder: ScaleButton.() -> Unit = {}): ScaleButton

kotlinx-gtk 16 / 03 / 2021

searchBar
Link copied to clipboard
inline fun Box.searchBar(searchEntryBuilder: SearchBar.() -> Unit = {})

kotlinx-gtk 19 / 03 / 2021

searchEntry
Link copied to clipboard
inline fun Box.searchEntry(searchEntryBuilder: SearchEntry.() -> Unit = {})

kotlinx-gtk 19 / 03 / 2021

set
Link copied to clipboard
inline operator fun ListStore.set(iterator: TreeIter, indexToValue: Pair<Int, Value>)
start
Link copied to clipboard
fun ActionBar.start(builder: ActionBarPackStart.() -> Unit)
fun HeaderBar.start(builder: HeaderBarPackStart.() -> Unit): HeaderBarPackStart
to
Link copied to clipboard
infix fun FixedMoving.to(coordinates: Pair<Double, Double>)
toggleButton
Link copied to clipboard
fun Box.toggleButton(label: String? = null, mnemonic: Boolean = false, buttonBuilder: ToggleButton.() -> Unit = {}): ToggleButton

kotlinx-gtk 16 / 03 / 2021

visited
Link copied to clipboard
inline fun LinkButton.visited()
window
Link copied to clipboard
inline fun window(builder: Window.() -> Unit): Window

kotlinx-gtk 07 / 03 / 2021

x
Link copied to clipboard
infix inline fun Int.x(vertical: Int): Pair<Int, Int>