File: interval-row.h

package info (click to toggle)
phosh 0.53.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,936 kB
  • sloc: ansic: 83,383; xml: 3,981; python: 717; sh: 449; makefile: 34; lisp: 22; javascript: 6
file content (23 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (C) 2025 The Phosh Developers
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#pragma once

#include <handy.h>

#define PHOSH_INTERVAL_ROW_INFINITY_VALUE G_MAXUINT32

G_BEGIN_DECLS

#define PHOSH_TYPE_INTERVAL_ROW (phosh_interval_row_get_type ())

G_DECLARE_FINAL_TYPE (PhoshIntervalRow, phosh_interval_row, PHOSH, INTERVAL_ROW, HdyActionRow)

PhoshIntervalRow *phosh_interval_row_new (uint value, gboolean selected);
uint              phosh_interval_row_get_value (PhoshIntervalRow *self);
void              phosh_interval_row_set_selected (PhoshIntervalRow *self, gboolean selected);

G_END_DECLS