Home
last modified time | relevance | path

Searched refs:width_chars (Results 1 – 25 of 169) sorted by relevance

1234567

/dports/x11-toolkits/libdazzle/libdazzle-3.42.0/src/widgets/
H A Ddzl-simple-label.c35 gint width_chars; member
86 if (self->width_chars >= 0) in dzl_simple_label_calculate_size()
88 gchar str[self->width_chars]; in dzl_simple_label_calculate_size()
89 memset (str, '9', self->width_chars); in dzl_simple_label_calculate_size()
295 self->width_chars = -1; in dzl_simple_label_init()
343 if ((self->width_chars < 0) || in dzl_simple_label_set_label()
345 ((last_len > self->width_chars) && (self->label_len <= self->width_chars))) in dzl_simple_label_set_label()
359 return self->width_chars; in dzl_simple_label_get_width_chars()
367 g_return_if_fail (width_chars >= -1); in dzl_simple_label_set_width_chars()
370 if (self->width_chars != width_chars) in dzl_simple_label_set_width_chars()
[all …]
/dports/deskutils/gnome-todo/gnome-todo-41.0/src/gui/
H A Dgtd-max-size-layout.c31 gint width_chars; member
105 if (self->width_chars > 0) in gtd_max_size_layout_measure()
107 gint width_chars; in gtd_max_size_layout_measure() local
109 width_chars = char_width * self->width_chars / PANGO_SCALE; in gtd_max_size_layout_measure()
110 *minimum = MAX (*minimum, width_chars); in gtd_max_size_layout_measure()
303 self->width_chars = -1; in gtd_max_size_layout_init()
425 g_return_if_fail (self->width_chars == -1 || max_width_chars >= self->width_chars); in gtd_max_size_layout_set_max_width_chars()
448 return self->width_chars; in gtd_max_size_layout_get_width_chars()
464 g_return_if_fail (width_chars >= -1); in gtd_max_size_layout_set_width_chars()
467 if (self->width_chars == width_chars) in gtd_max_size_layout_set_width_chars()
[all …]
/dports/cad/horizon-eda/horizon-2.1.0/src/dialogs/
H A Drenumber_pads_window.cpp30 const int width_chars = 9; in RenumberPadsWindow() local
33 grid_attach_label_and_widget(grid, "Mode", b, top)->set_width_chars(width_chars); in RenumberPadsWindow()
38 l->set_width_chars(width_chars); in RenumberPadsWindow()
45 l->set_width_chars(width_chars); in RenumberPadsWindow()
52 l->set_width_chars(width_chars); in RenumberPadsWindow()
59 l->set_width_chars(width_chars); in RenumberPadsWindow()
73 l->set_width_chars(width_chars); in RenumberPadsWindow()
81 … grid_attach_label_and_widget(grid, "Prefix", entry_prefix, top)->set_width_chars(width_chars); in RenumberPadsWindow()
89 grid_attach_label_and_widget(grid, "Start", sp_start, top)->set_width_chars(width_chars); in RenumberPadsWindow()
97 grid_attach_label_and_widget(grid, "Step", sp_step, top)->set_width_chars(width_chars); in RenumberPadsWindow()
/dports/deskutils/elementary-calendar/calendar-6.0.3/src/Widgets/
H A DDateSwitcher.vala24 public int width_chars { get; construct; }
36 public DateSwitcher (int width_chars) {
37 Object (width_chars: width_chars);
46 width_chars = width_chars
/dports/cad/horizon-eda/horizon-2.1.0/src/imp/
H A Dgrid_controller.cpp13 auto width_chars = 10; in GridController() local
15 grid_spin_button_square->set_width_chars(width_chars); in GridController()
22 grid_spin_button_x->set_width_chars(width_chars); in GridController()
29 grid_spin_button_y->set_width_chars(width_chars); in GridController()
38 grid_spin_button_origin_x->set_width_chars(width_chars); in GridController()
44 grid_spin_button_origin_y->set_width_chars(width_chars); in GridController()
/dports/x11/mlterm/mlterm-3.9.1/tool/mlconfig/
H A Dmc_combo.c77 gint width_chars; in mc_combo_new_with_width() local
80 width_chars = 1; in mc_combo_new_with_width()
82 width_chars = entry_width / CHAR_WIDTH; in mc_combo_new_with_width()
85 gtk_entry_set_width_chars(gtk_bin_get_child(GTK_BIN(combo)), width_chars); in mc_combo_new_with_width()
/dports/multimedia/gpodder/gpodder-3.10.17/src/gpodder/gtkui/
H A Dwidgets.py59 width_chars = max(len(line) for line in markup.splitlines())
62 width_chars = max(min_width, min(max_width, width_chars))
64 self.__label.set_width_chars(width_chars)
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/gtk-0.14.1/src/auto/
H A Dfile_chooser_button.rs80 width_chars: Option<i32>, field
152 if let Some(ref width_chars) = self.width_chars { in build()
153 properties.push(("width-chars", width_chars)); in build()
320 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
321 self.width_chars = Some(width_chars); in width_chars()
594 fn width_chars(&self) -> i32; in width_chars() method
637 fn width_chars(&self) -> i32 { in width_chars() method
H A Daccel_label.rs73 width_chars: Option<i32>, field
173 if let Some(ref width_chars) = self.width_chars { in build()
174 properties.push(("width-chars", width_chars)); in build()
369 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
370 self.width_chars = Some(width_chars); in width_chars()
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/gtk-0.14.3/src/auto/
H A Dfile_chooser_button.rs80 width_chars: Option<i32>, field
152 if let Some(ref width_chars) = self.width_chars { in build()
153 properties.push(("width-chars", width_chars)); in build()
320 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
321 self.width_chars = Some(width_chars); in width_chars()
594 fn width_chars(&self) -> i32; in width_chars() method
637 fn width_chars(&self) -> i32 { in width_chars() method
H A Daccel_label.rs73 width_chars: Option<i32>, field
173 if let Some(ref width_chars) = self.width_chars { in build()
174 properties.push(("width-chars", width_chars)); in build()
369 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
370 self.width_chars = Some(width_chars); in width_chars()
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/gtk-0.14.3/src/auto/
H A Dfile_chooser_button.rs80 width_chars: Option<i32>, field
152 if let Some(ref width_chars) = self.width_chars { in build()
153 properties.push(("width-chars", width_chars)); in build()
320 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
321 self.width_chars = Some(width_chars); in width_chars()
594 fn width_chars(&self) -> i32; in width_chars() method
637 fn width_chars(&self) -> i32 { in width_chars() method
H A Daccel_label.rs73 width_chars: Option<i32>, field
173 if let Some(ref width_chars) = self.width_chars { in build()
174 properties.push(("width-chars", width_chars)); in build()
369 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
370 self.width_chars = Some(width_chars); in width_chars()
/dports/x11/sirula/sirula-1.0.0/cargo-crates/gtk-0.14.3/src/auto/
H A Dfile_chooser_button.rs80 width_chars: Option<i32>, field
152 if let Some(ref width_chars) = self.width_chars { in build()
153 properties.push(("width-chars", width_chars)); in build()
320 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
321 self.width_chars = Some(width_chars); in width_chars()
594 fn width_chars(&self) -> i32; in width_chars() method
637 fn width_chars(&self) -> i32 { in width_chars() method
H A Daccel_label.rs73 width_chars: Option<i32>, field
173 if let Some(ref width_chars) = self.width_chars { in build()
174 properties.push(("width-chars", width_chars)); in build()
369 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
370 self.width_chars = Some(width_chars); in width_chars()
/dports/x11/squeekboard/squeekboard-d49ce45de0956432cef9b957f806d9377fee4bc0/cargo-crates/gtk-0.7.0/src/auto/
H A Dfile_chooser_button.rs65 width_chars: Option<i32>, field
113 width_chars: None, in new()
164 if let Some(ref width_chars) = self.width_chars { in build()
165 properties.push(("width-chars", width_chars)); in build()
300 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
301 self.width_chars = Some(width_chars); in width_chars()
H A Daccel_label.rs66 width_chars: Option<i32>, field
128 width_chars: None, in new()
221 if let Some(ref width_chars) = self.width_chars { in build()
222 properties.push(("width-chars", width_chars)); in build()
427 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
428 self.width_chars = Some(width_chars); in width_chars()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/tests/
H A Dtestwindowsize.c30 gint width_chars, max_width_chars, default_width, default_height; in show_dialog() local
33 width_chars = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (width_chars_spin)); in show_dialog()
57 gtk_label_set_width_chars (GTK_LABEL (label), width_chars); in show_dialog()
/dports/audio/sonata/sonata-1.7b1-22-gcee3555/sonata/
H A Dbreadcrumbs.py45 width_chars = 15
48 width_chars = -1
51 self.label.set_max_width_chars(width_chars)
52 self.label.set_width_chars(width_chars)
/dports/games/yadex/yadex-1.7.0/src/
H A Dmenu.cc700 size_t width_chars = 0; in geom() local
702 width_chars = y_max (width_chars, title_len); in geom()
704 width_chars = y_max (width_chars, items_len + 4); in geom()
706 width_chars = y_max (width_chars, items_ks_len); in geom()
709 width = 2 * BOX_BORDER + 2 * WIDE_HSPACING + width_chars * FONTW; in geom()
719 ix1 = ix0 + 2 * WIDE_HSPACING + width_chars * FONTW - 1; in geom()
/dports/x11-toolkits/gtk40/gtk-4.4.1/tests/
H A Dtestwindowsize.c39 int width_chars, max_width_chars, default_width, default_height; in show_dialog() local
42 width_chars = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (width_chars_spin)); in show_dialog()
66 gtk_label_set_width_chars (GTK_LABEL (label), width_chars); in show_dialog()
/dports/net-im/fractal/fractal-4.4.0/vendor/gtk/src/auto/
H A Dfile_chooser_button.rs68 width_chars: Option<i32>, field
135 if let Some(ref width_chars) = self.width_chars { in build()
136 properties.push(("width-chars", width_chars)); in build()
307 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
308 self.width_chars = Some(width_chars); in width_chars()
H A Daccel_label.rs67 width_chars: Option<i32>, field
164 if let Some(ref width_chars) = self.width_chars { in build()
165 properties.push(("width-chars", width_chars)); in build()
370 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
371 self.width_chars = Some(width_chars); in width_chars()
/dports/www/castor/castor-0.8.16/cargo-crates/gtk-0.8.0/src/auto/
H A Daccel_label.rs67 width_chars: Option<i32>, field
164 if let Some(ref width_chars) = self.width_chars { in build()
165 properties.push(("width-chars", width_chars)); in build()
370 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
371 self.width_chars = Some(width_chars); in width_chars()
H A Dfile_chooser_button.rs68 width_chars: Option<i32>, field
135 if let Some(ref width_chars) = self.width_chars { in build()
136 properties.push(("width-chars", width_chars)); in build()
307 pub fn width_chars(mut self, width_chars: i32) -> Self { in width_chars() method
308 self.width_chars = Some(width_chars); in width_chars()

1234567