Browse Source

remove default value setter, disable set_line_wrap, enable set_track_visited_links

PHP-GTK3
yggverse 4 months ago
parent
commit
dc769fad04
  1. 17
      src/Entity/Browser/Container/Tab/Page/Content/Data.php

17
src/Entity/Browser/Container/Tab/Page/Content/Data.php

@ -14,9 +14,6 @@ class Data
// Dependencies // Dependencies
public \Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content; public \Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content;
// Defaults
private string $_value = '';
public function __construct( public function __construct(
\Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content \Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Content $content
) { ) {
@ -34,10 +31,20 @@ class Data
true true
); );
/*
$this->gtk->set_line_wrap( $this->gtk->set_line_wrap(
true true
); );
$this->gtk->set_line_wrap_mode(
@TODO #114
);
*/
$this->gtk->set_track_visited_links(
true
);
$this->gtk->set_xalign( $this->gtk->set_xalign(
0 0
); );
@ -46,10 +53,6 @@ class Data
0 0
); );
$this->setPlain(
$this->_value
);
$this->gtk->connect( $this->gtk->connect(
'activate-link', 'activate-link',
function( function(

Loading…
Cancel
Save